Class: DatadogAPIClient::V2::ExecutionPolicyScope

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

Overview

Restricts where the policy applies. At most one of kubernetes, scripts, or remote_action_rshell can be set. An empty object means the policy has no scope restriction.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#kubernetesObject

Restricts the policy to specific Kubernetes namespaces.



27
28
29
# File 'lib/datadog_api_client/v2/models/execution_policy_scope.rb', line 27

def kubernetes
  @kubernetes
end

#remote_action_rshellObject

Restricts the policy to specific remote shell paths.



30
31
32
# File 'lib/datadog_api_client/v2/models/execution_policy_scope.rb', line 30

def remote_action_rshell
  @remote_action_rshell
end

#scriptsObject

Restricts the policy to specific scripts.



33
34
35
# File 'lib/datadog_api_client/v2/models/execution_policy_scope.rb', line 33

def scripts
  @scripts
end