Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/beta.getRegionSecurityPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
List all of the ordered rules present in a single specified policy.
Using getRegionSecurityPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionSecurityPolicy(args: GetRegionSecurityPolicyArgs, opts?: InvokeOptions): Promise<GetRegionSecurityPolicyResult>
function getRegionSecurityPolicyOutput(args: GetRegionSecurityPolicyOutputArgs, opts?: InvokeOptions): Output<GetRegionSecurityPolicyResult>def get_region_security_policy(project: Optional[str] = None,
                               region: Optional[str] = None,
                               security_policy: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetRegionSecurityPolicyResult
def get_region_security_policy_output(project: Optional[pulumi.Input[str]] = None,
                               region: Optional[pulumi.Input[str]] = None,
                               security_policy: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetRegionSecurityPolicyResult]func LookupRegionSecurityPolicy(ctx *Context, args *LookupRegionSecurityPolicyArgs, opts ...InvokeOption) (*LookupRegionSecurityPolicyResult, error)
func LookupRegionSecurityPolicyOutput(ctx *Context, args *LookupRegionSecurityPolicyOutputArgs, opts ...InvokeOption) LookupRegionSecurityPolicyResultOutput> Note: This function is named LookupRegionSecurityPolicy in the Go SDK.
public static class GetRegionSecurityPolicy 
{
    public static Task<GetRegionSecurityPolicyResult> InvokeAsync(GetRegionSecurityPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionSecurityPolicyResult> Invoke(GetRegionSecurityPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegionSecurityPolicyResult> getRegionSecurityPolicy(GetRegionSecurityPolicyArgs args, InvokeOptions options)
public static Output<GetRegionSecurityPolicyResult> getRegionSecurityPolicy(GetRegionSecurityPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/beta:getRegionSecurityPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region string
- SecurityPolicy string
- Project string
- Region string
- SecurityPolicy string
- Project string
- region String
- securityPolicy String
- project String
- region string
- securityPolicy string
- project string
- region str
- security_policy str
- project str
- region String
- securityPolicy String
- project String
getRegionSecurityPolicy Result
The following output properties are available:
- AdaptiveProtection Pulumi.Config Google Native. Compute. Beta. Outputs. Security Policy Adaptive Protection Config Response 
- AdvancedOptions Pulumi.Config Google Native. Compute. Beta. Outputs. Security Policy Advanced Options Config Response 
- Associations
List<Pulumi.Google Native. Compute. Beta. Outputs. Security Policy Association Response> 
- A list of associations that belong to this policy.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- DdosProtection Pulumi.Config Google Native. Compute. Beta. Outputs. Security Policy Ddos Protection Config Response 
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DisplayName string
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- LabelFingerprint string
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- Labels Dictionary<string, string>
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Parent string
- The parent of the security policy.
- RecaptchaOptions Pulumi.Config Google Native. Compute. Beta. Outputs. Security Policy Recaptcha Options Config Response 
- Region string
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- RuleTuple intCount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- Rules
List<Pulumi.Google Native. Compute. Beta. Outputs. Security Policy Rule Response> 
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- Type string
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- UserDefined List<Pulumi.Fields Google Native. Compute. Beta. Outputs. Security Policy User Defined Field Response> 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
- AdaptiveProtection SecurityConfig Policy Adaptive Protection Config Response 
- AdvancedOptions SecurityConfig Policy Advanced Options Config Response 
- Associations
[]SecurityPolicy Association Response 
- A list of associations that belong to this policy.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- DdosProtection SecurityConfig Policy Ddos Protection Config Response 
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DisplayName string
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- LabelFingerprint string
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- Labels map[string]string
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Parent string
- The parent of the security policy.
- RecaptchaOptions SecurityConfig Policy Recaptcha Options Config Response 
- Region string
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- RuleTuple intCount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- Rules
[]SecurityPolicy Rule Response 
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- Type string
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- UserDefined []SecurityFields Policy User Defined Field Response 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
- adaptiveProtection SecurityConfig Policy Adaptive Protection Config Response 
- advancedOptions SecurityConfig Policy Advanced Options Config Response 
- associations
List<SecurityPolicy Association Response> 
- A list of associations that belong to this policy.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- ddosProtection SecurityConfig Policy Ddos Protection Config Response 
- description String
- An optional description of this resource. Provide this property when you create the resource.
- displayName String
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint String
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- labelFingerprint String
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- labels Map<String,String>
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- parent String
- The parent of the security policy.
- recaptchaOptions SecurityConfig Policy Recaptcha Options Config Response 
- region String
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- ruleTuple IntegerCount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- rules
List<SecurityPolicy Rule Response> 
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- type String
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- userDefined List<SecurityFields Policy User Defined Field Response> 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
- adaptiveProtection SecurityConfig Policy Adaptive Protection Config Response 
- advancedOptions SecurityConfig Policy Advanced Options Config Response 
- associations
SecurityPolicy Association Response[] 
- A list of associations that belong to this policy.
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- ddosProtection SecurityConfig Policy Ddos Protection Config Response 
- description string
- An optional description of this resource. Provide this property when you create the resource.
- displayName string
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint string
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- labelFingerprint string
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- labels {[key: string]: string}
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- parent string
- The parent of the security policy.
- recaptchaOptions SecurityConfig Policy Recaptcha Options Config Response 
- region string
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- ruleTuple numberCount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- rules
SecurityPolicy Rule Response[] 
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- selfLink string
- Server-defined URL for the resource.
- selfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- type string
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- userDefined SecurityFields Policy User Defined Field Response[] 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
- adaptive_protection_ Securityconfig Policy Adaptive Protection Config Response 
- advanced_options_ Securityconfig Policy Advanced Options Config Response 
- associations
Sequence[SecurityPolicy Association Response] 
- A list of associations that belong to this policy.
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- ddos_protection_ Securityconfig Policy Ddos Protection Config Response 
- description str
- An optional description of this resource. Provide this property when you create the resource.
- display_name str
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint str
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- kind str
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- label_fingerprint str
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- labels Mapping[str, str]
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- name str
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- parent str
- The parent of the security policy.
- recaptcha_options_ Securityconfig Policy Recaptcha Options Config Response 
- region str
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- rule_tuple_ intcount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- rules
Sequence[SecurityPolicy Rule Response] 
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- self_link str
- Server-defined URL for the resource.
- self_link_ strwith_ id 
- Server-defined URL for this resource with the resource id.
- type str
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- user_defined_ Sequence[Securityfields Policy User Defined Field Response] 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
- adaptiveProtection Property MapConfig 
- advancedOptions Property MapConfig 
- associations List<Property Map>
- A list of associations that belong to this policy.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- ddosProtection Property MapConfig 
- description String
- An optional description of this resource. Provide this property when you create the resource.
- displayName String
- User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- fingerprint String
- Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- labelFingerprint String
- A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
- labels Map<String>
- Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- parent String
- The parent of the security policy.
- recaptchaOptions Property MapConfig 
- region String
- URL of the region where the regional security policy resides. This field is not applicable to global security policies.
- ruleTuple NumberCount 
- Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- rules List<Property Map>
- A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "" for srcIpRanges and for the networkMatch condition every field must be either match "" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- type String
- The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
- userDefined List<Property Map>Fields 
- Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. 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. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
Supporting Types
ExprResponse 
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- Description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Expression string
- Textual representation of an expression in Common Expression Language syntax.
- Location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description string
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression string
- Textual representation of an expression in Common Expression Language syntax.
- location string
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description str
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression str
- Textual representation of an expression in Common Expression Language syntax.
- location str
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title str
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- description String
- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- expression String
- Textual representation of an expression in Common Expression Language syntax.
- location String
- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse        
- ConfidenceThreshold double
- ExpirationSec int
- ImpactedBaseline doubleThreshold 
- LoadThreshold double
- ConfidenceThreshold float64
- ExpirationSec int
- ImpactedBaseline float64Threshold 
- LoadThreshold float64
- confidenceThreshold Double
- expirationSec Integer
- impactedBaseline DoubleThreshold 
- loadThreshold Double
- confidenceThreshold number
- expirationSec number
- impactedBaseline numberThreshold 
- loadThreshold number
- confidence_threshold float
- expiration_sec int
- impacted_baseline_ floatthreshold 
- load_threshold float
- confidenceThreshold Number
- expirationSec Number
- impactedBaseline NumberThreshold 
- loadThreshold Number
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse        
- Enable bool
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RuleVisibility string
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ThresholdConfigs List<Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config Response> 
- Configuration options for layer7 adaptive protection for various customizable thresholds.
- Enable bool
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RuleVisibility string
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ThresholdConfigs []SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config Response 
- Configuration options for layer7 adaptive protection for various customizable thresholds.
- enable Boolean
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleVisibility String
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- thresholdConfigs List<SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config Response> 
- Configuration options for layer7 adaptive protection for various customizable thresholds.
- enable boolean
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleVisibility string
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- thresholdConfigs SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config Response[] 
- Configuration options for layer7 adaptive protection for various customizable thresholds.
- enable bool
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rule_visibility str
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- threshold_configs Sequence[SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config Response] 
- Configuration options for layer7 adaptive protection for various customizable thresholds.
- enable Boolean
- If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleVisibility String
- Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- thresholdConfigs List<Property Map>
- Configuration options for layer7 adaptive protection for various customizable thresholds.
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigResponse          
- AutoDeploy doubleConfidence Threshold 
- AutoDeploy intExpiration Sec 
- AutoDeploy doubleImpacted Baseline Threshold 
- AutoDeploy doubleLoad Threshold 
- Name string
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
- AutoDeploy float64Confidence Threshold 
- AutoDeploy intExpiration Sec 
- AutoDeploy float64Impacted Baseline Threshold 
- AutoDeploy float64Load Threshold 
- Name string
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
- autoDeploy DoubleConfidence Threshold 
- autoDeploy IntegerExpiration Sec 
- autoDeploy DoubleImpacted Baseline Threshold 
- autoDeploy DoubleLoad Threshold 
- name String
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
- autoDeploy numberConfidence Threshold 
- autoDeploy numberExpiration Sec 
- autoDeploy numberImpacted Baseline Threshold 
- autoDeploy numberLoad Threshold 
- name string
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
- auto_deploy_ floatconfidence_ threshold 
- auto_deploy_ intexpiration_ sec 
- auto_deploy_ floatimpacted_ baseline_ threshold 
- auto_deploy_ floatload_ threshold 
- name str
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
- autoDeploy NumberConfidence Threshold 
- autoDeploy NumberExpiration Sec 
- autoDeploy NumberImpacted Baseline Threshold 
- autoDeploy NumberLoad Threshold 
- name String
- The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
SecurityPolicyAdaptiveProtectionConfigResponse     
- AutoDeploy Pulumi.Config Google Native. Compute. Beta. Inputs. Security Policy Adaptive Protection Config Auto Deploy Config Response 
- Layer7DdosDefense Pulumi.Config Google Native. Compute. Beta. Inputs. Security Policy Adaptive Protection Config Layer7Ddos Defense Config Response 
- If set to true, enables Cloud Armor Machine Learning.
- AutoDeploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config Response 
- Layer7DdosDefense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config Response 
- If set to true, enables Cloud Armor Machine Learning.
- autoDeploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config Response 
- layer7DdosDefense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config Response 
- If set to true, enables Cloud Armor Machine Learning.
- autoDeploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config Response 
- layer7DdosDefense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config Response 
- If set to true, enables Cloud Armor Machine Learning.
- auto_deploy_ Securityconfig Policy Adaptive Protection Config Auto Deploy Config Response 
- layer7_ddos_ Securitydefense_ config Policy Adaptive Protection Config Layer7Ddos Defense Config Response 
- If set to true, enables Cloud Armor Machine Learning.
- autoDeploy Property MapConfig 
- layer7DdosDefense Property MapConfig 
- If set to true, enables Cloud Armor Machine Learning.
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse        
- ContentTypes List<string>
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
- ContentTypes []string
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
- contentTypes List<String>
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
- contentTypes string[]
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
- content_types Sequence[str]
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
- contentTypes List<String>
- A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
SecurityPolicyAdvancedOptionsConfigResponse     
- JsonCustom Pulumi.Config Google Native. Compute. Beta. Inputs. Security Policy Advanced Options Config Json Custom Config Response 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- JsonParsing string
- LogLevel string
- UserIp List<string>Request Headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- JsonCustom SecurityConfig Policy Advanced Options Config Json Custom Config Response 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- JsonParsing string
- LogLevel string
- UserIp []stringRequest Headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- jsonCustom SecurityConfig Policy Advanced Options Config Json Custom Config Response 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- jsonParsing String
- logLevel String
- userIp List<String>Request Headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- jsonCustom SecurityConfig Policy Advanced Options Config Json Custom Config Response 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- jsonParsing string
- logLevel string
- userIp string[]Request Headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- json_custom_ Securityconfig Policy Advanced Options Config Json Custom Config Response 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json_parsing str
- log_level str
- user_ip_ Sequence[str]request_ headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- jsonCustom Property MapConfig 
- Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- jsonParsing String
- logLevel String
- userIp List<String>Request Headers 
- An optional list of case-insensitive request header names to use for resolving the callers client IP address.
SecurityPolicyAssociationResponse   
- AttachmentId string
- The resource that the security policy is attached to.
- DisplayName string
- The display name of the security policy of the association.
- Name string
- The name for an association.
- SecurityPolicy stringId 
- The security policy ID of the association.
- AttachmentId string
- The resource that the security policy is attached to.
- DisplayName string
- The display name of the security policy of the association.
- Name string
- The name for an association.
- SecurityPolicy stringId 
- The security policy ID of the association.
- attachmentId String
- The resource that the security policy is attached to.
- displayName String
- The display name of the security policy of the association.
- name String
- The name for an association.
- securityPolicy StringId 
- The security policy ID of the association.
- attachmentId string
- The resource that the security policy is attached to.
- displayName string
- The display name of the security policy of the association.
- name string
- The name for an association.
- securityPolicy stringId 
- The security policy ID of the association.
- attachment_id str
- The resource that the security policy is attached to.
- display_name str
- The display name of the security policy of the association.
- name str
- The name for an association.
- security_policy_ strid 
- The security policy ID of the association.
- attachmentId String
- The resource that the security policy is attached to.
- displayName String
- The display name of the security policy of the association.
- name String
- The name for an association.
- securityPolicy StringId 
- The security policy ID of the association.
SecurityPolicyDdosProtectionConfigResponse     
- DdosProtection string
- DdosProtection string
- ddosProtection String
- ddosProtection string
- ddos_protection str
- ddosProtection String
SecurityPolicyRecaptchaOptionsConfigResponse     
- RedirectSite stringKey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RedirectSite stringKey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- redirectSite StringKey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- redirectSite stringKey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- redirect_site_ strkey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- redirectSite StringKey 
- An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse         
- HeaderName string
- The name of the header to set.
- HeaderValue string
- The value to set the named header to.
- HeaderName string
- The name of the header to set.
- HeaderValue string
- The value to set the named header to.
- headerName String
- The name of the header to set.
- headerValue String
- The value to set the named header to.
- headerName string
- The name of the header to set.
- headerValue string
- The value to set the named header to.
- header_name str
- The name of the header to set.
- header_value str
- The value to set the named header to.
- headerName String
- The name of the header to set.
- headerValue String
- The value to set the named header to.
SecurityPolicyRuleHttpHeaderActionResponse      
- RequestHeaders List<Pulumi.To Adds Google Native. Compute. Beta. Inputs. Security Policy Rule Http Header Action Http Header Option Response> 
- The list of request headers to add or overwrite if they're already present.
- RequestHeaders []SecurityTo Adds Policy Rule Http Header Action Http Header Option Response 
- The list of request headers to add or overwrite if they're already present.
- requestHeaders List<SecurityTo Adds Policy Rule Http Header Action Http Header Option Response> 
- The list of request headers to add or overwrite if they're already present.
- requestHeaders SecurityTo Adds Policy Rule Http Header Action Http Header Option Response[] 
- The list of request headers to add or overwrite if they're already present.
- request_headers_ Sequence[Securityto_ adds Policy Rule Http Header Action Http Header Option Response] 
- The list of request headers to add or overwrite if they're already present.
- requestHeaders List<Property Map>To Adds 
- The list of request headers to add or overwrite if they're already present.
SecurityPolicyRuleMatcherConfigLayer4ConfigResponse      
- IpProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- Ports List<string>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
- IpProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- Ports []string
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
- ipProtocol String
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports List<String>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
- ipProtocol string
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports string[]
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
- ip_protocol str
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports Sequence[str]
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
- ipProtocol String
- The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- ports List<String>
- An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
SecurityPolicyRuleMatcherConfigResponse     
- DestIp List<string>Ranges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Layer4Configs
List<Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Matcher Config Layer4Config Response> 
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- SrcIp List<string>Ranges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- DestIp []stringRanges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Layer4Configs
[]SecurityPolicy Rule Matcher Config Layer4Config Response 
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- SrcIp []stringRanges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- destIp List<String>Ranges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4Configs
List<SecurityPolicy Rule Matcher Config Layer4Config Response> 
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- srcIp List<String>Ranges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- destIp string[]Ranges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4Configs
SecurityPolicy Rule Matcher Config Layer4Config Response[] 
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- srcIp string[]Ranges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- dest_ip_ Sequence[str]ranges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4_configs Sequence[SecurityPolicy Rule Matcher Config Layer4Config Response] 
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- src_ip_ Sequence[str]ranges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- destIp List<String>Ranges 
- CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4Configs List<Property Map>
- Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- srcIp List<String>Ranges 
- CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse        
- ActionToken List<string>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- SessionToken List<string>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- ActionToken []stringSite Keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- SessionToken []stringSite Keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- actionToken List<String>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- sessionToken List<String>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- actionToken string[]Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- sessionToken string[]Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- action_token_ Sequence[str]site_ keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- session_token_ Sequence[str]site_ keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- actionToken List<String>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
- sessionToken List<String>Site Keys 
- A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
SecurityPolicyRuleMatcherExprOptionsResponse      
- RecaptchaOptions Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Matcher Expr Options Recaptcha Options Response 
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
- RecaptchaOptions SecurityPolicy Rule Matcher Expr Options Recaptcha Options Response 
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
- recaptchaOptions SecurityPolicy Rule Matcher Expr Options Recaptcha Options Response 
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
- recaptchaOptions SecurityPolicy Rule Matcher Expr Options Recaptcha Options Response 
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
- recaptcha_options SecurityPolicy Rule Matcher Expr Options Recaptcha Options Response 
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
- recaptchaOptions Property Map
- reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect.
SecurityPolicyRuleMatcherResponse    
- Config
Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Matcher Config Response 
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- Expr
Pulumi.Google Native. Compute. Beta. Inputs. Expr Response 
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- ExprOptions Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Matcher Expr Options Response 
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- VersionedExpr string
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
- Config
SecurityPolicy Rule Matcher Config Response 
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- Expr
ExprResponse 
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- ExprOptions SecurityPolicy Rule Matcher Expr Options Response 
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- VersionedExpr string
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
- config
SecurityPolicy Rule Matcher Config Response 
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- expr
ExprResponse 
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- exprOptions SecurityPolicy Rule Matcher Expr Options Response 
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versionedExpr String
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
- config
SecurityPolicy Rule Matcher Config Response 
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- expr
ExprResponse 
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- exprOptions SecurityPolicy Rule Matcher Expr Options Response 
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versionedExpr string
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
- config
SecurityPolicy Rule Matcher Config Response 
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- expr
ExprResponse 
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- expr_options SecurityPolicy Rule Matcher Expr Options Response 
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned_expr str
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
- config Property Map
- The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
- expr Property Map
- User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligencerequire Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containingevaluatePreconfiguredExpr('sourceiplist-*')require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
- exprOptions Property Map
- The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versionedExpr String
- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
SecurityPolicyRuleNetworkMatcherResponse     
- DestIp List<string>Ranges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- DestPorts List<string>
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- IpProtocols List<string>
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- SrcAsns List<int>
- BGP Autonomous System Number associated with the source IP address.
- SrcIp List<string>Ranges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- SrcPorts List<string>
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- SrcRegion List<string>Codes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- UserDefined List<Pulumi.Fields Google Native. Compute. Beta. Inputs. Security Policy Rule Network Matcher User Defined Field Match Response> 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
- DestIp []stringRanges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- DestPorts []string
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- IpProtocols []string
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- SrcAsns []int
- BGP Autonomous System Number associated with the source IP address.
- SrcIp []stringRanges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- SrcPorts []string
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- SrcRegion []stringCodes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- UserDefined []SecurityFields Policy Rule Network Matcher User Defined Field Match Response 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
- destIp List<String>Ranges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- destPorts List<String>
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- ipProtocols List<String>
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- srcAsns List<Integer>
- BGP Autonomous System Number associated with the source IP address.
- srcIp List<String>Ranges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- srcPorts List<String>
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- srcRegion List<String>Codes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- userDefined List<SecurityFields Policy Rule Network Matcher User Defined Field Match Response> 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
- destIp string[]Ranges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- destPorts string[]
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- ipProtocols string[]
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- srcAsns number[]
- BGP Autonomous System Number associated with the source IP address.
- srcIp string[]Ranges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- srcPorts string[]
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- srcRegion string[]Codes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- userDefined SecurityFields Policy Rule Network Matcher User Defined Field Match Response[] 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
- dest_ip_ Sequence[str]ranges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest_ports Sequence[str]
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- ip_protocols Sequence[str]
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- src_asns Sequence[int]
- BGP Autonomous System Number associated with the source IP address.
- src_ip_ Sequence[str]ranges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src_ports Sequence[str]
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- src_region_ Sequence[str]codes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user_defined_ Sequence[Securityfields Policy Rule Network Matcher User Defined Field Match Response] 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
- destIp List<String>Ranges 
- Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- destPorts List<String>
- Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- ipProtocols List<String>
- IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
- srcAsns List<Number>
- BGP Autonomous System Number associated with the source IP address.
- srcIp List<String>Ranges 
- Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- srcPorts List<String>
- Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
- srcRegion List<String>Codes 
- Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- userDefined List<Property Map>Fields 
- User-defined fields. Each element names a defined field and lists the matching values for that field.
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse         
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse         
SecurityPolicyRulePreconfiguredWafConfigExclusionResponse       
- 
List<Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- RequestHeaders List<Pulumi.To Exclude Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- RequestQuery List<Pulumi.Params To Exclude Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- RequestUris List<Pulumi.To Exclude Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- TargetRule List<string>Ids 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- TargetRule stringSet 
- Target WAF rule set to apply the preconfigured WAF exclusion.
- 
[]SecurityPolicy Rule Preconfigured Waf Config Exclusion Field Params Response 
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- RequestHeaders []SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- RequestQuery []SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- RequestUris []SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- TargetRule []stringIds 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- TargetRule stringSet 
- Target WAF rule set to apply the preconfigured WAF exclusion.
- 
List<SecurityPolicy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestHeaders List<SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestQuery List<SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- requestUris List<SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response> 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- targetRule List<String>Ids 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- targetRule StringSet 
- Target WAF rule set to apply the preconfigured WAF exclusion.
- 
SecurityPolicy Rule Preconfigured Waf Config Exclusion Field Params Response[] 
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestHeaders SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response[] 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestQuery SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response[] 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- requestUris SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response[] 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- targetRule string[]Ids 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- targetRule stringSet 
- Target WAF rule set to apply the preconfigured WAF exclusion.
- 
Sequence[SecurityPolicy Rule Preconfigured Waf Config Exclusion Field Params Response] 
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request_headers_ Sequence[Securityto_ exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response] 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request_query_ Sequence[Securityparams_ to_ exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response] 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- request_uris_ Sequence[Securityto_ exclude Policy Rule Preconfigured Waf Config Exclusion Field Params Response] 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- target_rule_ Sequence[str]ids 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- target_rule_ strset 
- Target WAF rule set to apply the preconfigured WAF exclusion.
- List<Property Map>
- A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestHeaders List<Property Map>To Exclude 
- A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- requestQuery List<Property Map>Params To Exclude 
- A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
- requestUris List<Property Map>To Exclude 
- A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
- targetRule List<String>Ids 
- A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
- targetRule StringSet 
- Target WAF rule set to apply the preconfigured WAF exclusion.
SecurityPolicyRulePreconfiguredWafConfigResponse      
- Exclusions
List<Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Response> 
- A list of exclusions to apply during preconfigured WAF evaluation.
- Exclusions
[]SecurityPolicy Rule Preconfigured Waf Config Exclusion Response 
- A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
List<SecurityPolicy Rule Preconfigured Waf Config Exclusion Response> 
- A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
SecurityPolicy Rule Preconfigured Waf Config Exclusion Response[] 
- A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
Sequence[SecurityPolicy Rule Preconfigured Waf Config Exclusion Response] 
- A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions List<Property Map>
- A list of exclusions to apply during preconfigured WAF evaluation.
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse          
- EnforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- EnforceOn stringKey Type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- EnforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- EnforceOn stringKey Type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn StringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- enforceOn StringKey Type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- enforceOn stringKey Type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforce_on_ strkey_ name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- enforce_on_ strkey_ type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn StringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- enforceOn StringKey Type 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
SecurityPolicyRuleRateLimitOptionsResponse      
- BanDuration intSec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- BanThreshold Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Rate Limit Options Threshold Response 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- ConformAction string
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- EnforceOn stringKey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- EnforceOn List<Pulumi.Key Configs Google Native. Compute. Beta. Inputs. Security Policy Rule Rate Limit Options Enforce On Key Config Response> 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- EnforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- ExceedAction string
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- ExceedRedirect Pulumi.Options Google Native. Compute. Beta. Inputs. Security Policy Rule Redirect Options Response 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RateLimit Pulumi.Threshold Google Native. Compute. Beta. Inputs. Security Policy Rule Rate Limit Options Threshold Response 
- Threshold at which to begin ratelimiting.
- BanDuration intSec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- BanThreshold SecurityPolicy Rule Rate Limit Options Threshold Response 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- ConformAction string
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- EnforceOn stringKey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- EnforceOn []SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config Response 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- EnforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- ExceedAction string
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- ExceedRedirect SecurityOptions Policy Rule Redirect Options Response 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RateLimit SecurityThreshold Policy Rule Rate Limit Options Threshold Response 
- Threshold at which to begin ratelimiting.
- banDuration IntegerSec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- banThreshold SecurityPolicy Rule Rate Limit Options Threshold Response 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- conformAction String
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforceOn StringKey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn List<SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config Response> 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- enforceOn StringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- exceedAction String
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- exceedRedirect SecurityOptions Policy Rule Redirect Options Response 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rateLimit SecurityThreshold Policy Rule Rate Limit Options Threshold Response 
- Threshold at which to begin ratelimiting.
- banDuration numberSec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- banThreshold SecurityPolicy Rule Rate Limit Options Threshold Response 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- conformAction string
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforceOn stringKey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config Response[] 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- enforceOn stringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- exceedAction string
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- exceedRedirect SecurityOptions Policy Rule Redirect Options Response 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rateLimit SecurityThreshold Policy Rule Rate Limit Options Threshold Response 
- Threshold at which to begin ratelimiting.
- ban_duration_ intsec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- ban_threshold SecurityPolicy Rule Rate Limit Options Threshold Response 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- conform_action str
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce_on_ strkey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforce_on_ Sequence[Securitykey_ configs Policy Rule Rate Limit Options Enforce On Key Config Response] 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- enforce_on_ strkey_ name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- exceed_action str
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- exceed_redirect_ Securityoptions Policy Rule Redirect Options Response 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rate_limit_ Securitythreshold Policy Rule Rate Limit Options Threshold Response 
- Threshold at which to begin ratelimiting.
- banDuration NumberSec 
- Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
- banThreshold Property Map
- Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
- conformAction String
- Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforceOn StringKey 
- Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
- enforceOn List<Property Map>Key Configs 
- If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.
- enforceOn StringKey Name 
- Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
- exceedAction String
- Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are deny(STATUS), where valid values forSTATUSare 403, 404, 429, and 502, andredirect, where the redirect parameters come fromexceedRedirectOptionsbelow. Theredirectaction is only supported in Global Security Policies of type CLOUD_ARMOR.
- exceedRedirect Property MapOptions 
- Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rateLimit Property MapThreshold 
- Threshold at which to begin ratelimiting.
SecurityPolicyRuleRateLimitOptionsThresholdResponse       
- Count int
- Number of HTTP(S) requests for calculating the threshold.
- IntervalSec int
- Interval over which the threshold is computed.
- Count int
- Number of HTTP(S) requests for calculating the threshold.
- IntervalSec int
- Interval over which the threshold is computed.
- count Integer
- Number of HTTP(S) requests for calculating the threshold.
- intervalSec Integer
- Interval over which the threshold is computed.
- count number
- Number of HTTP(S) requests for calculating the threshold.
- intervalSec number
- Interval over which the threshold is computed.
- count int
- Number of HTTP(S) requests for calculating the threshold.
- interval_sec int
- Interval over which the threshold is computed.
- count Number
- Number of HTTP(S) requests for calculating the threshold.
- intervalSec Number
- Interval over which the threshold is computed.
SecurityPolicyRuleRedirectOptionsResponse     
SecurityPolicyRuleResponse   
- Action string
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Direction string
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- EnableLogging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- HeaderAction Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Http Header Action Response 
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- Match
Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- NetworkMatch Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Network Matcher Response 
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- PreconfiguredWaf Pulumi.Config Google Native. Compute. Beta. Inputs. Security Policy Rule Preconfigured Waf Config Response 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- Preview bool
- If set to true, the specified action is not enforced.
- Priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- RateLimit Pulumi.Options Google Native. Compute. Beta. Inputs. Security Policy Rule Rate Limit Options Response 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- RedirectOptions Pulumi.Google Native. Compute. Beta. Inputs. Security Policy Rule Redirect Options Response 
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RuleNumber string
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- RuleTuple intCount 
- Calculation of the complexity of a single firewall security policy rule.
- TargetResources List<string>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- TargetService List<string>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- Action string
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Direction string
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- EnableLogging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- HeaderAction SecurityPolicy Rule Http Header Action Response 
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- Match
SecurityPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- NetworkMatch SecurityPolicy Rule Network Matcher Response 
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- PreconfiguredWaf SecurityConfig Policy Rule Preconfigured Waf Config Response 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- Preview bool
- If set to true, the specified action is not enforced.
- Priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- RateLimit SecurityOptions Policy Rule Rate Limit Options Response 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- RedirectOptions SecurityPolicy Rule Redirect Options Response 
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- RuleNumber string
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- RuleTuple intCount 
- Calculation of the complexity of a single firewall security policy rule.
- TargetResources []string
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- TargetService []stringAccounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action String
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- direction String
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enableLogging Boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- headerAction SecurityPolicy Rule Http Header Action Response 
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match
SecurityPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- networkMatch SecurityPolicy Rule Network Matcher Response 
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- preconfiguredWaf SecurityConfig Policy Rule Preconfigured Waf Config Response 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- preview Boolean
- If set to true, the specified action is not enforced.
- priority Integer
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- rateLimit SecurityOptions Policy Rule Rate Limit Options Response 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirectOptions SecurityPolicy Rule Redirect Options Response 
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleNumber String
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- ruleTuple IntegerCount 
- Calculation of the complexity of a single firewall security policy rule.
- targetResources List<String>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- targetService List<String>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action string
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- direction string
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enableLogging boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- headerAction SecurityPolicy Rule Http Header Action Response 
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- kind string
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match
SecurityPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- networkMatch SecurityPolicy Rule Network Matcher Response 
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- preconfiguredWaf SecurityConfig Policy Rule Preconfigured Waf Config Response 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- preview boolean
- If set to true, the specified action is not enforced.
- priority number
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- rateLimit SecurityOptions Policy Rule Rate Limit Options Response 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirectOptions SecurityPolicy Rule Redirect Options Response 
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleNumber string
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- ruleTuple numberCount 
- Calculation of the complexity of a single firewall security policy rule.
- targetResources string[]
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- targetService string[]Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action str
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- direction str
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enable_logging bool
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- header_action SecurityPolicy Rule Http Header Action Response 
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- kind str
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match
SecurityPolicy Rule Matcher Response 
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- network_match SecurityPolicy Rule Network Matcher Response 
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- preconfigured_waf_ Securityconfig Policy Rule Preconfigured Waf Config Response 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- preview bool
- If set to true, the specified action is not enforced.
- priority int
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- rate_limit_ Securityoptions Policy Rule Rate Limit Options Response 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirect_options SecurityPolicy Rule Redirect Options Response 
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- rule_number str
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- rule_tuple_ intcount 
- Calculation of the complexity of a single firewall security policy rule.
- target_resources Sequence[str]
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- target_service_ Sequence[str]accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
- action String
- The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUSare 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- direction String
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enableLogging Boolean
- Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
- headerAction Property Map
- Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match Property Map
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- networkMatch Property Map
- A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
- preconfiguredWaf Property MapConfig 
- Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
- preview Boolean
- If set to true, the specified action is not enforced.
- priority Number
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
- rateLimit Property MapOptions 
- Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirectOptions Property Map
- Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- ruleNumber String
- Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
- ruleTuple NumberCount 
- Calculation of the complexity of a single firewall security policy rule.
- targetResources List<String>
- A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
- targetService List<String>Accounts 
- A list of service accounts indicating the sets of instances that are applied with this rule.
SecurityPolicyUserDefinedFieldResponse     
- Base string
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- Mask string
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- Name string
- The name of this field. Must be unique within the policy.
- Offset int
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- Size int
- Size of the field in bytes. Valid values: 1-4.
- Base string
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- Mask string
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- Name string
- The name of this field. Must be unique within the policy.
- Offset int
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- Size int
- Size of the field in bytes. Valid values: 1-4.
- base String
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- mask String
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- name String
- The name of this field. Must be unique within the policy.
- offset Integer
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- size Integer
- Size of the field in bytes. Valid values: 1-4.
- base string
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- mask string
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- name string
- The name of this field. Must be unique within the policy.
- offset number
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- size number
- Size of the field in bytes. Valid values: 1-4.
- base str
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- mask str
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- name str
- The name of this field. Must be unique within the policy.
- offset int
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- size int
- Size of the field in bytes. Valid values: 1-4.
- base String
- The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required
- mask String
- If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
- name String
- The name of this field. Must be unique within the policy.
- offset Number
- Offset of the first byte of the field (in network byte order) relative to 'base'.
- size Number
- Size of the field in bytes. Valid values: 1-4.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi