import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource that manages the evaluation order of severity modifier rules for the security findings in an organization. The `ruleIds` list must contain every severity modifier rule ID; severity modifier rules created outside Terraform appear as drift. **Note:** the severity modifier rule order is a single, organization-wide setting, so only one resource of this type should be declared per organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Manage the evaluation order of all severity modifier rules for the organization. * // rule_ids must list every severity modifier rule ID; rules created outside Pulumi appear as drift. * const order = new datadog.SecurityFindingsSeverityModifierRulesOrder("order", { * name: "security_findings_severity_modifier_rules_order", * ruleIds: [escalateProdSecrets.id], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsSeverityModifierRulesOrder:SecurityFindingsSeverityModifierRulesOrder order "security_findings_severity_modifier_rules_order" * ``` */ export declare class SecurityFindingsSeverityModifierRulesOrder extends pulumi.CustomResource { /** * Get an existing SecurityFindingsSeverityModifierRulesOrder resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SecurityFindingsSeverityModifierRulesOrderState, opts?: pulumi.CustomResourceOptions): SecurityFindingsSeverityModifierRulesOrder; /** * Check whether an existing SecurityFindingsSeverityModifierRulesOrder resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: SecurityFindingsSeverityModifierRulesOrderState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsSeverityModifierRulesOrder. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SecurityFindingsSeverityModifierRulesOrder; /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ readonly name: pulumi.Output; /** * The ordered list of all severity modifier rule IDs. The order of IDs in this attribute defines the evaluation order of the severity modifier rules. */ readonly ruleIds: pulumi.Output; /** * Create a SecurityFindingsSeverityModifierRulesOrder resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SecurityFindingsSeverityModifierRulesOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsSeverityModifierRulesOrder resources. */ export interface SecurityFindingsSeverityModifierRulesOrderState { /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ name?: pulumi.Input; /** * The ordered list of all severity modifier rule IDs. The order of IDs in this attribute defines the evaluation order of the severity modifier rules. */ ruleIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a SecurityFindingsSeverityModifierRulesOrder resource. */ export interface SecurityFindingsSeverityModifierRulesOrderArgs { /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ name: pulumi.Input; /** * The ordered list of all severity modifier rule IDs. The order of IDs in this attribute defines the evaluation order of the severity modifier rules. */ ruleIds: pulumi.Input[]>; } //# sourceMappingURL=securityFindingsSeverityModifierRulesOrder.d.ts.map