v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBApplication Security
Create a WAF exclusion filter
Create a new WAF exclusion filter with the given parameters.
A request matched by an exclusion filter will be ignored by the Application Security WAF product. Go to https://app.datadoghq.com/security/appsec/passlist to review existing exclusion filters (also called passlist entries).
post/api/v2/remote_config/products/asm/waf/exclusion_filters
Request body
Example request
{
"data": {
"attributes": {
"description": "Exclude false positives on a path",
"enabled": true,
"ip_list": [
"198.51.100.72"
],
"parameters": [
"list.search.query"
],
"path_glob": "/accounts/*",
"rules_target": [
{
"rule_id": "dog-913-009",
"tags": {
"category": "attack_attempt",
"type": "lfi"
}
}
],
"scope": [
{
"env": "www",
"service": "prod"
}
]
},
"type": "exclusion_filter"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"description": "Exclude false positives on a path",
"enabled": true,
"ip_list": [
"198.51.100.72"
],
"parameters": [
"list.search.query"
],
"path_glob": "/accounts/*",
"rules_target": [
{
"rule_id": "dog-913-009",
"tags": {
"category": "attack_attempt",
"type": "lfi"
}
}
],
"scope": [
{
"env": "www",
"service": "prod"
}
]
},
"id": "3dd-0uc-h1s",
"type": "exclusion_filter"
}
}