Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

ServiceWafConfiguration

Import

This is an example of the import command being applied to the resource named fastly_service_waf_configuration.waf The resource ID should be the WAF ID.

 $ pulumi import fastly:index/serviceWafConfiguration:ServiceWafConfiguration waf xxxxxxxxxxxxxxxxxxxx

If Terraform is already managing a remote WAF configurations against a resource being imported then the user will be asked to remove it from the existing Terraform state. The following is an example of the Terraform state command to remove the resource named fastly_service_waf_configuration.waf from the Terraform state file. $ terraform state rm fastly_service_waf_configuration.waf

Create a ServiceWafConfiguration Resource

new ServiceWafConfiguration(name: string, args: ServiceWafConfigurationArgs, opts?: CustomResourceOptions);
def ServiceWafConfiguration(resource_name: str, opts: Optional[ResourceOptions] = None, allowed_http_versions: Optional[str] = None, allowed_methods: Optional[str] = None, allowed_request_content_type: Optional[str] = None, allowed_request_content_type_charset: Optional[str] = None, arg_length: Optional[int] = None, arg_name_length: Optional[int] = None, combined_file_sizes: Optional[int] = None, critical_anomaly_score: Optional[int] = None, crs_validate_utf8_encoding: Optional[bool] = None, error_anomaly_score: Optional[int] = None, high_risk_country_codes: Optional[str] = None, http_violation_score_threshold: Optional[int] = None, inbound_anomaly_score_threshold: Optional[int] = None, lfi_score_threshold: Optional[int] = None, max_file_size: Optional[int] = None, max_num_args: Optional[int] = None, notice_anomaly_score: Optional[int] = None, paranoia_level: Optional[int] = None, php_injection_score_threshold: Optional[int] = None, rce_score_threshold: Optional[int] = None, restricted_extensions: Optional[str] = None, restricted_headers: Optional[str] = None, rfi_score_threshold: Optional[int] = None, rule_exclusions: Optional[Sequence[ServiceWafConfigurationRuleExclusionArgs]] = None, rules: Optional[Sequence[ServiceWafConfigurationRuleArgs]] = None, session_fixation_score_threshold: Optional[int] = None, sql_injection_score_threshold: Optional[int] = None, total_arg_length: Optional[int] = None, waf_id: Optional[str] = None, warning_anomaly_score: Optional[int] = None, xss_score_threshold: Optional[int] = None)
func NewServiceWafConfiguration(ctx *Context, name string, args ServiceWafConfigurationArgs, opts ...ResourceOption) (*ServiceWafConfiguration, error)
public ServiceWafConfiguration(string name, ServiceWafConfigurationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ServiceWafConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServiceWafConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceWafConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceWafConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ServiceWafConfiguration resource accepts the following input properties:

WafId string

The ID of the Web Application Firewall that the configuration belongs to.

AllowedHttpVersions string

Allowed HTTP versions.

AllowedMethods string

A space-separated list of HTTP method names.

AllowedRequestContentType string

Allowed request content types.

AllowedRequestContentTypeCharset string

Allowed request content type charset.

ArgLength int

The maximum number of arguments allowed.

ArgNameLength int

The maximum allowed argument name length.

CombinedFileSizes int

The maximum allowed size of all files.

CriticalAnomalyScore int

Score value to add for critical anomalies.

CrsValidateUtf8Encoding bool

CRS validate UTF8 encoding.

ErrorAnomalyScore int

Score value to add for error anomalies.

HighRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

HttpViolationScoreThreshold int

HTTP violation threshold.

InboundAnomalyScoreThreshold int

Inbound anomaly threshold.

LfiScoreThreshold int

Local file inclusion attack threshold.

MaxFileSize int

The maximum allowed file size, in bytes.

MaxNumArgs int

The maximum number of arguments allowed.

NoticeAnomalyScore int

Score value to add for notice anomalies.

ParanoiaLevel int

The configured paranoia level.

PhpInjectionScoreThreshold int

PHP injection threshold.

RceScoreThreshold int

Remote code execution threshold.

RestrictedExtensions string

A space-separated list of allowed file extensions.

RestrictedHeaders string

A space-separated list of allowed header names.

RfiScoreThreshold int

Remote file inclusion attack threshold.

RuleExclusions List<ServiceWafConfigurationRuleExclusionArgs>

The Web Application Firewall’s rule exclusions. Defined below

Rules List<ServiceWafConfigurationRuleArgs>

The Web Application Firewall’s active rules. Defined below

SessionFixationScoreThreshold int

Session fixation attack threshold.

SqlInjectionScoreThreshold int

SQL injection attack threshold.

TotalArgLength int

The maximum size of argument names and values.

WarningAnomalyScore int

Score value to add for warning anomalies.

XssScoreThreshold int

XSS attack threshold.

WafId string

The ID of the Web Application Firewall that the configuration belongs to.

AllowedHttpVersions string

Allowed HTTP versions.

AllowedMethods string

A space-separated list of HTTP method names.

AllowedRequestContentType string

Allowed request content types.

AllowedRequestContentTypeCharset string

Allowed request content type charset.

ArgLength int

The maximum number of arguments allowed.

ArgNameLength int

The maximum allowed argument name length.

CombinedFileSizes int

The maximum allowed size of all files.

CriticalAnomalyScore int

Score value to add for critical anomalies.

CrsValidateUtf8Encoding bool

CRS validate UTF8 encoding.

ErrorAnomalyScore int

Score value to add for error anomalies.

HighRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

HttpViolationScoreThreshold int

HTTP violation threshold.

InboundAnomalyScoreThreshold int

Inbound anomaly threshold.

LfiScoreThreshold int

Local file inclusion attack threshold.

MaxFileSize int

The maximum allowed file size, in bytes.

MaxNumArgs int

The maximum number of arguments allowed.

NoticeAnomalyScore int

Score value to add for notice anomalies.

ParanoiaLevel int

The configured paranoia level.

PhpInjectionScoreThreshold int

PHP injection threshold.

RceScoreThreshold int

Remote code execution threshold.

RestrictedExtensions string

A space-separated list of allowed file extensions.

RestrictedHeaders string

A space-separated list of allowed header names.

RfiScoreThreshold int

Remote file inclusion attack threshold.

RuleExclusions []ServiceWafConfigurationRuleExclusion

The Web Application Firewall’s rule exclusions. Defined below

Rules []ServiceWafConfigurationRule

The Web Application Firewall’s active rules. Defined below

SessionFixationScoreThreshold int

Session fixation attack threshold.

SqlInjectionScoreThreshold int

SQL injection attack threshold.

TotalArgLength int

The maximum size of argument names and values.

WarningAnomalyScore int

Score value to add for warning anomalies.

XssScoreThreshold int

XSS attack threshold.

wafId string

The ID of the Web Application Firewall that the configuration belongs to.

allowedHttpVersions string

Allowed HTTP versions.

allowedMethods string

A space-separated list of HTTP method names.

allowedRequestContentType string

Allowed request content types.

allowedRequestContentTypeCharset string

Allowed request content type charset.

argLength number

The maximum number of arguments allowed.

argNameLength number

The maximum allowed argument name length.

combinedFileSizes number

The maximum allowed size of all files.

criticalAnomalyScore number

Score value to add for critical anomalies.

crsValidateUtf8Encoding boolean

CRS validate UTF8 encoding.

errorAnomalyScore number

Score value to add for error anomalies.

highRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

httpViolationScoreThreshold number

HTTP violation threshold.

inboundAnomalyScoreThreshold number

Inbound anomaly threshold.

lfiScoreThreshold number

Local file inclusion attack threshold.

maxFileSize number

The maximum allowed file size, in bytes.

maxNumArgs number

The maximum number of arguments allowed.

noticeAnomalyScore number

Score value to add for notice anomalies.

paranoiaLevel number

The configured paranoia level.

phpInjectionScoreThreshold number

PHP injection threshold.

rceScoreThreshold number

Remote code execution threshold.

restrictedExtensions string

A space-separated list of allowed file extensions.

restrictedHeaders string

A space-separated list of allowed header names.

rfiScoreThreshold number

Remote file inclusion attack threshold.

ruleExclusions ServiceWafConfigurationRuleExclusion[]

The Web Application Firewall’s rule exclusions. Defined below

rules ServiceWafConfigurationRule[]

The Web Application Firewall’s active rules. Defined below

sessionFixationScoreThreshold number

Session fixation attack threshold.

sqlInjectionScoreThreshold number

SQL injection attack threshold.

totalArgLength number

The maximum size of argument names and values.

warningAnomalyScore number

Score value to add for warning anomalies.

xssScoreThreshold number

XSS attack threshold.

waf_id str

The ID of the Web Application Firewall that the configuration belongs to.

allowed_http_versions str

Allowed HTTP versions.

allowed_methods str

A space-separated list of HTTP method names.

allowed_request_content_type str

Allowed request content types.

allowed_request_content_type_charset str

Allowed request content type charset.

arg_length int

The maximum number of arguments allowed.

arg_name_length int

The maximum allowed argument name length.

combined_file_sizes int

The maximum allowed size of all files.

critical_anomaly_score int

Score value to add for critical anomalies.

crs_validate_utf8_encoding bool

CRS validate UTF8 encoding.

error_anomaly_score int

Score value to add for error anomalies.

high_risk_country_codes str

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

http_violation_score_threshold int

HTTP violation threshold.

inbound_anomaly_score_threshold int

Inbound anomaly threshold.

lfi_score_threshold int

Local file inclusion attack threshold.

max_file_size int

The maximum allowed file size, in bytes.

max_num_args int

The maximum number of arguments allowed.

notice_anomaly_score int

Score value to add for notice anomalies.

paranoia_level int

The configured paranoia level.

php_injection_score_threshold int

PHP injection threshold.

rce_score_threshold int

Remote code execution threshold.

restricted_extensions str

A space-separated list of allowed file extensions.

restricted_headers str

A space-separated list of allowed header names.

rfi_score_threshold int

Remote file inclusion attack threshold.

rule_exclusions Sequence[ServiceWafConfigurationRuleExclusionArgs]

The Web Application Firewall’s rule exclusions. Defined below

rules Sequence[ServiceWafConfigurationRuleArgs]

The Web Application Firewall’s active rules. Defined below

session_fixation_score_threshold int

Session fixation attack threshold.

sql_injection_score_threshold int

SQL injection attack threshold.

total_arg_length int

The maximum size of argument names and values.

warning_anomaly_score int

Score value to add for warning anomalies.

xss_score_threshold int

XSS attack threshold.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceWafConfiguration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ServiceWafConfiguration Resource

Get an existing ServiceWafConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ServiceWafConfigurationState, opts?: CustomResourceOptions): ServiceWafConfiguration
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, allowed_http_versions: Optional[str] = None, allowed_methods: Optional[str] = None, allowed_request_content_type: Optional[str] = None, allowed_request_content_type_charset: Optional[str] = None, arg_length: Optional[int] = None, arg_name_length: Optional[int] = None, combined_file_sizes: Optional[int] = None, critical_anomaly_score: Optional[int] = None, crs_validate_utf8_encoding: Optional[bool] = None, error_anomaly_score: Optional[int] = None, high_risk_country_codes: Optional[str] = None, http_violation_score_threshold: Optional[int] = None, inbound_anomaly_score_threshold: Optional[int] = None, lfi_score_threshold: Optional[int] = None, max_file_size: Optional[int] = None, max_num_args: Optional[int] = None, notice_anomaly_score: Optional[int] = None, paranoia_level: Optional[int] = None, php_injection_score_threshold: Optional[int] = None, rce_score_threshold: Optional[int] = None, restricted_extensions: Optional[str] = None, restricted_headers: Optional[str] = None, rfi_score_threshold: Optional[int] = None, rule_exclusions: Optional[Sequence[ServiceWafConfigurationRuleExclusionArgs]] = None, rules: Optional[Sequence[ServiceWafConfigurationRuleArgs]] = None, session_fixation_score_threshold: Optional[int] = None, sql_injection_score_threshold: Optional[int] = None, total_arg_length: Optional[int] = None, waf_id: Optional[str] = None, warning_anomaly_score: Optional[int] = None, xss_score_threshold: Optional[int] = None) -> ServiceWafConfiguration
func GetServiceWafConfiguration(ctx *Context, name string, id IDInput, state *ServiceWafConfigurationState, opts ...ResourceOption) (*ServiceWafConfiguration, error)
public static ServiceWafConfiguration Get(string name, Input<string> id, ServiceWafConfigurationState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AllowedHttpVersions string

Allowed HTTP versions.

AllowedMethods string

A space-separated list of HTTP method names.

AllowedRequestContentType string

Allowed request content types.

AllowedRequestContentTypeCharset string

Allowed request content type charset.

ArgLength int

The maximum number of arguments allowed.

ArgNameLength int

The maximum allowed argument name length.

CombinedFileSizes int

The maximum allowed size of all files.

CriticalAnomalyScore int

Score value to add for critical anomalies.

CrsValidateUtf8Encoding bool

CRS validate UTF8 encoding.

ErrorAnomalyScore int

Score value to add for error anomalies.

HighRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

HttpViolationScoreThreshold int

HTTP violation threshold.

InboundAnomalyScoreThreshold int

Inbound anomaly threshold.

LfiScoreThreshold int

Local file inclusion attack threshold.

MaxFileSize int

The maximum allowed file size, in bytes.

MaxNumArgs int

The maximum number of arguments allowed.

NoticeAnomalyScore int

Score value to add for notice anomalies.

ParanoiaLevel int

The configured paranoia level.

PhpInjectionScoreThreshold int

PHP injection threshold.

RceScoreThreshold int

Remote code execution threshold.

RestrictedExtensions string

A space-separated list of allowed file extensions.

RestrictedHeaders string

A space-separated list of allowed header names.

RfiScoreThreshold int

Remote file inclusion attack threshold.

RuleExclusions List<ServiceWafConfigurationRuleExclusionArgs>

The Web Application Firewall’s rule exclusions. Defined below

Rules List<ServiceWafConfigurationRuleArgs>

The Web Application Firewall’s active rules. Defined below

SessionFixationScoreThreshold int

Session fixation attack threshold.

SqlInjectionScoreThreshold int

SQL injection attack threshold.

TotalArgLength int

The maximum size of argument names and values.

WafId string

The ID of the Web Application Firewall that the configuration belongs to.

WarningAnomalyScore int

Score value to add for warning anomalies.

XssScoreThreshold int

XSS attack threshold.

AllowedHttpVersions string

Allowed HTTP versions.

AllowedMethods string

A space-separated list of HTTP method names.

AllowedRequestContentType string

Allowed request content types.

AllowedRequestContentTypeCharset string

Allowed request content type charset.

ArgLength int

The maximum number of arguments allowed.

ArgNameLength int

The maximum allowed argument name length.

CombinedFileSizes int

The maximum allowed size of all files.

CriticalAnomalyScore int

Score value to add for critical anomalies.

CrsValidateUtf8Encoding bool

CRS validate UTF8 encoding.

ErrorAnomalyScore int

Score value to add for error anomalies.

HighRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

HttpViolationScoreThreshold int

HTTP violation threshold.

InboundAnomalyScoreThreshold int

Inbound anomaly threshold.

LfiScoreThreshold int

Local file inclusion attack threshold.

MaxFileSize int

The maximum allowed file size, in bytes.

MaxNumArgs int

The maximum number of arguments allowed.

NoticeAnomalyScore int

Score value to add for notice anomalies.

ParanoiaLevel int

The configured paranoia level.

PhpInjectionScoreThreshold int

PHP injection threshold.

RceScoreThreshold int

Remote code execution threshold.

RestrictedExtensions string

A space-separated list of allowed file extensions.

RestrictedHeaders string

A space-separated list of allowed header names.

RfiScoreThreshold int

Remote file inclusion attack threshold.

RuleExclusions []ServiceWafConfigurationRuleExclusion

The Web Application Firewall’s rule exclusions. Defined below

Rules []ServiceWafConfigurationRule

The Web Application Firewall’s active rules. Defined below

SessionFixationScoreThreshold int

Session fixation attack threshold.

SqlInjectionScoreThreshold int

SQL injection attack threshold.

TotalArgLength int

The maximum size of argument names and values.

WafId string

The ID of the Web Application Firewall that the configuration belongs to.

WarningAnomalyScore int

Score value to add for warning anomalies.

XssScoreThreshold int

XSS attack threshold.

allowedHttpVersions string

Allowed HTTP versions.

allowedMethods string

A space-separated list of HTTP method names.

allowedRequestContentType string

Allowed request content types.

allowedRequestContentTypeCharset string

Allowed request content type charset.

argLength number

The maximum number of arguments allowed.

argNameLength number

The maximum allowed argument name length.

combinedFileSizes number

The maximum allowed size of all files.

criticalAnomalyScore number

Score value to add for critical anomalies.

crsValidateUtf8Encoding boolean

CRS validate UTF8 encoding.

errorAnomalyScore number

Score value to add for error anomalies.

highRiskCountryCodes string

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

httpViolationScoreThreshold number

HTTP violation threshold.

inboundAnomalyScoreThreshold number

Inbound anomaly threshold.

lfiScoreThreshold number

Local file inclusion attack threshold.

maxFileSize number

The maximum allowed file size, in bytes.

maxNumArgs number

The maximum number of arguments allowed.

noticeAnomalyScore number

Score value to add for notice anomalies.

paranoiaLevel number

The configured paranoia level.

phpInjectionScoreThreshold number

PHP injection threshold.

rceScoreThreshold number

Remote code execution threshold.

restrictedExtensions string

A space-separated list of allowed file extensions.

restrictedHeaders string

A space-separated list of allowed header names.

rfiScoreThreshold number

Remote file inclusion attack threshold.

ruleExclusions ServiceWafConfigurationRuleExclusion[]

The Web Application Firewall’s rule exclusions. Defined below

rules ServiceWafConfigurationRule[]

The Web Application Firewall’s active rules. Defined below

sessionFixationScoreThreshold number

Session fixation attack threshold.

sqlInjectionScoreThreshold number

SQL injection attack threshold.

totalArgLength number

The maximum size of argument names and values.

wafId string

The ID of the Web Application Firewall that the configuration belongs to.

warningAnomalyScore number

Score value to add for warning anomalies.

xssScoreThreshold number

XSS attack threshold.

allowed_http_versions str

Allowed HTTP versions.

allowed_methods str

A space-separated list of HTTP method names.

allowed_request_content_type str

Allowed request content types.

allowed_request_content_type_charset str

Allowed request content type charset.

arg_length int

The maximum number of arguments allowed.

arg_name_length int

The maximum allowed argument name length.

combined_file_sizes int

The maximum allowed size of all files.

critical_anomaly_score int

Score value to add for critical anomalies.

crs_validate_utf8_encoding bool

CRS validate UTF8 encoding.

error_anomaly_score int

Score value to add for error anomalies.

high_risk_country_codes str

A space-separated list of country codes in ISO 3166-1 (two-letter) format.

http_violation_score_threshold int

HTTP violation threshold.

inbound_anomaly_score_threshold int

Inbound anomaly threshold.

lfi_score_threshold int

Local file inclusion attack threshold.

max_file_size int

The maximum allowed file size, in bytes.

max_num_args int

The maximum number of arguments allowed.

notice_anomaly_score int

Score value to add for notice anomalies.

paranoia_level int

The configured paranoia level.

php_injection_score_threshold int

PHP injection threshold.

rce_score_threshold int

Remote code execution threshold.

restricted_extensions str

A space-separated list of allowed file extensions.

restricted_headers str

A space-separated list of allowed header names.

rfi_score_threshold int

Remote file inclusion attack threshold.

rule_exclusions Sequence[ServiceWafConfigurationRuleExclusionArgs]

The Web Application Firewall’s rule exclusions. Defined below

rules Sequence[ServiceWafConfigurationRuleArgs]

The Web Application Firewall’s active rules. Defined below

session_fixation_score_threshold int

Session fixation attack threshold.

sql_injection_score_threshold int

SQL injection attack threshold.

total_arg_length int

The maximum size of argument names and values.

waf_id str

The ID of the Web Application Firewall that the configuration belongs to.

warning_anomaly_score int

Score value to add for warning anomalies.

xss_score_threshold int

XSS attack threshold.

Supporting Types

ServiceWafConfigurationRule

ModsecRuleId int

The Web Application Firewall rule’s modsecurity ID.

Status string

The Web Application Firewall rule’s status. Allowed values are (log, block and score).

Revision int

The Web Application Firewall rule’s revision. The latest revision will be used if this is not provided.

ModsecRuleId int

The Web Application Firewall rule’s modsecurity ID.

Status string

The Web Application Firewall rule’s status. Allowed values are (log, block and score).

Revision int

The Web Application Firewall rule’s revision. The latest revision will be used if this is not provided.

modsecRuleId number

The Web Application Firewall rule’s modsecurity ID.

status string

The Web Application Firewall rule’s status. Allowed values are (log, block and score).

revision number

The Web Application Firewall rule’s revision. The latest revision will be used if this is not provided.

modsec_rule_id int

The Web Application Firewall rule’s modsecurity ID.

status str

The Web Application Firewall rule’s status. Allowed values are (log, block and score).

revision int

The Web Application Firewall rule’s revision. The latest revision will be used if this is not provided.

ServiceWafConfigurationRuleExclusion

Condition string

A conditional expression in VCL used to determine if the condition is met.

ExclusionType string

The type of rule exclusion. Values are rule to exclude the specified rule(s), or waf to disable the Web Application Firewall.

Name string

The name of rule exclusion.

ModsecRuleIds List<int>

Set of modsecurity IDs to be excluded. No rules should be provided when exclusion_type is waf. The rules need to be configured on the Web Application Firewall to be excluded.

Number int

The numeric ID assigned to the WAF Rule Exclusion.

Condition string

A conditional expression in VCL used to determine if the condition is met.

ExclusionType string

The type of rule exclusion. Values are rule to exclude the specified rule(s), or waf to disable the Web Application Firewall.

Name string

The name of rule exclusion.

ModsecRuleIds []int

Set of modsecurity IDs to be excluded. No rules should be provided when exclusion_type is waf. The rules need to be configured on the Web Application Firewall to be excluded.

Number int

The numeric ID assigned to the WAF Rule Exclusion.

condition string

A conditional expression in VCL used to determine if the condition is met.

exclusionType string

The type of rule exclusion. Values are rule to exclude the specified rule(s), or waf to disable the Web Application Firewall.

name string

The name of rule exclusion.

modsecRuleIds number[]

Set of modsecurity IDs to be excluded. No rules should be provided when exclusion_type is waf. The rules need to be configured on the Web Application Firewall to be excluded.

number number

The numeric ID assigned to the WAF Rule Exclusion.

condition str

A conditional expression in VCL used to determine if the condition is met.

exclusion_type str

The type of rule exclusion. Values are rule to exclude the specified rule(s), or waf to disable the Web Application Firewall.

name str

The name of rule exclusion.

modsec_rule_ids Sequence[int]

Set of modsecurity IDs to be excluded. No rules should be provided when exclusion_type is waf. The rules need to be configured on the Web Application Firewall to be excluded.

number int

The numeric ID assigned to the WAF Rule Exclusion.

Package Details

Repository
https://github.com/pulumi/pulumi-fastly
License
Apache-2.0
Notes
This Pulumi package is based on the fastly Terraform Provider.