Sha256: f831aa99736850dad7a813620f96715b112db5217bd4b178252d8a3f7a594a51

Contents?: true

Size: 329 Bytes

Versions: 31

Compression:

Stored size: 329 Bytes

Contents

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

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.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

31 entries across 31 versions & 1 rubygems

Version Path
datadog_api_client-2.22.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.21.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.20.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.19.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.18.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.17.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.16.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.15.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.14.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.13.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.12.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.11.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.10.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.9.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.8.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.7.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.6.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.5.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.4.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.3.0 examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb