Class: DatadogAPIClient::V2::ExecutionPolicyAttributes

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

Overview

An execution policy.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#action_patternObject

The set of actions this policy applies to.



25
26
27
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 25

def action_pattern
  @action_pattern
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



56
57
58
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 56

def additional_properties
  @additional_properties
end

#created_atObject

The date and time the execution policy was created.



28
29
30
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 28

def created_at
  @created_at
end

#created_byObject

The ID of the user who created the execution policy.



31
32
33
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 31

def created_by
  @created_by
end

#effectObject

Whether the policy allows or denies matching actions.



34
35
36
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 34

def effect
  @effect
end

#nameObject

The name of the execution policy.



37
38
39
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 37

def name
  @name
end

#scopeObject

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.



42
43
44
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 42

def scope
  @scope
end

#targetsObject

The targets this policy applies to.



45
46
47
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 45

def targets
  @targets
end

#updated_atObject

The date and time the execution policy was last updated.



48
49
50
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 48

def updated_at
  @updated_at
end

#updated_byObject

The ID of the user who last updated the execution policy.



51
52
53
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 51

def updated_by
  @updated_by
end

#versionObject

The version of the execution policy. Incremented on every update.



54
55
56
# File 'lib/datadog_api_client/v2/models/execution_policy_attributes.rb', line 54

def version
  @version
end