Class: DatadogAPIClient::V2::SensitiveDataScannerRuleAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb

Overview

Attributes of the Sensitive Data Scanner rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#descriptionObject

Description of the rule.



25
26
27
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 25

def description
  @description
end

#excluded_namespacesObject

Attributes excluded from the scan. If namespaces is provided, it has to be a sub-path of the namespaces array.



28
29
30
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 28

def excluded_namespaces
  @excluded_namespaces
end

#included_keyword_configurationObject

Object defining a set of keywords and a number of characters that help reduce noise. You can provide a list of keywords you would like to check within a defined proximity of the matching pattern. If any of the keywords are found within the proximity check, the match is kept. If none are found, the match is discarded.



34
35
36
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 34

def included_keyword_configuration
  @included_keyword_configuration
end

#is_enabledObject

Whether or not the rule is enabled.



37
38
39
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 37

def is_enabled
  @is_enabled
end

#nameObject

Name of the rule.



40
41
42
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 40

def name
  @name
end

#namespacesObject

Attributes included in the scan. If namespaces is empty or missing, all attributes except excluded_namespaces are scanned. If both are missing the whole event is scanned.



44
45
46
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 44

def namespaces
  @namespaces
end

#patternObject

Not included if there is a relationship to a standard pattern.



47
48
49
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 47

def pattern
  @pattern
end

#priorityObject

Integer from 1 (high) to 5 (low) indicating rule issue severity.



50
51
52
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 50

def priority
  @priority
end

#tagsObject

List of tags.



53
54
55
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 53

def tags
  @tags
end

#text_replacementObject

Object describing how the scanned event will be replaced.



56
57
58
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 56

def text_replacement
  @text_replacement
end