Class: DatadogAPIClient::V2::SecretRuleDataAttributesMatchValidation

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

Overview

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

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



48
49
50
# File 'lib/datadog_api_client/v2/models/secret_rule_data_attributes_match_validation.rb', line 48

def additional_properties
  @additional_properties
end

#endpointObject

The URL endpoint to call when validating a detected secret.



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

def endpoint
  @endpoint
end

#hostsObject

The list of hostnames to include when performing secret match validation.



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

def hosts
  @hosts
end

#http_methodObject

The HTTP method (e.g., GET, POST) to use when making the validation request.



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

def http_method
  @http_method
end

#invalid_http_status_codeObject

The HTTP status code ranges that indicate the detected secret is invalid or inactive.



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

def invalid_http_status_code
  @invalid_http_status_code
end

#request_headersObject

A map of HTTP header names to values to include in the validation request.



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

def request_headers
  @request_headers
end

#timeout_secondsObject

The maximum number of seconds to wait for a response during validation before timing out.



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

def timeout_seconds
  @timeout_seconds
end

#typeObject

The type of match validation to perform (e.g., http).



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

def type
  @type
end

#valid_http_status_codeObject

The HTTP status code ranges that indicate the detected secret is valid and active.



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

def valid_http_status_code
  @valid_http_status_code
end