ConvertExistingSecurityMonitoringRule
Convert Datadog security monitoring rules from JSON to Terraform format for the datadog provider resource datadog_security_monitoring_rule. Simplify rule management in Terraform configurations.
Instructions
Convert an existing rule from JSON to Terraform for datadog provider resource datadog_security_monitoring_rule.
Path Parameters:
- rule_id (Required): The ID of the rule.
Responses:
- 200 (Success): OK
- Content-Type:
application/json
- Response Properties:
- terraformContent: Terraform string as a result of converting the rule from JSON.
- Example:
- Content-Type:
- 400: Bad Request
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 403: Not Authorized
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 404: Not Found
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 429: Too many requests
- Content-Type:
application/json
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
rule_id | Yes | The ID of the rule. |