{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Download API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Download",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Download the Workload Protection Policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy/download"
          },
          "docs": "The download endpoint generates a Workload Protection policy file from your currently active\nWorkload Protection agent rules, and downloads them as a `.policy` file. This file can then be deployed to\nyour agents to update the policy running in your environment.\n\n**Note**: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below."
        },
        {
          "info": {
            "name": "Datadog Download the Workload Protection Policy (us1-fed)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/security/cloud_workload/policy/download"
          },
          "docs": "The download endpoint generates a Workload Protection policy file from your currently active\nWorkload Protection agent rules, and downloads them as a `.policy` file. This file can then be deployed to\nyour agents to update the policy running in your environment.\n\n**Note**: This endpoint should only be used for the Government (US1-FED) site."
        }
      ]
    }
  ],
  "bundled": true
}