import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing a Harness Chaos Security Governance Rule (V3 / REST API). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Example of a Security Governance Rule (V3) * const example = new harness.chaos.SecurityGovernanceRuleV3("example", { * orgId: orgId, * projectId: projectId, * name: "k8s-security-rule", * description: "Security governance rule for Kubernetes chaos experiments", * isEnabled: true, * conditionIds: [k8sCondition.id], * userGroupIds: ["_project_all_users"], * tags: [ * "env:prod", * "team:security", * ], * timeWindows: [{ * timeZone: "UTC", * startTime: 1711238400000, * duration: "24h", * recurrence: { * type: "Daily", * until: -1, * }, * }], * }); * export const securityGovernanceRuleV3Id = example.id; * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import Project level Chaos Security Governance Rule (V3) * * ```sh * $ pulumi import harness:chaos/securityGovernanceRuleV3:SecurityGovernanceRuleV3 example org_id/project_id/rule_id * ``` */ export declare class SecurityGovernanceRuleV3 extends pulumi.CustomResource { /** * Get an existing SecurityGovernanceRuleV3 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?: SecurityGovernanceRuleV3State, opts?: pulumi.CustomResourceOptions): SecurityGovernanceRuleV3; /** * Returns true if the given object is an instance of SecurityGovernanceRuleV3. 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 SecurityGovernanceRuleV3; /** * List of condition IDs associated with this rule */ readonly conditionIds: pulumi.Output; /** * Description of the security governance rule */ readonly description: pulumi.Output; /** * Whether the rule is enabled */ readonly isEnabled: pulumi.Output; /** * Name of the security governance rule */ readonly name: pulumi.Output; /** * The organization ID of the security governance rule */ readonly orgId: pulumi.Output; /** * The project ID of the security governance rule */ readonly projectId: pulumi.Output; /** * Tags for the security governance rule */ readonly tags: pulumi.Output; /** * Time windows during which the rule is active */ readonly timeWindows: pulumi.Output; /** * List of user group IDs associated with this rule */ readonly userGroupIds: pulumi.Output; /** * Create a SecurityGovernanceRuleV3 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: SecurityGovernanceRuleV3Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityGovernanceRuleV3 resources. */ export interface SecurityGovernanceRuleV3State { /** * List of condition IDs associated with this rule */ conditionIds?: pulumi.Input[] | undefined>; /** * Description of the security governance rule */ description?: pulumi.Input; /** * Whether the rule is enabled */ isEnabled?: pulumi.Input; /** * Name of the security governance rule */ name?: pulumi.Input; /** * The organization ID of the security governance rule */ orgId?: pulumi.Input; /** * The project ID of the security governance rule */ projectId?: pulumi.Input; /** * Tags for the security governance rule */ tags?: pulumi.Input[] | undefined>; /** * Time windows during which the rule is active */ timeWindows?: pulumi.Input[] | undefined>; /** * List of user group IDs associated with this rule */ userGroupIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a SecurityGovernanceRuleV3 resource. */ export interface SecurityGovernanceRuleV3Args { /** * List of condition IDs associated with this rule */ conditionIds: pulumi.Input[]>; /** * Description of the security governance rule */ description?: pulumi.Input; /** * Whether the rule is enabled */ isEnabled?: pulumi.Input; /** * Name of the security governance rule */ name?: pulumi.Input; /** * The organization ID of the security governance rule */ orgId: pulumi.Input; /** * The project ID of the security governance rule */ projectId: pulumi.Input; /** * Tags for the security governance rule */ tags?: pulumi.Input[] | undefined>; /** * Time windows during which the rule is active */ timeWindows: pulumi.Input[]>; /** * List of user group IDs associated with this rule */ userGroupIds?: pulumi.Input[] | undefined>; } //# sourceMappingURL=securityGovernanceRuleV3.d.ts.map