Class: DatadogAPIClient::V2::SensitiveDataScannerIncludedKeywordConfiguration
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SensitiveDataScannerIncludedKeywordConfiguration
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb
Overview
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.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#character_count ⇒ Object
readonly
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.
-
#keywords ⇒ Object
readonly
Keyword list that will be checked during scanning in order to validate a match.
-
#use_recommended_keywords ⇒ Object
Should the rule use the underlying standard pattern keyword configuration.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb', line 39 def additional_properties @additional_properties end |
#character_count ⇒ Object
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined. ‘character_count` should be greater than the maximum length of a keyword defined for a rule.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb', line 29 def character_count @character_count end |
#keywords ⇒ Object
Keyword list that will be checked during scanning in order to validate a match. The number of keywords in the list must be less than or equal to 30.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb', line 33 def keywords @keywords end |
#use_recommended_keywords ⇒ Object
Should the rule use the underlying standard pattern keyword configuration. If set to ‘true`, the rule must be tied to a standard pattern. If set to `false`, the specified keywords and `character_count` are applied.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb', line 37 def use_recommended_keywords @use_recommended_keywords end |