Class: DatadogAPIClient::V2::ExecutionPolicyScope
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExecutionPolicyScope
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#kubernetes ⇒ Object
Restricts the policy to specific Kubernetes namespaces.
-
#remote_action_rshell ⇒ Object
Restricts the policy to specific remote shell paths.
-
#scripts ⇒ Object
Restricts the policy to specific scripts.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#kubernetes ⇒ Object
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_rshell ⇒ Object
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 |
#scripts ⇒ Object
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 |