provider Security Monitoring PUT
/api/v2/security_monitoring/rules/{rule_id} @utdk/datadog
/api/v2/security_monitoring/rules/{rule_id} Update an existing rule
Update an existing rule. When updating `cases`, `queries` or `options`, the whole field
must be included. For example, when modifying a query all queries must be included.
Default rules can only be updated to be enabled, to change notifications, or to update
the tags (default tags cannot be removed).
- rule_id path required
- The ID of the 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.updatesecuritymonitoringrule()