Class: DatadogAPIClient::V2::ApplicationSecurityPolicyAttributes

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

Overview

A WAF policy.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#descriptionObject

Description of the WAF policy.



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

def description
  @description
end

#is_defaultObject

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_attributes.rb', line 29

def is_default
  @is_default
end

#nameObject

The name of the WAF policy.



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

def name
  @name
end

#protection_presetsObject

Presets enabled on this policy.



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

def protection_presets
  @protection_presets
end

#rulesObject

Rule overrides applied by the policy.



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

def rules
  @rules
end

#rulesetsObject

Deprecated: Ruleset overrides. Use protectionPresets instead.



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

def rulesets
  @rulesets
end

#scopeObject

The scope of the WAF policy.



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

def scope
  @scope
end

#versionObject

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_attributes.rb', line 47

def version
  @version
end