scanning_rules
Overview
Name | scanning_rules |
Type | Resource |
Id | datadog.sensitive_data_scanner.scanning_rules |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource and then invoke a supported method using the EXEC
command
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_scanning_rule | INSERT | data__data, data__meta, dd_site | Create a scanning rule in a sensitive data scanner group, ordered last. The posted rule MUST include a group relationship. It MUST include either a standard_pattern relationship or a regex attribute, but not both. If included_attributes is empty or missing, we will scan all attributes except excluded_attributes. If both are missing, we will scan the whole event. |
delete_scanning_rule | DELETE | rule_id, data__meta, dd_site | Delete a given rule. |
update_scanning_rule | EXEC | rule_id, data__data, data__meta, dd_site | Update a scanning rule. The request body MUST NOT include a standard_pattern relationship, as that relationship is non-editable. Trying to edit the regex attribute of a rule with a standard_pattern relationship will also result in an error. |