import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog security findings automation due date rule resource. This can be used to create and manage due date rules that automatically assign remediation deadlines to matching security findings. Use the `datadog.SecurityFindingsDueDateRulesOrder` resource to manage the evaluation order of due date rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create a due date rule that assigns remediation SLAs to production misconfigurations. * const prodSla = new datadog.SecurityFindingsDueDateRule("prod_sla", { * name: "SLA for production misconfigurations", * enabled: true, * rule: { * finding_types: ["misconfiguration"], * query: "env:prod", * }, * action: { * due_from: "first_seen", * due_days_per_severity: [ * { * severity: "critical", * dueInDays: 7, * }, * { * severity: "high", * dueInDays: 30, * }, * { * severity: "medium", * dueInDays: 90, * }, * ], * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsDueDateRule:SecurityFindingsDueDateRule prod_sla "00000000-0000-0000-0000-000000000000" * ``` */ export declare class SecurityFindingsDueDateRule extends pulumi.CustomResource { /** * Get an existing SecurityFindingsDueDateRule 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?: SecurityFindingsDueDateRuleState, opts?: pulumi.CustomResourceOptions): SecurityFindingsDueDateRule; /** * Check whether an existing SecurityFindingsDueDateRule 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?: SecurityFindingsDueDateRuleState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsDueDateRule. 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 SecurityFindingsDueDateRule; /** * The action to take when the due date rule matches a finding. */ readonly action: pulumi.Output; /** * Whether the due date rule is enabled. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The name of the due date rule. */ readonly name: pulumi.Output; /** * Defines the scope of findings to which the automation rule applies. */ readonly rule: pulumi.Output; /** * Create a SecurityFindingsDueDateRule 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: SecurityFindingsDueDateRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsDueDateRule resources. */ export interface SecurityFindingsDueDateRuleState { /** * The action to take when the due date rule matches a finding. */ action?: pulumi.Input; /** * Whether the due date rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the due date 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 SecurityFindingsDueDateRule resource. */ export interface SecurityFindingsDueDateRuleArgs { /** * The action to take when the due date rule matches a finding. */ action: pulumi.Input; /** * Whether the due date rule is enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The name of the due date rule. */ name: pulumi.Input; /** * Defines the scope of findings to which the automation rule applies. */ rule: pulumi.Input; } //# sourceMappingURL=securityFindingsDueDateRule.d.ts.map