@cdot65/prisma-airs-cli 2.11.0 → 3.0.0

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 (388) hide show
  1. package/README.md +27 -169
  2. package/dist/chunk-JXHYQFEK.js +1752 -0
  3. package/dist/cli/index.js +6511 -4
  4. package/dist/dlp-5XKWITZX.js +710 -0
  5. package/dist/index.d.ts +1396 -26
  6. package/dist/index.js +40 -37
  7. package/package.json +22 -25
  8. package/dist/airs/dlp/data-filtering-profiles.d.ts +0 -10
  9. package/dist/airs/dlp/data-filtering-profiles.d.ts.map +0 -1
  10. package/dist/airs/dlp/data-filtering-profiles.js +0 -17
  11. package/dist/airs/dlp/data-filtering-profiles.js.map +0 -1
  12. package/dist/airs/dlp/data-patterns.d.ts +0 -13
  13. package/dist/airs/dlp/data-patterns.d.ts.map +0 -1
  14. package/dist/airs/dlp/data-patterns.js +0 -26
  15. package/dist/airs/dlp/data-patterns.js.map +0 -1
  16. package/dist/airs/dlp/data-profiles.d.ts +0 -12
  17. package/dist/airs/dlp/data-profiles.d.ts.map +0 -1
  18. package/dist/airs/dlp/data-profiles.js +0 -23
  19. package/dist/airs/dlp/data-profiles.js.map +0 -1
  20. package/dist/airs/dlp/dictionaries.d.ts +0 -13
  21. package/dist/airs/dlp/dictionaries.d.ts.map +0 -1
  22. package/dist/airs/dlp/dictionaries.js +0 -34
  23. package/dist/airs/dlp/dictionaries.js.map +0 -1
  24. package/dist/airs/dlp/index.d.ts +0 -6
  25. package/dist/airs/dlp/index.d.ts.map +0 -1
  26. package/dist/airs/dlp/index.js +0 -6
  27. package/dist/airs/dlp/index.js.map +0 -1
  28. package/dist/airs/dlp/types.d.ts +0 -36
  29. package/dist/airs/dlp/types.d.ts.map +0 -1
  30. package/dist/airs/dlp/types.js +0 -2
  31. package/dist/airs/dlp/types.js.map +0 -1
  32. package/dist/airs/management.d.ts +0 -68
  33. package/dist/airs/management.d.ts.map +0 -1
  34. package/dist/airs/management.js +0 -317
  35. package/dist/airs/management.js.map +0 -1
  36. package/dist/airs/modelsecurity.d.ts +0 -74
  37. package/dist/airs/modelsecurity.d.ts.map +0 -1
  38. package/dist/airs/modelsecurity.js +0 -337
  39. package/dist/airs/modelsecurity.js.map +0 -1
  40. package/dist/airs/promptsets.d.ts +0 -50
  41. package/dist/airs/promptsets.d.ts.map +0 -1
  42. package/dist/airs/promptsets.js +0 -120
  43. package/dist/airs/promptsets.js.map +0 -1
  44. package/dist/airs/redteam.d.ts +0 -74
  45. package/dist/airs/redteam.d.ts.map +0 -1
  46. package/dist/airs/redteam.js +0 -406
  47. package/dist/airs/redteam.js.map +0 -1
  48. package/dist/airs/runtime.d.ts +0 -27
  49. package/dist/airs/runtime.d.ts.map +0 -1
  50. package/dist/airs/runtime.js +0 -158
  51. package/dist/airs/runtime.js.map +0 -1
  52. package/dist/airs/scanner.d.ts +0 -36
  53. package/dist/airs/scanner.d.ts.map +0 -1
  54. package/dist/airs/scanner.js +0 -101
  55. package/dist/airs/scanner.js.map +0 -1
  56. package/dist/airs/types.d.ts +0 -780
  57. package/dist/airs/types.d.ts.map +0 -1
  58. package/dist/airs/types.js +0 -6
  59. package/dist/airs/types.js.map +0 -1
  60. package/dist/audit/evaluator.d.ts +0 -17
  61. package/dist/audit/evaluator.d.ts.map +0 -1
  62. package/dist/audit/evaluator.js +0 -82
  63. package/dist/audit/evaluator.js.map +0 -1
  64. package/dist/audit/report.d.ts +0 -38
  65. package/dist/audit/report.d.ts.map +0 -1
  66. package/dist/audit/report.js +0 -141
  67. package/dist/audit/report.js.map +0 -1
  68. package/dist/audit/runner.d.ts +0 -18
  69. package/dist/audit/runner.d.ts.map +0 -1
  70. package/dist/audit/runner.js +0 -60
  71. package/dist/audit/runner.js.map +0 -1
  72. package/dist/audit/types.d.ts +0 -53
  73. package/dist/audit/types.d.ts.map +0 -1
  74. package/dist/audit/types.js +0 -5
  75. package/dist/audit/types.js.map +0 -1
  76. package/dist/backup/index.d.ts +0 -3
  77. package/dist/backup/index.d.ts.map +0 -1
  78. package/dist/backup/index.js +0 -3
  79. package/dist/backup/index.js.map +0 -1
  80. package/dist/backup/io.d.ts +0 -15
  81. package/dist/backup/io.d.ts.map +0 -1
  82. package/dist/backup/io.js +0 -67
  83. package/dist/backup/io.js.map +0 -1
  84. package/dist/backup/types.d.ts +0 -25
  85. package/dist/backup/types.d.ts.map +0 -1
  86. package/dist/backup/types.js +0 -2
  87. package/dist/backup/types.js.map +0 -1
  88. package/dist/cli/builders/profile-builder.d.ts +0 -45
  89. package/dist/cli/builders/profile-builder.d.ts.map +0 -1
  90. package/dist/cli/builders/profile-builder.js +0 -308
  91. package/dist/cli/builders/profile-builder.js.map +0 -1
  92. package/dist/cli/bulk-scan-state.d.ts +0 -15
  93. package/dist/cli/bulk-scan-state.d.ts.map +0 -1
  94. package/dist/cli/bulk-scan-state.js +0 -20
  95. package/dist/cli/bulk-scan-state.js.map +0 -1
  96. package/dist/cli/commands/audit.d.ts +0 -4
  97. package/dist/cli/commands/audit.d.ts.map +0 -1
  98. package/dist/cli/commands/audit.js +0 -113
  99. package/dist/cli/commands/audit.js.map +0 -1
  100. package/dist/cli/commands/backup.d.ts +0 -10
  101. package/dist/cli/commands/backup.d.ts.map +0 -1
  102. package/dist/cli/commands/backup.js +0 -102
  103. package/dist/cli/commands/backup.js.map +0 -1
  104. package/dist/cli/commands/dlp/build-body.d.ts +0 -28
  105. package/dist/cli/commands/dlp/build-body.d.ts.map +0 -1
  106. package/dist/cli/commands/dlp/build-body.js +0 -174
  107. package/dist/cli/commands/dlp/build-body.js.map +0 -1
  108. package/dist/cli/commands/dlp/dictionaries.d.ts +0 -3
  109. package/dist/cli/commands/dlp/dictionaries.d.ts.map +0 -1
  110. package/dist/cli/commands/dlp/dictionaries.js +0 -167
  111. package/dist/cli/commands/dlp/dictionaries.js.map +0 -1
  112. package/dist/cli/commands/dlp/filtering-profiles.d.ts +0 -3
  113. package/dist/cli/commands/dlp/filtering-profiles.d.ts.map +0 -1
  114. package/dist/cli/commands/dlp/filtering-profiles.js +0 -82
  115. package/dist/cli/commands/dlp/filtering-profiles.js.map +0 -1
  116. package/dist/cli/commands/dlp/generate.d.ts +0 -3
  117. package/dist/cli/commands/dlp/generate.d.ts.map +0 -1
  118. package/dist/cli/commands/dlp/generate.js +0 -51
  119. package/dist/cli/commands/dlp/generate.js.map +0 -1
  120. package/dist/cli/commands/dlp/index.d.ts +0 -3
  121. package/dist/cli/commands/dlp/index.d.ts.map +0 -1
  122. package/dist/cli/commands/dlp/index.js +0 -16
  123. package/dist/cli/commands/dlp/index.js.map +0 -1
  124. package/dist/cli/commands/dlp/patch.d.ts +0 -15
  125. package/dist/cli/commands/dlp/patch.d.ts.map +0 -1
  126. package/dist/cli/commands/dlp/patch.js +0 -70
  127. package/dist/cli/commands/dlp/patch.js.map +0 -1
  128. package/dist/cli/commands/dlp/patterns.d.ts +0 -3
  129. package/dist/cli/commands/dlp/patterns.d.ts.map +0 -1
  130. package/dist/cli/commands/dlp/patterns.js +0 -127
  131. package/dist/cli/commands/dlp/patterns.js.map +0 -1
  132. package/dist/cli/commands/dlp/profiles.d.ts +0 -3
  133. package/dist/cli/commands/dlp/profiles.d.ts.map +0 -1
  134. package/dist/cli/commands/dlp/profiles.js +0 -126
  135. package/dist/cli/commands/dlp/profiles.js.map +0 -1
  136. package/dist/cli/commands/modelsecurity.d.ts +0 -4
  137. package/dist/cli/commands/modelsecurity.d.ts.map +0 -1
  138. package/dist/cli/commands/modelsecurity.js +0 -605
  139. package/dist/cli/commands/modelsecurity.js.map +0 -1
  140. package/dist/cli/commands/profiles-cleanup.d.ts +0 -26
  141. package/dist/cli/commands/profiles-cleanup.d.ts.map +0 -1
  142. package/dist/cli/commands/profiles-cleanup.js +0 -113
  143. package/dist/cli/commands/profiles-cleanup.js.map +0 -1
  144. package/dist/cli/commands/redteam.d.ts +0 -12
  145. package/dist/cli/commands/redteam.d.ts.map +0 -1
  146. package/dist/cli/commands/redteam.js +0 -1071
  147. package/dist/cli/commands/redteam.js.map +0 -1
  148. package/dist/cli/commands/restore.d.ts +0 -11
  149. package/dist/cli/commands/restore.d.ts.map +0 -1
  150. package/dist/cli/commands/restore.js +0 -109
  151. package/dist/cli/commands/restore.js.map +0 -1
  152. package/dist/cli/commands/runtime.d.ts +0 -6
  153. package/dist/cli/commands/runtime.d.ts.map +0 -1
  154. package/dist/cli/commands/runtime.js +0 -822
  155. package/dist/cli/commands/runtime.js.map +0 -1
  156. package/dist/cli/commands/topics-apply.d.ts +0 -16
  157. package/dist/cli/commands/topics-apply.d.ts.map +0 -1
  158. package/dist/cli/commands/topics-apply.js +0 -69
  159. package/dist/cli/commands/topics-apply.js.map +0 -1
  160. package/dist/cli/commands/topics-create.d.ts +0 -16
  161. package/dist/cli/commands/topics-create.d.ts.map +0 -1
  162. package/dist/cli/commands/topics-create.js +0 -71
  163. package/dist/cli/commands/topics-create.js.map +0 -1
  164. package/dist/cli/commands/topics-eval.d.ts +0 -7
  165. package/dist/cli/commands/topics-eval.d.ts.map +0 -1
  166. package/dist/cli/commands/topics-eval.js +0 -65
  167. package/dist/cli/commands/topics-eval.js.map +0 -1
  168. package/dist/cli/commands/topics-revert.d.ts +0 -9
  169. package/dist/cli/commands/topics-revert.d.ts.map +0 -1
  170. package/dist/cli/commands/topics-revert.js +0 -52
  171. package/dist/cli/commands/topics-revert.js.map +0 -1
  172. package/dist/cli/commands/topics-sample.d.ts +0 -4
  173. package/dist/cli/commands/topics-sample.d.ts.map +0 -1
  174. package/dist/cli/commands/topics-sample.js +0 -27
  175. package/dist/cli/commands/topics-sample.js.map +0 -1
  176. package/dist/cli/debug-logger.d.ts +0 -11
  177. package/dist/cli/debug-logger.d.ts.map +0 -1
  178. package/dist/cli/debug-logger.js +0 -137
  179. package/dist/cli/debug-logger.js.map +0 -1
  180. package/dist/cli/index.d.ts +0 -3
  181. package/dist/cli/index.d.ts.map +0 -1
  182. package/dist/cli/index.js.map +0 -1
  183. package/dist/cli/parse-input.d.ts +0 -9
  184. package/dist/cli/parse-input.d.ts.map +0 -1
  185. package/dist/cli/parse-input.js +0 -109
  186. package/dist/cli/parse-input.js.map +0 -1
  187. package/dist/cli/program.d.ts +0 -3
  188. package/dist/cli/program.d.ts.map +0 -1
  189. package/dist/cli/program.js +0 -32
  190. package/dist/cli/program.js.map +0 -1
  191. package/dist/cli/renderer/audit.d.ts +0 -11
  192. package/dist/cli/renderer/audit.d.ts.map +0 -1
  193. package/dist/cli/renderer/audit.js +0 -58
  194. package/dist/cli/renderer/audit.js.map +0 -1
  195. package/dist/cli/renderer/backup.d.ts +0 -8
  196. package/dist/cli/renderer/backup.d.ts.map +0 -1
  197. package/dist/cli/renderer/backup.js +0 -50
  198. package/dist/cli/renderer/backup.js.map +0 -1
  199. package/dist/cli/renderer/common.d.ts +0 -14
  200. package/dist/cli/renderer/common.d.ts.map +0 -1
  201. package/dist/cli/renderer/common.js +0 -50
  202. package/dist/cli/renderer/common.js.map +0 -1
  203. package/dist/cli/renderer/dlp.d.ts +0 -34
  204. package/dist/cli/renderer/dlp.d.ts.map +0 -1
  205. package/dist/cli/renderer/dlp.js +0 -348
  206. package/dist/cli/renderer/dlp.js.map +0 -1
  207. package/dist/cli/renderer/eval.d.ts +0 -30
  208. package/dist/cli/renderer/eval.d.ts.map +0 -1
  209. package/dist/cli/renderer/eval.js +0 -61
  210. package/dist/cli/renderer/eval.js.map +0 -1
  211. package/dist/cli/renderer/index.d.ts +0 -9
  212. package/dist/cli/renderer/index.d.ts.map +0 -1
  213. package/dist/cli/renderer/index.js +0 -9
  214. package/dist/cli/renderer/index.js.map +0 -1
  215. package/dist/cli/renderer/modelsecurity.d.ts +0 -35
  216. package/dist/cli/renderer/modelsecurity.d.ts.map +0 -1
  217. package/dist/cli/renderer/modelsecurity.js +0 -339
  218. package/dist/cli/renderer/modelsecurity.js.map +0 -1
  219. package/dist/cli/renderer/redteam.d.ts +0 -216
  220. package/dist/cli/renderer/redteam.d.ts.map +0 -1
  221. package/dist/cli/renderer/redteam.js +0 -471
  222. package/dist/cli/renderer/redteam.js.map +0 -1
  223. package/dist/cli/renderer/runtime.d.ts +0 -107
  224. package/dist/cli/renderer/runtime.d.ts.map +0 -1
  225. package/dist/cli/renderer/runtime.js +0 -359
  226. package/dist/cli/renderer/runtime.js.map +0 -1
  227. package/dist/config/loader.d.ts +0 -3
  228. package/dist/config/loader.d.ts.map +0 -1
  229. package/dist/config/loader.js +0 -59
  230. package/dist/config/loader.js.map +0 -1
  231. package/dist/config/schema.d.ts +0 -63
  232. package/dist/config/schema.d.ts.map +0 -1
  233. package/dist/config/schema.js +0 -38
  234. package/dist/config/schema.js.map +0 -1
  235. package/dist/core/constraints.d.ts +0 -19
  236. package/dist/core/constraints.d.ts.map +0 -1
  237. package/dist/core/constraints.js +0 -82
  238. package/dist/core/constraints.js.map +0 -1
  239. package/dist/core/metrics.d.ts +0 -13
  240. package/dist/core/metrics.d.ts.map +0 -1
  241. package/dist/core/metrics.js +0 -73
  242. package/dist/core/metrics.js.map +0 -1
  243. package/dist/core/prompt-loader.d.ts +0 -14
  244. package/dist/core/prompt-loader.d.ts.map +0 -1
  245. package/dist/core/prompt-loader.js +0 -122
  246. package/dist/core/prompt-loader.js.map +0 -1
  247. package/dist/core/types.d.ts +0 -96
  248. package/dist/core/types.d.ts.map +0 -1
  249. package/dist/core/types.js +0 -5
  250. package/dist/core/types.js.map +0 -1
  251. package/dist/dlp/embed/docx.d.ts +0 -3
  252. package/dist/dlp/embed/docx.d.ts.map +0 -1
  253. package/dist/dlp/embed/docx.js +0 -54
  254. package/dist/dlp/embed/docx.js.map +0 -1
  255. package/dist/dlp/embed/index.d.ts +0 -6
  256. package/dist/dlp/embed/index.d.ts.map +0 -1
  257. package/dist/dlp/embed/index.js +0 -20
  258. package/dist/dlp/embed/index.js.map +0 -1
  259. package/dist/dlp/embed/jpeg.d.ts +0 -5
  260. package/dist/dlp/embed/jpeg.d.ts.map +0 -1
  261. package/dist/dlp/embed/jpeg.js +0 -60
  262. package/dist/dlp/embed/jpeg.js.map +0 -1
  263. package/dist/dlp/embed/pdf.d.ts +0 -7
  264. package/dist/dlp/embed/pdf.d.ts.map +0 -1
  265. package/dist/dlp/embed/pdf.js +0 -92
  266. package/dist/dlp/embed/pdf.js.map +0 -1
  267. package/dist/dlp/embed/png-chunks.d.ts +0 -12
  268. package/dist/dlp/embed/png-chunks.d.ts.map +0 -1
  269. package/dist/dlp/embed/png-chunks.js +0 -85
  270. package/dist/dlp/embed/png-chunks.js.map +0 -1
  271. package/dist/dlp/embed/png.d.ts +0 -5
  272. package/dist/dlp/embed/png.d.ts.map +0 -1
  273. package/dist/dlp/embed/png.js +0 -68
  274. package/dist/dlp/embed/png.js.map +0 -1
  275. package/dist/dlp/embed/svg.d.ts +0 -3
  276. package/dist/dlp/embed/svg.d.ts.map +0 -1
  277. package/dist/dlp/embed/svg.js +0 -28
  278. package/dist/dlp/embed/svg.js.map +0 -1
  279. package/dist/dlp/embed/zip.d.ts +0 -3
  280. package/dist/dlp/embed/zip.d.ts.map +0 -1
  281. package/dist/dlp/embed/zip.js +0 -25
  282. package/dist/dlp/embed/zip.js.map +0 -1
  283. package/dist/dlp/generate/docx.d.ts +0 -3
  284. package/dist/dlp/generate/docx.d.ts.map +0 -1
  285. package/dist/dlp/generate/docx.js +0 -24
  286. package/dist/dlp/generate/docx.js.map +0 -1
  287. package/dist/dlp/generate/index.d.ts +0 -5
  288. package/dist/dlp/generate/index.d.ts.map +0 -1
  289. package/dist/dlp/generate/index.js +0 -21
  290. package/dist/dlp/generate/index.js.map +0 -1
  291. package/dist/dlp/generate/jpeg.d.ts +0 -3
  292. package/dist/dlp/generate/jpeg.d.ts.map +0 -1
  293. package/dist/dlp/generate/jpeg.js +0 -8
  294. package/dist/dlp/generate/jpeg.js.map +0 -1
  295. package/dist/dlp/generate/pdf.d.ts +0 -3
  296. package/dist/dlp/generate/pdf.d.ts.map +0 -1
  297. package/dist/dlp/generate/pdf.js +0 -19
  298. package/dist/dlp/generate/pdf.js.map +0 -1
  299. package/dist/dlp/generate/png.d.ts +0 -3
  300. package/dist/dlp/generate/png.d.ts.map +0 -1
  301. package/dist/dlp/generate/png.js +0 -8
  302. package/dist/dlp/generate/png.js.map +0 -1
  303. package/dist/dlp/generate/raster.d.ts +0 -9
  304. package/dist/dlp/generate/raster.d.ts.map +0 -1
  305. package/dist/dlp/generate/raster.js +0 -20
  306. package/dist/dlp/generate/raster.js.map +0 -1
  307. package/dist/dlp/generate/svg.d.ts +0 -3
  308. package/dist/dlp/generate/svg.d.ts.map +0 -1
  309. package/dist/dlp/generate/svg.js +0 -17
  310. package/dist/dlp/generate/svg.js.map +0 -1
  311. package/dist/dlp/index.d.ts +0 -15
  312. package/dist/dlp/index.d.ts.map +0 -1
  313. package/dist/dlp/index.js +0 -54
  314. package/dist/dlp/index.js.map +0 -1
  315. package/dist/dlp/lorem.d.ts +0 -3
  316. package/dist/dlp/lorem.d.ts.map +0 -1
  317. package/dist/dlp/lorem.js +0 -65
  318. package/dist/dlp/lorem.js.map +0 -1
  319. package/dist/dlp/manifest.d.ts +0 -11
  320. package/dist/dlp/manifest.d.ts.map +0 -1
  321. package/dist/dlp/manifest.js +0 -14
  322. package/dist/dlp/manifest.js.map +0 -1
  323. package/dist/dlp/payload.d.ts +0 -6
  324. package/dist/dlp/payload.d.ts.map +0 -1
  325. package/dist/dlp/payload.js +0 -62
  326. package/dist/dlp/payload.js.map +0 -1
  327. package/dist/dlp/rng.d.ts +0 -9
  328. package/dist/dlp/rng.d.ts.map +0 -1
  329. package/dist/dlp/rng.js +0 -28
  330. package/dist/dlp/rng.js.map +0 -1
  331. package/dist/dlp/types.d.ts +0 -26
  332. package/dist/dlp/types.d.ts.map +0 -1
  333. package/dist/dlp/types.js +0 -2
  334. package/dist/dlp/types.js.map +0 -1
  335. package/dist/index.d.ts.map +0 -1
  336. package/dist/index.js.map +0 -1
  337. package/dist/llm/prompts/analyze-results.d.ts +0 -3
  338. package/dist/llm/prompts/analyze-results.d.ts.map +0 -1
  339. package/dist/llm/prompts/analyze-results.js +0 -52
  340. package/dist/llm/prompts/analyze-results.js.map +0 -1
  341. package/dist/llm/prompts/generate-companion.d.ts +0 -3
  342. package/dist/llm/prompts/generate-companion.d.ts.map +0 -1
  343. package/dist/llm/prompts/generate-companion.js +0 -42
  344. package/dist/llm/prompts/generate-companion.js.map +0 -1
  345. package/dist/llm/prompts/generate-tests.d.ts +0 -3
  346. package/dist/llm/prompts/generate-tests.d.ts.map +0 -1
  347. package/dist/llm/prompts/generate-tests.js +0 -46
  348. package/dist/llm/prompts/generate-tests.js.map +0 -1
  349. package/dist/llm/prompts/generate-topic.d.ts +0 -4
  350. package/dist/llm/prompts/generate-topic.d.ts.map +0 -1
  351. package/dist/llm/prompts/generate-topic.js +0 -41
  352. package/dist/llm/prompts/generate-topic.js.map +0 -1
  353. package/dist/llm/prompts/improve-topic.d.ts +0 -3
  354. package/dist/llm/prompts/improve-topic.d.ts.map +0 -1
  355. package/dist/llm/prompts/improve-topic.js +0 -77
  356. package/dist/llm/prompts/improve-topic.js.map +0 -1
  357. package/dist/llm/prompts/simplify-topic.d.ts +0 -3
  358. package/dist/llm/prompts/simplify-topic.d.ts.map +0 -1
  359. package/dist/llm/prompts/simplify-topic.js +0 -50
  360. package/dist/llm/prompts/simplify-topic.js.map +0 -1
  361. package/dist/llm/provider.d.ts +0 -21
  362. package/dist/llm/provider.d.ts.map +0 -1
  363. package/dist/llm/provider.js +0 -76
  364. package/dist/llm/provider.js.map +0 -1
  365. package/dist/llm/schemas.d.ts +0 -97
  366. package/dist/llm/schemas.d.ts.map +0 -1
  367. package/dist/llm/schemas.js +0 -24
  368. package/dist/llm/schemas.js.map +0 -1
  369. package/dist/llm/service.d.ts +0 -34
  370. package/dist/llm/service.d.ts.map +0 -1
  371. package/dist/llm/service.js +0 -268
  372. package/dist/llm/service.js.map +0 -1
  373. package/dist/llm/types.d.ts +0 -18
  374. package/dist/llm/types.d.ts.map +0 -1
  375. package/dist/llm/types.js +0 -2
  376. package/dist/llm/types.js.map +0 -1
  377. package/dist/report/html.d.ts +0 -6
  378. package/dist/report/html.d.ts.map +0 -1
  379. package/dist/report/html.js +0 -200
  380. package/dist/report/html.js.map +0 -1
  381. package/dist/report/json.d.ts +0 -11
  382. package/dist/report/json.d.ts.map +0 -1
  383. package/dist/report/json.js +0 -74
  384. package/dist/report/json.js.map +0 -1
  385. package/dist/report/types.d.ts +0 -58
  386. package/dist/report/types.d.ts.map +0 -1
  387. package/dist/report/types.js +0 -5
  388. package/dist/report/types.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,37 +1,40 @@
1
- /**
2
- * Prisma AIRS CLI — Public library API
3
- *
4
- * Automated generation, testing, and iterative refinement of
5
- * Palo Alto Prisma AIRS custom topic guardrails.
6
- */
7
- // ---------------------------------------------------------------------------
8
- // AIRS integration — scan prompts and manage topics/profiles via SDK
9
- // ---------------------------------------------------------------------------
10
- export { SdkManagementService } from './airs/management.js';
11
- export { SdkModelSecurityService } from './airs/modelsecurity.js';
12
- export { SdkPromptSetService } from './airs/promptsets.js';
13
- export { SdkRedTeamService } from './airs/redteam.js';
14
- export { SdkRuntimeService } from './airs/runtime.js';
15
- export { AirsScanService } from './airs/scanner.js';
16
- // ---------------------------------------------------------------------------
17
- // Audit — profile-level multi-topic evaluation and conflict detection
18
- // ---------------------------------------------------------------------------
19
- export { computeCompositeMetrics, computeTopicAuditResults, detectConflicts, } from './audit/evaluator.js';
20
- export { buildAuditReportHtml, buildAuditReportJson } from './audit/report.js';
21
- export { runAudit } from './audit/runner.js';
22
- // ---------------------------------------------------------------------------
23
- // Backup — export/import AIRS configuration to/from local files
24
- // ---------------------------------------------------------------------------
25
- export { readBackupDir, readBackupFile, resolveOutputDir, sanitizeFilename, writeBackupFile, } from './backup/io.js';
26
- // ---------------------------------------------------------------------------
27
- // Config — cascading config loader (CLI > env > file > Zod defaults)
28
- // ---------------------------------------------------------------------------
29
- export { loadConfig } from './config/loader.js';
30
- export { validateDescription, validateExamples, validateName, validateTopic, } from './core/constraints.js';
31
- export { computeCategoryBreakdown, computeMetrics } from './core/metrics.js';
32
- // ---------------------------------------------------------------------------
33
- // Reports — structured evaluation report generation (JSON/HTML)
34
- // ---------------------------------------------------------------------------
35
- export { buildReportHtml } from './report/html.js';
36
- export { buildReportJson } from './report/json.js';
37
- //# sourceMappingURL=index.js.map
1
+ import {
2
+ AirsScanService,
3
+ SdkManagementService,
4
+ SdkModelSecurityService,
5
+ SdkPromptSetService,
6
+ SdkRedTeamService,
7
+ SdkRuntimeService,
8
+ computeCategoryBreakdown,
9
+ computeMetrics,
10
+ loadConfig,
11
+ readBackupDir,
12
+ readBackupFile,
13
+ resolveOutputDir,
14
+ sanitizeFilename,
15
+ validateDescription,
16
+ validateExamples,
17
+ validateName,
18
+ validateTopic,
19
+ writeBackupFile
20
+ } from "./chunk-JXHYQFEK.js";
21
+ export {
22
+ AirsScanService,
23
+ SdkManagementService,
24
+ SdkModelSecurityService,
25
+ SdkPromptSetService,
26
+ SdkRedTeamService,
27
+ SdkRuntimeService,
28
+ computeCategoryBreakdown,
29
+ computeMetrics,
30
+ loadConfig,
31
+ readBackupDir,
32
+ readBackupFile,
33
+ resolveOutputDir,
34
+ sanitizeFilename,
35
+ validateDescription,
36
+ validateExamples,
37
+ validateName,
38
+ validateTopic,
39
+ writeBackupFile
40
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cdot65/prisma-airs-cli",
3
3
  "packageManager": "pnpm@10.6.5",
4
- "version": "2.11.0",
4
+ "version": "3.0.0",
5
5
  "description": "CLI and library for Palo Alto Prisma AIRS — guardrail refinement, AI red teaming, model security scanning, profile audits",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -13,27 +13,27 @@
13
13
  "airs": "dist/cli/index.js"
14
14
  },
15
15
  "scripts": {
16
- "build": "tsc",
16
+ "build": "tsup",
17
17
  "prepublishOnly": "pnpm run build",
18
18
  "dev": "tsx src/cli/index.ts",
19
19
  "test": "vitest run",
20
20
  "test:watch": "vitest",
21
21
  "test:coverage": "vitest run --coverage",
22
22
  "test:e2e": "vitest run --config vitest.e2e.config.ts",
23
- "lint": "biome check .",
24
- "lint:fix": "biome check --write .",
25
- "format": "biome format --write .",
26
- "format:check": "biome format .",
27
- "docker:build": "docker build -t prisma-airs-cli:local .",
28
- "docker:build:amd64": "docker buildx build --platform linux/amd64 --load -t prisma-airs-cli:local-amd64 .",
29
- "docker:build:arm64": "docker buildx build --platform linux/arm64 --load -t prisma-airs-cli:local-arm64 .",
23
+ "lint": "biome check --config-path config .",
24
+ "lint:fix": "biome check --write --config-path config .",
25
+ "format": "biome format --write --config-path config .",
26
+ "format:check": "biome format --config-path config .",
27
+ "docker:build": "docker build -f docker/Dockerfile -t prisma-airs-cli:local .",
28
+ "docker:build:amd64": "docker buildx build -f docker/Dockerfile --platform linux/amd64 --load -t prisma-airs-cli:local-amd64 .",
29
+ "docker:build:arm64": "docker buildx build -f docker/Dockerfile --platform linux/arm64 --load -t prisma-airs-cli:local-arm64 .",
30
30
  "docker:run": "docker run --rm -v ~/.prisma-airs:/root/.prisma-airs prisma-airs-cli:local",
31
- "docker:push:arm64": "./scripts/docker-push-arm64.sh",
32
- "docs:gen": "tsx scripts/gen-cli-docs.ts",
31
+ "docker:push:arm64": "./docker/docker-push-arm64.sh",
33
32
  "docs:api": "typedoc",
34
- "docs:build": "pnpm docs:gen && pnpm docs:api && mkdocs build --strict",
35
- "docs:serve": "pnpm docs:gen && pnpm docs:api && mkdocs serve",
36
- "docs:check": "tsx scripts/check-cli-docs.ts"
33
+ "docs:install": "pnpm -C docs-site install",
34
+ "docs:build": "pnpm docs:api && pnpm -C docs-site build",
35
+ "docs:serve": "pnpm docs:api && pnpm -C docs-site start",
36
+ "build:tsc": "tsc"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=20.0.0"
@@ -44,24 +44,14 @@
44
44
  },
45
45
  "license": "MIT",
46
46
  "dependencies": {
47
- "@anthropic-ai/vertex-sdk": "^0.14.4",
48
- "@cdot65/prisma-airs-sdk": "^0.10.0",
47
+ "@cdot65/prisma-airs-sdk": "^0.12.0",
49
48
  "@inquirer/prompts": "^8.3.0",
50
- "@langchain/anthropic": "^1.3.25",
51
- "@langchain/aws": "^1.3.3",
52
- "@langchain/core": "^1.1.34",
53
- "@langchain/google-genai": "^2.1.26",
54
- "@langchain/google-vertexai": "^2.1.26",
55
49
  "chalk": "^5.6.2",
56
50
  "commander": "^14.0.3",
57
- "docx": "^9.6.1",
58
51
  "dotenv": "^17.3.1",
59
52
  "js-yaml": "^4.1.1",
60
53
  "nanoid": "^5.0.0",
61
54
  "p-limit": "^6.0.0",
62
- "pdf-lib": "^1.17.1",
63
- "piexifjs": "^1.0.6",
64
- "sharp": "^0.34.5",
65
55
  "zod": "^3.24.0"
66
56
  },
67
57
  "devDependencies": {
@@ -70,10 +60,17 @@
70
60
  "@types/js-yaml": "^4.0.9",
71
61
  "@types/node": "^22.0.0",
72
62
  "@vitest/coverage-v8": "^3.0.0",
63
+ "tsup": "^8.5.1",
73
64
  "tsx": "^4.0.0",
74
65
  "typedoc": "^0.28.19",
75
66
  "typedoc-plugin-markdown": "^4.11.0",
76
67
  "typescript": "^5.7.0",
77
68
  "vitest": "^3.0.0"
69
+ },
70
+ "optionalDependencies": {
71
+ "docx": "^9.6.1",
72
+ "pdf-lib": "^1.17.1",
73
+ "piexifjs": "^1.0.6",
74
+ "sharp": "^0.34.5"
78
75
  }
79
76
  }
@@ -1,10 +0,0 @@
1
- import type { DataFilteringProfileListParams, DataFilteringProfileRequest, DataFilteringProfileResponse, ManagementClientOptions, PageDataFilteringProfileResponse } from '@cdot65/prisma-airs-sdk';
2
- import type { DataFilteringProfilesService } from './types.js';
3
- export declare class SdkDataFilteringProfilesService implements DataFilteringProfilesService {
4
- private readonly client;
5
- constructor(opts?: ManagementClientOptions);
6
- list(params?: DataFilteringProfileListParams): Promise<PageDataFilteringProfileResponse>;
7
- get(id: string): Promise<DataFilteringProfileResponse>;
8
- replace(id: string, body: DataFilteringProfileRequest): Promise<DataFilteringProfileResponse>;
9
- }
10
- //# sourceMappingURL=data-filtering-profiles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-filtering-profiles.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/data-filtering-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAE/D,qBAAa,+BAAgC,YAAW,4BAA4B;IAClF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAEZ,IAAI,CAAC,EAAE,uBAAuB;IAIpC,IAAI,CAAC,MAAM,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,gCAAgC,CAAC;IAIxF,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAItD,OAAO,CACX,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,GAChC,OAAO,CAAC,4BAA4B,CAAC;CAGzC"}
@@ -1,17 +0,0 @@
1
- import { getOrCreateManagementClient } from '../management.js';
2
- export class SdkDataFilteringProfilesService {
3
- client;
4
- constructor(opts) {
5
- this.client = getOrCreateManagementClient(opts).dlp.dataFilteringProfiles;
6
- }
7
- async list(params) {
8
- return this.client.list(params);
9
- }
10
- async get(id) {
11
- return this.client.get(id);
12
- }
13
- async replace(id, body) {
14
- return this.client.replace(id, body);
15
- }
16
- }
17
- //# sourceMappingURL=data-filtering-profiles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-filtering-profiles.js","sourceRoot":"","sources":["../../../src/airs/dlp/data-filtering-profiles.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAG/D,MAAM,OAAO,+BAA+B;IACzB,MAAM,CAAC;IAExB,YAAY,IAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC;IAC5E,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAAuC;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,EAAU;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC;IAED,KAAK,CAAC,OAAO,CACX,EAAU,EACV,IAAiC;QAEjC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACvC,CAAC;CACF"}
@@ -1,13 +0,0 @@
1
- import type { DataPatternListParams, DataPatternPatchRequest, DataPatternRequest, DataPatternResponse, ManagementClientOptions, PageDataPatternResponse } from '@cdot65/prisma-airs-sdk';
2
- import type { DataPatternsService } from './types.js';
3
- export declare class SdkDataPatternsService implements DataPatternsService {
4
- private readonly client;
5
- constructor(opts?: ManagementClientOptions);
6
- list(params?: DataPatternListParams): Promise<PageDataPatternResponse>;
7
- create(body: DataPatternRequest): Promise<DataPatternResponse>;
8
- get(id: string): Promise<DataPatternResponse>;
9
- replace(id: string, body: DataPatternRequest): Promise<DataPatternResponse>;
10
- patch(id: string, body: DataPatternPatchRequest): Promise<DataPatternResponse>;
11
- delete(id: string): Promise<void>;
12
- }
13
- //# sourceMappingURL=data-patterns.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-patterns.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/data-patterns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAEZ,IAAI,CAAC,EAAE,uBAAuB;IAIpC,IAAI,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAItE,MAAM,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI9D,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI7C,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI3E,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI9E,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxC"}
@@ -1,26 +0,0 @@
1
- import { getOrCreateManagementClient } from '../management.js';
2
- export class SdkDataPatternsService {
3
- client;
4
- constructor(opts) {
5
- this.client = getOrCreateManagementClient(opts).dlp.dataPatterns;
6
- }
7
- async list(params) {
8
- return this.client.list(params);
9
- }
10
- async create(body) {
11
- return this.client.create(body);
12
- }
13
- async get(id) {
14
- return this.client.get(id);
15
- }
16
- async replace(id, body) {
17
- return this.client.replace(id, body);
18
- }
19
- async patch(id, body) {
20
- return this.client.patch(id, body);
21
- }
22
- async delete(id) {
23
- await this.client.delete(id);
24
- }
25
- }
26
- //# sourceMappingURL=data-patterns.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-patterns.js","sourceRoot":"","sources":["../../../src/airs/dlp/data-patterns.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAG/D,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAAC;IAExB,YAAY,IAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAA8B;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAwB;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,EAAU;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAU,EAAE,IAAwB;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,EAAU,EAAE,IAA6B;QACnD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU;QACrB,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;CACF"}
@@ -1,12 +0,0 @@
1
- import type { AdvancedDataProfileRequest, DataProfileListParams, DataProfilePatchRequest, DataProfileResponse, ManagementClientOptions, PageDataProfileResponse } from '@cdot65/prisma-airs-sdk';
2
- import type { DataProfilesService } from './types.js';
3
- export declare class SdkDataProfilesService implements DataProfilesService {
4
- private readonly client;
5
- constructor(opts?: ManagementClientOptions);
6
- list(params?: DataProfileListParams): Promise<PageDataProfileResponse>;
7
- create(body: AdvancedDataProfileRequest): Promise<DataProfileResponse>;
8
- get(id: string): Promise<DataProfileResponse>;
9
- replace(id: string, body: AdvancedDataProfileRequest): Promise<DataProfileResponse>;
10
- patch(id: string, body: DataProfilePatchRequest): Promise<DataProfileResponse>;
11
- }
12
- //# sourceMappingURL=data-profiles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-profiles.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/data-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAEZ,IAAI,CAAC,EAAE,uBAAuB;IAIpC,IAAI,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAItE,MAAM,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItE,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI7C,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAInF,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAGrF"}
@@ -1,23 +0,0 @@
1
- import { getOrCreateManagementClient } from '../management.js';
2
- export class SdkDataProfilesService {
3
- client;
4
- constructor(opts) {
5
- this.client = getOrCreateManagementClient(opts).dlp.dataProfiles;
6
- }
7
- async list(params) {
8
- return this.client.list(params);
9
- }
10
- async create(body) {
11
- return this.client.create(body);
12
- }
13
- async get(id) {
14
- return this.client.get(id);
15
- }
16
- async replace(id, body) {
17
- return this.client.replace(id, body);
18
- }
19
- async patch(id, body) {
20
- return this.client.patch(id, body);
21
- }
22
- }
23
- //# sourceMappingURL=data-profiles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-profiles.js","sourceRoot":"","sources":["../../../src/airs/dlp/data-profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAG/D,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAAC;IAExB,YAAY,IAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAA8B;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAgC;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,EAAU;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAU,EAAE,IAAgC;QACxD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,EAAU,EAAE,IAA6B;QACnD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;CACF"}
@@ -1,13 +0,0 @@
1
- import type { DictionaryGetParams, DictionaryListParams, DictionaryPatchRequest, DictionaryResponse, DictionaryUploadParams, ManagementClientOptions, PageDictionaryResponse } from '@cdot65/prisma-airs-sdk';
2
- import type { DictionariesService, DictionaryReplaceFallback } from './types.js';
3
- export declare class SdkDictionariesService implements DictionariesService {
4
- private readonly client;
5
- constructor(opts?: ManagementClientOptions);
6
- list(params?: DictionaryListParams): Promise<PageDictionaryResponse>;
7
- create(params: DictionaryUploadParams): Promise<DictionaryResponse>;
8
- get(id: string, params?: DictionaryGetParams): Promise<DictionaryResponse>;
9
- replace(id: string, params: DictionaryUploadParams): Promise<DictionaryResponse | DictionaryReplaceFallback>;
10
- patch(id: string, body: DictionaryPatchRequest): Promise<DictionaryResponse>;
11
- delete(id: string): Promise<void>;
12
- }
13
- //# sourceMappingURL=dictionaries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionaries.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/dictionaries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEjF,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAEZ,IAAI,CAAC,EAAE,uBAAuB;IAIpC,IAAI,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIpE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAInE,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI1E,OAAO,CACX,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,kBAAkB,GAAG,yBAAyB,CAAC;IAUpD,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI5E,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxC"}
@@ -1,34 +0,0 @@
1
- import { getOrCreateManagementClient } from '../management.js';
2
- export class SdkDictionariesService {
3
- client;
4
- constructor(opts) {
5
- this.client = getOrCreateManagementClient(opts).dlp.dictionaries;
6
- }
7
- async list(params) {
8
- return this.client.list(params);
9
- }
10
- async create(params) {
11
- return this.client.create(params);
12
- }
13
- async get(id, params) {
14
- return this.client.get(id, params);
15
- }
16
- async replace(id, params) {
17
- const r = await this.client.replace(id, params);
18
- if (r !== undefined)
19
- return r;
20
- try {
21
- return await this.client.get(id);
22
- }
23
- catch {
24
- return { kind: 'fallback', id };
25
- }
26
- }
27
- async patch(id, body) {
28
- return this.client.patch(id, body);
29
- }
30
- async delete(id) {
31
- await this.client.delete(id);
32
- }
33
- }
34
- //# sourceMappingURL=dictionaries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionaries.js","sourceRoot":"","sources":["../../../src/airs/dlp/dictionaries.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAG/D,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAAC;IAExB,YAAY,IAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAA6B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,MAA8B;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,EAAU,EAAE,MAA4B;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,OAAO,CACX,EAAU,EACV,MAA8B;QAE9B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;QAChD,IAAI,CAAC,KAAK,SAAS;YAAE,OAAO,CAAC,CAAC;QAC9B,IAAI,CAAC;YACH,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAClC,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,EAAU,EAAE,IAA4B;QAClD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU;QACrB,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- export * from './data-filtering-profiles.js';
2
- export * from './data-patterns.js';
3
- export * from './data-profiles.js';
4
- export * from './dictionaries.js';
5
- export * from './types.js';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './data-filtering-profiles.js';
2
- export * from './data-patterns.js';
3
- export * from './data-profiles.js';
4
- export * from './dictionaries.js';
5
- export * from './types.js';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/airs/dlp/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,36 +0,0 @@
1
- export type { AdvancedDataProfileRequest, DataFilteringProfileListParams, DataFilteringProfileRequest, DataFilteringProfileResponse, DataPatternListParams, DataPatternPatchRequest, DataPatternRequest, DataPatternResponse, DataProfileListParams, DataProfilePatchRequest, DataProfileResponse, DetectionRule, DictionaryFileInput, DictionaryGetParams, DictionaryListParams, DictionaryPatchRequest, DictionaryRequest, DictionaryResponse, DictionaryUploadParams, PageDataFilteringProfileResponse, PageDataPatternResponse, PageDataProfileResponse, PageDictionaryResponse, } from '@cdot65/prisma-airs-sdk';
2
- export interface DataFilteringProfilesService {
3
- list(params?: import('@cdot65/prisma-airs-sdk').DataFilteringProfileListParams): Promise<import('@cdot65/prisma-airs-sdk').PageDataFilteringProfileResponse>;
4
- get(id: string): Promise<import('@cdot65/prisma-airs-sdk').DataFilteringProfileResponse>;
5
- replace(id: string, body: import('@cdot65/prisma-airs-sdk').DataFilteringProfileRequest): Promise<import('@cdot65/prisma-airs-sdk').DataFilteringProfileResponse>;
6
- }
7
- export interface DataPatternsService {
8
- list(params?: import('@cdot65/prisma-airs-sdk').DataPatternListParams): Promise<import('@cdot65/prisma-airs-sdk').PageDataPatternResponse>;
9
- create(body: import('@cdot65/prisma-airs-sdk').DataPatternRequest): Promise<import('@cdot65/prisma-airs-sdk').DataPatternResponse>;
10
- get(id: string): Promise<import('@cdot65/prisma-airs-sdk').DataPatternResponse>;
11
- replace(id: string, body: import('@cdot65/prisma-airs-sdk').DataPatternRequest): Promise<import('@cdot65/prisma-airs-sdk').DataPatternResponse>;
12
- patch(id: string, body: import('@cdot65/prisma-airs-sdk').DataPatternPatchRequest): Promise<import('@cdot65/prisma-airs-sdk').DataPatternResponse>;
13
- delete(id: string): Promise<void>;
14
- }
15
- export interface DataProfilesService {
16
- list(params?: import('@cdot65/prisma-airs-sdk').DataProfileListParams): Promise<import('@cdot65/prisma-airs-sdk').PageDataProfileResponse>;
17
- create(body: import('@cdot65/prisma-airs-sdk').AdvancedDataProfileRequest): Promise<import('@cdot65/prisma-airs-sdk').DataProfileResponse>;
18
- get(id: string): Promise<import('@cdot65/prisma-airs-sdk').DataProfileResponse>;
19
- replace(id: string, body: import('@cdot65/prisma-airs-sdk').AdvancedDataProfileRequest): Promise<import('@cdot65/prisma-airs-sdk').DataProfileResponse>;
20
- patch(id: string, body: import('@cdot65/prisma-airs-sdk').DataProfilePatchRequest): Promise<import('@cdot65/prisma-airs-sdk').DataProfileResponse>;
21
- }
22
- /** Sentinel result for replace() when API returns 204 No Content. */
23
- export interface DictionaryReplaceFallback {
24
- kind: 'fallback';
25
- id: string;
26
- }
27
- export interface DictionariesService {
28
- list(params?: import('@cdot65/prisma-airs-sdk').DictionaryListParams): Promise<import('@cdot65/prisma-airs-sdk').PageDictionaryResponse>;
29
- create(params: import('@cdot65/prisma-airs-sdk').DictionaryUploadParams): Promise<import('@cdot65/prisma-airs-sdk').DictionaryResponse>;
30
- get(id: string, params?: import('@cdot65/prisma-airs-sdk').DictionaryGetParams): Promise<import('@cdot65/prisma-airs-sdk').DictionaryResponse>;
31
- /** Returns the response on 200, re-gets on 204; returns fallback sentinel if re-get fails. */
32
- replace(id: string, params: import('@cdot65/prisma-airs-sdk').DictionaryUploadParams): Promise<import('@cdot65/prisma-airs-sdk').DictionaryResponse | DictionaryReplaceFallback>;
33
- patch(id: string, body: import('@cdot65/prisma-airs-sdk').DictionaryPatchRequest): Promise<import('@cdot65/prisma-airs-sdk').DictionaryResponse>;
34
- delete(id: string): Promise<void>;
35
- }
36
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/airs/dlp/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC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kB,CAAC,CAAC;IACjE,GAAG,CACD,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,OAAO,yBAAyB,EAAE,mBAAmB,GAC7D,OAAO,CAAC,OAAO,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;IACjE,8FAA8F;IAC9F,OAAO,CACL,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,OAAO,yBAAyB,EAAE,sBAAsB,GAC/D,OAAO,CAAC,OAAO,yBAAyB,EAAE,kBAAkB,GAAG,yBAAyB,CAAC,CAAC;IAC7F,KAAK,CACH,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,OAAO,yBAAyB,EAAE,sBAAsB,GAC7D,OAAO,CAAC,OAAO,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;IACjE,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/airs/dlp/types.ts"],"names":[],"mappings":""}
@@ -1,68 +0,0 @@
1
- import { type CreateCustomTopicRequest, type CreateSecurityProfileRequest, ManagementClient, type ManagementClientOptions, type CustomTopic as SdkCustomTopic } from '@cdot65/prisma-airs-sdk';
2
- import type { ProfileTopic } from '../audit/types.js';
3
- import type { ApiKeyInfo, ApiKeyListResult, CustomerAppInfo, CustomerAppListResult, DeleteResponse, DeploymentProfileInfo, ManagementService, PaginationOptions, ScanLogQueryOptions, ScanLogQueryResult, SecurityProfileInfo, SecurityProfileListResult } from './types.js';
4
- /**
5
- * Wraps the SDK's ManagementClient to implement our ManagementService interface.
6
- * OAuth2 token management, caching, and retry are handled by the SDK.
7
- */
8
- export declare class SdkManagementService implements ManagementService {
9
- private client;
10
- constructor(opts?: ManagementClientOptions);
11
- createTopic(request: CreateCustomTopicRequest): Promise<SdkCustomTopic>;
12
- updateTopic(topicId: string, request: CreateCustomTopicRequest): Promise<SdkCustomTopic>;
13
- deleteTopic(topicId: string): Promise<void>;
14
- forceDeleteTopic(topicId: string, updatedBy?: string): Promise<DeleteResponse>;
15
- listTopics(): Promise<SdkCustomTopic[]>;
16
- getTopic(topicId: string): Promise<SdkCustomTopic>;
17
- getTopicByName(topicName: string): Promise<SdkCustomTopic>;
18
- /**
19
- * Sets a single custom topic on a profile's topic-guardrails config.
20
- * Delegates to {@link assignTopicsToProfile} for backward compatibility.
21
- */
22
- assignTopicToProfile(profileName: string, topicId: string, topicName: string, action: 'allow' | 'block'): Promise<void>;
23
- /**
24
- * Sets one or more custom topics on a profile's topic-guardrails config.
25
- * Replaces any existing topics — previous runs' stale topics are cleared.
26
- * Groups topics by action; skips empty action groups (AIRS rejects them).
27
- *
28
- * CRITICAL: Each topic entry MUST include the current `revision` number.
29
- * AIRS pins topic content to the revision specified in the profile — omitting
30
- * it defaults to revision 0 (original content), not the latest.
31
- */
32
- assignTopicsToProfile(profileName: string, topics: Array<{
33
- topicId: string;
34
- topicName: string;
35
- action: 'allow' | 'block';
36
- }>, guardrailAction?: 'allow' | 'block'): Promise<void>;
37
- getProfileTopics(profileName: string): Promise<ProfileTopic[]>;
38
- private normalizeProfile;
39
- getProfile(profileId: string): Promise<SecurityProfileInfo>;
40
- getProfileByName(profileName: string): Promise<SecurityProfileInfo>;
41
- listProfiles(opts?: PaginationOptions): Promise<SecurityProfileListResult>;
42
- createProfile(request: CreateSecurityProfileRequest): Promise<SecurityProfileInfo>;
43
- updateProfile(profileId: string, request: CreateSecurityProfileRequest): Promise<SecurityProfileInfo>;
44
- deleteProfile(profileId: string): Promise<DeleteResponse>;
45
- forceDeleteProfile(profileId: string, updatedBy: string): Promise<DeleteResponse>;
46
- private normalizeApiKey;
47
- listApiKeys(opts?: PaginationOptions): Promise<ApiKeyListResult>;
48
- createApiKey(request: Record<string, unknown>): Promise<ApiKeyInfo>;
49
- regenerateApiKey(apiKeyId: string, request: Record<string, unknown>): Promise<ApiKeyInfo>;
50
- deleteApiKey(apiKeyName: string, updatedBy: string): Promise<DeleteResponse>;
51
- private normalizeCustomerApp;
52
- listCustomerApps(opts?: PaginationOptions): Promise<CustomerAppListResult>;
53
- getCustomerApp(appName: string): Promise<CustomerAppInfo>;
54
- updateCustomerApp(appId: string, request: Record<string, unknown>): Promise<CustomerAppInfo>;
55
- deleteCustomerApp(appName: string, updatedBy: string): Promise<CustomerAppInfo>;
56
- listDeploymentProfiles(opts?: {
57
- unactivated?: boolean;
58
- }): Promise<DeploymentProfileInfo[]>;
59
- queryScanLogs(opts: ScanLogQueryOptions): Promise<ScanLogQueryResult>;
60
- }
61
- /**
62
- * Get or lazily construct the shared ManagementClient.
63
- * Opts are only used on the first call; subsequent calls return the cached client.
64
- */
65
- export declare function getOrCreateManagementClient(opts?: ManagementClientOptions): ManagementClient;
66
- /** Test-only: reset the cached client. */
67
- export declare function _resetManagementClient(): void;
68
- //# sourceMappingURL=management.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"management.d.ts","sourceRoot":"","sources":["../../src/airs/management.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,IAAI,cAAc,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,YAAY,CAAC;AAEpB;;;GAGG;AACH,qBAAa,oBAAqB,YAAW,iBAAiB;IAC5D,OAAO,CAAC,MAAM,CAAmB;gBAErB,IAAI,CAAC,EAAE,uBAAuB;IAIpC,WAAW,CAAC,OAA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