Class: DatadogAPIClient::V2::CloudConfigurationComplianceRuleOptions
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CloudConfigurationComplianceRuleOptions
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb
Overview
Options for cloud_configuration rules. Fields ‘resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#complex_rule ⇒ Object
Whether the rule is a complex one.
-
#rego_rule ⇒ Object
Rule details.
-
#resource_type ⇒ Object
Main resource type to be checked by the rule.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb', line 37 def additional_properties @additional_properties end |
#complex_rule ⇒ Object
Whether the rule is a complex one. Must be set to true if ‘regoRule.resourceTypes` contains more than one item. Defaults to false.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb', line 28 def complex_rule @complex_rule end |
#rego_rule ⇒ Object
Rule details.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb', line 31 def rego_rule @rego_rule end |
#resource_type ⇒ Object
Main resource type to be checked by the rule. It should be specified again in ‘regoRule.resourceTypes`.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb', line 35 def resource_type @resource_type end |