Comments (6)
Not yet. I'll take care of it.
from terraform-google-cloud-armor.
@jasonloewen I have added exclude_ip (see example here). Can you point to github module directly and test this code and see if it works fine?
from terraform-google-cloud-armor.
@jasonloewen Can you plz confirm if this is correct syntax for multiple IP address exclusion?
"evaluateThreatIntelligence('iplist-known-malicious-ips', ['47.100.100.100','47.189.12.139'])"
from terraform-google-cloud-armor.
I got the code to commit when I used null
as the exclude_ip
value, but when I change the value to an IP I get the following error:
Error: Invalid template interpolation value
on .terraform/modules/cloud_armor/main.tf line 384, in resource "google_compute_security_policy" "policy":
384: expression = rule.value["exclude_ip"] == null ? "evaluateThreatIntelligence('${rule.value["feed"]}')" : "evaluateThreatIntelligence('${rule.value["feed"]}',${rule.value["exclude_ip"]})"
├────────────────
│ rule.value["exclude_ip"] is tuple with 1 element
Cannot include the given value in a string template: string required.
from terraform-google-cloud-armor.
I was able to apply this list using this format via the console:
evaluateThreatIntelligence('iplist-known-malicious-ips',['10.0.0.1','10.0.2.1','192.168.0.0/24'])
from terraform-google-cloud-armor.
@jasonloewen I have fixed the issue and it is working fine. Waiting for PR #57 merge.
from terraform-google-cloud-armor.
Related Issues (20)
- How to apply to a target backend HOT 2
- log_level support HOT 2
- Add preconfigured_waf_config block to the module? HOT 8
- enforce_on_key_name missing from variables.tf
- advanced_options_config block is not supported for CLOUD_ARMOR_EDGE HOT 7
- add support for rate limiting on multiple keys
- Variable layer_7_ddos_defense_enable is marked as optional but is not HOT 2
- In-place update is not working while using enfore_on_key_configs HOT 15
- removing security_rules tries to delete the policy and fails HOT 3
- Add support for Automatically deploy Adaptive Protection suggested rules
- Add support of regional security policy HOT 5
- Unsupported argument error with 1.2.0 release HOT 6
- update preconfig waf rules block to support path matches HOT 5
- add preconfigured_waf_config_exclusion in custom_rules block HOT 1
- Auto deploy settings are not being applied.
- Seems like `preconfigured_waf_config` is causing rules to be recreated every time. HOT 5
- Got 400 error when adding a rule to a list of custom rules using this module HOT 4
- Separation of request field exclusion and target IDs needed HOT 11
- No option to turn on GraphQL parsing via TF HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-google-cloud-armor.