Class: DatadogAPIClient::V2::SecretRuleDataAttributes

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

Overview

The attributes of a secret detection rule, including its pattern, priority, and validation configuration.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v2/models/secret_rule_data_attributes.rb', line 51

def additional_properties
  @additional_properties
end

#default_included_keywordsObject

A list of keywords that are included by default when scanning for secrets matching this rule.



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

def default_included_keywords
  @default_included_keywords
end

#descriptionObject

A detailed explanation of what type of secret this rule detects.



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

def description
  @description
end

#licenseObject

The license under which this secret rule is distributed.



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

def license
  @license
end

#match_validationObject

Configuration for validating whether a detected secret is active by making an HTTP request and inspecting the response.



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

def match_validation
  @match_validation
end

#nameObject

The unique name of the secret detection rule.



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

def name
  @name
end

#patternObject

The regular expression pattern used to identify potential secrets in source code or configuration.



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

def pattern
  @pattern
end

#priorityObject

The priority level of this rule, used to rank findings when multiple rules match.



43
44
45
# File 'lib/datadog_api_client/v2/models/secret_rule_data_attributes.rb', line 43

def priority
  @priority
end

#sds_idObject

The identifier of the corresponding Sensitive Data Scanner rule, if one exists.



46
47
48
# File 'lib/datadog_api_client/v2/models/secret_rule_data_attributes.rb', line 46

def sds_id
  @sds_id
end

#validatorsObject

A list of validator identifiers used to further confirm a detected secret is genuine.



49
50
51
# File 'lib/datadog_api_client/v2/models/secret_rule_data_attributes.rb', line 49

def validators
  @validators
end