Class: DatadogAPIClient::V2::SensitiveDataScannerRuleAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SensitiveDataScannerRuleAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
Description of the rule.
-
#excluded_namespaces ⇒ Object
Attributes excluded from the scan.
-
#included_keyword_configuration ⇒ Object
Object defining a set of keywords and a number of characters that help reduce noise.
-
#is_enabled ⇒ Object
Whether or not the rule is enabled.
-
#name ⇒ Object
Name of the rule.
-
#namespaces ⇒ Object
Attributes included in the scan.
-
#pattern ⇒ Object
Not included if there is a relationship to a standard pattern.
-
#priority ⇒ Object
readonly
Integer from 1 (high) to 5 (low) indicating rule issue severity.
-
#tags ⇒ Object
List of tags.
-
#text_replacement ⇒ Object
Object describing how the scanned event will be replaced.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 58 def additional_properties @additional_properties end |
#description ⇒ Object
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_namespaces ⇒ Object
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_configuration ⇒ Object
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_enabled ⇒ Object
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 |
#name ⇒ Object
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 |
#namespaces ⇒ Object
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 |
#pattern ⇒ Object
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 |
#priority ⇒ Object
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 |
#tags ⇒ Object
List of tags.
53 54 55 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb', line 53 def @tags end |
#text_replacement ⇒ Object
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 |