Class: DatadogAPIClient::V2::CloudConfigurationRegoRule

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

Overview

Rule details.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#policyObject

The policy written in rego, see: www.openpolicyagent.org/docs/latest/policy-language/



29
30
31
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb', line 29

def policy
  @policy
end

#resource_typesObject

List of resource types that will be evaluated upon. Must have at least one element.



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

def resource_types
  @resource_types
end