Class: DatadogAPIClient::V2::ObservabilityPipelineSensitiveDataScannerProcessorRule

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

Overview

Defines a rule for detecting sensitive data, including matching pattern, scope, and the action to take.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_rule.rb', line 42

def additional_properties
  @additional_properties
end

#keyword_optionsObject

Configuration for keywords used to reinforce sensitive data pattern detection.



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

def keyword_options
  @keyword_options
end

#nameObject

A name identifying the rule.



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

def name
  @name
end

#on_matchObject

Defines what action to take when sensitive data is matched.



31
32
33
# File 'lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_rule.rb', line 31

def on_match
  @on_match
end

#patternObject

Pattern detection configuration for identifying sensitive data using either a custom regex or a library reference.



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

def pattern
  @pattern
end

#scopeObject

Determines which parts of the log the pattern-matching rule should be applied to.



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

def scope
  @scope
end

#tagsObject

Tags assigned to this rule for filtering and classification.



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

def tags
  @tags
end