@pulumi/harness 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API).
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * // Look up a security governance condition (V3) by identity
13
+ * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({
14
+ * orgId: orgId,
15
+ * projectId: projectId,
16
+ * identity: "<condition_id>",
17
+ * });
18
+ * // Look up a security governance condition (V3) by name
19
+ * const byName = harness.chaos.getSecurityGovernanceConditionV3({
20
+ * orgId: orgId,
21
+ * projectId: projectId,
22
+ * name: "k8s-security-condition",
23
+ * });
24
+ * export const securityGovernanceConditionV3ByIdentity = byIdentity;
25
+ * export const securityGovernanceConditionV3ByName = byName;
26
+ * ```
27
+ */
28
+ export declare function getSecurityGovernanceConditionV3(args: GetSecurityGovernanceConditionV3Args, opts?: pulumi.InvokeOptions): Promise<GetSecurityGovernanceConditionV3Result>;
29
+ /**
30
+ * A collection of arguments for invoking getSecurityGovernanceConditionV3.
31
+ */
32
+ export interface GetSecurityGovernanceConditionV3Args {
33
+ /**
34
+ * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided.
35
+ */
36
+ identity?: string;
37
+ /**
38
+ * The name of the security governance condition. Exactly one of `identity` or `name` must be provided.
39
+ */
40
+ name?: string;
41
+ /**
42
+ * The organization ID of the security governance condition
43
+ */
44
+ orgId: string;
45
+ /**
46
+ * The project ID of the security governance condition
47
+ */
48
+ projectId: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by getSecurityGovernanceConditionV3.
52
+ */
53
+ export interface GetSecurityGovernanceConditionV3Result {
54
+ /**
55
+ * Description of the security governance condition
56
+ */
57
+ readonly description: string;
58
+ /**
59
+ * Specification for faults to be included in the condition
60
+ */
61
+ readonly faultSpecs: outputs.chaos.GetSecurityGovernanceConditionV3FaultSpec[];
62
+ /**
63
+ * The provider-assigned unique ID for this managed resource.
64
+ */
65
+ readonly id: string;
66
+ /**
67
+ * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided.
68
+ */
69
+ readonly identity?: string;
70
+ /**
71
+ * Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
72
+ */
73
+ readonly infraType: string;
74
+ /**
75
+ * Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
76
+ */
77
+ readonly k8sSpecs: outputs.chaos.GetSecurityGovernanceConditionV3K8sSpec[];
78
+ /**
79
+ * Machine specific configuration (required when infra*type is Linux or Windows)
80
+ */
81
+ readonly machineSpecs: outputs.chaos.GetSecurityGovernanceConditionV3MachineSpec[];
82
+ /**
83
+ * The name of the security governance condition. Exactly one of `identity` or `name` must be provided.
84
+ */
85
+ readonly name: string;
86
+ /**
87
+ * The organization ID of the security governance condition
88
+ */
89
+ readonly orgId: string;
90
+ /**
91
+ * The project ID of the security governance condition
92
+ */
93
+ readonly projectId: string;
94
+ /**
95
+ * Tags for the security governance condition
96
+ */
97
+ readonly tags: string[];
98
+ }
99
+ /**
100
+ * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API).
101
+ *
102
+ * ## Example Usage
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as harness from "@pulumi/harness";
107
+ *
108
+ * // Look up a security governance condition (V3) by identity
109
+ * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({
110
+ * orgId: orgId,
111
+ * projectId: projectId,
112
+ * identity: "<condition_id>",
113
+ * });
114
+ * // Look up a security governance condition (V3) by name
115
+ * const byName = harness.chaos.getSecurityGovernanceConditionV3({
116
+ * orgId: orgId,
117
+ * projectId: projectId,
118
+ * name: "k8s-security-condition",
119
+ * });
120
+ * export const securityGovernanceConditionV3ByIdentity = byIdentity;
121
+ * export const securityGovernanceConditionV3ByName = byName;
122
+ * ```
123
+ */
124
+ export declare function getSecurityGovernanceConditionV3Output(args: GetSecurityGovernanceConditionV3OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityGovernanceConditionV3Result>;
125
+ /**
126
+ * A collection of arguments for invoking getSecurityGovernanceConditionV3.
127
+ */
128
+ export interface GetSecurityGovernanceConditionV3OutputArgs {
129
+ /**
130
+ * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided.
131
+ */
132
+ identity?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * The name of the security governance condition. Exactly one of `identity` or `name` must be provided.
135
+ */
136
+ name?: pulumi.Input<string | undefined>;
137
+ /**
138
+ * The organization ID of the security governance condition
139
+ */
140
+ orgId: pulumi.Input<string>;
141
+ /**
142
+ * The project ID of the security governance condition
143
+ */
144
+ projectId: pulumi.Input<string>;
145
+ }
146
+ //# sourceMappingURL=getSecurityGovernanceConditionV3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGovernanceConditionV3.d.ts","sourceRoot":"","sources":["../../chaos/getSecurityGovernanceConditionV3.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAQzK;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAA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;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSecurityGovernanceConditionV3Output = exports.getSecurityGovernanceConditionV3 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as harness from "@pulumi/harness";
39
+ *
40
+ * // Look up a security governance condition (V3) by identity
41
+ * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({
42
+ * orgId: orgId,
43
+ * projectId: projectId,
44
+ * identity: "<condition_id>",
45
+ * });
46
+ * // Look up a security governance condition (V3) by name
47
+ * const byName = harness.chaos.getSecurityGovernanceConditionV3({
48
+ * orgId: orgId,
49
+ * projectId: projectId,
50
+ * name: "k8s-security-condition",
51
+ * });
52
+ * export const securityGovernanceConditionV3ByIdentity = byIdentity;
53
+ * export const securityGovernanceConditionV3ByName = byName;
54
+ * ```
55
+ */
56
+ function getSecurityGovernanceConditionV3(args, opts) {
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
58
+ return pulumi.runtime.invoke("harness:chaos/getSecurityGovernanceConditionV3:getSecurityGovernanceConditionV3", {
59
+ "identity": args.identity,
60
+ "name": args.name,
61
+ "orgId": args.orgId,
62
+ "projectId": args.projectId,
63
+ }, opts);
64
+ }
65
+ exports.getSecurityGovernanceConditionV3 = getSecurityGovernanceConditionV3;
66
+ /**
67
+ * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API).
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as harness from "@pulumi/harness";
74
+ *
75
+ * // Look up a security governance condition (V3) by identity
76
+ * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({
77
+ * orgId: orgId,
78
+ * projectId: projectId,
79
+ * identity: "<condition_id>",
80
+ * });
81
+ * // Look up a security governance condition (V3) by name
82
+ * const byName = harness.chaos.getSecurityGovernanceConditionV3({
83
+ * orgId: orgId,
84
+ * projectId: projectId,
85
+ * name: "k8s-security-condition",
86
+ * });
87
+ * export const securityGovernanceConditionV3ByIdentity = byIdentity;
88
+ * export const securityGovernanceConditionV3ByName = byName;
89
+ * ```
90
+ */
91
+ function getSecurityGovernanceConditionV3Output(args, opts) {
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
93
+ return pulumi.runtime.invokeOutput("harness:chaos/getSecurityGovernanceConditionV3:getSecurityGovernanceConditionV3", {
94
+ "identity": args.identity,
95
+ "name": args.name,
96
+ "orgId": args.orgId,
97
+ "projectId": args.projectId,
98
+ }, opts);
99
+ }
100
+ exports.getSecurityGovernanceConditionV3Output = getSecurityGovernanceConditionV3Output;
101
+ //# sourceMappingURL=getSecurityGovernanceConditionV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGovernanceConditionV3.js","sourceRoot":"","sources":["../../chaos/getSecurityGovernanceConditionV3.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iFAAiF,EAAE;QAC5G,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4EAQC;AAyED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iFAAiF,EAAE;QAClH,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wFAQC"}
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API).
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * // Look up a security governance rule (V3) by identity
13
+ * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({
14
+ * orgId: orgId,
15
+ * projectId: projectId,
16
+ * identity: "<rule_id>",
17
+ * });
18
+ * // Look up a security governance rule (V3) by name
19
+ * const byName = harness.chaos.getSecurityGovernanceRuleV3({
20
+ * orgId: orgId,
21
+ * projectId: projectId,
22
+ * name: "k8s-security-rule",
23
+ * });
24
+ * export const securityGovernanceRuleV3ByIdentity = byIdentity;
25
+ * export const securityGovernanceRuleV3ByName = byName;
26
+ * ```
27
+ */
28
+ export declare function getSecurityGovernanceRuleV3(args: GetSecurityGovernanceRuleV3Args, opts?: pulumi.InvokeOptions): Promise<GetSecurityGovernanceRuleV3Result>;
29
+ /**
30
+ * A collection of arguments for invoking getSecurityGovernanceRuleV3.
31
+ */
32
+ export interface GetSecurityGovernanceRuleV3Args {
33
+ /**
34
+ * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided.
35
+ */
36
+ identity?: string;
37
+ /**
38
+ * The name of the security governance rule. Exactly one of `identity` or `name` must be provided.
39
+ */
40
+ name?: string;
41
+ /**
42
+ * The organization ID of the security governance rule
43
+ */
44
+ orgId: string;
45
+ /**
46
+ * The project ID of the security governance rule
47
+ */
48
+ projectId: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by getSecurityGovernanceRuleV3.
52
+ */
53
+ export interface GetSecurityGovernanceRuleV3Result {
54
+ /**
55
+ * List of condition IDs associated with this rule
56
+ */
57
+ readonly conditionIds: string[];
58
+ /**
59
+ * Description of the security governance rule
60
+ */
61
+ readonly description: string;
62
+ /**
63
+ * The provider-assigned unique ID for this managed resource.
64
+ */
65
+ readonly id: string;
66
+ /**
67
+ * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided.
68
+ */
69
+ readonly identity?: string;
70
+ /**
71
+ * Whether the rule is enabled
72
+ */
73
+ readonly isEnabled: boolean;
74
+ /**
75
+ * The name of the security governance rule. Exactly one of `identity` or `name` must be provided.
76
+ */
77
+ readonly name: string;
78
+ /**
79
+ * The organization ID of the security governance rule
80
+ */
81
+ readonly orgId: string;
82
+ /**
83
+ * The project ID of the security governance rule
84
+ */
85
+ readonly projectId: string;
86
+ /**
87
+ * Tags for the security governance rule
88
+ */
89
+ readonly tags: string[];
90
+ /**
91
+ * Time windows during which the rule is active
92
+ */
93
+ readonly timeWindows: outputs.chaos.GetSecurityGovernanceRuleV3TimeWindow[];
94
+ /**
95
+ * List of user group IDs associated with this rule
96
+ */
97
+ readonly userGroupIds: string[];
98
+ }
99
+ /**
100
+ * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API).
101
+ *
102
+ * ## Example Usage
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as harness from "@pulumi/harness";
107
+ *
108
+ * // Look up a security governance rule (V3) by identity
109
+ * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({
110
+ * orgId: orgId,
111
+ * projectId: projectId,
112
+ * identity: "<rule_id>",
113
+ * });
114
+ * // Look up a security governance rule (V3) by name
115
+ * const byName = harness.chaos.getSecurityGovernanceRuleV3({
116
+ * orgId: orgId,
117
+ * projectId: projectId,
118
+ * name: "k8s-security-rule",
119
+ * });
120
+ * export const securityGovernanceRuleV3ByIdentity = byIdentity;
121
+ * export const securityGovernanceRuleV3ByName = byName;
122
+ * ```
123
+ */
124
+ export declare function getSecurityGovernanceRuleV3Output(args: GetSecurityGovernanceRuleV3OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityGovernanceRuleV3Result>;
125
+ /**
126
+ * A collection of arguments for invoking getSecurityGovernanceRuleV3.
127
+ */
128
+ export interface GetSecurityGovernanceRuleV3OutputArgs {
129
+ /**
130
+ * The identifier of the security governance rule. Exactly one of `identity` or `name` must be provided.
131
+ */
132
+ identity?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * The name of the security governance rule. Exactly one of `identity` or `name` must be provided.
135
+ */
136
+ name?: pulumi.Input<string | undefined>;
137
+ /**
138
+ * The organization ID of the security governance rule
139
+ */
140
+ orgId: pulumi.Input<string>;
141
+ /**
142
+ * The project ID of the security governance rule
143
+ */
144
+ projectId: pulumi.Input<string>;
145
+ }
146
+ //# sourceMappingURL=getSecurityGovernanceRuleV3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGovernanceRuleV3.d.ts","sourceRoot":"","sources":["../../chaos/getSecurityGovernanceRuleV3.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAQ1J;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,QAAQ,C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+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSecurityGovernanceRuleV3Output = exports.getSecurityGovernanceRuleV3 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as harness from "@pulumi/harness";
39
+ *
40
+ * // Look up a security governance rule (V3) by identity
41
+ * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({
42
+ * orgId: orgId,
43
+ * projectId: projectId,
44
+ * identity: "<rule_id>",
45
+ * });
46
+ * // Look up a security governance rule (V3) by name
47
+ * const byName = harness.chaos.getSecurityGovernanceRuleV3({
48
+ * orgId: orgId,
49
+ * projectId: projectId,
50
+ * name: "k8s-security-rule",
51
+ * });
52
+ * export const securityGovernanceRuleV3ByIdentity = byIdentity;
53
+ * export const securityGovernanceRuleV3ByName = byName;
54
+ * ```
55
+ */
56
+ function getSecurityGovernanceRuleV3(args, opts) {
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
58
+ return pulumi.runtime.invoke("harness:chaos/getSecurityGovernanceRuleV3:getSecurityGovernanceRuleV3", {
59
+ "identity": args.identity,
60
+ "name": args.name,
61
+ "orgId": args.orgId,
62
+ "projectId": args.projectId,
63
+ }, opts);
64
+ }
65
+ exports.getSecurityGovernanceRuleV3 = getSecurityGovernanceRuleV3;
66
+ /**
67
+ * Data source for retrieving a Harness Chaos Security Governance Rule (V3 / REST API).
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as harness from "@pulumi/harness";
74
+ *
75
+ * // Look up a security governance rule (V3) by identity
76
+ * const byIdentity = harness.chaos.getSecurityGovernanceRuleV3({
77
+ * orgId: orgId,
78
+ * projectId: projectId,
79
+ * identity: "<rule_id>",
80
+ * });
81
+ * // Look up a security governance rule (V3) by name
82
+ * const byName = harness.chaos.getSecurityGovernanceRuleV3({
83
+ * orgId: orgId,
84
+ * projectId: projectId,
85
+ * name: "k8s-security-rule",
86
+ * });
87
+ * export const securityGovernanceRuleV3ByIdentity = byIdentity;
88
+ * export const securityGovernanceRuleV3ByName = byName;
89
+ * ```
90
+ */
91
+ function getSecurityGovernanceRuleV3Output(args, opts) {
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
93
+ return pulumi.runtime.invokeOutput("harness:chaos/getSecurityGovernanceRuleV3:getSecurityGovernanceRuleV3", {
94
+ "identity": args.identity,
95
+ "name": args.name,
96
+ "orgId": args.orgId,
97
+ "projectId": args.projectId,
98
+ }, opts);
99
+ }
100
+ exports.getSecurityGovernanceRuleV3Output = getSecurityGovernanceRuleV3Output;
101
+ //# sourceMappingURL=getSecurityGovernanceRuleV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGovernanceRuleV3.js","sourceRoot":"","sources":["../../chaos/getSecurityGovernanceRuleV3.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC;AAyED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8EAQC"}
package/chaos/index.d.ts CHANGED
@@ -40,9 +40,15 @@ export declare const getProbeTemplateOutput: typeof import("./getProbeTemplate")
40
40
  export { GetSecurityGovernanceConditionArgs, GetSecurityGovernanceConditionResult, GetSecurityGovernanceConditionOutputArgs } from "./getSecurityGovernanceCondition";
41
41
  export declare const getSecurityGovernanceCondition: typeof import("./getSecurityGovernanceCondition").getSecurityGovernanceCondition;
42
42
  export declare const getSecurityGovernanceConditionOutput: typeof import("./getSecurityGovernanceCondition").getSecurityGovernanceConditionOutput;
43
+ export { GetSecurityGovernanceConditionV3Args, GetSecurityGovernanceConditionV3Result, GetSecurityGovernanceConditionV3OutputArgs } from "./getSecurityGovernanceConditionV3";
44
+ export declare const getSecurityGovernanceConditionV3: typeof import("./getSecurityGovernanceConditionV3").getSecurityGovernanceConditionV3;
45
+ export declare const getSecurityGovernanceConditionV3Output: typeof import("./getSecurityGovernanceConditionV3").getSecurityGovernanceConditionV3Output;
43
46
  export { GetSecurityGovernanceRuleArgs, GetSecurityGovernanceRuleResult, GetSecurityGovernanceRuleOutputArgs } from "./getSecurityGovernanceRule";
44
47
  export declare const getSecurityGovernanceRule: typeof import("./getSecurityGovernanceRule").getSecurityGovernanceRule;
45
48
  export declare const getSecurityGovernanceRuleOutput: typeof import("./getSecurityGovernanceRule").getSecurityGovernanceRuleOutput;
49
+ export { GetSecurityGovernanceRuleV3Args, GetSecurityGovernanceRuleV3Result, GetSecurityGovernanceRuleV3OutputArgs } from "./getSecurityGovernanceRuleV3";
50
+ export declare const getSecurityGovernanceRuleV3: typeof import("./getSecurityGovernanceRuleV3").getSecurityGovernanceRuleV3;
51
+ export declare const getSecurityGovernanceRuleV3Output: typeof import("./getSecurityGovernanceRuleV3").getSecurityGovernanceRuleV3Output;
46
52
  export { HubArgs, HubState } from "./hub";
47
53
  export type Hub = import("./hub").Hub;
48
54
  export declare const Hub: typeof import("./hub").Hub;
@@ -64,7 +70,13 @@ export declare const ProbeTemplate: typeof import("./probeTemplate").ProbeTempla
64
70
  export { SecurityGovernanceConditionArgs, SecurityGovernanceConditionState } from "./securityGovernanceCondition";
65
71
  export type SecurityGovernanceCondition = import("./securityGovernanceCondition").SecurityGovernanceCondition;
66
72
  export declare const SecurityGovernanceCondition: typeof import("./securityGovernanceCondition").SecurityGovernanceCondition;
73
+ export { SecurityGovernanceConditionV3Args, SecurityGovernanceConditionV3State } from "./securityGovernanceConditionV3";
74
+ export type SecurityGovernanceConditionV3 = import("./securityGovernanceConditionV3").SecurityGovernanceConditionV3;
75
+ export declare const SecurityGovernanceConditionV3: typeof import("./securityGovernanceConditionV3").SecurityGovernanceConditionV3;
67
76
  export { SecurityGovernanceRuleArgs, SecurityGovernanceRuleState } from "./securityGovernanceRule";
68
77
  export type SecurityGovernanceRule = import("./securityGovernanceRule").SecurityGovernanceRule;
69
78
  export declare const SecurityGovernanceRule: typeof import("./securityGovernanceRule").SecurityGovernanceRule;
79
+ export { SecurityGovernanceRuleV3Args, SecurityGovernanceRuleV3State } from "./securityGovernanceRuleV3";
80
+ export type SecurityGovernanceRuleV3 = import("./securityGovernanceRuleV3").SecurityGovernanceRuleV3;
81
+ export declare const SecurityGovernanceRuleV3: typeof import("./securityGovernanceRuleV3").SecurityGovernanceRuleV3;
70
82
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chaos/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAG5F,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;A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,wBAAwB,CAAC;AACrG,eAAO,MAAM,wBAAwB,EAAE,cAAc,4BAA4B,EAAE,wBAAsC,CAAC"}
package/chaos/index.js CHANGED
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.SecurityGovernanceRule = exports.SecurityGovernanceCondition = exports.ProbeTemplate = exports.InfrastructureV2 = exports.ImageRegistry = exports.HubV2 = exports.HubSync = exports.Hub = exports.getSecurityGovernanceRuleOutput = exports.getSecurityGovernanceRule = exports.getSecurityGovernanceConditionOutput = exports.getSecurityGovernanceCondition = exports.getProbeTemplateOutput = exports.getProbeTemplate = exports.getInfrastructureV2Output = exports.getInfrastructureV2 = exports.getImageRegistryOutput = exports.getImageRegistry = exports.getHubV2Output = exports.getHubV2 = exports.getHubOutput = exports.getHub = exports.getFaultTemplateOutput = exports.getFaultTemplate = exports.getExperimentTemplateOutput = exports.getExperimentTemplate = exports.getExperimentOutput = exports.getExperiment = exports.getActionTemplateOutput = exports.getActionTemplate = exports.FaultTemplate = exports.ExperimentTemplate = exports.Experiment = exports.ActionTemplate = void 0;
28
+ exports.SecurityGovernanceRuleV3 = exports.SecurityGovernanceRule = exports.SecurityGovernanceConditionV3 = exports.SecurityGovernanceCondition = exports.ProbeTemplate = exports.InfrastructureV2 = exports.ImageRegistry = exports.HubV2 = exports.HubSync = exports.Hub = exports.getSecurityGovernanceRuleV3Output = exports.getSecurityGovernanceRuleV3 = exports.getSecurityGovernanceRuleOutput = exports.getSecurityGovernanceRule = exports.getSecurityGovernanceConditionV3Output = exports.getSecurityGovernanceConditionV3 = exports.getSecurityGovernanceConditionOutput = exports.getSecurityGovernanceCondition = exports.getProbeTemplateOutput = exports.getProbeTemplate = exports.getInfrastructureV2Output = exports.getInfrastructureV2 = exports.getImageRegistryOutput = exports.getImageRegistry = exports.getHubV2Output = exports.getHubV2 = exports.getHubOutput = exports.getHub = exports.getFaultTemplateOutput = exports.getFaultTemplate = exports.getExperimentTemplateOutput = exports.getExperimentTemplate = exports.getExperimentOutput = exports.getExperiment = exports.getActionTemplateOutput = exports.getActionTemplate = exports.FaultTemplate = exports.ExperimentTemplate = exports.Experiment = exports.ActionTemplate = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.ActionTemplate = null;
@@ -66,9 +66,15 @@ utilities.lazyLoad(exports, ["getProbeTemplate", "getProbeTemplateOutput"], () =
66
66
  exports.getSecurityGovernanceCondition = null;
67
67
  exports.getSecurityGovernanceConditionOutput = null;
68
68
  utilities.lazyLoad(exports, ["getSecurityGovernanceCondition", "getSecurityGovernanceConditionOutput"], () => require("./getSecurityGovernanceCondition"));
69
+ exports.getSecurityGovernanceConditionV3 = null;
70
+ exports.getSecurityGovernanceConditionV3Output = null;
71
+ utilities.lazyLoad(exports, ["getSecurityGovernanceConditionV3", "getSecurityGovernanceConditionV3Output"], () => require("./getSecurityGovernanceConditionV3"));
69
72
  exports.getSecurityGovernanceRule = null;
70
73
  exports.getSecurityGovernanceRuleOutput = null;
71
74
  utilities.lazyLoad(exports, ["getSecurityGovernanceRule", "getSecurityGovernanceRuleOutput"], () => require("./getSecurityGovernanceRule"));
75
+ exports.getSecurityGovernanceRuleV3 = null;
76
+ exports.getSecurityGovernanceRuleV3Output = null;
77
+ utilities.lazyLoad(exports, ["getSecurityGovernanceRuleV3", "getSecurityGovernanceRuleV3Output"], () => require("./getSecurityGovernanceRuleV3"));
72
78
  exports.Hub = null;
73
79
  utilities.lazyLoad(exports, ["Hub"], () => require("./hub"));
74
80
  exports.HubSync = null;
@@ -83,8 +89,12 @@ exports.ProbeTemplate = null;
83
89
  utilities.lazyLoad(exports, ["ProbeTemplate"], () => require("./probeTemplate"));
84
90
  exports.SecurityGovernanceCondition = null;
85
91
  utilities.lazyLoad(exports, ["SecurityGovernanceCondition"], () => require("./securityGovernanceCondition"));
92
+ exports.SecurityGovernanceConditionV3 = null;
93
+ utilities.lazyLoad(exports, ["SecurityGovernanceConditionV3"], () => require("./securityGovernanceConditionV3"));
86
94
  exports.SecurityGovernanceRule = null;
87
95
  utilities.lazyLoad(exports, ["SecurityGovernanceRule"], () => require("./securityGovernanceRule"));
96
+ exports.SecurityGovernanceRuleV3 = null;
97
+ utilities.lazyLoad(exports, ["SecurityGovernanceRuleV3"], () => require("./securityGovernanceRuleV3"));
88
98
  const _module = {
89
99
  version: utilities.getVersion(),
90
100
  construct: (name, type, urn) => {
@@ -111,8 +121,12 @@ const _module = {
111
121
  return new exports.ProbeTemplate(name, undefined, { urn });
112
122
  case "harness:chaos/securityGovernanceCondition:SecurityGovernanceCondition":
113
123
  return new exports.SecurityGovernanceCondition(name, undefined, { urn });
124
+ case "harness:chaos/securityGovernanceConditionV3:SecurityGovernanceConditionV3":
125
+ return new exports.SecurityGovernanceConditionV3(name, undefined, { urn });
114
126
  case "harness:chaos/securityGovernanceRule:SecurityGovernanceRule":
115
127
  return new exports.SecurityGovernanceRule(name, undefined, { urn });
128
+ case "harness:chaos/securityGovernanceRuleV3:SecurityGovernanceRuleV3":
129
+ return new exports.SecurityGovernanceRuleV3(name, undefined, { urn });
116
130
  default:
117
131
  throw new Error(`unknown resource type ${type}`);
118
132
  }
@@ -129,5 +143,7 @@ pulumi.runtime.registerResourceModule("harness", "chaos/imageRegistry", _module)
129
143
  pulumi.runtime.registerResourceModule("harness", "chaos/infrastructureV2", _module);
130
144
  pulumi.runtime.registerResourceModule("harness", "chaos/probeTemplate", _module);
131
145
  pulumi.runtime.registerResourceModule("harness", "chaos/securityGovernanceCondition", _module);
146
+ pulumi.runtime.registerResourceModule("harness", "chaos/securityGovernanceConditionV3", _module);
132
147
  pulumi.runtime.registerResourceModule("harness", "chaos/securityGovernanceRule", _module);
148
+ pulumi.runtime.registerResourceModule("harness", "chaos/securityGovernanceRuleV3", _module);
133
149
  //# sourceMappingURL=index.js.map