import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a security governance rule (V3) by identity * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({ * orgId: orgId, * projectId: projectId, * identity: "", * }); * // Look up a security governance rule (V3) by name * const byName = harness.chaos.getSecurityGovernanceRuleV3({ * orgId: orgId, * projectId: projectId, * name: "k8s-security-rule", * }); * export const securityGovernanceRuleV3ByIdentity = byIdentity; * export const securityGovernanceRuleV3ByName = byName; * ``` */ export declare function getSecurityGovernanceRuleV3(args: GetSecurityGovernanceRuleV3Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecurityGovernanceRuleV3. */ export interface GetSecurityGovernanceRuleV3Args { /** * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided. */ identity?: string; /** * The name of the security governance rule. Exactly one of `identity` or `name` must be provided. */ name?: string; /** * The organization ID of the security governance rule */ orgId: string; /** * The project ID of the security governance rule */ projectId: string; } /** * A collection of values returned by getSecurityGovernanceRuleV3. */ export interface GetSecurityGovernanceRuleV3Result { /** * List of condition IDs associated with this rule */ readonly conditionIds: string[]; /** * Description of the security governance rule */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided. */ readonly identity?: string; /** * Whether the rule is enabled */ readonly isEnabled: boolean; /** * The name of the security governance rule. Exactly one of `identity` or `name` must be provided. */ readonly name: string; /** * The organization ID of the security governance rule */ readonly orgId: string; /** * The project ID of the security governance rule */ readonly projectId: string; /** * Tags for the security governance rule */ readonly tags: string[]; /** * Time windows during which the rule is active */ readonly timeWindows: outputs.chaos.GetSecurityGovernanceRuleV3TimeWindow[]; /** * List of user group IDs associated with this rule */ readonly userGroupIds: string[]; } /** * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a security governance rule (V3) by identity * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({ * orgId: orgId, * projectId: projectId, * identity: "", * }); * // Look up a security governance rule (V3) by name * const byName = harness.chaos.getSecurityGovernanceRuleV3({ * orgId: orgId, * projectId: projectId, * name: "k8s-security-rule", * }); * export const securityGovernanceRuleV3ByIdentity = byIdentity; * export const securityGovernanceRuleV3ByName = byName; * ``` */ export declare function getSecurityGovernanceRuleV3Output(args: GetSecurityGovernanceRuleV3OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecurityGovernanceRuleV3. */ export interface GetSecurityGovernanceRuleV3OutputArgs { /** * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided. */ identity?: pulumi.Input; /** * The name of the security governance rule. Exactly one of `identity` or `name` must be provided. */ 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; } //# sourceMappingURL=getSecurityGovernanceRuleV3.d.ts.map