provider CSM Threats GET /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}
@utdk/datadog /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}
Get a Workload Protection agent rule (US1-FED)
Get the details of a specific agent rule. **Note**: This endpoint should only be used for the Government (US1-FED) site.
agent_rule_id path required
The ID of the Agent rule
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getcloudworkloadsecurityagentrule
GET/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}
Get the details of a specific agent rule. **Note**: This endpoint should only be used for the Government (US1-FED) site.

Parameters

required

The ID of the Agent rule

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.getcloudworkloadsecurityagentrule()