@atensec/pulumi-thoth 0.1.10 → 0.1.12

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 (359) hide show
  1. package/billing/getArtifact.ts +49 -0
  2. package/billing/getArtifacts.ts +48 -0
  3. package/billing/index.ts +10 -0
  4. package/bin/access/agentApiKey.d.ts +169 -0
  5. package/bin/access/agentApiKey.d.ts.map +1 -0
  6. package/bin/access/agentApiKey.js +106 -0
  7. package/bin/access/agentApiKey.js.map +1 -0
  8. package/bin/access/endpointApiKey.d.ts +169 -0
  9. package/bin/access/endpointApiKey.d.ts.map +1 -0
  10. package/bin/access/endpointApiKey.js +106 -0
  11. package/bin/access/endpointApiKey.js.map +1 -0
  12. package/bin/access/fleetApiKey.d.ts +169 -0
  13. package/bin/access/fleetApiKey.d.ts.map +1 -0
  14. package/bin/access/fleetApiKey.js +106 -0
  15. package/bin/access/fleetApiKey.js.map +1 -0
  16. package/bin/access/getApiKeyAuthorization.d.ts +47 -0
  17. package/bin/access/getApiKeyAuthorization.d.ts.map +1 -0
  18. package/bin/access/getApiKeyAuthorization.js +53 -0
  19. package/bin/access/getApiKeyAuthorization.js.map +1 -0
  20. package/bin/access/getApiKeyMetrics.d.ts +18 -0
  21. package/bin/access/getApiKeyMetrics.d.ts.map +1 -0
  22. package/bin/access/getApiKeyMetrics.js +41 -0
  23. package/bin/access/getApiKeyMetrics.js.map +1 -0
  24. package/bin/access/getApiKeys.d.ts +34 -0
  25. package/bin/access/getApiKeys.d.ts.map +1 -0
  26. package/bin/access/getApiKeys.js +51 -0
  27. package/bin/access/getApiKeys.js.map +1 -0
  28. package/bin/access/index.d.ts +19 -0
  29. package/bin/access/index.d.ts.map +1 -0
  30. package/bin/access/index.js +64 -0
  31. package/bin/access/index.js.map +1 -0
  32. package/bin/billing/getArtifact.d.ts +30 -0
  33. package/bin/billing/getArtifact.d.ts.map +1 -0
  34. package/bin/billing/getArtifact.js +47 -0
  35. package/bin/billing/getArtifact.js.map +1 -0
  36. package/bin/billing/getArtifacts.d.ts +29 -0
  37. package/bin/billing/getArtifacts.d.ts.map +1 -0
  38. package/bin/billing/getArtifacts.js +47 -0
  39. package/bin/billing/getArtifacts.js.map +1 -0
  40. package/bin/billing/getCreditBank.d.ts +35 -0
  41. package/bin/billing/getCreditBank.d.ts.map +1 -0
  42. package/bin/billing/getCreditBank.js +49 -0
  43. package/bin/billing/getCreditBank.js.map +1 -0
  44. package/bin/billing/getEstimate.d.ts +62 -0
  45. package/bin/billing/getEstimate.d.ts.map +1 -0
  46. package/bin/billing/getEstimate.js +59 -0
  47. package/bin/billing/getEstimate.js.map +1 -0
  48. package/bin/billing/getInvoices.d.ts +30 -0
  49. package/bin/billing/getInvoices.d.ts.map +1 -0
  50. package/bin/billing/getInvoices.js +47 -0
  51. package/bin/billing/getInvoices.js.map +1 -0
  52. package/bin/billing/getMonthlyCost.d.ts +25 -0
  53. package/bin/billing/getMonthlyCost.d.ts.map +1 -0
  54. package/bin/billing/getMonthlyCost.js +41 -0
  55. package/bin/billing/getMonthlyCost.js.map +1 -0
  56. package/bin/billing/getPricing.d.ts +24 -0
  57. package/bin/billing/getPricing.d.ts.map +1 -0
  58. package/bin/billing/getPricing.js +41 -0
  59. package/bin/billing/getPricing.js.map +1 -0
  60. package/bin/billing/getReport.d.ts +30 -0
  61. package/bin/billing/getReport.d.ts.map +1 -0
  62. package/bin/billing/getReport.js +47 -0
  63. package/bin/billing/getReport.js.map +1 -0
  64. package/bin/billing/getReports.d.ts +16 -0
  65. package/bin/billing/getReports.d.ts.map +1 -0
  66. package/bin/billing/getReports.js +41 -0
  67. package/bin/billing/getReports.js.map +1 -0
  68. package/bin/billing/index.d.ts +31 -0
  69. package/bin/billing/index.d.ts.map +1 -0
  70. package/bin/billing/index.js +72 -0
  71. package/bin/billing/index.js.map +1 -0
  72. package/bin/billing/overageCap.d.ts +121 -0
  73. package/bin/billing/overageCap.d.ts.map +1 -0
  74. package/bin/billing/overageCap.js +93 -0
  75. package/bin/billing/overageCap.js.map +1 -0
  76. package/bin/browser/enrollment.d.ts +157 -0
  77. package/bin/browser/enrollment.d.ts.map +1 -0
  78. package/bin/browser/enrollment.js +101 -0
  79. package/bin/browser/enrollment.js.map +1 -0
  80. package/bin/browser/getEnrollments.d.ts +31 -0
  81. package/bin/browser/getEnrollments.d.ts.map +1 -0
  82. package/bin/browser/getEnrollments.js +49 -0
  83. package/bin/browser/getEnrollments.js.map +1 -0
  84. package/bin/browser/getPolicies.d.ts +28 -0
  85. package/bin/browser/getPolicies.d.ts.map +1 -0
  86. package/bin/browser/getPolicies.js +47 -0
  87. package/bin/browser/getPolicies.js.map +1 -0
  88. package/bin/browser/getProviders.d.ts +15 -0
  89. package/bin/browser/getProviders.d.ts.map +1 -0
  90. package/bin/browser/getProviders.js +41 -0
  91. package/bin/browser/getProviders.js.map +1 -0
  92. package/bin/browser/index.d.ts +19 -0
  93. package/bin/browser/index.d.ts.map +1 -0
  94. package/bin/browser/index.js +64 -0
  95. package/bin/browser/index.js.map +1 -0
  96. package/bin/browser/policy.d.ts +189 -0
  97. package/bin/browser/policy.d.ts.map +1 -0
  98. package/bin/browser/policy.js +107 -0
  99. package/bin/browser/policy.js.map +1 -0
  100. package/bin/browser/provider.d.ts +133 -0
  101. package/bin/browser/provider.d.ts.map +1 -0
  102. package/bin/browser/provider.js +93 -0
  103. package/bin/browser/provider.js.map +1 -0
  104. package/bin/config/index.d.ts +2 -0
  105. package/bin/config/index.d.ts.map +1 -0
  106. package/bin/config/index.js +21 -0
  107. package/bin/config/index.js.map +1 -0
  108. package/bin/config/vars.d.ts +49 -0
  109. package/bin/config/vars.d.ts.map +1 -0
  110. package/bin/config/vars.js +102 -0
  111. package/bin/config/vars.js.map +1 -0
  112. package/bin/fleet/endpoint.d.ts +309 -0
  113. package/bin/fleet/endpoint.d.ts.map +1 -0
  114. package/bin/fleet/endpoint.js +126 -0
  115. package/bin/fleet/endpoint.js.map +1 -0
  116. package/bin/fleet/fleet.d.ts +221 -0
  117. package/bin/fleet/fleet.d.ts.map +1 -0
  118. package/bin/fleet/fleet.js +111 -0
  119. package/bin/fleet/fleet.js.map +1 -0
  120. package/bin/fleet/getEndpointStats.d.ts +23 -0
  121. package/bin/fleet/getEndpointStats.d.ts.map +1 -0
  122. package/bin/fleet/getEndpointStats.js +41 -0
  123. package/bin/fleet/getEndpointStats.js.map +1 -0
  124. package/bin/fleet/getEndpoints.d.ts +31 -0
  125. package/bin/fleet/getEndpoints.d.ts.map +1 -0
  126. package/bin/fleet/getEndpoints.js +49 -0
  127. package/bin/fleet/getEndpoints.js.map +1 -0
  128. package/bin/fleet/getFleet.d.ts +31 -0
  129. package/bin/fleet/getFleet.d.ts.map +1 -0
  130. package/bin/fleet/getFleet.js +45 -0
  131. package/bin/fleet/getFleet.js.map +1 -0
  132. package/bin/fleet/getFleets.d.ts +34 -0
  133. package/bin/fleet/getFleets.d.ts.map +1 -0
  134. package/bin/fleet/getFleets.js +51 -0
  135. package/bin/fleet/getFleets.js.map +1 -0
  136. package/bin/fleet/index.d.ts +19 -0
  137. package/bin/fleet/index.d.ts.map +1 -0
  138. package/bin/fleet/index.js +62 -0
  139. package/bin/fleet/index.js.map +1 -0
  140. package/bin/governance/approvalDecision.d.ts +93 -0
  141. package/bin/governance/approvalDecision.d.ts.map +1 -0
  142. package/bin/governance/approvalDecision.js +88 -0
  143. package/bin/governance/approvalDecision.js.map +1 -0
  144. package/bin/governance/decisionFieldBackfill.d.ts +209 -0
  145. package/bin/governance/decisionFieldBackfill.d.ts.map +1 -0
  146. package/bin/governance/decisionFieldBackfill.js +108 -0
  147. package/bin/governance/decisionFieldBackfill.js.map +1 -0
  148. package/bin/governance/evidenceBackfill.d.ts +169 -0
  149. package/bin/governance/evidenceBackfill.d.ts.map +1 -0
  150. package/bin/governance/evidenceBackfill.js +98 -0
  151. package/bin/governance/evidenceBackfill.js.map +1 -0
  152. package/bin/governance/getAgentLatestForensics.d.ts +33 -0
  153. package/bin/governance/getAgentLatestForensics.d.ts.map +1 -0
  154. package/bin/governance/getAgentLatestForensics.js +45 -0
  155. package/bin/governance/getAgentLatestForensics.js.map +1 -0
  156. package/bin/governance/getApprovals.d.ts +34 -0
  157. package/bin/governance/getApprovals.d.ts.map +1 -0
  158. package/bin/governance/getApprovals.js +51 -0
  159. package/bin/governance/getApprovals.js.map +1 -0
  160. package/bin/governance/getCostReport.d.ts +30 -0
  161. package/bin/governance/getCostReport.d.ts.map +1 -0
  162. package/bin/governance/getCostReport.js +49 -0
  163. package/bin/governance/getCostReport.js.map +1 -0
  164. package/bin/governance/getDay7Report.d.ts +27 -0
  165. package/bin/governance/getDay7Report.d.ts.map +1 -0
  166. package/bin/governance/getDay7Report.js +47 -0
  167. package/bin/governance/getDay7Report.js.map +1 -0
  168. package/bin/governance/getEffectivePolicyBundles.d.ts +31 -0
  169. package/bin/governance/getEffectivePolicyBundles.d.ts.map +1 -0
  170. package/bin/governance/getEffectivePolicyBundles.js +49 -0
  171. package/bin/governance/getEffectivePolicyBundles.js.map +1 -0
  172. package/bin/governance/getEvidenceBundle.d.ts +30 -0
  173. package/bin/governance/getEvidenceBundle.d.ts.map +1 -0
  174. package/bin/governance/getEvidenceBundle.js +45 -0
  175. package/bin/governance/getEvidenceBundle.js.map +1 -0
  176. package/bin/governance/getEvidenceChain.d.ts +32 -0
  177. package/bin/governance/getEvidenceChain.d.ts.map +1 -0
  178. package/bin/governance/getEvidenceChain.js +49 -0
  179. package/bin/governance/getEvidenceChain.js.map +1 -0
  180. package/bin/governance/getEvidenceSlos.d.ts +43 -0
  181. package/bin/governance/getEvidenceSlos.d.ts.map +1 -0
  182. package/bin/governance/getEvidenceSlos.js +49 -0
  183. package/bin/governance/getEvidenceSlos.js.map +1 -0
  184. package/bin/governance/getEvidenceVerify.d.ts +31 -0
  185. package/bin/governance/getEvidenceVerify.d.ts.map +1 -0
  186. package/bin/governance/getEvidenceVerify.js +47 -0
  187. package/bin/governance/getEvidenceVerify.js.map +1 -0
  188. package/bin/governance/getFeed.d.ts +61 -0
  189. package/bin/governance/getFeed.d.ts.map +1 -0
  190. package/bin/governance/getFeed.js +69 -0
  191. package/bin/governance/getFeed.js.map +1 -0
  192. package/bin/governance/getIncidentForensics.d.ts +35 -0
  193. package/bin/governance/getIncidentForensics.d.ts.map +1 -0
  194. package/bin/governance/getIncidentForensics.js +45 -0
  195. package/bin/governance/getIncidentForensics.js.map +1 -0
  196. package/bin/governance/getPackRuleVersions.d.ts +29 -0
  197. package/bin/governance/getPackRuleVersions.d.ts.map +1 -0
  198. package/bin/governance/getPackRuleVersions.js +45 -0
  199. package/bin/governance/getPackRuleVersions.js.map +1 -0
  200. package/bin/governance/getPackRules.d.ts +32 -0
  201. package/bin/governance/getPackRules.d.ts.map +1 -0
  202. package/bin/governance/getPackRules.js +45 -0
  203. package/bin/governance/getPackRules.js.map +1 -0
  204. package/bin/governance/getPacks.d.ts +15 -0
  205. package/bin/governance/getPacks.d.ts.map +1 -0
  206. package/bin/governance/getPacks.js +41 -0
  207. package/bin/governance/getPacks.js.map +1 -0
  208. package/bin/governance/getPolicyBundles.d.ts +37 -0
  209. package/bin/governance/getPolicyBundles.d.ts.map +1 -0
  210. package/bin/governance/getPolicyBundles.js +53 -0
  211. package/bin/governance/getPolicyBundles.js.map +1 -0
  212. package/bin/governance/getReportData.d.ts +40 -0
  213. package/bin/governance/getReportData.d.ts.map +1 -0
  214. package/bin/governance/getReportData.js +55 -0
  215. package/bin/governance/getReportData.js.map +1 -0
  216. package/bin/governance/getReportsOverview.d.ts +27 -0
  217. package/bin/governance/getReportsOverview.d.ts.map +1 -0
  218. package/bin/governance/getReportsOverview.js +47 -0
  219. package/bin/governance/getReportsOverview.js.map +1 -0
  220. package/bin/governance/getRuntimeStatus.d.ts +27 -0
  221. package/bin/governance/getRuntimeStatus.d.ts.map +1 -0
  222. package/bin/governance/getRuntimeStatus.js +47 -0
  223. package/bin/governance/getRuntimeStatus.js.map +1 -0
  224. package/bin/governance/getSessionForensics.d.ts +33 -0
  225. package/bin/governance/getSessionForensics.d.ts.map +1 -0
  226. package/bin/governance/getSessionForensics.js +45 -0
  227. package/bin/governance/getSessionForensics.js.map +1 -0
  228. package/bin/governance/getTenantSettings.d.ts +23 -0
  229. package/bin/governance/getTenantSettings.d.ts.map +1 -0
  230. package/bin/governance/getTenantSettings.js +41 -0
  231. package/bin/governance/getTenantSettings.js.map +1 -0
  232. package/bin/governance/getTools.d.ts +31 -0
  233. package/bin/governance/getTools.d.ts.map +1 -0
  234. package/bin/governance/getTools.js +49 -0
  235. package/bin/governance/getTools.js.map +1 -0
  236. package/bin/governance/governanceSettings.d.ts +299 -0
  237. package/bin/governance/governanceSettings.d.ts.map +1 -0
  238. package/bin/governance/governanceSettings.js +114 -0
  239. package/bin/governance/governanceSettings.js.map +1 -0
  240. package/bin/governance/index.d.ts +100 -0
  241. package/bin/governance/index.d.ts.map +1 -0
  242. package/bin/governance/index.js +164 -0
  243. package/bin/governance/index.js.map +1 -0
  244. package/bin/governance/packAssignment.d.ts +201 -0
  245. package/bin/governance/packAssignment.d.ts.map +1 -0
  246. package/bin/governance/packAssignment.js +108 -0
  247. package/bin/governance/packAssignment.js.map +1 -0
  248. package/bin/governance/packAssignmentBulk.d.ts +249 -0
  249. package/bin/governance/packAssignmentBulk.d.ts.map +1 -0
  250. package/bin/governance/packAssignmentBulk.js +113 -0
  251. package/bin/governance/packAssignmentBulk.js.map +1 -0
  252. package/bin/governance/pamSettings.d.ts +137 -0
  253. package/bin/governance/pamSettings.d.ts.map +1 -0
  254. package/bin/governance/pamSettings.js +90 -0
  255. package/bin/governance/pamSettings.js.map +1 -0
  256. package/bin/governance/policyBundle.d.ts +225 -0
  257. package/bin/governance/policyBundle.d.ts.map +1 -0
  258. package/bin/governance/policyBundle.js +114 -0
  259. package/bin/governance/policyBundle.js.map +1 -0
  260. package/bin/governance/policySync.d.ts +173 -0
  261. package/bin/governance/policySync.d.ts.map +1 -0
  262. package/bin/governance/policySync.js +100 -0
  263. package/bin/governance/policySync.js.map +1 -0
  264. package/bin/governance/siemSettings.d.ts +113 -0
  265. package/bin/governance/siemSettings.d.ts.map +1 -0
  266. package/bin/governance/siemSettings.js +86 -0
  267. package/bin/governance/siemSettings.js.map +1 -0
  268. package/bin/governance/webhookSettings.d.ts +101 -0
  269. package/bin/governance/webhookSettings.d.ts.map +1 -0
  270. package/bin/governance/webhookSettings.js +84 -0
  271. package/bin/governance/webhookSettings.js.map +1 -0
  272. package/bin/governance/webhookTest.d.ts +89 -0
  273. package/bin/governance/webhookTest.d.ts.map +1 -0
  274. package/bin/governance/webhookTest.js +82 -0
  275. package/bin/governance/webhookTest.js.map +1 -0
  276. package/bin/index.d.ts +11 -0
  277. package/bin/index.d.ts.map +1 -0
  278. package/bin/index.js +63 -0
  279. package/bin/index.js.map +1 -0
  280. package/bin/mcp/catalogVerify.d.ts +169 -0
  281. package/bin/mcp/catalogVerify.d.ts.map +1 -0
  282. package/bin/mcp/catalogVerify.js +96 -0
  283. package/bin/mcp/catalogVerify.js.map +1 -0
  284. package/bin/mcp/getInventoryReport.d.ts +31 -0
  285. package/bin/mcp/getInventoryReport.d.ts.map +1 -0
  286. package/bin/mcp/getInventoryReport.js +47 -0
  287. package/bin/mcp/getInventoryReport.js.map +1 -0
  288. package/bin/mcp/getVendor.d.ts +27 -0
  289. package/bin/mcp/getVendor.d.ts.map +1 -0
  290. package/bin/mcp/getVendor.js +45 -0
  291. package/bin/mcp/getVendor.js.map +1 -0
  292. package/bin/mcp/getVendors.d.ts +29 -0
  293. package/bin/mcp/getVendors.d.ts.map +1 -0
  294. package/bin/mcp/getVendors.js +47 -0
  295. package/bin/mcp/getVendors.js.map +1 -0
  296. package/bin/mcp/index.d.ts +16 -0
  297. package/bin/mcp/index.d.ts.map +1 -0
  298. package/bin/mcp/index.js +59 -0
  299. package/bin/mcp/index.js.map +1 -0
  300. package/bin/mcp/vendor.d.ts +145 -0
  301. package/bin/mcp/vendor.d.ts.map +1 -0
  302. package/bin/mcp/vendor.js +99 -0
  303. package/bin/mcp/vendor.js.map +1 -0
  304. package/bin/mdm/getProviders.d.ts +15 -0
  305. package/bin/mdm/getProviders.d.ts.map +1 -0
  306. package/bin/mdm/getProviders.js +41 -0
  307. package/bin/mdm/getProviders.js.map +1 -0
  308. package/bin/mdm/getSyncJob.d.ts +36 -0
  309. package/bin/mdm/getSyncJob.d.ts.map +1 -0
  310. package/bin/mdm/getSyncJob.js +45 -0
  311. package/bin/mdm/getSyncJob.js.map +1 -0
  312. package/bin/mdm/index.d.ts +13 -0
  313. package/bin/mdm/index.d.ts.map +1 -0
  314. package/bin/mdm/index.js +56 -0
  315. package/bin/mdm/index.js.map +1 -0
  316. package/bin/mdm/provider.d.ts +157 -0
  317. package/bin/mdm/provider.d.ts.map +1 -0
  318. package/bin/mdm/provider.js +101 -0
  319. package/bin/mdm/provider.js.map +1 -0
  320. package/bin/mdm/sync.d.ts +169 -0
  321. package/bin/mdm/sync.d.ts.map +1 -0
  322. package/bin/mdm/sync.js +101 -0
  323. package/bin/mdm/sync.js.map +1 -0
  324. package/bin/provider.d.ts +118 -0
  325. package/bin/provider.d.ts.map +1 -0
  326. package/bin/provider.js +89 -0
  327. package/bin/provider.js.map +1 -0
  328. package/bin/utilities.d.ts +5 -0
  329. package/bin/utilities.d.ts.map +1 -0
  330. package/bin/utilities.js +114 -0
  331. package/bin/utilities.js.map +1 -0
  332. package/browser/getEnrollments.ts +5 -5
  333. package/browser/getPolicies.ts +5 -5
  334. package/browser/policy.ts +9 -9
  335. package/config/vars.ts +1 -1
  336. package/fleet/endpoint.ts +395 -0
  337. package/fleet/fleet.ts +5 -5
  338. package/fleet/getFleets.ts +5 -5
  339. package/fleet/index.ts +8 -0
  340. package/governance/decisionFieldBackfill.ts +12 -12
  341. package/governance/getAgentLatestForensics.ts +50 -0
  342. package/governance/getIncidentForensics.ts +52 -0
  343. package/governance/getReportData.ts +67 -0
  344. package/governance/getSessionForensics.ts +50 -0
  345. package/governance/governanceSettings.ts +7 -7
  346. package/governance/index.ts +20 -0
  347. package/governance/packAssignmentBulk.ts +3 -3
  348. package/governance/pamSettings.ts +4 -4
  349. package/index.ts +2 -0
  350. package/mcp/catalogVerify.ts +225 -0
  351. package/mcp/getInventoryReport.ts +50 -0
  352. package/mcp/getVendor.ts +44 -0
  353. package/mcp/getVendors.ts +48 -0
  354. package/mcp/index.ts +48 -0
  355. package/mcp/vendor.ts +204 -0
  356. package/package.json +2 -2
  357. package/provider.ts +2 -2
  358. package/tsconfig.json +13 -0
  359. package/.gitattributes +0 -1
@@ -0,0 +1,225 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class PolicyBundle extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing PolicyBundle 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?: PolicyBundleState, opts?: pulumi.CustomResourceOptions): PolicyBundle;
13
+ /**
14
+ * Returns true if the given object is an instance of PolicyBundle. 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 PolicyBundle;
18
+ /**
19
+ * Assignment targets (for example: all, agent:security-analyst-agent, coding-agent). Defaults to all.
20
+ */
21
+ readonly assignments: pulumi.Output<string[] | undefined>;
22
+ /**
23
+ * Creation timestamp.
24
+ */
25
+ readonly createdAt: pulumi.Output<string>;
26
+ /**
27
+ * Creator identity.
28
+ */
29
+ readonly createdBy: pulumi.Output<string>;
30
+ /**
31
+ * Optional policy bundle description.
32
+ */
33
+ readonly description: pulumi.Output<string | undefined>;
34
+ /**
35
+ * Customer-facing policy mode: enforce or observe. Defaults to enforce.
36
+ */
37
+ readonly enforcementMode: pulumi.Output<string | undefined>;
38
+ /**
39
+ * Optional expected SHA-256 hash (hex or sha256:<hex>) to enforce policy integrity.
40
+ */
41
+ readonly expectedHash: pulumi.Output<string | undefined>;
42
+ /**
43
+ * Policy framework: OPA or CEDAR.
44
+ */
45
+ readonly framework: pulumi.Output<string>;
46
+ /**
47
+ * Stable bundle name. Updates create a new version for the same name.
48
+ */
49
+ readonly name: pulumi.Output<string>;
50
+ /**
51
+ * SHA-256 hash of policy content.
52
+ */
53
+ readonly policyHash: pulumi.Output<string>;
54
+ /**
55
+ * Raw Rego/Cedar policy payload. Set this or source_uri/s3_uri.
56
+ */
57
+ readonly rawPolicy: pulumi.Output<string | undefined>;
58
+ /**
59
+ * Resolved immutable source version (S3 version ID or file revision hint).
60
+ */
61
+ readonly resolvedVersion: pulumi.Output<string>;
62
+ /**
63
+ * Legacy S3 source URI (for example: s3://bucket/path/policy.rego). Set this or raw_policy. Prefer source_uri.
64
+ */
65
+ readonly s3Uri: pulumi.Output<string | undefined>;
66
+ /**
67
+ * Optional S3 object version ID to pin deterministic policy enforcement.
68
+ */
69
+ readonly s3VersionId: pulumi.Output<string | undefined>;
70
+ /**
71
+ * Unified policy source URI (file:// or s3://). Set this or raw_policy.
72
+ */
73
+ readonly sourceUri: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Bundle lifecycle status: active, staged, paused, or disabled (alias of paused).
76
+ */
77
+ readonly status: pulumi.Output<string | undefined>;
78
+ /**
79
+ * Tenant ID from provider configuration.
80
+ */
81
+ readonly tenantId: pulumi.Output<string>;
82
+ /**
83
+ * Last update timestamp.
84
+ */
85
+ readonly updatedAt: pulumi.Output<string>;
86
+ /**
87
+ * Monotonic policy bundle version.
88
+ */
89
+ readonly version: pulumi.Output<number>;
90
+ /**
91
+ * Create a PolicyBundle 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: PolicyBundleArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering PolicyBundle resources.
101
+ */
102
+ export interface PolicyBundleState {
103
+ /**
104
+ * Assignment targets (for example: all, agent:security-analyst-agent, coding-agent). Defaults to all.
105
+ */
106
+ assignments?: pulumi.Input<pulumi.Input<string>[] | undefined>;
107
+ /**
108
+ * Creation timestamp.
109
+ */
110
+ createdAt?: pulumi.Input<string | undefined>;
111
+ /**
112
+ * Creator identity.
113
+ */
114
+ createdBy?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Optional policy bundle description.
117
+ */
118
+ description?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Customer-facing policy mode: enforce or observe. Defaults to enforce.
121
+ */
122
+ enforcementMode?: pulumi.Input<string | undefined>;
123
+ /**
124
+ * Optional expected SHA-256 hash (hex or sha256:<hex>) to enforce policy integrity.
125
+ */
126
+ expectedHash?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * Policy framework: OPA or CEDAR.
129
+ */
130
+ framework?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Stable bundle name. Updates create a new version for the same name.
133
+ */
134
+ name?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * SHA-256 hash of policy content.
137
+ */
138
+ policyHash?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * Raw Rego/Cedar policy payload. Set this or source_uri/s3_uri.
141
+ */
142
+ rawPolicy?: pulumi.Input<string | undefined>;
143
+ /**
144
+ * Resolved immutable source version (S3 version ID or file revision hint).
145
+ */
146
+ resolvedVersion?: pulumi.Input<string | undefined>;
147
+ /**
148
+ * Legacy S3 source URI (for example: s3://bucket/path/policy.rego). Set this or raw_policy. Prefer source_uri.
149
+ */
150
+ s3Uri?: pulumi.Input<string | undefined>;
151
+ /**
152
+ * Optional S3 object version ID to pin deterministic policy enforcement.
153
+ */
154
+ s3VersionId?: pulumi.Input<string | undefined>;
155
+ /**
156
+ * Unified policy source URI (file:// or s3://). Set this or raw_policy.
157
+ */
158
+ sourceUri?: pulumi.Input<string | undefined>;
159
+ /**
160
+ * Bundle lifecycle status: active, staged, paused, or disabled (alias of paused).
161
+ */
162
+ status?: pulumi.Input<string | undefined>;
163
+ /**
164
+ * Tenant ID from provider configuration.
165
+ */
166
+ tenantId?: pulumi.Input<string | undefined>;
167
+ /**
168
+ * Last update timestamp.
169
+ */
170
+ updatedAt?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * Monotonic policy bundle version.
173
+ */
174
+ version?: pulumi.Input<number | undefined>;
175
+ }
176
+ /**
177
+ * The set of arguments for constructing a PolicyBundle resource.
178
+ */
179
+ export interface PolicyBundleArgs {
180
+ /**
181
+ * Assignment targets (for example: all, agent:security-analyst-agent, coding-agent). Defaults to all.
182
+ */
183
+ assignments?: pulumi.Input<pulumi.Input<string>[] | undefined>;
184
+ /**
185
+ * Optional policy bundle description.
186
+ */
187
+ description?: pulumi.Input<string | undefined>;
188
+ /**
189
+ * Customer-facing policy mode: enforce or observe. Defaults to enforce.
190
+ */
191
+ enforcementMode?: pulumi.Input<string | undefined>;
192
+ /**
193
+ * Optional expected SHA-256 hash (hex or sha256:<hex>) to enforce policy integrity.
194
+ */
195
+ expectedHash?: pulumi.Input<string | undefined>;
196
+ /**
197
+ * Policy framework: OPA or CEDAR.
198
+ */
199
+ framework: pulumi.Input<string>;
200
+ /**
201
+ * Stable bundle name. Updates create a new version for the same name.
202
+ */
203
+ name: pulumi.Input<string>;
204
+ /**
205
+ * Raw Rego/Cedar policy payload. Set this or source_uri/s3_uri.
206
+ */
207
+ rawPolicy?: pulumi.Input<string | undefined>;
208
+ /**
209
+ * Legacy S3 source URI (for example: s3://bucket/path/policy.rego). Set this or raw_policy. Prefer source_uri.
210
+ */
211
+ s3Uri?: pulumi.Input<string | undefined>;
212
+ /**
213
+ * Optional S3 object version ID to pin deterministic policy enforcement.
214
+ */
215
+ s3VersionId?: pulumi.Input<string | undefined>;
216
+ /**
217
+ * Unified policy source URI (file:// or s3://). Set this or raw_policy.
218
+ */
219
+ sourceUri?: pulumi.Input<string | undefined>;
220
+ /**
221
+ * Bundle lifecycle status: active, staged, paused, or disabled (alias of paused).
222
+ */
223
+ status?: pulumi.Input<string | undefined>;
224
+ }
225
+ //# sourceMappingURL=policyBundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyBundle.d.ts","sourceRoot":"","sources":["../../governance/policyBundle.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,114 @@
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.PolicyBundle = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ class PolicyBundle extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PolicyBundle 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 PolicyBundle(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'thoth:governance/policyBundle:PolicyBundle';
46
+ /**
47
+ * Returns true if the given object is an instance of PolicyBundle. 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'] === PolicyBundle.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["assignments"] = state?.assignments;
62
+ resourceInputs["createdAt"] = state?.createdAt;
63
+ resourceInputs["createdBy"] = state?.createdBy;
64
+ resourceInputs["description"] = state?.description;
65
+ resourceInputs["enforcementMode"] = state?.enforcementMode;
66
+ resourceInputs["expectedHash"] = state?.expectedHash;
67
+ resourceInputs["framework"] = state?.framework;
68
+ resourceInputs["name"] = state?.name;
69
+ resourceInputs["policyHash"] = state?.policyHash;
70
+ resourceInputs["rawPolicy"] = state?.rawPolicy;
71
+ resourceInputs["resolvedVersion"] = state?.resolvedVersion;
72
+ resourceInputs["s3Uri"] = state?.s3Uri;
73
+ resourceInputs["s3VersionId"] = state?.s3VersionId;
74
+ resourceInputs["sourceUri"] = state?.sourceUri;
75
+ resourceInputs["status"] = state?.status;
76
+ resourceInputs["tenantId"] = state?.tenantId;
77
+ resourceInputs["updatedAt"] = state?.updatedAt;
78
+ resourceInputs["version"] = state?.version;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if (args?.framework === undefined && !opts.urn) {
83
+ throw new Error("Missing required property 'framework'");
84
+ }
85
+ if (args?.name === undefined && !opts.urn) {
86
+ throw new Error("Missing required property 'name'");
87
+ }
88
+ resourceInputs["assignments"] = args?.assignments;
89
+ resourceInputs["description"] = args?.description;
90
+ resourceInputs["enforcementMode"] = args?.enforcementMode;
91
+ resourceInputs["expectedHash"] = args?.expectedHash;
92
+ resourceInputs["framework"] = args?.framework;
93
+ resourceInputs["name"] = args?.name;
94
+ resourceInputs["rawPolicy"] = args?.rawPolicy ? pulumi.secret(args.rawPolicy) : undefined;
95
+ resourceInputs["s3Uri"] = args?.s3Uri;
96
+ resourceInputs["s3VersionId"] = args?.s3VersionId;
97
+ resourceInputs["sourceUri"] = args?.sourceUri;
98
+ resourceInputs["status"] = args?.status;
99
+ resourceInputs["createdAt"] = undefined /*out*/;
100
+ resourceInputs["createdBy"] = undefined /*out*/;
101
+ resourceInputs["policyHash"] = undefined /*out*/;
102
+ resourceInputs["resolvedVersion"] = undefined /*out*/;
103
+ resourceInputs["tenantId"] = undefined /*out*/;
104
+ resourceInputs["updatedAt"] = undefined /*out*/;
105
+ resourceInputs["version"] = undefined /*out*/;
106
+ }
107
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
108
+ const secretOpts = { additionalSecretOutputs: ["rawPolicy"] };
109
+ opts = pulumi.mergeOptions(opts, secretOpts);
110
+ super(PolicyBundle.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.PolicyBundle = PolicyBundle;
114
+ //# sourceMappingURL=policyBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyBundle.js","sourceRoot":"","sources":["../../governance/policyBundle.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,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,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAnKL,oCAoKC"}
@@ -0,0 +1,173 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class PolicySync extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing PolicySync 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?: PolicySyncState, opts?: pulumi.CustomResourceOptions): PolicySync;
13
+ /**
14
+ * Returns true if the given object is an instance of PolicySync. 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 PolicySync;
18
+ /**
19
+ * Applied agent IDs as JSON array.
20
+ */
21
+ readonly appliedAgentsJson: pulumi.Output<string>;
22
+ /**
23
+ * Policies applied during sync.
24
+ */
25
+ readonly appliedCount: pulumi.Output<number>;
26
+ /**
27
+ * Whether sync applied changes.
28
+ */
29
+ readonly changed: pulumi.Output<boolean>;
30
+ /**
31
+ * Whether policy sync is configured.
32
+ */
33
+ readonly configured: pulumi.Output<boolean>;
34
+ /**
35
+ * Sync error count.
36
+ */
37
+ readonly errorCount: pulumi.Output<number>;
38
+ /**
39
+ * Sync errors as JSON array.
40
+ */
41
+ readonly errorsJson: pulumi.Output<string>;
42
+ /**
43
+ * Configured enforcer sync interval seconds.
44
+ */
45
+ readonly intervalSeconds: pulumi.Output<number>;
46
+ /**
47
+ * Polling interval when wait_for_completion=true.
48
+ */
49
+ readonly pollIntervalSeconds: pulumi.Output<number | undefined>;
50
+ /**
51
+ * Skipped policy entries count.
52
+ */
53
+ readonly skippedCount: pulumi.Output<number>;
54
+ /**
55
+ * Current policy sync status.
56
+ */
57
+ readonly status: pulumi.Output<string>;
58
+ /**
59
+ * Last sync timestamp.
60
+ */
61
+ readonly syncedAt: pulumi.Output<string>;
62
+ /**
63
+ * Tenant ID from provider configuration.
64
+ */
65
+ readonly tenantId: pulumi.Output<string>;
66
+ /**
67
+ * Polling timeout when wait_for_completion=true.
68
+ */
69
+ readonly timeoutSeconds: pulumi.Output<number | undefined>;
70
+ /**
71
+ * Change this value to force a sync run.
72
+ */
73
+ readonly trigger: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Poll status until terminal state.
76
+ */
77
+ readonly waitForCompletion: pulumi.Output<boolean | undefined>;
78
+ /**
79
+ * Create a PolicySync resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args?: PolicySyncArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering PolicySync resources.
89
+ */
90
+ export interface PolicySyncState {
91
+ /**
92
+ * Applied agent IDs as JSON array.
93
+ */
94
+ appliedAgentsJson?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Policies applied during sync.
97
+ */
98
+ appliedCount?: pulumi.Input<number | undefined>;
99
+ /**
100
+ * Whether sync applied changes.
101
+ */
102
+ changed?: pulumi.Input<boolean | undefined>;
103
+ /**
104
+ * Whether policy sync is configured.
105
+ */
106
+ configured?: pulumi.Input<boolean | undefined>;
107
+ /**
108
+ * Sync error count.
109
+ */
110
+ errorCount?: pulumi.Input<number | undefined>;
111
+ /**
112
+ * Sync errors as JSON array.
113
+ */
114
+ errorsJson?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Configured enforcer sync interval seconds.
117
+ */
118
+ intervalSeconds?: pulumi.Input<number | undefined>;
119
+ /**
120
+ * Polling interval when wait_for_completion=true.
121
+ */
122
+ pollIntervalSeconds?: pulumi.Input<number | undefined>;
123
+ /**
124
+ * Skipped policy entries count.
125
+ */
126
+ skippedCount?: pulumi.Input<number | undefined>;
127
+ /**
128
+ * Current policy sync status.
129
+ */
130
+ status?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Last sync timestamp.
133
+ */
134
+ syncedAt?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Tenant ID from provider configuration.
137
+ */
138
+ tenantId?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * Polling timeout when wait_for_completion=true.
141
+ */
142
+ timeoutSeconds?: pulumi.Input<number | undefined>;
143
+ /**
144
+ * Change this value to force a sync run.
145
+ */
146
+ trigger?: pulumi.Input<string | undefined>;
147
+ /**
148
+ * Poll status until terminal state.
149
+ */
150
+ waitForCompletion?: pulumi.Input<boolean | undefined>;
151
+ }
152
+ /**
153
+ * The set of arguments for constructing a PolicySync resource.
154
+ */
155
+ export interface PolicySyncArgs {
156
+ /**
157
+ * Polling interval when wait_for_completion=true.
158
+ */
159
+ pollIntervalSeconds?: pulumi.Input<number | undefined>;
160
+ /**
161
+ * Polling timeout when wait_for_completion=true.
162
+ */
163
+ timeoutSeconds?: pulumi.Input<number | undefined>;
164
+ /**
165
+ * Change this value to force a sync run.
166
+ */
167
+ trigger?: pulumi.Input<string | undefined>;
168
+ /**
169
+ * Poll status until terminal state.
170
+ */
171
+ waitForCompletion?: pulumi.Input<boolean | undefined>;
172
+ }
173
+ //# sourceMappingURL=policySync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policySync.d.ts","sourceRoot":"","sources":["../../governance/policySync.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;OAEG;IACH,SAAgC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzE;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAgC,OAAO,EAAE,MA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AAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
@@ -0,0 +1,100 @@
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.PolicySync = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ class PolicySync extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PolicySync 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 PolicySync(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'thoth:governance/policySync:PolicySync';
46
+ /**
47
+ * Returns true if the given object is an instance of PolicySync. 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'] === PolicySync.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["appliedAgentsJson"] = state?.appliedAgentsJson;
62
+ resourceInputs["appliedCount"] = state?.appliedCount;
63
+ resourceInputs["changed"] = state?.changed;
64
+ resourceInputs["configured"] = state?.configured;
65
+ resourceInputs["errorCount"] = state?.errorCount;
66
+ resourceInputs["errorsJson"] = state?.errorsJson;
67
+ resourceInputs["intervalSeconds"] = state?.intervalSeconds;
68
+ resourceInputs["pollIntervalSeconds"] = state?.pollIntervalSeconds;
69
+ resourceInputs["skippedCount"] = state?.skippedCount;
70
+ resourceInputs["status"] = state?.status;
71
+ resourceInputs["syncedAt"] = state?.syncedAt;
72
+ resourceInputs["tenantId"] = state?.tenantId;
73
+ resourceInputs["timeoutSeconds"] = state?.timeoutSeconds;
74
+ resourceInputs["trigger"] = state?.trigger;
75
+ resourceInputs["waitForCompletion"] = state?.waitForCompletion;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ resourceInputs["pollIntervalSeconds"] = args?.pollIntervalSeconds;
80
+ resourceInputs["timeoutSeconds"] = args?.timeoutSeconds;
81
+ resourceInputs["trigger"] = args?.trigger;
82
+ resourceInputs["waitForCompletion"] = args?.waitForCompletion;
83
+ resourceInputs["appliedAgentsJson"] = undefined /*out*/;
84
+ resourceInputs["appliedCount"] = undefined /*out*/;
85
+ resourceInputs["changed"] = undefined /*out*/;
86
+ resourceInputs["configured"] = undefined /*out*/;
87
+ resourceInputs["errorCount"] = undefined /*out*/;
88
+ resourceInputs["errorsJson"] = undefined /*out*/;
89
+ resourceInputs["intervalSeconds"] = undefined /*out*/;
90
+ resourceInputs["skippedCount"] = undefined /*out*/;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ resourceInputs["syncedAt"] = undefined /*out*/;
93
+ resourceInputs["tenantId"] = undefined /*out*/;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ super(PolicySync.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+ exports.PolicySync = PolicySync;
100
+ //# sourceMappingURL=policySync.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policySync.js","sourceRoot":"","sources":["../../governance/policySync.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,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