Class: DatadogAPIClient::V2::SensitiveDataScannerIncludedKeywordConfiguration

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_countObject

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

#keywordsObject

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

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