Sha256: ea7a1dfded3dedefd85010cd238b5ac25d9a868f274d5a7ccca283d488c843c7

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 Bytes

Contents

# Delete 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"]
api_instance.delete_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/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.27.1 examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.26.1 examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.26.0 examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.25.0 examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb
datadog_api_client-2.24.0 examples/v2/csm-threats/DeleteCloudWorkloadSecurityAgentRule.rb