Security Monitoring

Create a custom framework

Create a custom framework.

post/api/v2/cloud_security_management/custom_frameworks

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: security_monitoring_rules_read, security_monitoring_rules_write

Request body

Example request

{
  "data": {
    "attributes": {
      "handle": "sec2",
      "name": "security-framework",
      "requirements": [
        {
          "controls": [
            {
              "name": "A1.2",
              "rules_id": [
                "[\"def-000-abc\"]"
              ]
            }
          ],
          "name": "criteria"
        }
      ],
      "version": "2"
    },
    "type": "custom_framework"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "handle": "sec2",
      "version": "2"
    },
    "id": "handle-version",
    "type": "custom_framework"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.