{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Policies API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Policies", "type": "folder" }, "items": [ { "info": { "name": "Datadog Get All Monitor Configuration Policies", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/monitor/policy", "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get all monitor configuration policies." }, { "info": { "name": "Datadog Create a Monitor Configuration Policy", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/monitor/policy", "body": { "type": "json", "data": "{}" } }, "docs": "Create a monitor configuration policy." }, { "info": { "name": "Datadog Get a Monitor Configuration Policy", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id", "params": [ { "name": "policy_id", "value": "00000000-0000-1234-0000-000000000000", "type": "path", "description": "ID of the monitor configuration policy." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get a monitor configuration policy by `policy_id`." }, { "info": { "name": "Datadog Edit a Monitor Configuration Policy", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id", "params": [ { "name": "policy_id", "value": "00000000-0000-1234-0000-000000000000", "type": "path", "description": "ID of the monitor configuration policy." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit a monitor configuration policy." }, { "info": { "name": "Datadog Delete a Monitor Configuration Policy", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id", "params": [ { "name": "policy_id", "value": "00000000-0000-1234-0000-000000000000", "type": "path", "description": "ID of the monitor configuration policy." } ] }, "docs": "Delete a monitor configuration policy." }, { "info": { "name": "Datadog Create On-call Escalation Policy", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/on-call/escalation-policies", "params": [ { "name": "include", "value": "example_value", "type": "query", "description": "Comma-separated list of included relationships to be returned. Allowed values: `teams`, `steps`, `steps.targets`." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create a new On-Call escalation policy" }, { "info": { "name": "Datadog Get On-call Escalation Policy", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/on-call/escalation-policies/:policy_id", "params": [ { "name": "policy_id", "value": "a3000000-0000-0000-0000-000000000000", "type": "path", "description": "The ID of the escalation policy" }, { "name": "include", "value": "example_value", "type": "query", "description": "Comma-separated list of included relationships to be returned. Allowed values: `teams`, `steps`, `steps.targets`." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get an On-Call escalation policy" }, { "info": { "name": "Datadog Update On-call Escalation Policy", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/on-call/escalation-policies/:policy_id", "params": [ { "name": "policy_id", "value": "a3000000-0000-0000-0000-000000000000", "type": "path", "description": "The ID of the escalation policy" }, { "name": "include", "value": "example_value", "type": "query", "description": "Comma-separated list of included relationships to be returned. Allowed values: `teams`, `steps`, `steps.targets`." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an On-Call escalation policy" }, { "info": { "name": "Datadog Delete On-call Escalation Policy", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/on-call/escalation-policies/:policy_id", "params": [ { "name": "policy_id", "value": "a3000000-0000-0000-0000-000000000000", "type": "path", "description": "The ID of the escalation policy" } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Delete an On-Call escalation policy" }, { "info": { "name": "Datadog Get All Workload Protection Policies", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy" }, "docs": "Get the list of Workload Protection policies.\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 Create a Workload Protection Policy", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Workload Protection policy with the given parameters.\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", "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 Get a Workload Protection Policy", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy/:policy_id", "params": [ { "name": "policy_id", "value": "6517fcc1-cec7-4394-a655-8d6e9d085255", "type": "path", "description": "The ID of the Agent policy" } ] }, "docs": "Get the details of a specific Workload Protection policy.\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 Update a Workload Protection Policy", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy/:policy_id", "params": [ { "name": "policy_id", "value": "6517fcc1-cec7-4394-a655-8d6e9d085255", "type": "path", "description": "The ID of the Agent policy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific Workload Protection policy.\nReturns the policy object when the request is successful.\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 Delete a Workload Protection Policy", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy/:policy_id", "params": [ { "name": "policy_id", "value": "6517fcc1-cec7-4394-a655-8d6e9d085255", "type": "path", "description": "The ID of the Agent policy" } ] }, "docs": "Delete a specific Workload Protection policy.\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 Get a Restriction Policy", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/restriction_policy/:resource_id", "params": [ { "name": "resource_id", "value": "dashboard:abc-def-ghi", "type": "path", "description": "Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Retrieves the restriction policy associated with a specified resource." }, { "info": { "name": "Datadog Update a Restriction Policy", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/restriction_policy/:resource_id", "params": [ { "name": "resource_id", "value": "dashboard:abc-def-ghi", "type": "path", "description": "Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`." }, { "name": "allow_self_lockout", "value": "true", "type": "query", "description": "Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates the restriction policy associated with a resource.\n\n#### Supported resources\nRestriction policies can be applied to the following resources:\n- Dashboards: `dashboard`\n- Integration Accounts: `integration-account`\n- Integration Services: `integration-service`\n- Integration Webhooks: `integration-webhook`\n- Notebooks: `notebook`\n- Powerpacks: `powerpack`\n- Reference Tables: `reference-table`\n- Security Rules: `security-rule`\n- Service Level Objectives: `slo`\n- Synthetic Global Variables: `" }, { "info": { "name": "Datadog Delete a Restriction Policy", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/restriction_policy/:resource_id", "params": [ { "name": "resource_id", "value": "dashboard:abc-def-ghi", "type": "path", "description": "Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Deletes the restriction policy associated with a specified resource." }, { "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 }