Sha256: 87eb49811ae68bdf43f8ee5a49fa1842589a4413f6821f418ba6f483ab0a253f

Contents?: true

Size: 318 Bytes

Versions: 6

Compression:

Stored size: 318 Bytes

Contents

# Get a Cloud Workload Security Agent rule returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CSMThreatsAPI.new

# there is a valid "agent_rule" in the system
AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
p api_instance.get_cloud_workload_security_agent_rule(AGENT_RULE_DATA_ID)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.27.1 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.26.1 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.26.0 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.25.0 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.24.0 examples/v2/csm-threats/GetCloudWorkloadSecurityAgentRule.rb