1. Packages
  2. Datadog Provider
  3. API Docs
  4. getCsmThreatsAgentRules
Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi

datadog.getCsmThreatsAgentRules

Explore with Pulumi AI

Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi

Use this data source to retrieve information about existing Agent rules.

Using getCsmThreatsAgentRules

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCsmThreatsAgentRules(opts?: InvokeOptions): Promise<GetCsmThreatsAgentRulesResult>
function getCsmThreatsAgentRulesOutput(opts?: InvokeOptions): Output<GetCsmThreatsAgentRulesResult>
Copy
def get_csm_threats_agent_rules(opts: Optional[InvokeOptions] = None) -> GetCsmThreatsAgentRulesResult
def get_csm_threats_agent_rules_output(opts: Optional[InvokeOptions] = None) -> Output[GetCsmThreatsAgentRulesResult]
Copy
func GetCsmThreatsAgentRules(ctx *Context, opts ...InvokeOption) (*GetCsmThreatsAgentRulesResult, error)
func GetCsmThreatsAgentRulesOutput(ctx *Context, opts ...InvokeOption) GetCsmThreatsAgentRulesResultOutput
Copy

> Note: This function is named GetCsmThreatsAgentRules in the Go SDK.

public static class GetCsmThreatsAgentRules 
{
    public static Task<GetCsmThreatsAgentRulesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetCsmThreatsAgentRulesResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCsmThreatsAgentRulesResult> getCsmThreatsAgentRules(InvokeOptions options)
public static Output<GetCsmThreatsAgentRulesResult> getCsmThreatsAgentRules(InvokeOptions options)
Copy
fn::invoke:
  function: datadog:index/getCsmThreatsAgentRules:getCsmThreatsAgentRules
  arguments:
    # arguments dictionary
Copy

getCsmThreatsAgentRules Result

The following output properties are available:

AgentRules List<GetCsmThreatsAgentRulesAgentRule>
List of Agent rules
AgentRulesIds List<string>
List of IDs for the Agent rules.
Id string
The ID of this resource.
AgentRules []GetCsmThreatsAgentRulesAgentRule
List of Agent rules
AgentRulesIds []string
List of IDs for the Agent rules.
Id string
The ID of this resource.
agentRules List<GetCsmThreatsAgentRulesAgentRule>
List of Agent rules
agentRulesIds List<String>
List of IDs for the Agent rules.
id String
The ID of this resource.
agentRules GetCsmThreatsAgentRulesAgentRule[]
List of Agent rules
agentRulesIds string[]
List of IDs for the Agent rules.
id string
The ID of this resource.
agent_rules Sequence[GetCsmThreatsAgentRulesAgentRule]
List of Agent rules
agent_rules_ids Sequence[str]
List of IDs for the Agent rules.
id str
The ID of this resource.
agentRules List<Property Map>
List of Agent rules
agentRulesIds List<String>
List of IDs for the Agent rules.
id String
The ID of this resource.

Supporting Types

GetCsmThreatsAgentRulesAgentRule

Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
Name This property is required. string
Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
Name This property is required. string
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
name This property is required. String
description This property is required. string
enabled This property is required. boolean
expression This property is required. string
id This property is required. string
name This property is required. string
description This property is required. str
enabled This property is required. bool
expression This property is required. str
id This property is required. str
name This property is required. str
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
name This property is required. String

Package Details

Repository
Datadog pulumi/pulumi-datadog
License
Apache-2.0
Notes
This Pulumi package is based on the datadog Terraform Provider.
Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi