published on Friday, Sep 25, 2026 by Pulumi
published on Friday, Sep 25, 2026 by Pulumi
Provides a resource that manages the evaluation order of inbox rules for the security findings in an organization. The ruleIds list must contain every inbox rule ID; inbox rules created outside Terraform appear as drift. Note: the inbox rule order is a single, organization-wide setting, so only one resource of this type should be declared per organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Manage the evaluation order of all inbox rules for the organization.
// rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
const order = new datadog.SecurityFindingsInboxRulesOrder("order", {
name: "security_findings_inbox_rules_order",
ruleIds: [triageProductionMisconfigurations.id],
});
import pulumi
import pulumi_datadog as datadog
# Manage the evaluation order of all inbox rules for the organization.
# rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
order = datadog.SecurityFindingsInboxRulesOrder("order",
name="security_findings_inbox_rules_order",
rule_ids=[triage_production_misconfigurations["id"]])
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Manage the evaluation order of all inbox rules for the organization.
// rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
_, err := datadog.NewSecurityFindingsInboxRulesOrder(ctx, "order", &datadog.SecurityFindingsInboxRulesOrderArgs{
Name: pulumi.String("security_findings_inbox_rules_order"),
RuleIds: pulumi.StringArray{
triageProductionMisconfigurations.Id,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// Manage the evaluation order of all inbox rules for the organization.
// rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
var order = new Datadog.SecurityFindingsInboxRulesOrder("order", new()
{
Name = "security_findings_inbox_rules_order",
RuleIds = new[]
{
triageProductionMisconfigurations.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.SecurityFindingsInboxRulesOrder;
import com.pulumi.datadog.SecurityFindingsInboxRulesOrderArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Manage the evaluation order of all inbox rules for the organization.
// rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
var order = new SecurityFindingsInboxRulesOrder("order", SecurityFindingsInboxRulesOrderArgs.builder()
.name("security_findings_inbox_rules_order")
.ruleIds(triageProductionMisconfigurations.id())
.build());
}
}
resources:
# Manage the evaluation order of all inbox rules for the organization.
# rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
order:
type: datadog:SecurityFindingsInboxRulesOrder
properties:
name: security_findings_inbox_rules_order
ruleIds:
- ${triageProductionMisconfigurations.id}
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
# Manage the evaluation order of all inbox rules for the organization.
# rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
resource "datadog_securityfindingsinboxrulesorder" "order" {
name = "security_findings_inbox_rules_order"
rule_ids = [triageProductionMisconfigurations.id]
}
Create SecurityFindingsInboxRulesOrder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityFindingsInboxRulesOrder(name: string, args: SecurityFindingsInboxRulesOrderArgs, opts?: CustomResourceOptions);@overload
def SecurityFindingsInboxRulesOrder(resource_name: str,
args: SecurityFindingsInboxRulesOrderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityFindingsInboxRulesOrder(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
rule_ids: Optional[Sequence[str]] = None)func NewSecurityFindingsInboxRulesOrder(ctx *Context, name string, args SecurityFindingsInboxRulesOrderArgs, opts ...ResourceOption) (*SecurityFindingsInboxRulesOrder, error)public SecurityFindingsInboxRulesOrder(string name, SecurityFindingsInboxRulesOrderArgs args, CustomResourceOptions? opts = null)
public SecurityFindingsInboxRulesOrder(String name, SecurityFindingsInboxRulesOrderArgs args)
public SecurityFindingsInboxRulesOrder(String name, SecurityFindingsInboxRulesOrderArgs args, CustomResourceOptions options)
type: datadog:SecurityFindingsInboxRulesOrder
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "datadog_security_findings_inbox_rules_order" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SecurityFindingsInboxRulesOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecurityFindingsInboxRulesOrderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecurityFindingsInboxRulesOrderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityFindingsInboxRulesOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityFindingsInboxRulesOrderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var securityFindingsInboxRulesOrderResource = new Datadog.SecurityFindingsInboxRulesOrder("securityFindingsInboxRulesOrderResource", new()
{
Name = "string",
RuleIds = new[]
{
"string",
},
});
example, err := datadog.NewSecurityFindingsInboxRulesOrder(ctx, "securityFindingsInboxRulesOrderResource", &datadog.SecurityFindingsInboxRulesOrderArgs{
Name: pulumi.String("string"),
RuleIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "datadog_security_findings_inbox_rules_order" "securityFindingsInboxRulesOrderResource" {
lifecycle {
create_before_destroy = true
}
name = "string"
rule_ids = ["string"]
}
var securityFindingsInboxRulesOrderResource = new SecurityFindingsInboxRulesOrder("securityFindingsInboxRulesOrderResource", SecurityFindingsInboxRulesOrderArgs.builder()
.name("string")
.ruleIds("string")
.build());
security_findings_inbox_rules_order_resource = datadog.SecurityFindingsInboxRulesOrder("securityFindingsInboxRulesOrderResource",
name="string",
rule_ids=["string"])
const securityFindingsInboxRulesOrderResource = new datadog.SecurityFindingsInboxRulesOrder("securityFindingsInboxRulesOrderResource", {
name: "string",
ruleIds: ["string"],
});
type: datadog:SecurityFindingsInboxRulesOrder
properties:
name: string
ruleIds:
- string
SecurityFindingsInboxRulesOrder Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityFindingsInboxRulesOrder resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityFindingsInboxRulesOrder resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SecurityFindingsInboxRulesOrder Resource
Get an existing SecurityFindingsInboxRulesOrder resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecurityFindingsInboxRulesOrderState, opts?: CustomResourceOptions): SecurityFindingsInboxRulesOrder@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
rule_ids: Optional[Sequence[str]] = None) -> SecurityFindingsInboxRulesOrderfunc GetSecurityFindingsInboxRulesOrder(ctx *Context, name string, id IDInput, state *SecurityFindingsInboxRulesOrderState, opts ...ResourceOption) (*SecurityFindingsInboxRulesOrder, error)public static SecurityFindingsInboxRulesOrder Get(string name, Input<string> id, SecurityFindingsInboxRulesOrderState? state, CustomResourceOptions? opts = null)public static SecurityFindingsInboxRulesOrder get(String name, Output<String> id, SecurityFindingsInboxRulesOrderState state, CustomResourceOptions options)resources: _: type: datadog:SecurityFindingsInboxRulesOrder get: id: ${id}import {
to = datadog_security_findings_inbox_rules_order.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
Import
The pulumi import command can be used, for example:
$ pulumi import datadog:index/securityFindingsInboxRulesOrder:SecurityFindingsInboxRulesOrder order "security_findings_inbox_rules_order"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
published on Friday, Sep 25, 2026 by Pulumi