@pulumi/harness 0.9.0-alpha.1757051902 → 0.9.0-alpha.1757570300
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.
- package/package.json +2 -2
- package/platform/artifactoryConnector.d.ts +12 -0
- package/platform/artifactoryConnector.js +2 -0
- package/platform/artifactoryConnector.js.map +1 -1
- package/platform/delegatetoken.d.ts +3 -0
- package/platform/delegatetoken.js +3 -0
- package/platform/delegatetoken.js.map +1 -1
- package/platform/getPolicySet.d.ts +24 -6
- package/platform/getPolicySet.js +4 -2
- package/platform/getPolicySet.js.map +1 -1
- package/platform/policySet.d.ts +12 -0
- package/platform/policySet.js +2 -0
- package/platform/policySet.js.map +1 -1
- package/types/input.d.ts +32 -2
- package/types/output.d.ts +21 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.9.0-alpha.
|
|
3
|
+
"version": "0.9.0-alpha.1757570300",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.9.0-alpha.
|
|
26
|
+
"version": "0.9.0-alpha.1757570300",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -149,6 +149,10 @@ export declare class ArtifactoryConnector extends pulumi.CustomResource {
|
|
|
149
149
|
* Description of the resource.
|
|
150
150
|
*/
|
|
151
151
|
readonly description: pulumi.Output<string | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Execute on delegate or not.
|
|
154
|
+
*/
|
|
155
|
+
readonly executeOnDelegate: pulumi.Output<boolean | undefined>;
|
|
152
156
|
/**
|
|
153
157
|
* Unique identifier of the resource.
|
|
154
158
|
*/
|
|
@@ -198,6 +202,10 @@ export interface ArtifactoryConnectorState {
|
|
|
198
202
|
* Description of the resource.
|
|
199
203
|
*/
|
|
200
204
|
description?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Execute on delegate or not.
|
|
207
|
+
*/
|
|
208
|
+
executeOnDelegate?: pulumi.Input<boolean>;
|
|
201
209
|
/**
|
|
202
210
|
* Unique identifier of the resource.
|
|
203
211
|
*/
|
|
@@ -239,6 +247,10 @@ export interface ArtifactoryConnectorArgs {
|
|
|
239
247
|
* Description of the resource.
|
|
240
248
|
*/
|
|
241
249
|
description?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* Execute on delegate or not.
|
|
252
|
+
*/
|
|
253
|
+
executeOnDelegate?: pulumi.Input<boolean>;
|
|
242
254
|
/**
|
|
243
255
|
* Unique identifier of the resource.
|
|
244
256
|
*/
|
|
@@ -156,6 +156,7 @@ class ArtifactoryConnector extends pulumi.CustomResource {
|
|
|
156
156
|
resourceInputs["credentials"] = state?.credentials;
|
|
157
157
|
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
158
158
|
resourceInputs["description"] = state?.description;
|
|
159
|
+
resourceInputs["executeOnDelegate"] = state?.executeOnDelegate;
|
|
159
160
|
resourceInputs["identifier"] = state?.identifier;
|
|
160
161
|
resourceInputs["name"] = state?.name;
|
|
161
162
|
resourceInputs["orgId"] = state?.orgId;
|
|
@@ -174,6 +175,7 @@ class ArtifactoryConnector extends pulumi.CustomResource {
|
|
|
174
175
|
resourceInputs["credentials"] = args?.credentials;
|
|
175
176
|
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
176
177
|
resourceInputs["description"] = args?.description;
|
|
178
|
+
resourceInputs["executeOnDelegate"] = args?.executeOnDelegate;
|
|
177
179
|
resourceInputs["identifier"] = args?.identifier;
|
|
178
180
|
resourceInputs["name"] = args?.name;
|
|
179
181
|
resourceInputs["orgId"] = args?.orgId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifactoryConnector.js","sourceRoot":"","sources":["../../platform/artifactoryConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"artifactoryConnector.js","sourceRoot":"","sources":["../../platform/artifactoryConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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2
|
/**
|
|
3
|
+
* Resource for creating delegate tokens. Delegate tokens can be created and revoked. Revoked tokens immediately stop functioning and are only purged after 30 days, meaning you cannot recreate a token with the same name within that period.
|
|
4
|
+
* To revoke a token, set tokenStatus field to "REVOKED".
|
|
5
|
+
*
|
|
3
6
|
* ## Example Usage
|
|
4
7
|
*
|
|
5
8
|
* ```typescript
|
|
@@ -6,6 +6,9 @@ exports.Delegatetoken = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Resource for creating delegate tokens. Delegate tokens can be created and revoked. Revoked tokens immediately stop functioning and are only purged after 30 days, meaning you cannot recreate a token with the same name within that period.
|
|
10
|
+
* To revoke a token, set tokenStatus field to "REVOKED".
|
|
11
|
+
*
|
|
9
12
|
* ## Example Usage
|
|
10
13
|
*
|
|
11
14
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatetoken.js","sourceRoot":"","sources":["../../platform/delegatetoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"delegatetoken.js","sourceRoot":"","sources":["../../platform/delegatetoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,C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AAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxGL,sCAyGC;AA3FG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -16,7 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* action: "onrun",
|
|
17
17
|
* type: "pipeline",
|
|
18
18
|
* enabled: true,
|
|
19
|
-
*
|
|
19
|
+
* policyReferences: [{
|
|
20
20
|
* identifier: "always_run",
|
|
21
21
|
* severity: "warning",
|
|
22
22
|
* }],
|
|
@@ -49,9 +49,15 @@ export interface GetPolicySetArgs {
|
|
|
49
49
|
*/
|
|
50
50
|
orgId?: string;
|
|
51
51
|
/**
|
|
52
|
-
* List of policy identifiers / severity for the policyset.
|
|
52
|
+
* List of policy identifiers / severity for the policyset. Deprecated: Use 'policy_references' instead.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Use 'policy_references' instead. This field will be removed in a future version.
|
|
53
55
|
*/
|
|
54
56
|
policies?: inputs.platform.GetPolicySetPolicy[];
|
|
57
|
+
/**
|
|
58
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
59
|
+
*/
|
|
60
|
+
policyReferences?: inputs.platform.GetPolicySetPolicyReference[];
|
|
55
61
|
/**
|
|
56
62
|
* Unique identifier of the project.
|
|
57
63
|
*/
|
|
@@ -94,9 +100,15 @@ export interface GetPolicySetResult {
|
|
|
94
100
|
*/
|
|
95
101
|
readonly orgId?: string;
|
|
96
102
|
/**
|
|
97
|
-
* List of policy identifiers / severity for the policyset.
|
|
103
|
+
* List of policy identifiers / severity for the policyset. Deprecated: Use 'policy_references' instead.
|
|
104
|
+
*
|
|
105
|
+
* @deprecated Use 'policy_references' instead. This field will be removed in a future version.
|
|
106
|
+
*/
|
|
107
|
+
readonly policies: outputs.platform.GetPolicySetPolicy[];
|
|
108
|
+
/**
|
|
109
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
98
110
|
*/
|
|
99
|
-
readonly
|
|
111
|
+
readonly policyReferences: outputs.platform.GetPolicySetPolicyReference[];
|
|
100
112
|
/**
|
|
101
113
|
* Unique identifier of the project.
|
|
102
114
|
*/
|
|
@@ -125,7 +137,7 @@ export interface GetPolicySetResult {
|
|
|
125
137
|
* action: "onrun",
|
|
126
138
|
* type: "pipeline",
|
|
127
139
|
* enabled: true,
|
|
128
|
-
*
|
|
140
|
+
* policyReferences: [{
|
|
129
141
|
* identifier: "always_run",
|
|
130
142
|
* severity: "warning",
|
|
131
143
|
* }],
|
|
@@ -158,9 +170,15 @@ export interface GetPolicySetOutputArgs {
|
|
|
158
170
|
*/
|
|
159
171
|
orgId?: pulumi.Input<string>;
|
|
160
172
|
/**
|
|
161
|
-
* List of policy identifiers / severity for the policyset.
|
|
173
|
+
* List of policy identifiers / severity for the policyset. Deprecated: Use 'policy_references' instead.
|
|
174
|
+
*
|
|
175
|
+
* @deprecated Use 'policy_references' instead. This field will be removed in a future version.
|
|
162
176
|
*/
|
|
163
177
|
policies?: pulumi.Input<pulumi.Input<inputs.platform.GetPolicySetPolicyArgs>[]>;
|
|
178
|
+
/**
|
|
179
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
180
|
+
*/
|
|
181
|
+
policyReferences?: pulumi.Input<pulumi.Input<inputs.platform.GetPolicySetPolicyReferenceArgs>[]>;
|
|
164
182
|
/**
|
|
165
183
|
* Unique identifier of the project.
|
|
166
184
|
*/
|
package/platform/getPolicySet.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* action: "onrun",
|
|
21
21
|
* type: "pipeline",
|
|
22
22
|
* enabled: true,
|
|
23
|
-
*
|
|
23
|
+
* policyReferences: [{
|
|
24
24
|
* identifier: "always_run",
|
|
25
25
|
* severity: "warning",
|
|
26
26
|
* }],
|
|
@@ -36,6 +36,7 @@ function getPolicySet(args, opts) {
|
|
|
36
36
|
"name": args.name,
|
|
37
37
|
"orgId": args.orgId,
|
|
38
38
|
"policies": args.policies,
|
|
39
|
+
"policyReferences": args.policyReferences,
|
|
39
40
|
"projectId": args.projectId,
|
|
40
41
|
"type": args.type,
|
|
41
42
|
}, opts);
|
|
@@ -56,7 +57,7 @@ exports.getPolicySet = getPolicySet;
|
|
|
56
57
|
* action: "onrun",
|
|
57
58
|
* type: "pipeline",
|
|
58
59
|
* enabled: true,
|
|
59
|
-
*
|
|
60
|
+
* policyReferences: [{
|
|
60
61
|
* identifier: "always_run",
|
|
61
62
|
* severity: "warning",
|
|
62
63
|
* }],
|
|
@@ -72,6 +73,7 @@ function getPolicySetOutput(args, opts) {
|
|
|
72
73
|
"name": args.name,
|
|
73
74
|
"orgId": args.orgId,
|
|
74
75
|
"policies": args.policies,
|
|
76
|
+
"policyReferences": args.policyReferences,
|
|
75
77
|
"projectId": args.projectId,
|
|
76
78
|
"type": args.type,
|
|
77
79
|
}, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPolicySet.js","sourceRoot":"","sources":["../../platform/getPolicySet.ts"],"names":[],"mappings":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ACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oCAaC;AAqGD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gDAaC"}
|
package/platform/policySet.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export declare class PolicySet extends pulumi.CustomResource {
|
|
|
58
58
|
* List of policy identifiers / severity for the policyset.
|
|
59
59
|
*/
|
|
60
60
|
readonly policies: pulumi.Output<outputs.platform.PolicySetPolicy[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
63
|
+
*/
|
|
64
|
+
readonly policyReferences: pulumi.Output<outputs.platform.PolicySetPolicyReference[]>;
|
|
61
65
|
/**
|
|
62
66
|
* Unique identifier of the project.
|
|
63
67
|
*/
|
|
@@ -111,6 +115,10 @@ export interface PolicySetState {
|
|
|
111
115
|
* List of policy identifiers / severity for the policyset.
|
|
112
116
|
*/
|
|
113
117
|
policies?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicy>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
120
|
+
*/
|
|
121
|
+
policyReferences?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicyReference>[]>;
|
|
114
122
|
/**
|
|
115
123
|
* Unique identifier of the project.
|
|
116
124
|
*/
|
|
@@ -156,6 +164,10 @@ export interface PolicySetArgs {
|
|
|
156
164
|
* List of policy identifiers / severity for the policyset.
|
|
157
165
|
*/
|
|
158
166
|
policies?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicy>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
169
|
+
*/
|
|
170
|
+
policyReferences?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicyReference>[]>;
|
|
159
171
|
/**
|
|
160
172
|
* Unique identifier of the project.
|
|
161
173
|
*/
|
package/platform/policySet.js
CHANGED
|
@@ -53,6 +53,7 @@ class PolicySet extends pulumi.CustomResource {
|
|
|
53
53
|
resourceInputs["name"] = state?.name;
|
|
54
54
|
resourceInputs["orgId"] = state?.orgId;
|
|
55
55
|
resourceInputs["policies"] = state?.policies;
|
|
56
|
+
resourceInputs["policyReferences"] = state?.policyReferences;
|
|
56
57
|
resourceInputs["projectId"] = state?.projectId;
|
|
57
58
|
resourceInputs["tags"] = state?.tags;
|
|
58
59
|
resourceInputs["type"] = state?.type;
|
|
@@ -75,6 +76,7 @@ class PolicySet extends pulumi.CustomResource {
|
|
|
75
76
|
resourceInputs["name"] = args?.name;
|
|
76
77
|
resourceInputs["orgId"] = args?.orgId;
|
|
77
78
|
resourceInputs["policies"] = args?.policies;
|
|
79
|
+
resourceInputs["policyReferences"] = args?.policyReferences;
|
|
78
80
|
resourceInputs["projectId"] = args?.projectId;
|
|
79
81
|
resourceInputs["tags"] = args?.tags;
|
|
80
82
|
resourceInputs["type"] = args?.type;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policySet.js","sourceRoot":"","sources":["../../platform/policySet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"policySet.js","sourceRoot":"","sources":["../../platform/policySet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,U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
CHANGED
|
@@ -4884,7 +4884,7 @@ export declare namespace platform {
|
|
|
4884
4884
|
}
|
|
4885
4885
|
interface GetPolicySetPolicy {
|
|
4886
4886
|
/**
|
|
4887
|
-
*
|
|
4887
|
+
* Unique identifier of the policy
|
|
4888
4888
|
*/
|
|
4889
4889
|
identifier: string;
|
|
4890
4890
|
/**
|
|
@@ -4894,7 +4894,27 @@ export declare namespace platform {
|
|
|
4894
4894
|
}
|
|
4895
4895
|
interface GetPolicySetPolicyArgs {
|
|
4896
4896
|
/**
|
|
4897
|
-
*
|
|
4897
|
+
* Unique identifier of the policy
|
|
4898
|
+
*/
|
|
4899
|
+
identifier: pulumi.Input<string>;
|
|
4900
|
+
/**
|
|
4901
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
4902
|
+
*/
|
|
4903
|
+
severity: pulumi.Input<string>;
|
|
4904
|
+
}
|
|
4905
|
+
interface GetPolicySetPolicyReference {
|
|
4906
|
+
/**
|
|
4907
|
+
* Unique identifier of the policy
|
|
4908
|
+
*/
|
|
4909
|
+
identifier: string;
|
|
4910
|
+
/**
|
|
4911
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
4912
|
+
*/
|
|
4913
|
+
severity: string;
|
|
4914
|
+
}
|
|
4915
|
+
interface GetPolicySetPolicyReferenceArgs {
|
|
4916
|
+
/**
|
|
4917
|
+
* Unique identifier of the policy
|
|
4898
4918
|
*/
|
|
4899
4919
|
identifier: pulumi.Input<string>;
|
|
4900
4920
|
/**
|
|
@@ -32306,6 +32326,16 @@ export declare namespace platform {
|
|
|
32306
32326
|
*/
|
|
32307
32327
|
severity: pulumi.Input<string>;
|
|
32308
32328
|
}
|
|
32329
|
+
interface PolicySetPolicyReference {
|
|
32330
|
+
/**
|
|
32331
|
+
* Unique identifier of the policy
|
|
32332
|
+
*/
|
|
32333
|
+
identifier: pulumi.Input<string>;
|
|
32334
|
+
/**
|
|
32335
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
32336
|
+
*/
|
|
32337
|
+
severity: pulumi.Input<string>;
|
|
32338
|
+
}
|
|
32309
32339
|
interface PrometheusConnectorHeader {
|
|
32310
32340
|
/**
|
|
32311
32341
|
* Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
package/types/output.d.ts
CHANGED
|
@@ -6020,7 +6020,17 @@ export declare namespace platform {
|
|
|
6020
6020
|
}
|
|
6021
6021
|
interface GetPolicySetPolicy {
|
|
6022
6022
|
/**
|
|
6023
|
-
*
|
|
6023
|
+
* Unique identifier of the policy
|
|
6024
|
+
*/
|
|
6025
|
+
identifier: string;
|
|
6026
|
+
/**
|
|
6027
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
6028
|
+
*/
|
|
6029
|
+
severity: string;
|
|
6030
|
+
}
|
|
6031
|
+
interface GetPolicySetPolicyReference {
|
|
6032
|
+
/**
|
|
6033
|
+
* Unique identifier of the policy
|
|
6024
6034
|
*/
|
|
6025
6035
|
identifier: string;
|
|
6026
6036
|
/**
|
|
@@ -33536,6 +33546,16 @@ export declare namespace platform {
|
|
|
33536
33546
|
*/
|
|
33537
33547
|
severity: string;
|
|
33538
33548
|
}
|
|
33549
|
+
interface PolicySetPolicyReference {
|
|
33550
|
+
/**
|
|
33551
|
+
* Unique identifier of the policy
|
|
33552
|
+
*/
|
|
33553
|
+
identifier: string;
|
|
33554
|
+
/**
|
|
33555
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
33556
|
+
*/
|
|
33557
|
+
severity: string;
|
|
33558
|
+
}
|
|
33539
33559
|
interface PrometheusConnectorHeader {
|
|
33540
33560
|
/**
|
|
33541
33561
|
* Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|