import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog security findings automation mute rule resource. This can be used to create and manage mute rules that automatically suppress matching security findings. Use the `datadog.SecurityFindingsMuteRulesOrder` resource to manage the evaluation order of mute rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create a new mute rule that suppresses accepted risks in dev environments. * const acceptedRisksDev = new datadog.SecurityFindingsMuteRule("accepted_risks_dev", { * name: "Mute accepted risks in dev", * enabled: true, * rule: { * finding_types: ["misconfiguration"], * query: "env:dev team:platform @severity:low", * }, * action: { * reason: "risk_accepted", * reason_description: "Accepted for dev environments only", * expire_at: 4070908800000, * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsMuteRule:SecurityFindingsMuteRule accepted_risks_dev "00000000-0000-0000-0000-000000000000" * ``` */ export declare class SecurityFindingsMuteRule extends pulumi.CustomResource { /** * Get an existing SecurityFindingsMuteRule 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?: SecurityFindingsMuteRuleState, opts?: pulumi.CustomResourceOptions): SecurityFindingsMuteRule; /** * Check whether an existing SecurityFindingsMuteRule 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?: SecurityFindingsMuteRuleState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsMuteRule. 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 SecurityFindingsMuteRule; /** * The action to take when the mute rule matches a finding. */ readonly action: pulumi.Output; /** * Whether the mute rule is enabled. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The name of the mute rule. */ readonly name: pulumi.Output; /** * Defines the scope of findings to which the automation rule applies. */ readonly rule: pulumi.Output; /** * Create a SecurityFindingsMuteRule 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: SecurityFindingsMuteRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsMuteRule resources. */ export interface SecurityFindingsMuteRuleState { /** * The action to take when the mute rule matches a finding. */ action?: pulumi.Input; /** * Whether the mute rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the mute rule. */ name?: pulumi.Input; /** * Defines the scope of findings to which the automation rule applies. */ rule?: pulumi.Input; } /** * The set of arguments for constructing a SecurityFindingsMuteRule resource. */ export interface SecurityFindingsMuteRuleArgs { /** * The action to take when the mute rule matches a finding. */ action: pulumi.Input; /** * Whether the mute rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the mute rule. */ name: pulumi.Input; /** * Defines the scope of findings to which the automation rule applies. */ rule: pulumi.Input; } //# sourceMappingURL=securityFindingsMuteRule.d.ts.map