Class: DatadogAPIClient::V2::ApplicationSecurityWafCustomRuleUpdateAttributes

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

Overview

Update 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_update_attributes.rb', line 25

def action
  @action
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



50
51
52
# File 'lib/datadog_api_client/v2/models/application_security_waf_custom_rule_update_attributes.rb', line 50

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_update_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_update_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_update_attributes.rb', line 35

def enabled
  @enabled
end

#nameObject

The Name of the WAF custom rule.



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

def name
  @name
end

#path_globObject

The path glob for the WAF custom rule.



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

def path_glob
  @path_glob
end

#scopeObject

The scope of the WAF custom rule.



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

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.



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

def tags
  @tags
end