@atensec/pulumi-thoth 0.1.12 → 0.1.13

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.
Files changed (69) hide show
  1. package/bin/governance/getBoardIncidentSummary.d.ts +27 -0
  2. package/bin/governance/getBoardIncidentSummary.d.ts.map +1 -0
  3. package/bin/governance/getBoardIncidentSummary.js +45 -0
  4. package/bin/governance/getBoardIncidentSummary.js.map +1 -0
  5. package/bin/governance/getCostReport.d.ts +8 -0
  6. package/bin/governance/getCostReport.d.ts.map +1 -1
  7. package/bin/governance/getCostReport.js.map +1 -1
  8. package/bin/governance/getExecutiveSummary.d.ts +30 -0
  9. package/bin/governance/getExecutiveSummary.d.ts.map +1 -0
  10. package/bin/governance/getExecutiveSummary.js +49 -0
  11. package/bin/governance/getExecutiveSummary.js.map +1 -0
  12. package/bin/governance/getPolicyChangeArtifact.d.ts +30 -0
  13. package/bin/governance/getPolicyChangeArtifact.d.ts.map +1 -0
  14. package/bin/governance/getPolicyChangeArtifact.js +45 -0
  15. package/bin/governance/getPolicyChangeArtifact.js.map +1 -0
  16. package/bin/governance/getPolicyChangeArtifacts.d.ts +34 -0
  17. package/bin/governance/getPolicyChangeArtifacts.d.ts.map +1 -0
  18. package/bin/governance/getPolicyChangeArtifacts.js +51 -0
  19. package/bin/governance/getPolicyChangeArtifacts.js.map +1 -0
  20. package/bin/governance/getPolicyException.d.ts +31 -0
  21. package/bin/governance/getPolicyException.d.ts.map +1 -0
  22. package/bin/governance/getPolicyException.js +45 -0
  23. package/bin/governance/getPolicyException.js.map +1 -0
  24. package/bin/governance/getPolicyExceptions.d.ts +40 -0
  25. package/bin/governance/getPolicyExceptions.d.ts.map +1 -0
  26. package/bin/governance/getPolicyExceptions.js +55 -0
  27. package/bin/governance/getPolicyExceptions.js.map +1 -0
  28. package/bin/governance/index.d.ts +27 -0
  29. package/bin/governance/index.d.ts.map +1 -1
  30. package/bin/governance/index.js +35 -2
  31. package/bin/governance/index.js.map +1 -1
  32. package/bin/governance/policyChangeArtifactApply.d.ts +201 -0
  33. package/bin/governance/policyChangeArtifactApply.d.ts.map +1 -0
  34. package/bin/governance/policyChangeArtifactApply.js +108 -0
  35. package/bin/governance/policyChangeArtifactApply.js.map +1 -0
  36. package/bin/governance/policyException.d.ts +221 -0
  37. package/bin/governance/policyException.d.ts.map +1 -0
  38. package/bin/governance/policyException.js +121 -0
  39. package/bin/governance/policyException.js.map +1 -0
  40. package/bin/governance/policyExceptionReview.d.ts +165 -0
  41. package/bin/governance/policyExceptionReview.d.ts.map +1 -0
  42. package/bin/governance/policyExceptionReview.js +103 -0
  43. package/bin/governance/policyExceptionReview.js.map +1 -0
  44. package/bin/mcp/getInventoryDigest.d.ts +32 -0
  45. package/bin/mcp/getInventoryDigest.d.ts.map +1 -0
  46. package/bin/mcp/getInventoryDigest.js +47 -0
  47. package/bin/mcp/getInventoryDigest.js.map +1 -0
  48. package/bin/mcp/index.d.ts +3 -0
  49. package/bin/mcp/index.d.ts.map +1 -1
  50. package/bin/mcp/index.js +4 -1
  51. package/bin/mcp/index.js.map +1 -1
  52. package/bin/utilities.js +1 -1
  53. package/bin/utilities.js.map +1 -1
  54. package/governance/getBoardIncidentSummary.ts +44 -0
  55. package/governance/getCostReport.ts +8 -0
  56. package/governance/getExecutiveSummary.ts +51 -0
  57. package/governance/getPolicyChangeArtifact.ts +47 -0
  58. package/governance/getPolicyChangeArtifacts.ts +57 -0
  59. package/governance/getPolicyException.ts +48 -0
  60. package/governance/getPolicyExceptions.ts +67 -0
  61. package/governance/index.ts +54 -0
  62. package/governance/policyChangeArtifactApply.ts +269 -0
  63. package/governance/policyException.ts +302 -0
  64. package/governance/policyExceptionReview.ts +228 -0
  65. package/mcp/getInventoryDigest.ts +51 -0
  66. package/mcp/index.ts +5 -0
  67. package/package.json +3 -2
  68. package/tsconfig.json +10 -0
  69. package/utilities.ts +1 -1
@@ -0,0 +1,221 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class PolicyException extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing PolicyException resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyExceptionState, opts?: pulumi.CustomResourceOptions): PolicyException;
13
+ /**
14
+ * Returns true if the given object is an instance of PolicyException. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is PolicyException;
18
+ /**
19
+ * Agent ID associated with the request.
20
+ */
21
+ readonly agentId: pulumi.Output<string | undefined>;
22
+ /**
23
+ * Optional alternatives reviewed before requesting an exception.
24
+ */
25
+ readonly alternativesConsidered: pulumi.Output<string | undefined>;
26
+ /**
27
+ * Business reason for requesting the exception.
28
+ */
29
+ readonly businessJustification: pulumi.Output<string>;
30
+ /**
31
+ * Creation timestamp.
32
+ */
33
+ readonly createdAt: pulumi.Output<string>;
34
+ /**
35
+ * Data sensitivity level touched by this exception.
36
+ */
37
+ readonly dataSensitivity: pulumi.Output<string>;
38
+ /**
39
+ * How often this exception is expected to occur.
40
+ */
41
+ readonly frequencyEstimate: pulumi.Output<string>;
42
+ /**
43
+ * Optional hold token when exception is tied to STEP_UP workflow.
44
+ */
45
+ readonly holdToken: pulumi.Output<string | undefined>;
46
+ /**
47
+ * Policy change metadata returned by the review flow.
48
+ */
49
+ readonly policyChangeJson: pulumi.Output<string>;
50
+ /**
51
+ * Optional request ID. If omitted, enforcer generates one.
52
+ */
53
+ readonly requestId: pulumi.Output<string>;
54
+ /**
55
+ * Requester identity.
56
+ */
57
+ readonly requestedBy: pulumi.Output<string>;
58
+ /**
59
+ * Review decision when present.
60
+ */
61
+ readonly reviewDecision: pulumi.Output<string>;
62
+ /**
63
+ * Review notes when present.
64
+ */
65
+ readonly reviewNotes: pulumi.Output<string>;
66
+ /**
67
+ * Reviewer identity when present.
68
+ */
69
+ readonly reviewedBy: pulumi.Output<string>;
70
+ /**
71
+ * Current policy exception status.
72
+ */
73
+ readonly status: pulumi.Output<string>;
74
+ /**
75
+ * Tenant ID from provider configuration.
76
+ */
77
+ readonly tenantId: pulumi.Output<string>;
78
+ /**
79
+ * Tool/action name associated with the request.
80
+ */
81
+ readonly toolName: pulumi.Output<string | undefined>;
82
+ /**
83
+ * Last update timestamp.
84
+ */
85
+ readonly updatedAt: pulumi.Output<string>;
86
+ /**
87
+ * Violation ID associated with this exception request.
88
+ */
89
+ readonly violationId: pulumi.Output<string>;
90
+ /**
91
+ * Create a PolicyException resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: PolicyExceptionArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering PolicyException resources.
101
+ */
102
+ export interface PolicyExceptionState {
103
+ /**
104
+ * Agent ID associated with the request.
105
+ */
106
+ agentId?: pulumi.Input<string | undefined>;
107
+ /**
108
+ * Optional alternatives reviewed before requesting an exception.
109
+ */
110
+ alternativesConsidered?: pulumi.Input<string | undefined>;
111
+ /**
112
+ * Business reason for requesting the exception.
113
+ */
114
+ businessJustification?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Creation timestamp.
117
+ */
118
+ createdAt?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Data sensitivity level touched by this exception.
121
+ */
122
+ dataSensitivity?: pulumi.Input<string | undefined>;
123
+ /**
124
+ * How often this exception is expected to occur.
125
+ */
126
+ frequencyEstimate?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * Optional hold token when exception is tied to STEP_UP workflow.
129
+ */
130
+ holdToken?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Policy change metadata returned by the review flow.
133
+ */
134
+ policyChangeJson?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Optional request ID. If omitted, enforcer generates one.
137
+ */
138
+ requestId?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * Requester identity.
141
+ */
142
+ requestedBy?: pulumi.Input<string | undefined>;
143
+ /**
144
+ * Review decision when present.
145
+ */
146
+ reviewDecision?: pulumi.Input<string | undefined>;
147
+ /**
148
+ * Review notes when present.
149
+ */
150
+ reviewNotes?: pulumi.Input<string | undefined>;
151
+ /**
152
+ * Reviewer identity when present.
153
+ */
154
+ reviewedBy?: pulumi.Input<string | undefined>;
155
+ /**
156
+ * Current policy exception status.
157
+ */
158
+ status?: pulumi.Input<string | undefined>;
159
+ /**
160
+ * Tenant ID from provider configuration.
161
+ */
162
+ tenantId?: pulumi.Input<string | undefined>;
163
+ /**
164
+ * Tool/action name associated with the request.
165
+ */
166
+ toolName?: pulumi.Input<string | undefined>;
167
+ /**
168
+ * Last update timestamp.
169
+ */
170
+ updatedAt?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * Violation ID associated with this exception request.
173
+ */
174
+ violationId?: pulumi.Input<string | undefined>;
175
+ }
176
+ /**
177
+ * The set of arguments for constructing a PolicyException resource.
178
+ */
179
+ export interface PolicyExceptionArgs {
180
+ /**
181
+ * Agent ID associated with the request.
182
+ */
183
+ agentId?: pulumi.Input<string | undefined>;
184
+ /**
185
+ * Optional alternatives reviewed before requesting an exception.
186
+ */
187
+ alternativesConsidered?: pulumi.Input<string | undefined>;
188
+ /**
189
+ * Business reason for requesting the exception.
190
+ */
191
+ businessJustification: pulumi.Input<string>;
192
+ /**
193
+ * Data sensitivity level touched by this exception.
194
+ */
195
+ dataSensitivity: pulumi.Input<string>;
196
+ /**
197
+ * How often this exception is expected to occur.
198
+ */
199
+ frequencyEstimate: pulumi.Input<string>;
200
+ /**
201
+ * Optional hold token when exception is tied to STEP_UP workflow.
202
+ */
203
+ holdToken?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * Optional request ID. If omitted, enforcer generates one.
206
+ */
207
+ requestId?: pulumi.Input<string | undefined>;
208
+ /**
209
+ * Requester identity.
210
+ */
211
+ requestedBy: pulumi.Input<string>;
212
+ /**
213
+ * Tool/action name associated with the request.
214
+ */
215
+ toolName?: pulumi.Input<string | undefined>;
216
+ /**
217
+ * Violation ID associated with this exception request.
218
+ */
219
+ violationId: pulumi.Input<string>;
220
+ }
221
+ //# sourceMappingURL=policyException.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyException.d.ts","sourceRoot":"","sources":["../../governance/policyException.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAwB,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClF;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;O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,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
@@ -0,0 +1,121 @@
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.PolicyException = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ class PolicyException extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PolicyException resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new PolicyException(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'thoth:governance/policyException:PolicyException';
46
+ /**
47
+ * Returns true if the given object is an instance of PolicyException. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === PolicyException.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["agentId"] = state?.agentId;
62
+ resourceInputs["alternativesConsidered"] = state?.alternativesConsidered;
63
+ resourceInputs["businessJustification"] = state?.businessJustification;
64
+ resourceInputs["createdAt"] = state?.createdAt;
65
+ resourceInputs["dataSensitivity"] = state?.dataSensitivity;
66
+ resourceInputs["frequencyEstimate"] = state?.frequencyEstimate;
67
+ resourceInputs["holdToken"] = state?.holdToken;
68
+ resourceInputs["policyChangeJson"] = state?.policyChangeJson;
69
+ resourceInputs["requestId"] = state?.requestId;
70
+ resourceInputs["requestedBy"] = state?.requestedBy;
71
+ resourceInputs["reviewDecision"] = state?.reviewDecision;
72
+ resourceInputs["reviewNotes"] = state?.reviewNotes;
73
+ resourceInputs["reviewedBy"] = state?.reviewedBy;
74
+ resourceInputs["status"] = state?.status;
75
+ resourceInputs["tenantId"] = state?.tenantId;
76
+ resourceInputs["toolName"] = state?.toolName;
77
+ resourceInputs["updatedAt"] = state?.updatedAt;
78
+ resourceInputs["violationId"] = state?.violationId;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if (args?.businessJustification === undefined && !opts.urn) {
83
+ throw new Error("Missing required property 'businessJustification'");
84
+ }
85
+ if (args?.dataSensitivity === undefined && !opts.urn) {
86
+ throw new Error("Missing required property 'dataSensitivity'");
87
+ }
88
+ if (args?.frequencyEstimate === undefined && !opts.urn) {
89
+ throw new Error("Missing required property 'frequencyEstimate'");
90
+ }
91
+ if (args?.requestedBy === undefined && !opts.urn) {
92
+ throw new Error("Missing required property 'requestedBy'");
93
+ }
94
+ if (args?.violationId === undefined && !opts.urn) {
95
+ throw new Error("Missing required property 'violationId'");
96
+ }
97
+ resourceInputs["agentId"] = args?.agentId;
98
+ resourceInputs["alternativesConsidered"] = args?.alternativesConsidered;
99
+ resourceInputs["businessJustification"] = args?.businessJustification;
100
+ resourceInputs["dataSensitivity"] = args?.dataSensitivity;
101
+ resourceInputs["frequencyEstimate"] = args?.frequencyEstimate;
102
+ resourceInputs["holdToken"] = args?.holdToken;
103
+ resourceInputs["requestId"] = args?.requestId;
104
+ resourceInputs["requestedBy"] = args?.requestedBy;
105
+ resourceInputs["toolName"] = args?.toolName;
106
+ resourceInputs["violationId"] = args?.violationId;
107
+ resourceInputs["createdAt"] = undefined /*out*/;
108
+ resourceInputs["policyChangeJson"] = undefined /*out*/;
109
+ resourceInputs["reviewDecision"] = undefined /*out*/;
110
+ resourceInputs["reviewNotes"] = undefined /*out*/;
111
+ resourceInputs["reviewedBy"] = undefined /*out*/;
112
+ resourceInputs["status"] = undefined /*out*/;
113
+ resourceInputs["tenantId"] = undefined /*out*/;
114
+ resourceInputs["updatedAt"] = undefined /*out*/;
115
+ }
116
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
+ super(PolicyException.__pulumiType, name, resourceInputs, opts);
118
+ }
119
+ }
120
+ exports.PolicyException = PolicyException;
121
+ //# sourceMappingURL=policyException.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyException.js","sourceRoot":"","sources":["../../governance/policyException.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,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AAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1KL,0CA2KC"}
@@ -0,0 +1,165 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class PolicyExceptionReview extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing PolicyExceptionReview resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyExceptionReviewState, opts?: pulumi.CustomResourceOptions): PolicyExceptionReview;
13
+ /**
14
+ * Returns true if the given object is an instance of PolicyExceptionReview. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is PolicyExceptionReview;
18
+ /**
19
+ * Policy change metadata present on the reviewed exception.
20
+ */
21
+ readonly appliedPolicyChangeJson: pulumi.Output<string>;
22
+ /**
23
+ * Optional runtime override expiration timestamp (RFC3339).
24
+ */
25
+ readonly overrideExpiresAt: pulumi.Output<string | undefined>;
26
+ /**
27
+ * Optional owner metadata used when synthesizing policy artifacts.
28
+ */
29
+ readonly owner: pulumi.Output<string | undefined>;
30
+ /**
31
+ * Optional policy change override JSON payload.
32
+ */
33
+ readonly policyChangeJson: pulumi.Output<string | undefined>;
34
+ /**
35
+ * Policy exception request ID.
36
+ */
37
+ readonly requestId: pulumi.Output<string>;
38
+ /**
39
+ * Review outcome: approve, deny, request_changes, approve_with_modification.
40
+ */
41
+ readonly reviewDecision: pulumi.Output<string>;
42
+ /**
43
+ * Optional review notes.
44
+ */
45
+ readonly reviewNotes: pulumi.Output<string | undefined>;
46
+ /**
47
+ * Reviewer identity.
48
+ */
49
+ readonly reviewedBy: pulumi.Output<string>;
50
+ /**
51
+ * Resulting policy exception status.
52
+ */
53
+ readonly status: pulumi.Output<string>;
54
+ /**
55
+ * Optional target environment (for example prod or staging).
56
+ */
57
+ readonly targetEnvironment: pulumi.Output<string | undefined>;
58
+ /**
59
+ * Tenant ID from provider configuration.
60
+ */
61
+ readonly tenantId: pulumi.Output<string>;
62
+ /**
63
+ * Updated timestamp after review.
64
+ */
65
+ readonly updatedAt: pulumi.Output<string>;
66
+ /**
67
+ * Create a PolicyExceptionReview resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: PolicyExceptionReviewArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering PolicyExceptionReview resources.
77
+ */
78
+ export interface PolicyExceptionReviewState {
79
+ /**
80
+ * Policy change metadata present on the reviewed exception.
81
+ */
82
+ appliedPolicyChangeJson?: pulumi.Input<string | undefined>;
83
+ /**
84
+ * Optional runtime override expiration timestamp (RFC3339).
85
+ */
86
+ overrideExpiresAt?: pulumi.Input<string | undefined>;
87
+ /**
88
+ * Optional owner metadata used when synthesizing policy artifacts.
89
+ */
90
+ owner?: pulumi.Input<string | undefined>;
91
+ /**
92
+ * Optional policy change override JSON payload.
93
+ */
94
+ policyChangeJson?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Policy exception request ID.
97
+ */
98
+ requestId?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * Review outcome: approve, deny, request_changes, approve_with_modification.
101
+ */
102
+ reviewDecision?: pulumi.Input<string | undefined>;
103
+ /**
104
+ * Optional review notes.
105
+ */
106
+ reviewNotes?: pulumi.Input<string | undefined>;
107
+ /**
108
+ * Reviewer identity.
109
+ */
110
+ reviewedBy?: pulumi.Input<string | undefined>;
111
+ /**
112
+ * Resulting policy exception status.
113
+ */
114
+ status?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Optional target environment (for example prod or staging).
117
+ */
118
+ targetEnvironment?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Tenant ID from provider configuration.
121
+ */
122
+ tenantId?: pulumi.Input<string | undefined>;
123
+ /**
124
+ * Updated timestamp after review.
125
+ */
126
+ updatedAt?: pulumi.Input<string | undefined>;
127
+ }
128
+ /**
129
+ * The set of arguments for constructing a PolicyExceptionReview resource.
130
+ */
131
+ export interface PolicyExceptionReviewArgs {
132
+ /**
133
+ * Optional runtime override expiration timestamp (RFC3339).
134
+ */
135
+ overrideExpiresAt?: pulumi.Input<string | undefined>;
136
+ /**
137
+ * Optional owner metadata used when synthesizing policy artifacts.
138
+ */
139
+ owner?: pulumi.Input<string | undefined>;
140
+ /**
141
+ * Optional policy change override JSON payload.
142
+ */
143
+ policyChangeJson?: pulumi.Input<string | undefined>;
144
+ /**
145
+ * Policy exception request ID.
146
+ */
147
+ requestId: pulumi.Input<string>;
148
+ /**
149
+ * Review outcome: approve, deny, request_changes, approve_with_modification.
150
+ */
151
+ reviewDecision: pulumi.Input<string>;
152
+ /**
153
+ * Optional review notes.
154
+ */
155
+ reviewNotes?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Reviewer identity.
158
+ */
159
+ reviewedBy: pulumi.Input<string>;
160
+ /**
161
+ * Optional target environment (for example prod or staging).
162
+ */
163
+ targetEnvironment?: pulumi.Input<string | undefined>;
164
+ }
165
+ //# sourceMappingURL=policyExceptionReview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyExceptionReview.d.ts","sourceRoot":"","sources":["../../governance/policyExceptionReview.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BA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WAAW,yBAAyB;IACtC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxD"}
@@ -0,0 +1,103 @@
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.PolicyExceptionReview = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ class PolicyExceptionReview extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PolicyExceptionReview resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new PolicyExceptionReview(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'thoth:governance/policyExceptionReview:PolicyExceptionReview';
46
+ /**
47
+ * Returns true if the given object is an instance of PolicyExceptionReview. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === PolicyExceptionReview.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["appliedPolicyChangeJson"] = state?.appliedPolicyChangeJson;
62
+ resourceInputs["overrideExpiresAt"] = state?.overrideExpiresAt;
63
+ resourceInputs["owner"] = state?.owner;
64
+ resourceInputs["policyChangeJson"] = state?.policyChangeJson;
65
+ resourceInputs["requestId"] = state?.requestId;
66
+ resourceInputs["reviewDecision"] = state?.reviewDecision;
67
+ resourceInputs["reviewNotes"] = state?.reviewNotes;
68
+ resourceInputs["reviewedBy"] = state?.reviewedBy;
69
+ resourceInputs["status"] = state?.status;
70
+ resourceInputs["targetEnvironment"] = state?.targetEnvironment;
71
+ resourceInputs["tenantId"] = state?.tenantId;
72
+ resourceInputs["updatedAt"] = state?.updatedAt;
73
+ }
74
+ else {
75
+ const args = argsOrState;
76
+ if (args?.requestId === undefined && !opts.urn) {
77
+ throw new Error("Missing required property 'requestId'");
78
+ }
79
+ if (args?.reviewDecision === undefined && !opts.urn) {
80
+ throw new Error("Missing required property 'reviewDecision'");
81
+ }
82
+ if (args?.reviewedBy === undefined && !opts.urn) {
83
+ throw new Error("Missing required property 'reviewedBy'");
84
+ }
85
+ resourceInputs["overrideExpiresAt"] = args?.overrideExpiresAt;
86
+ resourceInputs["owner"] = args?.owner;
87
+ resourceInputs["policyChangeJson"] = args?.policyChangeJson;
88
+ resourceInputs["requestId"] = args?.requestId;
89
+ resourceInputs["reviewDecision"] = args?.reviewDecision;
90
+ resourceInputs["reviewNotes"] = args?.reviewNotes;
91
+ resourceInputs["reviewedBy"] = args?.reviewedBy;
92
+ resourceInputs["targetEnvironment"] = args?.targetEnvironment;
93
+ resourceInputs["appliedPolicyChangeJson"] = undefined /*out*/;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ resourceInputs["tenantId"] = undefined /*out*/;
96
+ resourceInputs["updatedAt"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ super(PolicyExceptionReview.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ }
102
+ exports.PolicyExceptionReview = PolicyExceptionReview;
103
+ //# sourceMappingURL=policyExceptionReview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyExceptionReview.js","sourceRoot":"","sources":["../../governance/policyExceptionReview.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;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