import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog security findings automation inbox rule resource. This can be used to create and manage inbox rules that push matching security findings into the Security Inbox triage view. Use the `datadog.SecurityFindingsInboxRulesOrder` resource to manage the evaluation order of inbox rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create a new inbox rule that pushes prod misconfigurations into the Security Inbox. * const triageProductionMisconfigurations = new datadog.SecurityFindingsInboxRule("triage_production_misconfigurations", { * name: "Triage production misconfigurations", * enabled: true, * rule: { * finding_types: ["misconfiguration"], * query: "env:prod team:platform", * }, * action: { * description: "Needs triage", * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsInboxRule:SecurityFindingsInboxRule triage_production_misconfigurations "00000000-0000-0000-0000-000000000000" * ``` */ export declare class SecurityFindingsInboxRule extends pulumi.CustomResource { /** * Get an existing SecurityFindingsInboxRule 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?: SecurityFindingsInboxRuleState, opts?: pulumi.CustomResourceOptions): SecurityFindingsInboxRule; /** * Check whether an existing SecurityFindingsInboxRule 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?: SecurityFindingsInboxRuleState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsInboxRule. 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 SecurityFindingsInboxRule; /** * The action to take when the inbox rule matches a finding. */ readonly action: pulumi.Output; /** * Whether the inbox rule is enabled. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The name of the inbox rule. */ readonly name: pulumi.Output; /** * Defines the scope of findings to which the automation rule applies. */ readonly rule: pulumi.Output; /** * Create a SecurityFindingsInboxRule 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: SecurityFindingsInboxRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsInboxRule resources. */ export interface SecurityFindingsInboxRuleState { /** * The action to take when the inbox rule matches a finding. */ action?: pulumi.Input; /** * Whether the inbox rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the inbox 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 SecurityFindingsInboxRule resource. */ export interface SecurityFindingsInboxRuleArgs { /** * The action to take when the inbox rule matches a finding. */ action: pulumi.Input; /** * Whether the inbox rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the inbox rule. */ name: pulumi.Input; /** * Defines the scope of findings to which the automation rule applies. */ rule: pulumi.Input; } //# sourceMappingURL=securityFindingsInboxRule.d.ts.map