Sha256: 99bc2c9834e0d25c8e6ac8239c4be5dd1331997c469734915a2d6ed8a6b02f2b

Contents?: true

Size: 297 Bytes

Versions: 6

Compression:

Stored size: 297 Bytes

Contents

# Get a CSM Threats Agent rule returns "OK" response

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

# there is a valid "agent_rule_rc" in the system
AGENT_RULE_DATA_ID = ENV["AGENT_RULE_DATA_ID"]
p api_instance.get_csm_threats_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/GetCSMThreatsAgentRule.rb
datadog_api_client-2.27.1 examples/v2/csm-threats/GetCSMThreatsAgentRule.rb
datadog_api_client-2.26.1 examples/v2/csm-threats/GetCSMThreatsAgentRule.rb
datadog_api_client-2.26.0 examples/v2/csm-threats/GetCSMThreatsAgentRule.rb
datadog_api_client-2.25.0 examples/v2/csm-threats/GetCSMThreatsAgentRule.rb
datadog_api_client-2.24.0 examples/v2/csm-threats/GetCSMThreatsAgentRule.rb