import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog security findings default inbox rule resource. Datadog manages default inbox rules. Their name, rule, and action are read-only, and each organization can change only whether they are enabled. Default inbox rules always exist, so this resource can only be imported, not created; removing it from the configuration does not delete the rule, it only stops managing it. Default inbox rules are not part of the evaluation order managed by the `datadog.SecurityFindingsInboxRulesOrder` resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Default inbox rules always exist server-side and can only be imported, not created. * // Only `enabled` can be managed; all other attributes are read from Datadog. * // Import the rule with its fixed ID before applying, e.g.: * // pulumi import datadog_security_findings_default_inbox_rule.secret secret_default_rule * // Known default rule IDs: identity_risk_default_rule, secret_default_rule, * // library_vulnerability_default_rule, attack_path_default_rule, * // host_and_container_vulnerability_default_rule, runtime_code_vulnerability_default_rule, * // iac_misconfiguration_default_rule, misconfiguration_default_rule. * const secret = new datadog.SecurityFindingsDefaultInboxRule("secret", {enabled: true}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsDefaultInboxRule:SecurityFindingsDefaultInboxRule secret secret_default_rule * ``` */ export declare class SecurityFindingsDefaultInboxRule extends pulumi.CustomResource { /** * Get an existing SecurityFindingsDefaultInboxRule 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?: SecurityFindingsDefaultInboxRuleState, opts?: pulumi.CustomResourceOptions): SecurityFindingsDefaultInboxRule; /** * Check whether an existing SecurityFindingsDefaultInboxRule 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?: SecurityFindingsDefaultInboxRuleState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsDefaultInboxRule. 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 SecurityFindingsDefaultInboxRule; /** * The action to take when the inbox rule matches a finding. */ readonly action: pulumi.Output; /** * Whether the default inbox rule is enabled for the organization. When not set, the rule's current server-side value is adopted; declare it to manage the value. Default inbox rules are enabled unless disabled. */ readonly enabled: pulumi.Output; /** * The name of the default inbox rule. */ readonly name: pulumi.Output; /** * Defines the scope of findings to which the automation rule applies. */ readonly rule: pulumi.Output; /** * Create a SecurityFindingsDefaultInboxRule 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?: SecurityFindingsDefaultInboxRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsDefaultInboxRule resources. */ export interface SecurityFindingsDefaultInboxRuleState { /** * The action to take when the inbox rule matches a finding. */ action?: pulumi.Input; /** * Whether the default inbox rule is enabled for the organization. When not set, the rule's current server-side value is adopted; declare it to manage the value. Default inbox rules are enabled unless disabled. */ enabled?: pulumi.Input; /** * The name of the default 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 SecurityFindingsDefaultInboxRule resource. */ export interface SecurityFindingsDefaultInboxRuleArgs { /** * Whether the default inbox rule is enabled for the organization. When not set, the rule's current server-side value is adopted; declare it to manage the value. Default inbox rules are enabled unless disabled. */ enabled?: pulumi.Input; } //# sourceMappingURL=securityFindingsDefaultInboxRule.d.ts.map