Class: DatadogAPIClient::V2::CloudWorkloadSecurityAgentRuleCreateAttributes

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

Overview

Create a new Cloud Workload Security Agent rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#descriptionObject

The description of the Agent rule.



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

def description
  @description
end

#enabledObject

Whether the Agent rule is enabled.



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

def enabled
  @enabled
end

#expressionObject

The SECL expression of the Agent rule.



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

def expression
  @expression
end

#nameObject

The name of the Agent rule.



38
39
40
# File 'lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb', line 38

def name
  @name
end