You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create region security policies rules (#8477) (#15523)
* creating first version of region security policy and adding ddos protection config
* adding rules field in region security policy
* creating resource network_edge_security_service and their scenarios of test
* adding patch operation and fixing id, import_format and self_link
* added fields in the region_security_policy, and fixed the scenario tests for network_edge_security_service
* removed duplicated field for region_security_policy
* adding ddos_protection_config field in region_security_policy
* cleanups
* adding self_link field back and removing uncessary fields
* adding docs for ddosProtection
* making new resources only availabe in beta downstream
* fixing eof
* adding region security policy rule and basic scenario
* code experiments cleanups
* adding preconfiguredWafConfig object and some inner fields in region security policy rule
* adding mapping for network_match object in region security policy rule
* adding rateLimitOptions mapping
* adding ruleNumber field to region security policy
* adding basic update for region security policy rule
* adding network_match and preconfigured_waf scenarios for region sec policy rules
* wip - adding user_defined_fields in region security policy
* fixing yaml linter issues
* fixing review comments
* removing validate_only field
* fixing comments in region_security_policy_rule test
* fixing userDefinedFields and adding tests for regionSecPolicyRule
* adding user_defined_fields update test for regionSecPolicy
* removing rule_number from regionSecPolicyRule
* removing preconfiguredWaf from regionSecPolicyRule because it is not finished yet
* removing rateLimitOptions from RegionSecPolicyRule because it is not finished yet
* small cleanups
* fixing yamllint issues on the worked resources
* prevent that netwrokt_match test fails due paralellism
* adding new test for multiple rules
* fixing code review comments
* removing harcoded project from tests
* moving network_edge_security_service basic test to another region
* fixing code review issues
* fixing import cycle issue in downstream repo
* updating with upstream and change regions
---------
Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: diogoEsteves <[email protected]>
@@ -101,6 +132,13 @@ The following arguments are supported:
101
132
Configuration for Google Cloud Armor DDOS Proctection Config.
102
133
Structure is [documented below](#nested_ddos_protection_config).
103
134
135
+
*`user_defined_fields` -
136
+
(Optional)
137
+
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
138
+
A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits.
139
+
Rules may then specify matching values for these fields.
140
+
Structure is [documented below](#nested_user_defined_fields).
141
+
104
142
*`region` -
105
143
(Optional)
106
144
The Region in which the created Region Security Policy should reside.
@@ -120,6 +158,35 @@ The following arguments are supported:
120
158
- ADVANCED_PREVIEW: flag to enable the security policy in preview mode.
121
159
Possible values are: `ADVANCED`, `ADVANCED_PREVIEW`, `STANDARD`.
0 commit comments