Security Monitoring
Convert an existing rule from JSON to Terraform
Convert an existing rule from JSON to Terraform for Datadog provider resource datadog_security_monitoring_rule. You can do so for the following rule types:
- App and API Protection
- Cloud SIEM (log detection and signal correlation)
- Workload Protection
You can convert Cloud Security configuration rules using Terraform's Datadog Cloud Configuration Rule resource.
get/api/v2/security_monitoring/rules/{rule_id}/convert
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/security_monitoring/rules/{rule_id}/convert
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: security_monitoring_rules_read
Path parameters
rule_idstring required
The ID of the rule.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.