Class: DatadogAPIClient::V2::CloudConfigurationRegoRule
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CloudConfigurationRegoRule
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb
Overview
Rule details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#policy ⇒ Object
readonly
The policy written in ‘rego`, see: www.openpolicyagent.org/docs/latest/policy-language/.
-
#resource_types ⇒ Object
readonly
List of resource types that will be evaluated upon.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb', line 30 def additional_properties @additional_properties end |
#policy ⇒ Object
The policy written in ‘rego`, see: www.openpolicyagent.org/docs/latest/policy-language/
25 26 27 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb', line 25 def policy @policy end |
#resource_types ⇒ Object
List of resource types that will be evaluated upon. Must have at least one element.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb', line 28 def resource_types @resource_types end |