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 scope type can be set, and it must match the action pattern's integration. 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.
-
#slack ⇒ Object
Restricts the policy to specific Slack private channel names.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/execution_policy_scope.rb', line 38 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 |
#slack ⇒ Object
Restricts the policy to specific Slack private channel names.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/execution_policy_scope.rb', line 36 def slack @slack end |