provider CSM Threats PATCH /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}
Update a Workload Protection agent rule (US1-FED)
Update a specific agent rule. Returns the agent rule object when the request is successful. **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
updatecloudworkloadsecurityagentrule
PATCH/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}
Update a specific agent rule. Returns the agent rule object when the request is successful. **Note**: This endpoint should only be used for the Government (US1-FED) site.

Parameters

required

The ID of the Agent rule

Input

required

Object for a single Agent rule

Configure credentials above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.updatecloudworkloadsecurityagentrule()