Skip to main content

scanning_rules

Overview

Namescanning_rules
TypeResource
Iddatadog.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

NameAccessible byRequired ParamsDescription
create_scanning_ruleINSERTdata__data, data__meta, dd_siteCreate 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_ruleDELETErule_id, data__meta, dd_siteDelete a given rule.
update_scanning_ruleEXECrule_id, data__data, data__meta, dd_siteUpdate 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.