Class: DatadogAPIClient::V2::ApplicationSecurityWafCustomRuleAttributes

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

Overview

A WAF custom rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#actionObject

The definition of ApplicationSecurityWafCustomRuleAction object.



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

def action
  @action
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



53
54
55
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 53

def additional_properties
  @additional_properties
end

#blockingObject

Indicates whether the WAF custom rule will block the request.



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

def blocking
  @blocking
end

#conditionsObject

Conditions for which the WAF Custom Rule will triggers, all conditions needs to match in order for the WAF rule to trigger.



32
33
34
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 32

def conditions
  @conditions
end

#enabledObject

Indicates whether the WAF custom rule is enabled.



35
36
37
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 35

def enabled
  @enabled
end

#metadataObject

Metadata associated with the WAF Custom Rule.



38
39
40
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 38

def 
  @metadata
end

#nameObject

The Name of the WAF custom rule.



41
42
43
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 41

def name
  @name
end

#path_globObject

The path glob for the WAF custom rule.



44
45
46
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 44

def path_glob
  @path_glob
end

#scopeObject

The scope of the WAF custom rule.



47
48
49
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_attributes.rb', line 47

def scope
  @scope
end

#tagsObject

Tags associated with the WAF Custom Rule. The concatenation of category and type will form the security activity field associated with the traces.



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

def tags
  @tags
end