Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/alpha.RegionSecurityPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new policy in the specified project using the data included in the request.
Create RegionSecurityPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegionSecurityPolicy(name: string, args: RegionSecurityPolicyArgs, opts?: CustomResourceOptions);
@overload
def RegionSecurityPolicy(resource_name: str,
args: RegionSecurityPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegionSecurityPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
cloud_armor_config: Optional[SecurityPolicyCloudArmorConfigArgs] = None,
ddos_protection_config: Optional[SecurityPolicyDdosProtectionConfigArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
associations: Optional[Sequence[SecurityPolicyAssociationArgs]] = None,
adaptive_protection_config: Optional[SecurityPolicyAdaptiveProtectionConfigArgs] = None,
labels: Optional[Mapping[str, str]] = None,
recaptcha_options_config: Optional[SecurityPolicyRecaptchaOptionsConfigArgs] = None,
advanced_options_config: Optional[SecurityPolicyAdvancedOptionsConfigArgs] = None,
request_id: Optional[str] = None,
rules: Optional[Sequence[SecurityPolicyRuleArgs]] = None,
type: Optional[RegionSecurityPolicyType] = None,
user_defined_fields: Optional[Sequence[SecurityPolicyUserDefinedFieldArgs]] = None)
func NewRegionSecurityPolicy(ctx *Context, name string, args RegionSecurityPolicyArgs, opts ...ResourceOption) (*RegionSecurityPolicy, error)
public RegionSecurityPolicy(string name, RegionSecurityPolicyArgs args, CustomResourceOptions? opts = null)
public RegionSecurityPolicy(String name, RegionSecurityPolicyArgs args)
public RegionSecurityPolicy(String name, RegionSecurityPolicyArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:RegionSecurityPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegionSecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegionSecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegionSecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionSecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegionSecurityPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var regionSecurityPolicyResource = new GoogleNative.Compute.Alpha.RegionSecurityPolicy("regionSecurityPolicyResource", new()
{
Region = "string",
Name = "string",
Project = "string",
CloudArmorConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyCloudArmorConfigArgs
{
EnableMl = false,
},
DdosProtectionConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyDdosProtectionConfigArgs
{
DdosProtection = GoogleNative.Compute.Alpha.SecurityPolicyDdosProtectionConfigDdosProtection.Advanced,
},
Description = "string",
DisplayName = "string",
Associations = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAssociationArgs
{
AttachmentId = "string",
Name = "string",
},
},
AdaptiveProtectionConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdaptiveProtectionConfigArgs
{
AutoDeployConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs
{
ConfidenceThreshold = 0,
ExpirationSec = 0,
ImpactedBaselineThreshold = 0,
LoadThreshold = 0,
},
Layer7DdosDefenseConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs
{
Enable = false,
RuleVisibility = GoogleNative.Compute.Alpha.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility.Premium,
ThresholdConfigs = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs
{
AutoDeployConfidenceThreshold = 0,
AutoDeployExpirationSec = 0,
AutoDeployImpactedBaselineThreshold = 0,
AutoDeployLoadThreshold = 0,
Name = "string",
},
},
},
},
Labels =
{
{ "string", "string" },
},
RecaptchaOptionsConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRecaptchaOptionsConfigArgs
{
RedirectSiteKey = "string",
},
AdvancedOptionsConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdvancedOptionsConfigArgs
{
JsonCustomConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs
{
ContentTypes = new[]
{
"string",
},
},
JsonParsing = GoogleNative.Compute.Alpha.SecurityPolicyAdvancedOptionsConfigJsonParsing.Disabled,
LogLevel = GoogleNative.Compute.Alpha.SecurityPolicyAdvancedOptionsConfigLogLevel.Normal,
UserIpRequestHeaders = new[]
{
"string",
},
},
RequestId = "string",
Rules = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleArgs
{
Action = "string",
Description = "string",
Direction = GoogleNative.Compute.Alpha.SecurityPolicyRuleDirection.Egress,
EnableLogging = false,
HeaderAction = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleHttpHeaderActionArgs
{
RequestHeadersToAdds = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
},
},
},
Match = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherArgs
{
Config = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigArgs
{
DestIpRanges = new[]
{
"string",
},
DestPorts = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigDestinationPortArgs
{
IpProtocol = "string",
Ports = new[]
{
"string",
},
},
},
Layer4Configs = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigLayer4ConfigArgs
{
IpProtocol = "string",
Ports = new[]
{
"string",
},
},
},
SrcIpRanges = new[]
{
"string",
},
},
Expr = new GoogleNative.Compute.Alpha.Inputs.ExprArgs
{
Description = "string",
Expression = "string",
Location = "string",
Title = "string",
},
ExprOptions = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherExprOptionsArgs
{
RecaptchaOptions = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs
{
ActionTokenSiteKeys = new[]
{
"string",
},
SessionTokenSiteKeys = new[]
{
"string",
},
},
},
VersionedExpr = GoogleNative.Compute.Alpha.SecurityPolicyRuleMatcherVersionedExpr.Firewall,
},
NetworkMatch = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleNetworkMatcherArgs
{
DestIpRanges = new[]
{
"string",
},
DestPorts = new[]
{
"string",
},
IpProtocols = new[]
{
"string",
},
SrcAsns = new[]
{
0,
},
SrcIpRanges = new[]
{
"string",
},
SrcPorts = new[]
{
"string",
},
SrcRegionCodes = new[]
{
"string",
},
UserDefinedFields = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
},
PreconfiguredWafConfig = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigArgs
{
Exclusions = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionArgs
{
RequestCookiesToExclude = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs
{
Op = GoogleNative.Compute.Alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
Val = "string",
},
},
RequestHeadersToExclude = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs
{
Op = GoogleNative.Compute.Alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
Val = "string",
},
},
RequestQueryParamsToExclude = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs
{
Op = GoogleNative.Compute.Alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
Val = "string",
},
},
RequestUrisToExclude = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs
{
Op = GoogleNative.Compute.Alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
Val = "string",
},
},
TargetRuleIds = new[]
{
"string",
},
TargetRuleSet = "string",
},
},
},
Preview = false,
Priority = 0,
RateLimitOptions = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsArgs
{
BanDurationSec = 0,
BanThreshold = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThresholdArgs
{
Count = 0,
IntervalSec = 0,
},
ConformAction = "string",
EnforceOnKey = GoogleNative.Compute.Alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKey.All,
EnforceOnKeyConfigs = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs
{
EnforceOnKeyName = "string",
EnforceOnKeyType = GoogleNative.Compute.Alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType.All,
},
},
EnforceOnKeyName = "string",
ExceedAction = "string",
ExceedActionRpcStatus = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsRpcStatusArgs
{
Code = 0,
Message = "string",
},
ExceedRedirectOptions = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptionsArgs
{
Target = "string",
Type = GoogleNative.Compute.Alpha.SecurityPolicyRuleRedirectOptionsType.External302,
},
RateLimitThreshold = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThresholdArgs
{
Count = 0,
IntervalSec = 0,
},
},
RedirectOptions = new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptionsArgs
{
Target = "string",
Type = GoogleNative.Compute.Alpha.SecurityPolicyRuleRedirectOptionsType.External302,
},
RedirectTarget = "string",
RuleNumber = "string",
TargetResources = new[]
{
"string",
},
TargetServiceAccounts = new[]
{
"string",
},
},
},
Type = GoogleNative.Compute.Alpha.RegionSecurityPolicyType.CloudArmor,
UserDefinedFields = new[]
{
new GoogleNative.Compute.Alpha.Inputs.SecurityPolicyUserDefinedFieldArgs
{
Base = GoogleNative.Compute.Alpha.SecurityPolicyUserDefinedFieldBase.Ipv4,
Mask = "string",
Name = "string",
Offset = 0,
Size = 0,
},
},
});
example, err := compute.NewRegionSecurityPolicy(ctx, "regionSecurityPolicyResource", &compute.RegionSecurityPolicyArgs{
Region: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
CloudArmorConfig: &compute.SecurityPolicyCloudArmorConfigArgs{
EnableMl: pulumi.Bool(false),
},
DdosProtectionConfig: &compute.SecurityPolicyDdosProtectionConfigArgs{
DdosProtection: compute.SecurityPolicyDdosProtectionConfigDdosProtectionAdvanced,
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Associations: compute.SecurityPolicyAssociationArray{
&compute.SecurityPolicyAssociationArgs{
AttachmentId: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
AdaptiveProtectionConfig: &compute.SecurityPolicyAdaptiveProtectionConfigArgs{
AutoDeployConfig: &compute.SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs{
ConfidenceThreshold: pulumi.Float64(0),
ExpirationSec: pulumi.Int(0),
ImpactedBaselineThreshold: pulumi.Float64(0),
LoadThreshold: pulumi.Float64(0),
},
Layer7DdosDefenseConfig: &compute.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs{
Enable: pulumi.Bool(false),
RuleVisibility: compute.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPremium,
ThresholdConfigs: compute.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArray{
&compute.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs{
AutoDeployConfidenceThreshold: pulumi.Float64(0),
AutoDeployExpirationSec: pulumi.Int(0),
AutoDeployImpactedBaselineThreshold: pulumi.Float64(0),
AutoDeployLoadThreshold: pulumi.Float64(0),
Name: pulumi.String("string"),
},
},
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
RecaptchaOptionsConfig: &compute.SecurityPolicyRecaptchaOptionsConfigArgs{
RedirectSiteKey: pulumi.String("string"),
},
AdvancedOptionsConfig: &compute.SecurityPolicyAdvancedOptionsConfigArgs{
JsonCustomConfig: &compute.SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs{
ContentTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
JsonParsing: compute.SecurityPolicyAdvancedOptionsConfigJsonParsingDisabled,
LogLevel: compute.SecurityPolicyAdvancedOptionsConfigLogLevelNormal,
UserIpRequestHeaders: pulumi.StringArray{
pulumi.String("string"),
},
},
RequestId: pulumi.String("string"),
Rules: compute.SecurityPolicyRuleArray{
&compute.SecurityPolicyRuleArgs{
Action: pulumi.String("string"),
Description: pulumi.String("string"),
Direction: compute.SecurityPolicyRuleDirectionEgress,
EnableLogging: pulumi.Bool(false),
HeaderAction: &compute.SecurityPolicyRuleHttpHeaderActionArgs{
RequestHeadersToAdds: compute.SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray{
&compute.SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs{
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
},
},
},
Match: &compute.SecurityPolicyRuleMatcherArgs{
Config: &compute.SecurityPolicyRuleMatcherConfigArgs{
DestIpRanges: pulumi.StringArray{
pulumi.String("string"),
},
DestPorts: compute.SecurityPolicyRuleMatcherConfigDestinationPortArray{
&compute.SecurityPolicyRuleMatcherConfigDestinationPortArgs{
IpProtocol: pulumi.String("string"),
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Layer4Configs: compute.SecurityPolicyRuleMatcherConfigLayer4ConfigArray{
&compute.SecurityPolicyRuleMatcherConfigLayer4ConfigArgs{
IpProtocol: pulumi.String("string"),
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
},
SrcIpRanges: pulumi.StringArray{
pulumi.String("string"),
},
},
Expr: &compute.ExprArgs{
Description: pulumi.String("string"),
Expression: pulumi.String("string"),
Location: pulumi.String("string"),
Title: pulumi.String("string"),
},
ExprOptions: &compute.SecurityPolicyRuleMatcherExprOptionsArgs{
RecaptchaOptions: &compute.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs{
ActionTokenSiteKeys: pulumi.StringArray{
pulumi.String("string"),
},
SessionTokenSiteKeys: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VersionedExpr: compute.SecurityPolicyRuleMatcherVersionedExprFirewall,
},
NetworkMatch: &compute.SecurityPolicyRuleNetworkMatcherArgs{
DestIpRanges: pulumi.StringArray{
pulumi.String("string"),
},
DestPorts: pulumi.StringArray{
pulumi.String("string"),
},
IpProtocols: pulumi.StringArray{
pulumi.String("string"),
},
SrcAsns: pulumi.IntArray{
pulumi.Int(0),
},
SrcIpRanges: pulumi.StringArray{
pulumi.String("string"),
},
SrcPorts: pulumi.StringArray{
pulumi.String("string"),
},
SrcRegionCodes: pulumi.StringArray{
pulumi.String("string"),
},
UserDefinedFields: compute.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray{
&compute.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
PreconfiguredWafConfig: &compute.SecurityPolicyRulePreconfiguredWafConfigArgs{
Exclusions: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionArray{
&compute.SecurityPolicyRulePreconfiguredWafConfigExclusionArgs{
RequestCookiesToExclude: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray{
&compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs{
Op: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpContains,
Val: pulumi.String("string"),
},
},
RequestHeadersToExclude: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray{
&compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs{
Op: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpContains,
Val: pulumi.String("string"),
},
},
RequestQueryParamsToExclude: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray{
&compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs{
Op: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpContains,
Val: pulumi.String("string"),
},
},
RequestUrisToExclude: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray{
&compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs{
Op: compute.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpContains,
Val: pulumi.String("string"),
},
},
TargetRuleIds: pulumi.StringArray{
pulumi.String("string"),
},
TargetRuleSet: pulumi.String("string"),
},
},
},
Preview: pulumi.Bool(false),
Priority: pulumi.Int(0),
RateLimitOptions: &compute.SecurityPolicyRuleRateLimitOptionsArgs{
BanDurationSec: pulumi.Int(0),
BanThreshold: &compute.SecurityPolicyRuleRateLimitOptionsThresholdArgs{
Count: pulumi.Int(0),
IntervalSec: pulumi.Int(0),
},
ConformAction: pulumi.String("string"),
EnforceOnKey: compute.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyAll,
EnforceOnKeyConfigs: compute.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray{
&compute.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs{
EnforceOnKeyName: pulumi.String("string"),
EnforceOnKeyType: compute.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeAll,
},
},
EnforceOnKeyName: pulumi.String("string"),
ExceedAction: pulumi.String("string"),
ExceedActionRpcStatus: &compute.SecurityPolicyRuleRateLimitOptionsRpcStatusArgs{
Code: pulumi.Int(0),
Message: pulumi.String("string"),
},
ExceedRedirectOptions: &compute.SecurityPolicyRuleRedirectOptionsArgs{
Target: pulumi.String("string"),
Type: compute.SecurityPolicyRuleRedirectOptionsTypeExternal302,
},
RateLimitThreshold: &compute.SecurityPolicyRuleRateLimitOptionsThresholdArgs{
Count: pulumi.Int(0),
IntervalSec: pulumi.Int(0),
},
},
RedirectOptions: &compute.SecurityPolicyRuleRedirectOptionsArgs{
Target: pulumi.String("string"),
Type: compute.SecurityPolicyRuleRedirectOptionsTypeExternal302,
},
RedirectTarget: pulumi.String("string"),
RuleNumber: pulumi.String("string"),
TargetResources: pulumi.StringArray{
pulumi.String("string"),
},
TargetServiceAccounts: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Type: compute.RegionSecurityPolicyTypeCloudArmor,
UserDefinedFields: compute.SecurityPolicyUserDefinedFieldArray{
&compute.SecurityPolicyUserDefinedFieldArgs{
Base: compute.SecurityPolicyUserDefinedFieldBaseIpv4,
Mask: pulumi.String("string"),
Name: pulumi.String("string"),
Offset: pulumi.Int(0),
Size: pulumi.Int(0),
},
},
})
var regionSecurityPolicyResource = new RegionSecurityPolicy("regionSecurityPolicyResource", RegionSecurityPolicyArgs.builder()
.region("string")
.name("string")
.project("string")
.cloudArmorConfig(SecurityPolicyCloudArmorConfigArgs.builder()
.enableMl(false)
.build())
.ddosProtectionConfig(SecurityPolicyDdosProtectionConfigArgs.builder()
.ddosProtection("ADVANCED")
.build())
.description("string")
.displayName("string")
.associations(SecurityPolicyAssociationArgs.builder()
.attachmentId("string")
.name("string")
.build())
.adaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfigArgs.builder()
.autoDeployConfig(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs.builder()
.confidenceThreshold(0)
.expirationSec(0)
.impactedBaselineThreshold(0)
.loadThreshold(0)
.build())
.layer7DdosDefenseConfig(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs.builder()
.enable(false)
.ruleVisibility("PREMIUM")
.thresholdConfigs(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs.builder()
.autoDeployConfidenceThreshold(0)
.autoDeployExpirationSec(0)
.autoDeployImpactedBaselineThreshold(0)
.autoDeployLoadThreshold(0)
.name("string")
.build())
.build())
.build())
.labels(Map.of("string", "string"))
.recaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfigArgs.builder()
.redirectSiteKey("string")
.build())
.advancedOptionsConfig(SecurityPolicyAdvancedOptionsConfigArgs.builder()
.jsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs.builder()
.contentTypes("string")
.build())
.jsonParsing("DISABLED")
.logLevel("NORMAL")
.userIpRequestHeaders("string")
.build())
.requestId("string")
.rules(SecurityPolicyRuleArgs.builder()
.action("string")
.description("string")
.direction("EGRESS")
.enableLogging(false)
.headerAction(SecurityPolicyRuleHttpHeaderActionArgs.builder()
.requestHeadersToAdds(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs.builder()
.headerName("string")
.headerValue("string")
.build())
.build())
.match(SecurityPolicyRuleMatcherArgs.builder()
.config(SecurityPolicyRuleMatcherConfigArgs.builder()
.destIpRanges("string")
.destPorts(SecurityPolicyRuleMatcherConfigDestinationPortArgs.builder()
.ipProtocol("string")
.ports("string")
.build())
.layer4Configs(SecurityPolicyRuleMatcherConfigLayer4ConfigArgs.builder()
.ipProtocol("string")
.ports("string")
.build())
.srcIpRanges("string")
.build())
.expr(ExprArgs.builder()
.description("string")
.expression("string")
.location("string")
.title("string")
.build())
.exprOptions(SecurityPolicyRuleMatcherExprOptionsArgs.builder()
.recaptchaOptions(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs.builder()
.actionTokenSiteKeys("string")
.sessionTokenSiteKeys("string")
.build())
.build())
.versionedExpr("FIREWALL")
.build())
.networkMatch(SecurityPolicyRuleNetworkMatcherArgs.builder()
.destIpRanges("string")
.destPorts("string")
.ipProtocols("string")
.srcAsns(0)
.srcIpRanges("string")
.srcPorts("string")
.srcRegionCodes("string")
.userDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs.builder()
.name("string")
.values("string")
.build())
.build())
.preconfiguredWafConfig(SecurityPolicyRulePreconfiguredWafConfigArgs.builder()
.exclusions(SecurityPolicyRulePreconfiguredWafConfigExclusionArgs.builder()
.requestCookiesToExclude(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs.builder()
.op("CONTAINS")
.val("string")
.build())
.requestHeadersToExclude(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs.builder()
.op("CONTAINS")
.val("string")
.build())
.requestQueryParamsToExclude(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs.builder()
.op("CONTAINS")
.val("string")
.build())
.requestUrisToExclude(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs.builder()
.op("CONTAINS")
.val("string")
.build())
.targetRuleIds("string")
.targetRuleSet("string")
.build())
.build())
.preview(false)
.priority(0)
.rateLimitOptions(SecurityPolicyRuleRateLimitOptionsArgs.builder()
.banDurationSec(0)
.banThreshold(SecurityPolicyRuleRateLimitOptionsThresholdArgs.builder()
.count(0)
.intervalSec(0)
.build())
.conformAction("string")
.enforceOnKey("ALL")
.enforceOnKeyConfigs(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs.builder()
.enforceOnKeyName("string")
.enforceOnKeyType("ALL")
.build())
.enforceOnKeyName("string")
.exceedAction("string")
.exceedActionRpcStatus(SecurityPolicyRuleRateLimitOptionsRpcStatusArgs.builder()
.code(0)
.message("string")
.build())
.exceedRedirectOptions(SecurityPolicyRuleRedirectOptionsArgs.builder()
.target("string")
.type("EXTERNAL_302")
.build())
.rateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThresholdArgs.builder()
.count(0)
.intervalSec(0)
.build())
.build())
.redirectOptions(SecurityPolicyRuleRedirectOptionsArgs.builder()
.target("string")
.type("EXTERNAL_302")
.build())
.redirectTarget("string")
.ruleNumber("string")
.targetResources("string")
.targetServiceAccounts("string")
.build())
.type("CLOUD_ARMOR")
.userDefinedFields(SecurityPolicyUserDefinedFieldArgs.builder()
.base("IPV4")
.mask("string")
.name("string")
.offset(0)
.size(0)
.build())
.build());
region_security_policy_resource = google_native.compute.alpha.RegionSecurityPolicy("regionSecurityPolicyResource",
region="string",
name="string",
project="string",
cloud_armor_config={
"enable_ml": False,
},
ddos_protection_config={
"ddos_protection": google_native.compute.alpha.SecurityPolicyDdosProtectionConfigDdosProtection.ADVANCED,
},
description="string",
display_name="string",
associations=[{
"attachment_id": "string",
"name": "string",
}],
adaptive_protection_config={
"auto_deploy_config": {
"confidence_threshold": 0,
"expiration_sec": 0,
"impacted_baseline_threshold": 0,
"load_threshold": 0,
},
"layer7_ddos_defense_config": {
"enable": False,
"rule_visibility": google_native.compute.alpha.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility.PREMIUM,
"threshold_configs": [{
"auto_deploy_confidence_threshold": 0,
"auto_deploy_expiration_sec": 0,
"auto_deploy_impacted_baseline_threshold": 0,
"auto_deploy_load_threshold": 0,
"name": "string",
}],
},
},
labels={
"string": "string",
},
recaptcha_options_config={
"redirect_site_key": "string",
},
advanced_options_config={
"json_custom_config": {
"content_types": ["string"],
},
"json_parsing": google_native.compute.alpha.SecurityPolicyAdvancedOptionsConfigJsonParsing.DISABLED,
"log_level": google_native.compute.alpha.SecurityPolicyAdvancedOptionsConfigLogLevel.NORMAL,
"user_ip_request_headers": ["string"],
},
request_id="string",
rules=[{
"action": "string",
"description": "string",
"direction": google_native.compute.alpha.SecurityPolicyRuleDirection.EGRESS,
"enable_logging": False,
"header_action": {
"request_headers_to_adds": [{
"header_name": "string",
"header_value": "string",
}],
},
"match": {
"config": {
"dest_ip_ranges": ["string"],
"dest_ports": [{
"ip_protocol": "string",
"ports": ["string"],
}],
"layer4_configs": [{
"ip_protocol": "string",
"ports": ["string"],
}],
"src_ip_ranges": ["string"],
},
"expr": {
"description": "string",
"expression": "string",
"location": "string",
"title": "string",
},
"expr_options": {
"recaptcha_options": {
"action_token_site_keys": ["string"],
"session_token_site_keys": ["string"],
},
},
"versioned_expr": google_native.compute.alpha.SecurityPolicyRuleMatcherVersionedExpr.FIREWALL,
},
"network_match": {
"dest_ip_ranges": ["string"],
"dest_ports": ["string"],
"ip_protocols": ["string"],
"src_asns": [0],
"src_ip_ranges": ["string"],
"src_ports": ["string"],
"src_region_codes": ["string"],
"user_defined_fields": [{
"name": "string",
"values": ["string"],
}],
},
"preconfigured_waf_config": {
"exclusions": [{
"request_cookies_to_exclude": [{
"op": google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.CONTAINS,
"val": "string",
}],
"request_headers_to_exclude": [{
"op": google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.CONTAINS,
"val": "string",
}],
"request_query_params_to_exclude": [{
"op": google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.CONTAINS,
"val": "string",
}],
"request_uris_to_exclude": [{
"op": google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.CONTAINS,
"val": "string",
}],
"target_rule_ids": ["string"],
"target_rule_set": "string",
}],
},
"preview": False,
"priority": 0,
"rate_limit_options": {
"ban_duration_sec": 0,
"ban_threshold": {
"count": 0,
"interval_sec": 0,
},
"conform_action": "string",
"enforce_on_key": google_native.compute.alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKey.ALL,
"enforce_on_key_configs": [{
"enforce_on_key_name": "string",
"enforce_on_key_type": google_native.compute.alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType.ALL,
}],
"enforce_on_key_name": "string",
"exceed_action": "string",
"exceed_action_rpc_status": {
"code": 0,
"message": "string",
},
"exceed_redirect_options": {
"target": "string",
"type": google_native.compute.alpha.SecurityPolicyRuleRedirectOptionsType.EXTERNAL302,
},
"rate_limit_threshold": {
"count": 0,
"interval_sec": 0,
},
},
"redirect_options": {
"target": "string",
"type": google_native.compute.alpha.SecurityPolicyRuleRedirectOptionsType.EXTERNAL302,
},
"redirect_target": "string",
"rule_number": "string",
"target_resources": ["string"],
"target_service_accounts": ["string"],
}],
type=google_native.compute.alpha.RegionSecurityPolicyType.CLOUD_ARMOR,
user_defined_fields=[{
"base": google_native.compute.alpha.SecurityPolicyUserDefinedFieldBase.IPV4,
"mask": "string",
"name": "string",
"offset": 0,
"size": 0,
}])
const regionSecurityPolicyResource = new google_native.compute.alpha.RegionSecurityPolicy("regionSecurityPolicyResource", {
region: "string",
name: "string",
project: "string",
cloudArmorConfig: {
enableMl: false,
},
ddosProtectionConfig: {
ddosProtection: google_native.compute.alpha.SecurityPolicyDdosProtectionConfigDdosProtection.Advanced,
},
description: "string",
displayName: "string",
associations: [{
attachmentId: "string",
name: "string",
}],
adaptiveProtectionConfig: {
autoDeployConfig: {
confidenceThreshold: 0,
expirationSec: 0,
impactedBaselineThreshold: 0,
loadThreshold: 0,
},
layer7DdosDefenseConfig: {
enable: false,
ruleVisibility: google_native.compute.alpha.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility.Premium,
thresholdConfigs: [{
autoDeployConfidenceThreshold: 0,
autoDeployExpirationSec: 0,
autoDeployImpactedBaselineThreshold: 0,
autoDeployLoadThreshold: 0,
name: "string",
}],
},
},
labels: {
string: "string",
},
recaptchaOptionsConfig: {
redirectSiteKey: "string",
},
advancedOptionsConfig: {
jsonCustomConfig: {
contentTypes: ["string"],
},
jsonParsing: google_native.compute.alpha.SecurityPolicyAdvancedOptionsConfigJsonParsing.Disabled,
logLevel: google_native.compute.alpha.SecurityPolicyAdvancedOptionsConfigLogLevel.Normal,
userIpRequestHeaders: ["string"],
},
requestId: "string",
rules: [{
action: "string",
description: "string",
direction: google_native.compute.alpha.SecurityPolicyRuleDirection.Egress,
enableLogging: false,
headerAction: {
requestHeadersToAdds: [{
headerName: "string",
headerValue: "string",
}],
},
match: {
config: {
destIpRanges: ["string"],
destPorts: [{
ipProtocol: "string",
ports: ["string"],
}],
layer4Configs: [{
ipProtocol: "string",
ports: ["string"],
}],
srcIpRanges: ["string"],
},
expr: {
description: "string",
expression: "string",
location: "string",
title: "string",
},
exprOptions: {
recaptchaOptions: {
actionTokenSiteKeys: ["string"],
sessionTokenSiteKeys: ["string"],
},
},
versionedExpr: google_native.compute.alpha.SecurityPolicyRuleMatcherVersionedExpr.Firewall,
},
networkMatch: {
destIpRanges: ["string"],
destPorts: ["string"],
ipProtocols: ["string"],
srcAsns: [0],
srcIpRanges: ["string"],
srcPorts: ["string"],
srcRegionCodes: ["string"],
userDefinedFields: [{
name: "string",
values: ["string"],
}],
},
preconfiguredWafConfig: {
exclusions: [{
requestCookiesToExclude: [{
op: google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
val: "string",
}],
requestHeadersToExclude: [{
op: google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
val: "string",
}],
requestQueryParamsToExclude: [{
op: google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
val: "string",
}],
requestUrisToExclude: [{
op: google_native.compute.alpha.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp.Contains,
val: "string",
}],
targetRuleIds: ["string"],
targetRuleSet: "string",
}],
},
preview: false,
priority: 0,
rateLimitOptions: {
banDurationSec: 0,
banThreshold: {
count: 0,
intervalSec: 0,
},
conformAction: "string",
enforceOnKey: google_native.compute.alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKey.All,
enforceOnKeyConfigs: [{
enforceOnKeyName: "string",
enforceOnKeyType: google_native.compute.alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType.All,
}],
enforceOnKeyName: "string",
exceedAction: "string",
exceedActionRpcStatus: {
code: 0,
message: "string",
},
exceedRedirectOptions: {
target: "string",
type: google_native.compute.alpha.SecurityPolicyRuleRedirectOptionsType.External302,
},
rateLimitThreshold: {
count: 0,
intervalSec: 0,
},
},
redirectOptions: {
target: "string",
type: google_native.compute.alpha.SecurityPolicyRuleRedirectOptionsType.External302,
},
redirectTarget: "string",
ruleNumber: "string",
targetResources: ["string"],
targetServiceAccounts: ["string"],
}],
type: google_native.compute.alpha.RegionSecurityPolicyType.CloudArmor,
userDefinedFields: [{
base: google_native.compute.alpha.SecurityPolicyUserDefinedFieldBase.Ipv4,
mask: "string",
name: "string",
offset: 0,
size: 0,
}],
});
type: google-native:compute/alpha:RegionSecurityPolicy
properties:
adaptiveProtectionConfig:
autoDeployConfig:
confidenceThreshold: 0
expirationSec: 0
impactedBaselineThreshold: 0
loadThreshold: 0
layer7DdosDefenseConfig:
enable: false
ruleVisibility: PREMIUM
thresholdConfigs:
- autoDeployConfidenceThreshold: 0
autoDeployExpirationSec: 0
autoDeployImpactedBaselineThreshold: 0
autoDeployLoadThreshold: 0
name: string
advancedOptionsConfig:
jsonCustomConfig:
contentTypes:
- string
jsonParsing: DISABLED
logLevel: NORMAL
userIpRequestHeaders:
- string
associations:
- attachmentId: string
name: string
cloudArmorConfig:
enableMl: false
ddosProtectionConfig:
ddosProtection: ADVANCED
description: string
displayName: string
labels:
string: string
name: string
project: string
recaptchaOptionsConfig:
redirectSiteKey: string
region: string
requestId: string
rules:
- action: string
description: string
direction: EGRESS
enableLogging: false
headerAction:
requestHeadersToAdds:
- headerName: string
headerValue: string
match:
config:
destIpRanges:
- string
destPorts:
- ipProtocol: string
ports:
- string
layer4Configs:
- ipProtocol: string
ports:
- string
srcIpRanges:
- string
expr:
description: string
expression: string
location: string
title: string
exprOptions:
recaptchaOptions:
actionTokenSiteKeys:
- string
sessionTokenSiteKeys:
- string
versionedExpr: FIREWALL
networkMatch:
destIpRanges:
- string
destPorts:
- string
ipProtocols:
- string
srcAsns:
- 0
srcIpRanges:
- string
srcPorts:
- string
srcRegionCodes:
- string
userDefinedFields:
- name: string
values:
- string
preconfiguredWafConfig:
exclusions:
- requestCookiesToExclude:
- op: CONTAINS
val: string
requestHeadersToExclude:
- op: CONTAINS
val: string
requestQueryParamsToExclude:
- op: CONTAINS
val: string
requestUrisToExclude:
- op: CONTAINS
val: string
targetRuleIds:
- string
targetRuleSet: string
preview: false
priority: 0
rateLimitOptions:
banDurationSec: 0
banThreshold:
count: 0
intervalSec: 0
conformAction: string
enforceOnKey: ALL
enforceOnKeyConfigs:
- enforceOnKeyName: string
enforceOnKeyType: ALL
enforceOnKeyName: string
exceedAction: string
exceedActionRpcStatus:
code: 0
message: string
exceedRedirectOptions:
target: string
type: EXTERNAL_302
rateLimitThreshold:
count: 0
intervalSec: 0
redirectOptions:
target: string
type: EXTERNAL_302
redirectTarget: string
ruleNumber: string
targetResources:
- string
targetServiceAccounts:
- string
type: CLOUD_ARMOR
userDefinedFields:
- base: IPV4
mask: string
name: string
offset: 0
size: 0
RegionSecurityPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RegionSecurityPolicy resource accepts the following input properties:
- Region string
- Adaptive
Protection Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Adaptive Protection Config - Advanced
Options Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Advanced Options Config - Associations
List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Association> - A list of associations that belong to this policy.
- Cloud
Armor Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Cloud Armor Config - Ddos
Protection Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Ddos Protection Config - Description string
- An optional description of this resource. Provide this property when you create the resource.
- Display
Name 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. - 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. - Project string
- Recaptcha
Options Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Recaptcha Options Config - Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Rules
List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule> - 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.
- Type
Pulumi.
Google Native. Compute. Alpha. Region Security Policy Type - 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 List<Pulumi.Fields Google Native. Compute. Alpha. Inputs. Security Policy User Defined Field> - 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"
- Region string
- Adaptive
Protection SecurityConfig Policy Adaptive Protection Config Args - Advanced
Options SecurityConfig Policy Advanced Options Config Args - Associations
[]Security
Policy Association Args - A list of associations that belong to this policy.
- Cloud
Armor SecurityConfig Policy Cloud Armor Config Args - Ddos
Protection SecurityConfig Policy Ddos Protection Config Args - Description string
- An optional description of this resource. Provide this property when you create the resource.
- Display
Name 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. - 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. - Project string
- Recaptcha
Options SecurityConfig Policy Recaptcha Options Config Args - Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Rules
[]Security
Policy Rule Args - 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.
- Type
Region
Security Policy Type - 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 []SecurityFields Policy User Defined Field Args - 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"
- region String
- adaptive
Protection SecurityConfig Policy Adaptive Protection Config - advanced
Options SecurityConfig Policy Advanced Options Config - associations
List<Security
Policy Association> - A list of associations that belong to this policy.
- cloud
Armor SecurityConfig Policy Cloud Armor Config - ddos
Protection SecurityConfig Policy Ddos Protection Config - description String
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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. - 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. - project String
- recaptcha
Options SecurityConfig Policy Recaptcha Options Config - request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- rules
List<Security
Policy Rule> - 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.
- type
Region
Security Policy Type - 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 List<SecurityFields Policy User Defined Field> - 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"
- region string
- adaptive
Protection SecurityConfig Policy Adaptive Protection Config - advanced
Options SecurityConfig Policy Advanced Options Config - associations
Security
Policy Association[] - A list of associations that belong to this policy.
- cloud
Armor SecurityConfig Policy Cloud Armor Config - ddos
Protection SecurityConfig Policy Ddos Protection Config - description string
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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. - 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. - project string
- recaptcha
Options SecurityConfig Policy Recaptcha Options Config - request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- rules
Security
Policy Rule[] - 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.
- type
Region
Security Policy Type - 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 SecurityFields Policy User Defined Field[] - 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"
- region str
- adaptive_
protection_ Securityconfig Policy Adaptive Protection Config Args - advanced_
options_ Securityconfig Policy Advanced Options Config Args - associations
Sequence[Security
Policy Association Args] - A list of associations that belong to this policy.
- cloud_
armor_ Securityconfig Policy Cloud Armor Config Args - ddos_
protection_ Securityconfig Policy Ddos Protection Config Args - 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. - 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. - project str
- recaptcha_
options_ Securityconfig Policy Recaptcha Options Config Args - request_
id str - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- rules
Sequence[Security
Policy Rule Args] - 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.
- type
Region
Security Policy Type - 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 Args] - 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"
- region String
- adaptive
Protection Property MapConfig - advanced
Options Property MapConfig - associations List<Property Map>
- A list of associations that belong to this policy.
- cloud
Armor Property MapConfig - ddos
Protection Property MapConfig - description String
- An optional description of this resource. Provide this property when you create the resource.
- display
Name 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. - 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. - project String
- recaptcha
Options Property MapConfig - request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- type "CLOUD_ARMOR" | "CLOUD_ARMOR_EDGE" | "CLOUD_ARMOR_INTERNAL_SERVICE" | "CLOUD_ARMOR_NETWORK" | "FIREWALL"
- 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 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"
Outputs
All input properties are implicitly available as output properties. Additionally, the RegionSecurityPolicy resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- Label
Fingerprint 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.
- Parent string
- The parent of the security policy.
- Rule
Tuple intCount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- Label
Fingerprint 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.
- Parent string
- The parent of the security policy.
- Rule
Tuple intCount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- label
Fingerprint 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.
- parent String
- The parent of the security policy.
- rule
Tuple IntegerCount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- label
Fingerprint 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.
- parent string
- The parent of the security policy.
- rule
Tuple numberCount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- self
Link string - Server-defined URL for the resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- parent str
- The parent of the security policy.
- rule_
tuple_ intcount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- self_
link str - Server-defined URL for the resource.
- self_
link_ strwith_ id - Server-defined URL for this resource with the resource id.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- [Output only] Type of the resource. Always compute#securityPolicyfor security policies
- label
Fingerprint 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.
- parent String
- The parent of the security policy.
- rule
Tuple NumberCount - Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
Supporting Types
Expr, ExprArgs
- 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.
ExprResponse, ExprResponseArgs
- 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.
RegionSecurityPolicyType, RegionSecurityPolicyTypeArgs
- Cloud
Armor - CLOUD_ARMOR
- Cloud
Armor Edge - CLOUD_ARMOR_EDGE
- Cloud
Armor Internal Service - CLOUD_ARMOR_INTERNAL_SERVICE
- Cloud
Armor Network - CLOUD_ARMOR_NETWORK
- Firewall
- FIREWALL
- Region
Security Policy Type Cloud Armor - CLOUD_ARMOR
- Region
Security Policy Type Cloud Armor Edge - CLOUD_ARMOR_EDGE
- Region
Security Policy Type Cloud Armor Internal Service - CLOUD_ARMOR_INTERNAL_SERVICE
- Region
Security Policy Type Cloud Armor Network - CLOUD_ARMOR_NETWORK
- Region
Security Policy Type Firewall - FIREWALL
- Cloud
Armor - CLOUD_ARMOR
- Cloud
Armor Edge - CLOUD_ARMOR_EDGE
- Cloud
Armor Internal Service - CLOUD_ARMOR_INTERNAL_SERVICE
- Cloud
Armor Network - CLOUD_ARMOR_NETWORK
- Firewall
- FIREWALL
- Cloud
Armor - CLOUD_ARMOR
- Cloud
Armor Edge - CLOUD_ARMOR_EDGE
- Cloud
Armor Internal Service - CLOUD_ARMOR_INTERNAL_SERVICE
- Cloud
Armor Network - CLOUD_ARMOR_NETWORK
- Firewall
- FIREWALL
- CLOUD_ARMOR
- CLOUD_ARMOR
- CLOUD_ARMOR_EDGE
- CLOUD_ARMOR_EDGE
- CLOUD_ARMOR_INTERNAL_SERVICE
- CLOUD_ARMOR_INTERNAL_SERVICE
- CLOUD_ARMOR_NETWORK
- CLOUD_ARMOR_NETWORK
- FIREWALL
- FIREWALL
- "CLOUD_ARMOR"
- CLOUD_ARMOR
- "CLOUD_ARMOR_EDGE"
- CLOUD_ARMOR_EDGE
- "CLOUD_ARMOR_INTERNAL_SERVICE"
- CLOUD_ARMOR_INTERNAL_SERVICE
- "CLOUD_ARMOR_NETWORK"
- CLOUD_ARMOR_NETWORK
- "FIREWALL"
- FIREWALL
SecurityPolicyAdaptiveProtectionConfig, SecurityPolicyAdaptiveProtectionConfigArgs
- Auto
Deploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config - Layer7Ddos
Defense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config - If set to true, enables Cloud Armor Machine Learning.
- auto
Deploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config - layer7Ddos
Defense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config - If set to true, enables Cloud Armor Machine Learning.
- auto
Deploy SecurityConfig Policy Adaptive Protection Config Auto Deploy Config - layer7Ddos
Defense SecurityConfig Policy Adaptive Protection Config Layer7Ddos Defense Config - If set to true, enables Cloud Armor Machine Learning.
- auto_
deploy_ Securityconfig Policy Adaptive Protection Config Auto Deploy Config - layer7_
ddos_ Securitydefense_ config Policy Adaptive Protection Config Layer7Ddos Defense Config - If set to true, enables Cloud Armor Machine Learning.
- auto
Deploy Property MapConfig - layer7Ddos
Defense Property MapConfig - If set to true, enables Cloud Armor Machine Learning.
SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig, SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs
- Confidence
Threshold double - Expiration
Sec int - Impacted
Baseline doubleThreshold - Load
Threshold double
- Confidence
Threshold float64 - Expiration
Sec int - Impacted
Baseline float64Threshold - Load
Threshold float64
- confidence
Threshold Double - expiration
Sec Integer - impacted
Baseline DoubleThreshold - load
Threshold Double
- confidence
Threshold number - expiration
Sec number - impacted
Baseline numberThreshold - load
Threshold number
- confidence_
threshold float - expiration_
sec int - impacted_
baseline_ floatthreshold - load_
threshold float
- confidence
Threshold Number - expiration
Sec Number - impacted
Baseline NumberThreshold - load
Threshold Number
SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse, SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseArgs
- Confidence
Threshold double - Expiration
Sec int - Impacted
Baseline doubleThreshold - Load
Threshold double
- Confidence
Threshold float64 - Expiration
Sec int - Impacted
Baseline float64Threshold - Load
Threshold float64
- confidence
Threshold Double - expiration
Sec Integer - impacted
Baseline DoubleThreshold - load
Threshold Double
- confidence
Threshold number - expiration
Sec number - impacted
Baseline numberThreshold - load
Threshold number
- confidence_
threshold float - expiration_
sec int - impacted_
baseline_ floatthreshold - load_
threshold float
- confidence
Threshold Number - expiration
Sec Number - impacted
Baseline NumberThreshold - load
Threshold Number
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs
- 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 Pulumi.Google Native. Compute. Alpha. Security Policy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility - 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 List<Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config> - 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 SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility - 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 []SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config - 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.
- rule
Visibility SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility - 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 List<SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config> - 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.
- rule
Visibility SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility - 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 SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Threshold Config[] - 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 SecurityPolicy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility - 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] - 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.
- rule
Visibility "PREMIUM" | "STANDARD" - 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 List<Property Map> - Configuration options for layer7 adaptive protection for various customizable thresholds.
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseArgs
- 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 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.
- Threshold
Configs List<Pulumi.Google Native. Compute. Alpha. 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.
- Rule
Visibility 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.
- Threshold
Configs []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.
- rule
Visibility 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.
- threshold
Configs 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.
- rule
Visibility 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.
- threshold
Configs 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.
- rule
Visibility 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.
- threshold
Configs List<Property Map> - Configuration options for layer7 adaptive protection for various customizable thresholds.
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityArgs
- Premium
- PREMIUM
- Standard
- STANDARD
- Security
Policy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility Premium - PREMIUM
- Security
Policy Adaptive Protection Config Layer7Ddos Defense Config Rule Visibility Standard - STANDARD
- Premium
- PREMIUM
- Standard
- STANDARD
- Premium
- PREMIUM
- Standard
- STANDARD
- PREMIUM
- PREMIUM
- STANDARD
- STANDARD
- "PREMIUM"
- PREMIUM
- "STANDARD"
- STANDARD
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs
- Auto
Deploy doubleConfidence Threshold - Auto
Deploy intExpiration Sec - Auto
Deploy doubleImpacted Baseline Threshold - Auto
Deploy 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.
- Auto
Deploy float64Confidence Threshold - Auto
Deploy intExpiration Sec - Auto
Deploy float64Impacted Baseline Threshold - Auto
Deploy 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.
- auto
Deploy DoubleConfidence Threshold - auto
Deploy IntegerExpiration Sec - auto
Deploy DoubleImpacted Baseline Threshold - auto
Deploy 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.
- auto
Deploy numberConfidence Threshold - auto
Deploy numberExpiration Sec - auto
Deploy numberImpacted Baseline Threshold - auto
Deploy 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.
- auto
Deploy NumberConfidence Threshold - auto
Deploy NumberExpiration Sec - auto
Deploy NumberImpacted Baseline Threshold - auto
Deploy 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.
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigResponse, SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigResponseArgs
- Auto
Deploy doubleConfidence Threshold - Auto
Deploy intExpiration Sec - Auto
Deploy doubleImpacted Baseline Threshold - Auto
Deploy 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.
- Auto
Deploy float64Confidence Threshold - Auto
Deploy intExpiration Sec - Auto
Deploy float64Impacted Baseline Threshold - Auto
Deploy 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.
- auto
Deploy DoubleConfidence Threshold - auto
Deploy IntegerExpiration Sec - auto
Deploy DoubleImpacted Baseline Threshold - auto
Deploy 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.
- auto
Deploy numberConfidence Threshold - auto
Deploy numberExpiration Sec - auto
Deploy numberImpacted Baseline Threshold - auto
Deploy 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.
- auto
Deploy NumberConfidence Threshold - auto
Deploy NumberExpiration Sec - auto
Deploy NumberImpacted Baseline Threshold - auto
Deploy 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, SecurityPolicyAdaptiveProtectionConfigResponseArgs
- Auto
Deploy Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Adaptive Protection Config Auto Deploy Config Response - Layer7Ddos
Defense Pulumi.Config Google Native. Compute. Alpha. Inputs. Security 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 - Layer7Ddos
Defense 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 - layer7Ddos
Defense 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 - layer7Ddos
Defense 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.
- auto
Deploy Property MapConfig - layer7Ddos
Defense Property MapConfig - If set to true, enables Cloud Armor Machine Learning.
SecurityPolicyAdvancedOptionsConfig, SecurityPolicyAdvancedOptionsConfigArgs
- Json
Custom Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Advanced Options Config Json Custom Config - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- Json
Parsing Pulumi.Google Native. Compute. Alpha. Security Policy Advanced Options Config Json Parsing - Log
Level Pulumi.Google Native. Compute. Alpha. Security Policy Advanced Options Config Log Level - User
Ip List<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 - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- Json
Parsing SecurityPolicy Advanced Options Config Json Parsing - Log
Level SecurityPolicy Advanced Options Config Log Level - User
Ip []stringRequest 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 - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json
Parsing SecurityPolicy Advanced Options Config Json Parsing - log
Level SecurityPolicy Advanced Options Config Log Level - user
Ip List<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 - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json
Parsing SecurityPolicy Advanced Options Config Json Parsing - log
Level SecurityPolicy Advanced Options Config Log Level - user
Ip 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 - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json_
parsing SecurityPolicy Advanced Options Config Json Parsing - log_
level SecurityPolicy Advanced Options Config Log Level - user_
ip_ Sequence[str]request_ headers - An optional list of case-insensitive request header names to use for resolving the callers client IP address.
- json
Custom Property MapConfig - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json
Parsing "DISABLED" | "STANDARD" | "STANDARD_WITH_GRAPHQL" - log
Level "NORMAL" | "VERBOSE" - user
Ip List<String>Request Headers - An optional list of case-insensitive request header names to use for resolving the callers client IP address.
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs
- Content
Types 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.
- Content
Types []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 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.
- content
Types 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.
- content
Types 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.
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse, SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseArgs
- Content
Types 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.
- Content
Types []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 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.
- content
Types 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.
- content
Types 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.
SecurityPolicyAdvancedOptionsConfigJsonParsing, SecurityPolicyAdvancedOptionsConfigJsonParsingArgs
- Disabled
- DISABLED
- Standard
- STANDARD
- Standard
With Graphql - STANDARD_WITH_GRAPHQL
- Security
Policy Advanced Options Config Json Parsing Disabled - DISABLED
- Security
Policy Advanced Options Config Json Parsing Standard - STANDARD
- Security
Policy Advanced Options Config Json Parsing Standard With Graphql - STANDARD_WITH_GRAPHQL
- Disabled
- DISABLED
- Standard
- STANDARD
- Standard
With Graphql - STANDARD_WITH_GRAPHQL
- Disabled
- DISABLED
- Standard
- STANDARD
- Standard
With Graphql - STANDARD_WITH_GRAPHQL
- DISABLED
- DISABLED
- STANDARD
- STANDARD
- STANDARD_WITH_GRAPHQL
- STANDARD_WITH_GRAPHQL
- "DISABLED"
- DISABLED
- "STANDARD"
- STANDARD
- "STANDARD_WITH_GRAPHQL"
- STANDARD_WITH_GRAPHQL
SecurityPolicyAdvancedOptionsConfigLogLevel, SecurityPolicyAdvancedOptionsConfigLogLevelArgs
- Normal
- NORMAL
- Verbose
- VERBOSE
- Security
Policy Advanced Options Config Log Level Normal - NORMAL
- Security
Policy Advanced Options Config Log Level Verbose - VERBOSE
- Normal
- NORMAL
- Verbose
- VERBOSE
- Normal
- NORMAL
- Verbose
- VERBOSE
- NORMAL
- NORMAL
- VERBOSE
- VERBOSE
- "NORMAL"
- NORMAL
- "VERBOSE"
- VERBOSE
SecurityPolicyAdvancedOptionsConfigResponse, SecurityPolicyAdvancedOptionsConfigResponseArgs
- Json
Custom Pulumi.Config Google Native. Compute. Alpha. 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.
- Json
Parsing string - Log
Level string - User
Ip List<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 string - Log
Level string - User
Ip []stringRequest 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 String - log
Level String - user
Ip List<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 string - log
Level string - user
Ip 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.
- json
Custom Property MapConfig - Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
- json
Parsing String - log
Level String - user
Ip List<String>Request Headers - An optional list of case-insensitive request header names to use for resolving the callers client IP address.
SecurityPolicyAssociation, SecurityPolicyAssociationArgs
- Attachment
Id string - The resource that the security policy is attached to.
- Name string
- The name for an association.
- Attachment
Id string - The resource that the security policy is attached to.
- Name string
- The name for an association.
- attachment
Id String - The resource that the security policy is attached to.
- name String
- The name for an association.
- attachment
Id string - The resource that the security policy is attached to.
- name string
- The name for an association.
- attachment_
id str - The resource that the security policy is attached to.
- name str
- The name for an association.
- attachment
Id String - The resource that the security policy is attached to.
- name String
- The name for an association.
SecurityPolicyAssociationResponse, SecurityPolicyAssociationResponseArgs
- Attachment
Id string - The resource that the security policy is attached to.
- Display
Name string - The display name of the security policy of the association.
- Name string
- The name for an association.
- Security
Policy stringId - The security policy ID of the association.
- Attachment
Id string - The resource that the security policy is attached to.
- Display
Name string - The display name of the security policy of the association.
- Name string
- The name for an association.
- Security
Policy stringId - The security policy ID of the association.
- attachment
Id String - The resource that the security policy is attached to.
- display
Name String - The display name of the security policy of the association.
- name String
- The name for an association.
- security
Policy StringId - The security policy ID of the association.
- attachment
Id string - The resource that the security policy is attached to.
- display
Name string - The display name of the security policy of the association.
- name string
- The name for an association.
- security
Policy 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.
- attachment
Id String - The resource that the security policy is attached to.
- display
Name String - The display name of the security policy of the association.
- name String
- The name for an association.
- security
Policy StringId - The security policy ID of the association.
SecurityPolicyCloudArmorConfig, SecurityPolicyCloudArmorConfigArgs
- Enable
Ml bool - If set to true, enables Cloud Armor Machine Learning.
- Enable
Ml bool - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml Boolean - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml boolean - If set to true, enables Cloud Armor Machine Learning.
- enable_
ml bool - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml Boolean - If set to true, enables Cloud Armor Machine Learning.
SecurityPolicyCloudArmorConfigResponse, SecurityPolicyCloudArmorConfigResponseArgs
- Enable
Ml bool - If set to true, enables Cloud Armor Machine Learning.
- Enable
Ml bool - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml Boolean - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml boolean - If set to true, enables Cloud Armor Machine Learning.
- enable_
ml bool - If set to true, enables Cloud Armor Machine Learning.
- enable
Ml Boolean - If set to true, enables Cloud Armor Machine Learning.
SecurityPolicyDdosProtectionConfig, SecurityPolicyDdosProtectionConfigArgs
SecurityPolicyDdosProtectionConfigDdosProtection, SecurityPolicyDdosProtectionConfigDdosProtectionArgs
- Advanced
- ADVANCED
- Advanced
Preview - ADVANCED_PREVIEW
- Standard
- STANDARD
- Security
Policy Ddos Protection Config Ddos Protection Advanced - ADVANCED
- Security
Policy Ddos Protection Config Ddos Protection Advanced Preview - ADVANCED_PREVIEW
- Security
Policy Ddos Protection Config Ddos Protection Standard - STANDARD
- Advanced
- ADVANCED
- Advanced
Preview - ADVANCED_PREVIEW
- Standard
- STANDARD
- Advanced
- ADVANCED
- Advanced
Preview - ADVANCED_PREVIEW
- Standard
- STANDARD
- ADVANCED
- ADVANCED
- ADVANCED_PREVIEW
- ADVANCED_PREVIEW
- STANDARD
- STANDARD
- "ADVANCED"
- ADVANCED
- "ADVANCED_PREVIEW"
- ADVANCED_PREVIEW
- "STANDARD"
- STANDARD
SecurityPolicyDdosProtectionConfigResponse, SecurityPolicyDdosProtectionConfigResponseArgs
- Ddos
Protection string
- Ddos
Protection string
- ddos
Protection String
- ddos
Protection string
- ddos_
protection str
- ddos
Protection String
SecurityPolicyRecaptchaOptionsConfig, SecurityPolicyRecaptchaOptionsConfigArgs
- Redirect
Site 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 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 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 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.
- redirect
Site 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.
SecurityPolicyRecaptchaOptionsConfigResponse, SecurityPolicyRecaptchaOptionsConfigResponseArgs
- Redirect
Site 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 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 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 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.
- redirect
Site 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.
SecurityPolicyRule, SecurityPolicyRuleArgs
- 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
STATUS
are 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
Pulumi.
Google Native. Compute. Alpha. Security Policy Rule Direction - 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 Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Http Header Action - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- Match
Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher - A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- Network
Match Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Network Matcher - 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 Pulumi.Config Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config - 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 Pulumi.Options Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options - Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- Redirect
Options Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Redirect Options - 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.
- Redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- Rule
Number 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.
- Target
Resources 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.
- Target
Service 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
STATUS
are 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
Security
Policy Rule Direction - 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 - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- Match
Security
Policy Rule Matcher - 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 - 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 - 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 - 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 - 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.
- Redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- Rule
Number 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.
- Target
Resources []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.
- Target
Service []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
STATUS
are 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
Security
Policy Rule Direction - The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enable
Logging 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.
- header
Action SecurityPolicy Rule Http Header Action - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- match
Security
Policy Rule Matcher - 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 - 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 - 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.
- rate
Limit SecurityOptions Policy Rule Rate Limit Options - 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 - 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.
- redirect
Target String - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Number 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.
- target
Resources 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.
- target
Service 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
STATUS
are 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
Security
Policy Rule Direction - The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enable
Logging 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.
- header
Action SecurityPolicy Rule Http Header Action - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- match
Security
Policy Rule Matcher - 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 - 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 - 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.
- rate
Limit SecurityOptions Policy Rule Rate Limit Options - 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 - 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.
- redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Number 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.
- target
Resources 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.
- target
Service 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
STATUS
are 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
Security
Policy Rule Direction - 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 - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- match
Security
Policy Rule Matcher - 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 - 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 - 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 - 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 - 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.
- redirect_
target str - This must be specified for redirect actions. Cannot be specified for any other actions.
- 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.
- 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
STATUS
are 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 "EGRESS" | "INGRESS"
- The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
- enable
Logging 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.
- header
Action Property Map - Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
- match Property Map
- A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
- network
Match 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.
- preconfigured
Waf 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.
- rate
Limit Property MapOptions - Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirect
Options 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.
- redirect
Target String - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Number 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.
- target
Resources 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.
- target
Service List<String>Accounts - A list of service accounts indicating the sets of instances that are applied with this rule.
SecurityPolicyRuleDirection, SecurityPolicyRuleDirectionArgs
- Egress
- EGRESS
- Ingress
- INGRESS
- Security
Policy Rule Direction Egress - EGRESS
- Security
Policy Rule Direction Ingress - INGRESS
- Egress
- EGRESS
- Ingress
- INGRESS
- Egress
- EGRESS
- Ingress
- INGRESS
- EGRESS
- EGRESS
- INGRESS
- INGRESS
- "EGRESS"
- EGRESS
- "INGRESS"
- INGRESS
SecurityPolicyRuleHttpHeaderAction, SecurityPolicyRuleHttpHeaderActionArgs
- Request
Headers List<Pulumi.To Adds Google Native. Compute. Alpha. Inputs. Security Policy Rule Http Header Action Http Header Option> - The list of request headers to add or overwrite if they're already present.
- Request
Headers []SecurityTo Adds Policy Rule Http Header Action Http Header Option - The list of request headers to add or overwrite if they're already present.
- request
Headers List<SecurityTo Adds Policy Rule Http Header Action Http Header Option> - The list of request headers to add or overwrite if they're already present.
- request
Headers SecurityTo Adds Policy Rule Http Header Action Http Header Option[] - 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] - The list of request headers to add or overwrite if they're already present.
- request
Headers List<Property Map>To Adds - The list of request headers to add or overwrite if they're already present.
SecurityPolicyRuleHttpHeaderActionHttpHeaderOption, SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs
- Header
Name string - The name of the header to set.
- Header
Value string - The value to set the named header to.
- Header
Name string - The name of the header to set.
- Header
Value string - The value to set the named header to.
- header
Name String - The name of the header to set.
- header
Value String - The value to set the named header to.
- header
Name string - The name of the header to set.
- header
Value 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.
- header
Name String - The name of the header to set.
- header
Value String - The value to set the named header to.
SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse, SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArgs
- Header
Name string - The name of the header to set.
- Header
Value string - The value to set the named header to.
- Header
Name string - The name of the header to set.
- Header
Value string - The value to set the named header to.
- header
Name String - The name of the header to set.
- header
Value String - The value to set the named header to.
- header
Name string - The name of the header to set.
- header
Value 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.
- header
Name String - The name of the header to set.
- header
Value String - The value to set the named header to.
SecurityPolicyRuleHttpHeaderActionResponse, SecurityPolicyRuleHttpHeaderActionResponseArgs
- Request
Headers List<Pulumi.To Adds Google Native. Compute. Alpha. 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.
- Request
Headers []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 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.
- request
Headers 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.
- request
Headers List<Property Map>To Adds - The list of request headers to add or overwrite if they're already present.
SecurityPolicyRuleMatcher, SecurityPolicyRuleMatcherArgs
- Config
Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Config - 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. Alpha. Inputs. Expr - 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
evaluateThreatIntelligence
require 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 Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Expr Options - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- Versioned
Expr Pulumi.Google Native. Compute. Alpha. Security Policy Rule Matcher Versioned Expr - 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
Security
Policy Rule Matcher Config - 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 Expr
- 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
evaluateThreatIntelligence
require 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 - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- Versioned
Expr SecurityPolicy Rule Matcher Versioned Expr - 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
Security
Policy Rule Matcher Config - 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 Expr
- 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
evaluateThreatIntelligence
require 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 - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned
Expr SecurityPolicy Rule Matcher Versioned Expr - 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
Security
Policy Rule Matcher Config - 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 Expr
- 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
evaluateThreatIntelligence
require 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 - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned
Expr SecurityPolicy Rule Matcher Versioned Expr - 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
Security
Policy Rule Matcher Config - 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 Expr
- 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
evaluateThreatIntelligence
require 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 - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned_
expr SecurityPolicy Rule Matcher Versioned Expr - 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
evaluateThreatIntelligence
require 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 Property Map - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned
Expr "FIREWALL" | "SRC_IPS_V1" - 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.
SecurityPolicyRuleMatcherConfig, SecurityPolicyRuleMatcherConfigArgs
- Dest
Ip List<string>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Dest
Ports List<Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Config Destination Port> - Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- Layer4Configs
List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Config Layer4Config> - 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 List<string>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- Dest
Ip []stringRanges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Dest
Ports []SecurityPolicy Rule Matcher Config Destination Port - Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- Layer4Configs
[]Security
Policy Rule Matcher Config Layer4Config - 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 []stringRanges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- dest
Ip List<String>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports List<SecurityPolicy Rule Matcher Config Destination Port> - Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4Configs
List<Security
Policy Rule Matcher Config Layer4Config> - 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 List<String>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- dest
Ip string[]Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports SecurityPolicy Rule Matcher Config Destination Port[] - Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4Configs
Security
Policy Rule Matcher Config Layer4Config[] - 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 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.
- dest_
ports Sequence[SecurityPolicy Rule Matcher Config Destination Port] - Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
- layer4_
configs Sequence[SecurityPolicy Rule Matcher Config Layer4Config] - 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.
- dest
Ip List<String>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports 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.
- 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.
- src
Ip List<String>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
SecurityPolicyRuleMatcherConfigDestinationPort, SecurityPolicyRuleMatcherConfigDestinationPortArgs
- Ip
Protocol 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.
- Ip
Protocol 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 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.
- ip
Protocol 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.
- ip
Protocol 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.
SecurityPolicyRuleMatcherConfigDestinationPortResponse, SecurityPolicyRuleMatcherConfigDestinationPortResponseArgs
- Ip
Protocol 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.
- Ip
Protocol 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 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.
- ip
Protocol 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.
- ip
Protocol 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.
SecurityPolicyRuleMatcherConfigLayer4Config, SecurityPolicyRuleMatcherConfigLayer4ConfigArgs
- Ip
Protocol 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.
- Ip
Protocol 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 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.
- ip
Protocol 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.
- ip
Protocol 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.
SecurityPolicyRuleMatcherConfigLayer4ConfigResponse, SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArgs
- Ip
Protocol 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.
- Ip
Protocol 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 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.
- ip
Protocol 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.
- ip
Protocol 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, SecurityPolicyRuleMatcherConfigResponseArgs
- Dest
Ip List<string>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Dest
Ports List<Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Config Destination Port 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.
- Layer4Configs
List<Pulumi.
Google Native. Compute. Alpha. 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.
- Src
Ip List<string>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- Dest
Ip []stringRanges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- Dest
Ports []SecurityPolicy Rule Matcher Config Destination Port 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.
- Layer4Configs
[]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.
- Src
Ip []stringRanges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- dest
Ip List<String>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports List<SecurityPolicy Rule Matcher Config Destination Port 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.
- layer4Configs
List<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.
- src
Ip List<String>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
- dest
Ip string[]Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports SecurityPolicy Rule Matcher Config Destination Port 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.
- layer4Configs
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.
- src
Ip 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.
- dest_
ports Sequence[SecurityPolicy Rule Matcher Config Destination Port 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.
- 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.
- dest
Ip List<String>Ranges - CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
- dest
Ports 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.
- 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.
- src
Ip List<String>Ranges - CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
SecurityPolicyRuleMatcherExprOptions, SecurityPolicyRuleMatcherExprOptionsArgs
- Recaptcha
Options Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Expr Options Recaptcha Options - 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 - 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 - 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 - 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 - 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 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.
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions, SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs
- Action
Token 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.
- Session
Token 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.
- Action
Token []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.
- Session
Token []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.
- action
Token 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.
- session
Token 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.
- action
Token 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.
- session
Token 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.
- action
Token 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.
- session
Token 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.
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse, SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponseArgs
- Action
Token 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.
- Session
Token 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.
- Action
Token []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.
- Session
Token []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.
- action
Token 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.
- session
Token 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.
- action
Token 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.
- session
Token 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.
- action
Token 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.
- session
Token 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, SecurityPolicyRuleMatcherExprOptionsResponseArgs
- Recaptcha
Options Pulumi.Google Native. Compute. Alpha. 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.
- 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.
- 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.
- 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.
- 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.
- recaptcha
Options 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, SecurityPolicyRuleMatcherResponseArgs
- Config
Pulumi.
Google Native. Compute. Alpha. 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. Alpha. 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
evaluateThreatIntelligence
require 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 Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Matcher Expr Options Response - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- Versioned
Expr 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
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
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
evaluateThreatIntelligence
require 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 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
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
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
evaluateThreatIntelligence
require 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 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
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
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
evaluateThreatIntelligence
require 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 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
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
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
evaluateThreatIntelligence
require 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
evaluateThreatIntelligence
require 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 Property Map - The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
- versioned
Expr 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.
SecurityPolicyRuleMatcherVersionedExpr, SecurityPolicyRuleMatcherVersionedExprArgs
- Firewall
- FIREWALL
- Src
Ips V1 - SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
- Security
Policy Rule Matcher Versioned Expr Firewall - FIREWALL
- Security
Policy Rule Matcher Versioned Expr Src Ips V1 - SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
- Firewall
- FIREWALL
- Src
Ips V1 - SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
- Firewall
- FIREWALL
- Src
Ips V1 - SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
- FIREWALL
- FIREWALL
- SRC_IPS_V1
- SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
- "FIREWALL"
- FIREWALL
- "SRC_IPS_V1"
- SRC_IPS_V1Matches the source IP address of a request to the IP ranges supplied in config.
SecurityPolicyRuleNetworkMatcher, SecurityPolicyRuleNetworkMatcherArgs
- Dest
Ip List<string>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Dest
Ports 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").
- Ip
Protocols 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".
- Src
Asns List<int> - BGP Autonomous System Number associated with the source IP address.
- Src
Ip List<string>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Src
Ports 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").
- Src
Region List<string>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- User
Defined List<Pulumi.Fields Google Native. Compute. Alpha. Inputs. Security Policy Rule Network Matcher User Defined Field Match> - User-defined fields. Each element names a defined field and lists the matching values for that field.
- Dest
Ip []stringRanges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Dest
Ports []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").
- Ip
Protocols []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".
- Src
Asns []int - BGP Autonomous System Number associated with the source IP address.
- Src
Ip []stringRanges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Src
Ports []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").
- Src
Region []stringCodes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- User
Defined []SecurityFields Policy Rule Network Matcher User Defined Field Match - User-defined fields. Each element names a defined field and lists the matching values for that field.
- dest
Ip List<String>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns List<Integer> - BGP Autonomous System Number associated with the source IP address.
- src
Ip List<String>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region List<String>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined List<SecurityFields Policy Rule Network Matcher User Defined Field Match> - User-defined fields. Each element names a defined field and lists the matching values for that field.
- dest
Ip string[]Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns number[] - BGP Autonomous System Number associated with the source IP address.
- src
Ip string[]Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region string[]Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined SecurityFields Policy Rule Network Matcher User Defined Field Match[] - 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] - User-defined fields. Each element names a defined field and lists the matching values for that field.
- dest
Ip List<String>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns List<Number> - BGP Autonomous System Number associated with the source IP address.
- src
Ip List<String>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region List<String>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined List<Property Map>Fields - User-defined fields. Each element names a defined field and lists the matching values for that field.
SecurityPolicyRuleNetworkMatcherResponse, SecurityPolicyRuleNetworkMatcherResponseArgs
- Dest
Ip List<string>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Dest
Ports 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").
- Ip
Protocols 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".
- Src
Asns List<int> - BGP Autonomous System Number associated with the source IP address.
- Src
Ip List<string>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Src
Ports 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").
- Src
Region List<string>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- User
Defined List<Pulumi.Fields Google Native. Compute. Alpha. 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.
- Dest
Ip []stringRanges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Dest
Ports []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").
- Ip
Protocols []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".
- Src
Asns []int - BGP Autonomous System Number associated with the source IP address.
- Src
Ip []stringRanges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- Src
Ports []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").
- Src
Region []stringCodes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- User
Defined []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 List<String>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns List<Integer> - BGP Autonomous System Number associated with the source IP address.
- src
Ip List<String>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region List<String>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined 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.
- dest
Ip string[]Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns number[] - BGP Autonomous System Number associated with the source IP address.
- src
Ip string[]Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region string[]Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined 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.
- dest
Ip List<String>Ranges - Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- dest
Ports 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").
- ip
Protocols 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".
- src
Asns List<Number> - BGP Autonomous System Number associated with the source IP address.
- src
Ip List<String>Ranges - Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
- src
Ports 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").
- src
Region List<String>Codes - Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
- user
Defined List<Property Map>Fields - User-defined fields. Each element names a defined field and lists the matching values for that field.
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArgs
SecurityPolicyRulePreconfiguredWafConfig, SecurityPolicyRulePreconfiguredWafConfigArgs
- Exclusions
List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion> - A list of exclusions to apply during preconfigured WAF evaluation.
- Exclusions
[]Security
Policy Rule Preconfigured Waf Config Exclusion - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
List<Security
Policy Rule Preconfigured Waf Config Exclusion> - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
Security
Policy Rule Preconfigured Waf Config Exclusion[] - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
Sequence[Security
Policy Rule Preconfigured Waf Config Exclusion] - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions List<Property Map>
- A list of exclusions to apply during preconfigured WAF evaluation.
SecurityPolicyRulePreconfiguredWafConfigExclusion, SecurityPolicyRulePreconfiguredWafConfigExclusionArgs
- List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params> - A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- Request
Headers List<Pulumi.To Exclude Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params> - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- Request
Query List<Pulumi.Params To Exclude Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params> - 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 List<Pulumi.To Exclude Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Field Params> - 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 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.
- Target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- []Security
Policy Rule Preconfigured Waf Config Exclusion Field Params - A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- Request
Headers []SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- Request
Query []SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params - 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 []SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params - 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 []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.
- Target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- List<Security
Policy Rule Preconfigured Waf Config Exclusion Field Params> - A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Headers List<SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params> - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Query List<SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params> - 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 List<SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params> - 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 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.
- target
Rule StringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params[] - A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Headers SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params[] - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Query SecurityParams To Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params[] - 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 SecurityTo Exclude Policy Rule Preconfigured Waf Config Exclusion Field Params[] - 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 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.
- target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- Sequence[Security
Policy Rule Preconfigured Waf Config Exclusion Field Params] - 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] - 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] - 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] - 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.
- request
Headers List<Property Map>To Exclude - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Query 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.
- request
Uris 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.
- target
Rule 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.
- target
Rule StringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs
- Op
Pulumi.
Google Native. Compute. Alpha. Security Policy Rule Preconfigured Waf Config Exclusion Field Params Op - The match operator for the field.
- Val string
- The value of the field.
- Op
Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op - The match operator for the field.
- Val string
- The value of the field.
- op
Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op - The match operator for the field.
- val String
- The value of the field.
- op
Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op - The match operator for the field.
- val string
- The value of the field.
- op
Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op - The match operator for the field.
- val str
- The value of the field.
- op "CONTAINS" | "ENDS_WITH" | "EQUALS" | "EQUALS_ANY" | "STARTS_WITH"
- The match operator for the field.
- val String
- The value of the field.
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp, SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpArgs
- Contains
- CONTAINSThe operator matches if the field value contains the specified value.
- Ends
With - ENDS_WITHThe operator matches if the field value ends with the specified value.
- Equals
Value - EQUALSThe operator matches if the field value equals the specified value.
- Equals
Any - EQUALS_ANYThe operator matches if the field value is any value.
- Starts
With - STARTS_WITHThe operator matches if the field value starts with the specified value.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op Contains - CONTAINSThe operator matches if the field value contains the specified value.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op Ends With - ENDS_WITHThe operator matches if the field value ends with the specified value.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op Equals - EQUALSThe operator matches if the field value equals the specified value.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op Equals Any - EQUALS_ANYThe operator matches if the field value is any value.
- Security
Policy Rule Preconfigured Waf Config Exclusion Field Params Op Starts With - STARTS_WITHThe operator matches if the field value starts with the specified value.
- Contains
- CONTAINSThe operator matches if the field value contains the specified value.
- Ends
With - ENDS_WITHThe operator matches if the field value ends with the specified value.
- Equals
- EQUALSThe operator matches if the field value equals the specified value.
- Equals
Any - EQUALS_ANYThe operator matches if the field value is any value.
- Starts
With - STARTS_WITHThe operator matches if the field value starts with the specified value.
- Contains
- CONTAINSThe operator matches if the field value contains the specified value.
- Ends
With - ENDS_WITHThe operator matches if the field value ends with the specified value.
- Equals
- EQUALSThe operator matches if the field value equals the specified value.
- Equals
Any - EQUALS_ANYThe operator matches if the field value is any value.
- Starts
With - STARTS_WITHThe operator matches if the field value starts with the specified value.
- CONTAINS
- CONTAINSThe operator matches if the field value contains the specified value.
- ENDS_WITH
- ENDS_WITHThe operator matches if the field value ends with the specified value.
- EQUALS
- EQUALSThe operator matches if the field value equals the specified value.
- EQUALS_ANY
- EQUALS_ANYThe operator matches if the field value is any value.
- STARTS_WITH
- STARTS_WITHThe operator matches if the field value starts with the specified value.
- "CONTAINS"
- CONTAINSThe operator matches if the field value contains the specified value.
- "ENDS_WITH"
- ENDS_WITHThe operator matches if the field value ends with the specified value.
- "EQUALS"
- EQUALSThe operator matches if the field value equals the specified value.
- "EQUALS_ANY"
- EQUALS_ANYThe operator matches if the field value is any value.
- "STARTS_WITH"
- STARTS_WITHThe operator matches if the field value starts with the specified value.
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse, SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArgs
SecurityPolicyRulePreconfiguredWafConfigExclusionResponse, SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArgs
- List<Pulumi.
Google Native. Compute. Alpha. 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.
- Request
Headers List<Pulumi.To Exclude Google Native. Compute. Alpha. 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.
- Request
Query List<Pulumi.Params To Exclude Google Native. Compute. Alpha. 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.
- Request
Uris List<Pulumi.To Exclude Google Native. Compute. Alpha. 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.
- Target
Rule 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.
- Target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- []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.
- Request
Headers []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 []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 []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 []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.
- Target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- List<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.
- request
Headers 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.
- request
Query 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.
- request
Uris 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.
- target
Rule 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.
- target
Rule StringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- 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.
- request
Headers 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 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 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 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.
- target
Rule stringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
- Sequence[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.
- 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.
- request
Headers List<Property Map>To Exclude - A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
- request
Query 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.
- request
Uris 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.
- target
Rule 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.
- target
Rule StringSet - Target WAF rule set to apply the preconfigured WAF exclusion.
SecurityPolicyRulePreconfiguredWafConfigResponse, SecurityPolicyRulePreconfiguredWafConfigResponseArgs
- Exclusions
List<Pulumi.
Google Native. Compute. Alpha. Inputs. Security Policy Rule Preconfigured Waf Config Exclusion Response> - A list of exclusions to apply during preconfigured WAF evaluation.
- Exclusions
[]Security
Policy Rule Preconfigured Waf Config Exclusion Response - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
List<Security
Policy Rule Preconfigured Waf Config Exclusion Response> - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
Security
Policy Rule Preconfigured Waf Config Exclusion Response[] - A list of exclusions to apply during preconfigured WAF evaluation.
- exclusions
Sequence[Security
Policy 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.
SecurityPolicyRuleRateLimitOptions, SecurityPolicyRuleRateLimitOptionsArgs
- 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 Pulumi.Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options Threshold - 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 string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- Enforce
On Pulumi.Key Google Native. Compute. Alpha. Security Policy Rule Rate Limit Options Enforce On Key - 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 List<Pulumi.Key Configs Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options Enforce On Key Config> - 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 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.
- Exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - Exceed
Action Pulumi.Rpc Status Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options Rpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- Exceed
Redirect Pulumi.Options Google Native. Compute. Alpha. Inputs. Security Policy Rule Redirect Options - 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 Pulumi.Threshold Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options Threshold - 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 - 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 string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- Enforce
On SecurityKey Policy Rule Rate Limit Options Enforce On Key - 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 []SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config - 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 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.
- Exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - Exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- Exceed
Redirect SecurityOptions Policy Rule Redirect Options - 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 - Threshold at which to begin ratelimiting.
- ban
Duration 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.
- ban
Threshold SecurityPolicy Rule Rate Limit Options Threshold - 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 String - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On SecurityKey Policy Rule Rate Limit Options Enforce On Key - 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 List<SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config> - 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 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- exceed
Redirect SecurityOptions Policy Rule Redirect Options - 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 - Threshold at which to begin ratelimiting.
- ban
Duration 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.
- ban
Threshold SecurityPolicy Rule Rate Limit Options Threshold - 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 string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On SecurityKey Policy Rule Rate Limit Options Enforce On Key - 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 SecurityKey Configs Policy Rule Rate Limit Options Enforce On Key Config[] - 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 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- exceed
Redirect SecurityOptions Policy Rule Redirect Options - 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 - 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 - 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_ Securitykey Policy Rule Rate Limit Options Enforce On Key - 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] - 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed_
action_ Securityrpc_ status Policy Rule Rate Limit Options Rpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- exceed_
redirect_ Securityoptions Policy Rule Redirect Options - 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 - Threshold at which to begin ratelimiting.
- ban
Duration 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.
- ban
Threshold 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'.
- conform
Action String - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On "ALL" | "ALL_IPS" | "HTTP_COOKIE" | "HTTP_HEADER" | "HTTP_PATH" | "IP" | "REGION_CODE" | "SNI" | "XFF_IP"Key - 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 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.
- enforce
On 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action Property MapRpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- exceed
Redirect 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.
- rate
Limit Property MapThreshold - Threshold at which to begin ratelimiting.
SecurityPolicyRuleRateLimitOptionsEnforceOnKey, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyArgs
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- Security
Policy Rule Rate Limit Options Enforce On Key All - ALL
- Security
Policy Rule Rate Limit Options Enforce On Key All Ips - ALL_IPS
- Security
Policy Rule Rate Limit Options Enforce On Key Http Cookie - HTTP_COOKIE
- Security
Policy Rule Rate Limit Options Enforce On Key Http Header - HTTP_HEADER
- Security
Policy Rule Rate Limit Options Enforce On Key Http Path - HTTP_PATH
- Security
Policy Rule Rate Limit Options Enforce On Key Ip - IP
- Security
Policy Rule Rate Limit Options Enforce On Key Region Code - REGION_CODE
- Security
Policy Rule Rate Limit Options Enforce On Key Sni - SNI
- Security
Policy Rule Rate Limit Options Enforce On Key Xff Ip - XFF_IP
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- ALL
- ALL
- ALL_IPS
- ALL_IPS
- HTTP_COOKIE
- HTTP_COOKIE
- HTTP_HEADER
- HTTP_HEADER
- HTTP_PATH
- HTTP_PATH
- IP
- IP
- REGION_CODE
- REGION_CODE
- SNI
- SNI
- XFF_IP
- XFF_IP
- "ALL"
- ALL
- "ALL_IPS"
- ALL_IPS
- "HTTP_COOKIE"
- HTTP_COOKIE
- "HTTP_HEADER"
- HTTP_HEADER
- "HTTP_PATH"
- HTTP_PATH
- "IP"
- IP
- "REGION_CODE"
- REGION_CODE
- "SNI"
- SNI
- "XFF_IP"
- XFF_IP
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs
- Enforce
On 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.
- Enforce
On Pulumi.Key Type Google Native. Compute. Alpha. Security Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key 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 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.
- Enforce
On SecurityKey Type Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key 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 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.
- enforce
On SecurityKey Type Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key 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 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.
- enforce
On SecurityKey Type Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key 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_ Securitykey_ type Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key 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 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.
- enforce
On "ALL" | "ALL_IPS" | "HTTP_COOKIE" | "HTTP_HEADER" | "HTTP_PATH" | "IP" | "REGION_CODE" | "SNI" | "XFF_IP"Key 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.
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeArgs
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type All - ALL
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type All Ips - ALL_IPS
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Http Cookie - HTTP_COOKIE
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Http Header - HTTP_HEADER
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Http Path - HTTP_PATH
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Ip - IP
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Region Code - REGION_CODE
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Sni - SNI
- Security
Policy Rule Rate Limit Options Enforce On Key Config Enforce On Key Type Xff Ip - XFF_IP
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- All
- ALL
- All
Ips - ALL_IPS
- Http
Cookie - HTTP_COOKIE
- Http
Header - HTTP_HEADER
- Http
Path - HTTP_PATH
- Ip
- IP
- Region
Code - REGION_CODE
- Sni
- SNI
- Xff
Ip - XFF_IP
- ALL
- ALL
- ALL_IPS
- ALL_IPS
- HTTP_COOKIE
- HTTP_COOKIE
- HTTP_HEADER
- HTTP_HEADER
- HTTP_PATH
- HTTP_PATH
- IP
- IP
- REGION_CODE
- REGION_CODE
- SNI
- SNI
- XFF_IP
- XFF_IP
- "ALL"
- ALL
- "ALL_IPS"
- ALL_IPS
- "HTTP_COOKIE"
- HTTP_COOKIE
- "HTTP_HEADER"
- HTTP_HEADER
- "HTTP_PATH"
- HTTP_PATH
- "IP"
- IP
- "REGION_CODE"
- REGION_CODE
- "SNI"
- SNI
- "XFF_IP"
- XFF_IP
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArgs
- Enforce
On 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.
- Enforce
On 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 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.
- Enforce
On 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 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.
- enforce
On 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 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.
- enforce
On 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.
- enforce
On 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.
- enforce
On 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, SecurityPolicyRuleRateLimitOptionsResponseArgs
- 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 Pulumi.Google Native. Compute. Alpha. 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'.
- Conform
Action string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- Enforce
On 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.
- Enforce
On List<Pulumi.Key Configs Google Native. Compute. Alpha. 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.
- Enforce
On 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.
- Exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - Exceed
Action Pulumi.Rpc Status Google Native. Compute. Alpha. Inputs. Security Policy Rule Rate Limit Options Rpc Status Response - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- Exceed
Redirect Pulumi.Options Google Native. Compute. Alpha. 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.
- Rate
Limit Pulumi.Threshold Google Native. Compute. Alpha. Inputs. Security 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 string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- Enforce
On 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.
- Enforce
On []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 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.
- Exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - Exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status Response - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- 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.
- ban
Duration 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.
- 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 String - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On 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.
- enforce
On 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.
- enforce
On 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status Response - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- 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.
- ban
Duration 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.
- 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 string - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On 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.
- enforce
On 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 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action SecurityRpc Status Policy Rule Rate Limit Options Rpc Status Response - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- 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.
- 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed_
action_ Securityrpc_ status Policy Rule Rate Limit Options Rpc Status Response - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- 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.
- ban
Duration 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.
- ban
Threshold 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'.
- conform
Action String - Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
- enforce
On 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.
- enforce
On 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.
- enforce
On 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.
- exceed
Action 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 forSTATUS
are 403, 404, 429, and 502, andredirect
, where the redirect parameters come fromexceedRedirectOptions
below. Theredirect
action is only supported in Global Security Policies of type CLOUD_ARMOR. - exceed
Action Property MapRpc Status - Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold
- exceed
Redirect 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.
- rate
Limit Property MapThreshold - Threshold at which to begin ratelimiting.
SecurityPolicyRuleRateLimitOptionsRpcStatus, SecurityPolicyRuleRateLimitOptionsRpcStatusArgs
SecurityPolicyRuleRateLimitOptionsRpcStatusResponse, SecurityPolicyRuleRateLimitOptionsRpcStatusResponseArgs
SecurityPolicyRuleRateLimitOptionsThreshold, SecurityPolicyRuleRateLimitOptionsThresholdArgs
- Count int
- Number of HTTP(S) requests for calculating the threshold.
- Interval
Sec int - 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 Integer
- Number of HTTP(S) requests for calculating the threshold.
- interval
Sec Integer - Interval over which the threshold is computed.
- count number
- Number of HTTP(S) requests for calculating the threshold.
- interval
Sec 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.
- interval
Sec Number - Interval over which the threshold is computed.
SecurityPolicyRuleRateLimitOptionsThresholdResponse, SecurityPolicyRuleRateLimitOptionsThresholdResponseArgs
- Count int
- Number of HTTP(S) requests for calculating the threshold.
- Interval
Sec int - 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 Integer
- Number of HTTP(S) requests for calculating the threshold.
- interval
Sec Integer - Interval over which the threshold is computed.
- count number
- Number of HTTP(S) requests for calculating the threshold.
- interval
Sec 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.
- interval
Sec Number - Interval over which the threshold is computed.
SecurityPolicyRuleRedirectOptions, SecurityPolicyRuleRedirectOptionsArgs
- Target string
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- Type
Pulumi.
Google Native. Compute. Alpha. Security Policy Rule Redirect Options Type - Type of the redirect action.
- Target string
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- Type
Security
Policy Rule Redirect Options Type - Type of the redirect action.
- target String
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- type
Security
Policy Rule Redirect Options Type - Type of the redirect action.
- target string
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- type
Security
Policy Rule Redirect Options Type - Type of the redirect action.
- target str
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- type
Security
Policy Rule Redirect Options Type - Type of the redirect action.
- target String
- Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
- type "EXTERNAL_302" | "GOOGLE_RECAPTCHA"
- Type of the redirect action.
SecurityPolicyRuleRedirectOptionsResponse, SecurityPolicyRuleRedirectOptionsResponseArgs
SecurityPolicyRuleRedirectOptionsType, SecurityPolicyRuleRedirectOptionsTypeArgs
- External302
- EXTERNAL_302
- Google
Recaptcha - GOOGLE_RECAPTCHA
- Security
Policy Rule Redirect Options Type External302 - EXTERNAL_302
- Security
Policy Rule Redirect Options Type Google Recaptcha - GOOGLE_RECAPTCHA
- External302
- EXTERNAL_302
- Google
Recaptcha - GOOGLE_RECAPTCHA
- External302
- EXTERNAL_302
- Google
Recaptcha - GOOGLE_RECAPTCHA
- EXTERNAL302
- EXTERNAL_302
- GOOGLE_RECAPTCHA
- GOOGLE_RECAPTCHA
- "EXTERNAL_302"
- EXTERNAL_302
- "GOOGLE_RECAPTCHA"
- GOOGLE_RECAPTCHA
SecurityPolicyRuleResponse, SecurityPolicyRuleResponseArgs
- 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
STATUS
are 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.
- 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 Pulumi.Google Native. Compute. Alpha. 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. Alpha. 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.
- Network
Match Pulumi.Google Native. Compute. Alpha. 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.
- Preconfigured
Waf Pulumi.Config Google Native. Compute. Alpha. 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.
- Rate
Limit Pulumi.Options Google Native. Compute. Alpha. 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.
- Redirect
Options Pulumi.Google Native. Compute. Alpha. 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.
- Redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- Rule
Managed stringProtection Tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- Rule
Number 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.
- Rule
Tuple intCount - Calculation of the complexity of a single firewall security policy rule.
- Target
Resources 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.
- Target
Service 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
STATUS
are 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.
- 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 string
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- Match
Security
Policy 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.
- Redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- Rule
Managed stringProtection Tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- Rule
Number 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.
- Rule
Tuple intCount - Calculation of the complexity of a single firewall security policy rule.
- Target
Resources []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.
- Target
Service []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
STATUS
are 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.
- enable
Logging 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.
- 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 String
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match
Security
Policy 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 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.
- 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.
- redirect
Target String - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Managed StringProtection Tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- rule
Number 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.
- rule
Tuple IntegerCount - Calculation of the complexity of a single firewall security policy rule.
- target
Resources 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.
- target
Service 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
STATUS
are 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.
- enable
Logging 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.
- 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 string
- [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
- match
Security
Policy 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 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.
- 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.
- redirect
Target string - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Managed stringProtection Tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- rule
Number 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.
- rule
Tuple numberCount - Calculation of the complexity of a single firewall security policy rule.
- target
Resources 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.
- target
Service 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
STATUS
are 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
Security
Policy 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.
- redirect_
target str - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule_
managed_ strprotection_ tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- 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
STATUS
are 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.
- enable
Logging 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.
- header
Action 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.
- network
Match 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.
- preconfigured
Waf 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.
- rate
Limit Property MapOptions - Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
- redirect
Options 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.
- redirect
Target String - This must be specified for redirect actions. Cannot be specified for any other actions.
- rule
Managed StringProtection Tier - The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.
- rule
Number 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.
- rule
Tuple NumberCount - Calculation of the complexity of a single firewall security policy rule.
- target
Resources 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.
- target
Service List<String>Accounts - A list of service accounts indicating the sets of instances that are applied with this rule.
SecurityPolicyUserDefinedField, SecurityPolicyUserDefinedFieldArgs
- Base
Pulumi.
Google Native. Compute. Alpha. Security Policy User Defined Field Base - 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
Security
Policy User Defined Field Base - 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
Security
Policy User Defined Field Base - 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
Security
Policy User Defined Field Base - 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
Security
Policy User Defined Field Base - 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 "IPV4" | "IPV6" | "TCP" | "UDP"
- 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.
SecurityPolicyUserDefinedFieldBase, SecurityPolicyUserDefinedFieldBaseArgs
- Ipv4
- IPV4
- Ipv6
- IPV6
- Tcp
- TCP
- Udp
- UDP
- Security
Policy User Defined Field Base Ipv4 - IPV4
- Security
Policy User Defined Field Base Ipv6 - IPV6
- Security
Policy User Defined Field Base Tcp - TCP
- Security
Policy User Defined Field Base Udp - UDP
- Ipv4
- IPV4
- Ipv6
- IPV6
- Tcp
- TCP
- Udp
- UDP
- Ipv4
- IPV4
- Ipv6
- IPV6
- Tcp
- TCP
- Udp
- UDP
- IPV4
- IPV4
- IPV6
- IPV6
- TCP
- TCP
- UDP
- UDP
- "IPV4"
- IPV4
- "IPV6"
- IPV6
- "TCP"
- TCP
- "UDP"
- UDP
SecurityPolicyUserDefinedFieldResponse, SecurityPolicyUserDefinedFieldResponseArgs
- 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.