Class: DatadogAPIClient::V2::ApplicationSecurityPolicyUpdateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ApplicationSecurityPolicyUpdateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb
Overview
Update a WAF policy.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
readonly
Description of the WAF policy.
-
#is_default ⇒ Object
readonly
Make this policy the default policy.
-
#name ⇒ Object
readonly
The name of the WAF policy.
-
#protection_presets ⇒ Object
readonly
Presets enabled on this policy.
-
#rules ⇒ Object
readonly
Rule overrides applied by the policy.
-
#rulesets ⇒ Object
Deprecated: Ruleset overrides.
-
#scope ⇒ Object
readonly
The scope of the WAF policy.
-
#version ⇒ Object
readonly
Version of the WAF ruleset maintained by Datadog used by this policy.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 49 def additional_properties @additional_properties end |
#description ⇒ Object
Description of the WAF policy.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 25 def description @description end |
#is_default ⇒ Object
Make this policy the default policy. The default policy is applied to every service not specifically assigned to another policy.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 29 def is_default @is_default end |
#name ⇒ Object
The name of the WAF policy.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 32 def name @name end |
#protection_presets ⇒ Object
Presets enabled on this policy.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 35 def protection_presets @protection_presets end |
#rules ⇒ Object
Rule overrides applied by the policy.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 38 def rules @rules end |
#rulesets ⇒ Object
Deprecated: Ruleset overrides. Use protectionPresets instead.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 41 def rulesets @rulesets end |
#scope ⇒ Object
The scope of the WAF policy.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 44 def scope @scope end |
#version ⇒ Object
Version of the WAF ruleset maintained by Datadog used by this policy. 0 is the default value.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/application_security_policy_update_attributes.rb', line 47 def version @version end |