v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Application Security

List all WAF policies

Retrieve a list of WAF policies.

get/api/v2/remote_config/products/asm/waf/policies

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "description": "Policy applied to internal web applications.",
        "name": "Internal Network Policy",
        "protectionPresets": [
          "attack-tools"
        ],
        "rules": [
          {
            "enabled": true,
            "id": "rasp-001-002"
          }
        ],
        "rulesets": [
          {
            "enabled": true,
            "id": "attack_tool"
          }
        ],
        "scope": [
          {
            "env": "prod",
            "service": "billing-service"
          }
        ]
      },
      "id": "2857c47d-1e3a-4300-8b2f-dc24089c084b",
      "meta": {
        "added_at": "2021-01-01T00:00:00Z",
        "added_by": "john.doe@datadoghq.com",
        "added_by_name": "John Doe",
        "modified_at": "2021-01-01T00:00:00Z",
        "modified_by": "john.doe@datadoghq.com",
        "modified_by_name": "John Doe"
      },
      "type": "policy"
    }
  ]
}