Sha256: 3b4f7e54cbb56aa26a3c9c3a9efd11175dc03cb2721f990010ad605dd6fc27af

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CloudWorkloadSecurityAPI.new
agent_rule_id = "3b5-v82-ns6" # String | The ID of the Agent rule.

begin
  # Get a Cloud Workload Security Agent rule
  result = api_instance.get_cloud_workload_security_agent_rule(agent_rule_id)
  p result
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling CloudWorkloadSecurityAPI->get_cloud_workload_security_agent_rule: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb