@openauditmodel/cli 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/README.md +5 -5
  2. package/conformance-kit/README.md +109 -0
  3. package/conformance-kit/manifest.json +8023 -0
  4. package/examples/README.md +62 -0
  5. package/examples/integrity/README.md +103 -0
  6. package/examples/integrity/invalid/broken-previous-hash/001.json +53 -0
  7. package/examples/integrity/invalid/broken-previous-hash/002.json +52 -0
  8. package/examples/integrity/invalid/broken-previous-hash/003.json +43 -0
  9. package/examples/integrity/invalid/duplicate-sequence/001.json +53 -0
  10. package/examples/integrity/invalid/duplicate-sequence/002.json +52 -0
  11. package/examples/integrity/invalid/duplicate-sequence/003.json +43 -0
  12. package/examples/integrity/invalid/missing-sequence/001.json +53 -0
  13. package/examples/integrity/invalid/missing-sequence/002.json +51 -0
  14. package/examples/integrity/invalid/missing-sequence/003.json +43 -0
  15. package/examples/integrity/invalid/reordered-chain/001.json +53 -0
  16. package/examples/integrity/invalid/reordered-chain/002.json +52 -0
  17. package/examples/integrity/invalid/reordered-chain/003.json +43 -0
  18. package/examples/integrity/invalid/tampered-event.json +51 -0
  19. package/examples/integrity/invalid/tampered-signed-event.json +46 -0
  20. package/examples/integrity/invalid/unsupported-algorithm.json +51 -0
  21. package/examples/integrity/invalid/unsupported-signature-algorithm.json +46 -0
  22. package/examples/integrity/invalid/wrong-declared-hash.json +51 -0
  23. package/examples/integrity/keys/ed25519-test-public.pem +3 -0
  24. package/examples/integrity/valid/signed-event-ed25519.json +46 -0
  25. package/examples/integrity/valid/single-event-sha256.json +51 -0
  26. package/examples/integrity/valid/three-event-chain/001.json +53 -0
  27. package/examples/integrity/valid/three-event-chain/002.json +52 -0
  28. package/examples/integrity/valid/three-event-chain/003.json +43 -0
  29. package/examples/integrity/valid/unicode-and-number-event.json +68 -0
  30. package/examples/invalid/README.md +38 -0
  31. package/examples/invalid/delegation-without-subject.json +27 -0
  32. package/examples/invalid/failure-without-error.json +28 -0
  33. package/examples/invalid/invalid-event-name.json +22 -0
  34. package/examples/invalid/invalid-extension-name.json +25 -0
  35. package/examples/invalid/missing-actor.json +18 -0
  36. package/examples/invalid/missing-resource.json +18 -0
  37. package/examples/invalid/unknown-core-property.json +23 -0
  38. package/examples/privacy/README.md +101 -0
  39. package/examples/privacy/clean/hashes-and-identifiers.json +42 -0
  40. package/examples/privacy/clean/minimal-clean-event.json +22 -0
  41. package/examples/privacy/clean/safe-evidence-reference.json +43 -0
  42. package/examples/privacy/clean/sanitized-change.json +40 -0
  43. package/examples/privacy/clean/structured-metadata.json +43 -0
  44. package/examples/privacy/findings/access-token-field.json +27 -0
  45. package/examples/privacy/findings/bearer-token.json +26 -0
  46. package/examples/privacy/findings/credentialed-connection-string.json +26 -0
  47. package/examples/privacy/findings/evidence-query-string.json +29 -0
  48. package/examples/privacy/findings/high-entropy-token.json +26 -0
  49. package/examples/privacy/findings/jwt-token.json +26 -0
  50. package/examples/privacy/findings/oversized-change-before.json +89 -0
  51. package/examples/privacy/findings/password-field.json +27 -0
  52. package/examples/privacy/findings/private-key.json +26 -0
  53. package/examples/privacy/findings/raw-response-body.json +26 -0
  54. package/examples/privacy/findings/url-userinfo.json +26 -0
  55. package/examples/profiles/api-and-integration-management/README.md +119 -0
  56. package/examples/profiles/api-and-integration-management/invalid/api-key-create-missing-authentication.json +64 -0
  57. package/examples/profiles/api-and-integration-management/invalid/api-key-create-missing-authorization.json +64 -0
  58. package/examples/profiles/api-and-integration-management/invalid/api-key-rotate-missing-credential-reference.json +58 -0
  59. package/examples/profiles/api-and-integration-management/invalid/integration-configuration-update-missing-connection-id.json +67 -0
  60. package/examples/profiles/api-and-integration-management/invalid/integration-connect-missing-approval-status.json +78 -0
  61. package/examples/profiles/api-and-integration-management/invalid/integration-disconnect-missing-authentication.json +63 -0
  62. package/examples/profiles/api-and-integration-management/invalid/integration-reauthorize-missing-error-type.json +68 -0
  63. package/examples/profiles/api-and-integration-management/invalid/integration-sync-start-missing-correlation-id.json +58 -0
  64. package/examples/profiles/api-and-integration-management/invalid/webhook-create-missing-endpoint-class.json +63 -0
  65. package/examples/profiles/api-and-integration-management/invalid/webhook-create-missing-type.json +63 -0
  66. package/examples/profiles/api-and-integration-management/invalid/webhook-disable-missing-reason.json +58 -0
  67. package/examples/profiles/api-and-integration-management/invalid/webhook-update-missing-change.json +63 -0
  68. package/examples/profiles/api-and-integration-management/not-applicable/api-request.json +45 -0
  69. package/examples/profiles/api-and-integration-management/not-applicable/integration-sync-progress.json +44 -0
  70. package/examples/profiles/api-and-integration-management/not-applicable/webhook-delivery.json +44 -0
  71. package/examples/profiles/api-and-integration-management/valid/api-key-create.json +70 -0
  72. package/examples/profiles/api-and-integration-management/valid/api-key-revoke.json +72 -0
  73. package/examples/profiles/api-and-integration-management/valid/api-key-rotate.json +59 -0
  74. package/examples/profiles/api-and-integration-management/valid/integration-configuration-update.json +68 -0
  75. package/examples/profiles/api-and-integration-management/valid/integration-connect.json +79 -0
  76. package/examples/profiles/api-and-integration-management/valid/integration-disconnect.json +69 -0
  77. package/examples/profiles/api-and-integration-management/valid/integration-reauthorize-failure.json +69 -0
  78. package/examples/profiles/api-and-integration-management/valid/integration-sync-cancel.json +65 -0
  79. package/examples/profiles/api-and-integration-management/valid/integration-sync-start.json +59 -0
  80. package/examples/profiles/api-and-integration-management/valid/webhook-create.json +64 -0
  81. package/examples/profiles/api-and-integration-management/valid/webhook-disable.json +63 -0
  82. package/examples/profiles/api-and-integration-management/valid/webhook-test.json +59 -0
  83. package/examples/profiles/api-and-integration-management/valid/webhook-update.json +76 -0
  84. package/examples/profiles/backup-and-recovery/README.md +127 -0
  85. package/examples/profiles/backup-and-recovery/invalid/backup-complete-missing-backup-id.json +55 -0
  86. package/examples/profiles/backup-and-recovery/invalid/backup-complete-missing-recovery-point.json +55 -0
  87. package/examples/profiles/backup-and-recovery/invalid/backup-create-missing-authorization.json +50 -0
  88. package/examples/profiles/backup-and-recovery/invalid/backup-delete-missing-reason.json +78 -0
  89. package/examples/profiles/backup-and-recovery/invalid/backup-expire-missing-retention-class.json +55 -0
  90. package/examples/profiles/backup-and-recovery/invalid/backup-verify-missing-verification-status.json +66 -0
  91. package/examples/profiles/backup-and-recovery/invalid/policy-update-missing-change.json +65 -0
  92. package/examples/profiles/backup-and-recovery/invalid/recovery-failover-missing-recovery-id.json +71 -0
  93. package/examples/profiles/backup-and-recovery/invalid/recovery-failover-missing-target-scope.json +71 -0
  94. package/examples/profiles/backup-and-recovery/invalid/restore-start-missing-approval.json +66 -0
  95. package/examples/profiles/backup-and-recovery/invalid/restore-start-missing-source-id.json +73 -0
  96. package/examples/profiles/backup-and-recovery/invalid/snapshot-create-missing-snapshot-id.json +57 -0
  97. package/examples/profiles/backup-and-recovery/not-applicable/backup-chunk-write.json +43 -0
  98. package/examples/profiles/backup-and-recovery/not-applicable/restore-progress.json +42 -0
  99. package/examples/profiles/backup-and-recovery/not-applicable/storage-replica-heartbeat.json +37 -0
  100. package/examples/profiles/backup-and-recovery/valid/backup-complete-failed.json +62 -0
  101. package/examples/profiles/backup-and-recovery/valid/backup-complete.json +56 -0
  102. package/examples/profiles/backup-and-recovery/valid/backup-create.json +56 -0
  103. package/examples/profiles/backup-and-recovery/valid/backup-delete.json +83 -0
  104. package/examples/profiles/backup-and-recovery/valid/backup-expire.json +56 -0
  105. package/examples/profiles/backup-and-recovery/valid/backup-verify.json +67 -0
  106. package/examples/profiles/backup-and-recovery/valid/policy-update.json +78 -0
  107. package/examples/profiles/backup-and-recovery/valid/recovery-complete.json +61 -0
  108. package/examples/profiles/backup-and-recovery/valid/recovery-failback.json +72 -0
  109. package/examples/profiles/backup-and-recovery/valid/recovery-failover.json +72 -0
  110. package/examples/profiles/backup-and-recovery/valid/recovery-start.json +61 -0
  111. package/examples/profiles/backup-and-recovery/valid/restore-complete.json +63 -0
  112. package/examples/profiles/backup-and-recovery/valid/restore-start.json +74 -0
  113. package/examples/profiles/backup-and-recovery/valid/snapshot-create.json +58 -0
  114. package/examples/profiles/backup-and-recovery/valid/snapshot-delete.json +60 -0
  115. package/examples/profiles/customer-and-account-management/README.md +127 -0
  116. package/examples/profiles/customer-and-account-management/invalid/account-close-missing-approval.json +70 -0
  117. package/examples/profiles/customer-and-account-management/invalid/account-freeze-missing-restriction-scope.json +83 -0
  118. package/examples/profiles/customer-and-account-management/invalid/account-freeze-missing-status.json +83 -0
  119. package/examples/profiles/customer-and-account-management/invalid/account-limit-missing-before.json +74 -0
  120. package/examples/profiles/customer-and-account-management/invalid/account-open-missing-owner.json +58 -0
  121. package/examples/profiles/customer-and-account-management/invalid/account-status-missing-subject.json +73 -0
  122. package/examples/profiles/customer-and-account-management/invalid/account-update-missing-override-reason.json +67 -0
  123. package/examples/profiles/customer-and-account-management/invalid/customer-close-missing-authorization.json +69 -0
  124. package/examples/profiles/customer-and-account-management/invalid/customer-create-missing-customer-type.json +62 -0
  125. package/examples/profiles/customer-and-account-management/invalid/customer-delete-missing-scope.json +70 -0
  126. package/examples/profiles/customer-and-account-management/invalid/customer-merge-missing-source.json +78 -0
  127. package/examples/profiles/customer-and-account-management/invalid/customer-update-missing-change.json +61 -0
  128. package/examples/profiles/customer-and-account-management/not-applicable/account-balance-view.json +39 -0
  129. package/examples/profiles/customer-and-account-management/not-applicable/customer-profile-view.json +38 -0
  130. package/examples/profiles/customer-and-account-management/not-applicable/customer-search.json +38 -0
  131. package/examples/profiles/customer-and-account-management/valid/account-close-approved.json +78 -0
  132. package/examples/profiles/customer-and-account-management/valid/account-freeze.json +84 -0
  133. package/examples/profiles/customer-and-account-management/valid/account-limit-increase.json +77 -0
  134. package/examples/profiles/customer-and-account-management/valid/account-open.json +59 -0
  135. package/examples/profiles/customer-and-account-management/valid/account-status-on-behalf.json +79 -0
  136. package/examples/profiles/customer-and-account-management/valid/account-update-override.json +72 -0
  137. package/examples/profiles/customer-and-account-management/valid/customer-close.json +75 -0
  138. package/examples/profiles/customer-and-account-management/valid/customer-create.json +63 -0
  139. package/examples/profiles/customer-and-account-management/valid/customer-delete.json +71 -0
  140. package/examples/profiles/customer-and-account-management/valid/customer-merge.json +79 -0
  141. package/examples/profiles/customer-and-account-management/valid/customer-restrict.json +76 -0
  142. package/examples/profiles/customer-and-account-management/valid/customer-update.json +65 -0
  143. package/examples/profiles/deployment-and-change-management/README.md +115 -0
  144. package/examples/profiles/deployment-and-change-management/invalid/cancel-missing-authorization.json +59 -0
  145. package/examples/profiles/deployment-and-change-management/invalid/cancel-missing-reason.json +61 -0
  146. package/examples/profiles/deployment-and-change-management/invalid/change-request-approve-missing-approval.json +57 -0
  147. package/examples/profiles/deployment-and-change-management/invalid/configuration-update-missing-authorization.json +81 -0
  148. package/examples/profiles/deployment-and-change-management/invalid/deploy-approved-missing-approval.json +73 -0
  149. package/examples/profiles/deployment-and-change-management/invalid/deploy-failed-missing-resulting-state.json +71 -0
  150. package/examples/profiles/deployment-and-change-management/invalid/deploy-missing-approval-required.json +67 -0
  151. package/examples/profiles/deployment-and-change-management/invalid/deploy-missing-deployment-id.json +67 -0
  152. package/examples/profiles/deployment-and-change-management/invalid/deploy-missing-environment.json +67 -0
  153. package/examples/profiles/deployment-and-change-management/invalid/deploy-missing-previous-version.json +67 -0
  154. package/examples/profiles/deployment-and-change-management/invalid/deploy-missing-version.json +67 -0
  155. package/examples/profiles/deployment-and-change-management/invalid/deploy-partial-missing-resulting-state.json +68 -0
  156. package/examples/profiles/deployment-and-change-management/invalid/secret-rotate-missing-changed-fields.json +72 -0
  157. package/examples/profiles/deployment-and-change-management/invalid/secret-rotate-missing-reason.json +68 -0
  158. package/examples/profiles/deployment-and-change-management/not-applicable/build-log-append.json +33 -0
  159. package/examples/profiles/deployment-and-change-management/not-applicable/pipeline-poll.json +33 -0
  160. package/examples/profiles/deployment-and-change-management/not-applicable/secret-access.json +39 -0
  161. package/examples/profiles/deployment-and-change-management/valid/change-request-approve.json +69 -0
  162. package/examples/profiles/deployment-and-change-management/valid/configuration-update.json +88 -0
  163. package/examples/profiles/deployment-and-change-management/valid/deploy-approved.json +85 -0
  164. package/examples/profiles/deployment-and-change-management/valid/deploy-automated.json +68 -0
  165. package/examples/profiles/deployment-and-change-management/valid/deploy-failed.json +72 -0
  166. package/examples/profiles/deployment-and-change-management/valid/deploy-partial.json +69 -0
  167. package/examples/profiles/deployment-and-change-management/valid/infrastructure-apply.json +78 -0
  168. package/examples/profiles/deployment-and-change-management/valid/release-approve.json +77 -0
  169. package/examples/profiles/deployment-and-change-management/valid/release-cancel.json +65 -0
  170. package/examples/profiles/deployment-and-change-management/valid/release-create.json +53 -0
  171. package/examples/profiles/deployment-and-change-management/valid/rollback-emergency.json +80 -0
  172. package/examples/profiles/deployment-and-change-management/valid/secret-rotate-emergency.json +73 -0
  173. package/examples/profiles/document-management/README.md +80 -0
  174. package/examples/profiles/document-management/invalid/delete-missing-reason.json +53 -0
  175. package/examples/profiles/document-management/invalid/download-missing-classification.json +46 -0
  176. package/examples/profiles/document-management/invalid/external-share-missing-expiry.json +68 -0
  177. package/examples/profiles/document-management/invalid/external-share-missing-reason.json +64 -0
  178. package/examples/profiles/document-management/invalid/legal-hold-missing-state.json +63 -0
  179. package/examples/profiles/document-management/invalid/permission-grant-missing-grantee.json +57 -0
  180. package/examples/profiles/document-management/invalid/retention-update-missing-class.json +71 -0
  181. package/examples/profiles/document-management/invalid/share-create-missing-permission.json +53 -0
  182. package/examples/profiles/document-management/invalid/share-missing-recipient-type.json +53 -0
  183. package/examples/profiles/document-management/invalid/upload-missing-authorization.json +42 -0
  184. package/examples/profiles/document-management/invalid/version-rollback-missing-previous.json +58 -0
  185. package/examples/profiles/document-management/not-applicable/file-view.json +42 -0
  186. package/examples/profiles/document-management/valid/file-delete.json +58 -0
  187. package/examples/profiles/document-management/valid/file-download.json +47 -0
  188. package/examples/profiles/document-management/valid/file-upload.json +47 -0
  189. package/examples/profiles/document-management/valid/legal-hold-apply.json +64 -0
  190. package/examples/profiles/document-management/valid/permission-grant.json +58 -0
  191. package/examples/profiles/document-management/valid/retention-update.json +72 -0
  192. package/examples/profiles/document-management/valid/share-external.json +69 -0
  193. package/examples/profiles/document-management/valid/share-internal.json +54 -0
  194. package/examples/profiles/document-management/valid/share-revoke.json +56 -0
  195. package/examples/profiles/document-management/valid/version-rollback.json +59 -0
  196. package/examples/profiles/financial-transaction-management/README.md +123 -0
  197. package/examples/profiles/financial-transaction-management/invalid/limit-update-missing-limit-type.json +101 -0
  198. package/examples/profiles/financial-transaction-management/invalid/manual-deposit-missing-change.json +85 -0
  199. package/examples/profiles/financial-transaction-management/invalid/payment-capture-missing-amount.json +69 -0
  200. package/examples/profiles/financial-transaction-management/invalid/payment-capture-missing-authorization.json +65 -0
  201. package/examples/profiles/financial-transaction-management/invalid/payout-missing-direction.json +63 -0
  202. package/examples/profiles/financial-transaction-management/invalid/reconciliation-adjust-missing-change.json +79 -0
  203. package/examples/profiles/financial-transaction-management/invalid/reconciliation-missing-identifier.json +88 -0
  204. package/examples/profiles/financial-transaction-management/invalid/refund-missing-reason.json +70 -0
  205. package/examples/profiles/financial-transaction-management/invalid/reversal-missing-original-transaction.json +84 -0
  206. package/examples/profiles/financial-transaction-management/invalid/transfer-missing-related-resources.json +66 -0
  207. package/examples/profiles/financial-transaction-management/invalid/withdrawal-missing-approval-status.json +96 -0
  208. package/examples/profiles/financial-transaction-management/invalid/withdrawal-missing-correlation.json +96 -0
  209. package/examples/profiles/financial-transaction-management/not-applicable/balance-view.json +36 -0
  210. package/examples/profiles/financial-transaction-management/not-applicable/quote-create.json +33 -0
  211. package/examples/profiles/financial-transaction-management/not-applicable/report-generate.json +36 -0
  212. package/examples/profiles/financial-transaction-management/valid/chargeback-open.json +73 -0
  213. package/examples/profiles/financial-transaction-management/valid/deposit-manual-correction.json +86 -0
  214. package/examples/profiles/financial-transaction-management/valid/limit-update.json +92 -0
  215. package/examples/profiles/financial-transaction-management/valid/payment-capture.json +70 -0
  216. package/examples/profiles/financial-transaction-management/valid/payment-reject.json +76 -0
  217. package/examples/profiles/financial-transaction-management/valid/payout-execute.json +64 -0
  218. package/examples/profiles/financial-transaction-management/valid/reconciliation-adjust.json +85 -0
  219. package/examples/profiles/financial-transaction-management/valid/refund-create.json +75 -0
  220. package/examples/profiles/financial-transaction-management/valid/reversal-execute.json +80 -0
  221. package/examples/profiles/financial-transaction-management/valid/settlement-execute.json +70 -0
  222. package/examples/profiles/financial-transaction-management/valid/transfer-execute.json +74 -0
  223. package/examples/profiles/financial-transaction-management/valid/withdrawal-execute.json +91 -0
  224. package/examples/profiles/identity-and-access-management/README.md +93 -0
  225. package/examples/profiles/identity-and-access-management/invalid/credential-rotate-missing-reason.json +47 -0
  226. package/examples/profiles/identity-and-access-management/invalid/permission-grant-missing-scope.json +54 -0
  227. package/examples/profiles/identity-and-access-management/invalid/privileged-role-without-approval.json +68 -0
  228. package/examples/profiles/identity-and-access-management/invalid/privileged-role-without-mfa.json +83 -0
  229. package/examples/profiles/identity-and-access-management/invalid/role-assign-missing-authorization.json +54 -0
  230. package/examples/profiles/identity-and-access-management/invalid/role-assign-missing-role-id.json +60 -0
  231. package/examples/profiles/identity-and-access-management/invalid/service-account-missing-owner.json +53 -0
  232. package/examples/profiles/identity-and-access-management/not-applicable/document-share.json +49 -0
  233. package/examples/profiles/identity-and-access-management/valid/credential-rotate.json +59 -0
  234. package/examples/profiles/identity-and-access-management/valid/permission-revoke.json +77 -0
  235. package/examples/profiles/identity-and-access-management/valid/role-assign-privileged.json +87 -0
  236. package/examples/profiles/identity-and-access-management/valid/role-assign-standard.json +80 -0
  237. package/examples/profiles/identity-and-access-management/valid/service-account-create.json +55 -0
  238. package/examples/profiles/identity-and-access-management/valid/user-create.json +55 -0
  239. package/examples/profiles/identity-and-access-management/valid/user-disable.json +79 -0
  240. package/examples/profiles/incident-management/README.md +125 -0
  241. package/examples/profiles/incident-management/invalid/assignment-change-missing-assignee.json +69 -0
  242. package/examples/profiles/incident-management/invalid/assignment-change-missing-change.json +59 -0
  243. package/examples/profiles/incident-management/invalid/case-close-missing-approval.json +94 -0
  244. package/examples/profiles/incident-management/invalid/case-close-missing-authorization.json +108 -0
  245. package/examples/profiles/incident-management/invalid/case-close-missing-reason.json +109 -0
  246. package/examples/profiles/incident-management/invalid/case-create-missing-status.json +67 -0
  247. package/examples/profiles/incident-management/invalid/case-reopen-missing-change.json +66 -0
  248. package/examples/profiles/incident-management/invalid/case-reopen-missing-reason.json +72 -0
  249. package/examples/profiles/incident-management/invalid/case-resolve-missing-resolution-type.json +74 -0
  250. package/examples/profiles/incident-management/invalid/corrective-action-verify-missing-method.json +81 -0
  251. package/examples/profiles/incident-management/invalid/priority-change-missing-priority.json +73 -0
  252. package/examples/profiles/incident-management/invalid/rca-approve-missing-approval.json +66 -0
  253. package/examples/profiles/incident-management/invalid/rca-create-missing-method.json +72 -0
  254. package/examples/profiles/incident-management/invalid/sla-breach-missing-target.json +49 -0
  255. package/examples/profiles/incident-management/not-applicable/case-view.json +40 -0
  256. package/examples/profiles/incident-management/not-applicable/monitoring-alert-raise.json +40 -0
  257. package/examples/profiles/incident-management/not-applicable/note-create.json +46 -0
  258. package/examples/profiles/incident-management/valid/assignment-change.json +70 -0
  259. package/examples/profiles/incident-management/valid/case-close.json +114 -0
  260. package/examples/profiles/incident-management/valid/case-create.json +68 -0
  261. package/examples/profiles/incident-management/valid/case-reopen.json +77 -0
  262. package/examples/profiles/incident-management/valid/case-resolve.json +75 -0
  263. package/examples/profiles/incident-management/valid/corrective-action-open.json +72 -0
  264. package/examples/profiles/incident-management/valid/corrective-action-verify.json +82 -0
  265. package/examples/profiles/incident-management/valid/create-short-form.json +64 -0
  266. package/examples/profiles/incident-management/valid/major-declare.json +79 -0
  267. package/examples/profiles/incident-management/valid/priority-change.json +74 -0
  268. package/examples/profiles/incident-management/valid/problem-case-close.json +73 -0
  269. package/examples/profiles/incident-management/valid/rca-approve.json +86 -0
  270. package/examples/profiles/incident-management/valid/rca-create.json +73 -0
  271. package/examples/profiles/incident-management/valid/sla-breach.json +50 -0
  272. package/examples/profiles/message-broker-management/README.md +123 -0
  273. package/examples/profiles/message-broker-management/invalid/acl-grant-missing-principal.json +78 -0
  274. package/examples/profiles/message-broker-management/invalid/configuration-update-missing-change.json +58 -0
  275. package/examples/profiles/message-broker-management/invalid/message-replay-missing-scope.json +76 -0
  276. package/examples/profiles/message-broker-management/invalid/offset-reset-missing-target.json +96 -0
  277. package/examples/profiles/message-broker-management/invalid/queue-purge-missing-destructive-flag.json +79 -0
  278. package/examples/profiles/message-broker-management/invalid/queue-purge-missing-reason.json +77 -0
  279. package/examples/profiles/message-broker-management/invalid/quota-update-missing-dimension.json +72 -0
  280. package/examples/profiles/message-broker-management/invalid/topic-create-missing-authorization.json +61 -0
  281. package/examples/profiles/message-broker-management/invalid/topic-create-missing-classification.json +66 -0
  282. package/examples/profiles/message-broker-management/invalid/topic-create-missing-cluster.json +66 -0
  283. package/examples/profiles/message-broker-management/invalid/topic-delete-denied-missing-error-type.json +68 -0
  284. package/examples/profiles/message-broker-management/invalid/topic-delete-missing-approval.json +65 -0
  285. package/examples/profiles/message-broker-management/not-applicable/consumer-group-rebalance.json +40 -0
  286. package/examples/profiles/message-broker-management/not-applicable/message-consume.json +41 -0
  287. package/examples/profiles/message-broker-management/not-applicable/message-publish.json +41 -0
  288. package/examples/profiles/message-broker-management/valid/acl-grant.json +79 -0
  289. package/examples/profiles/message-broker-management/valid/cluster-upgrade.json +77 -0
  290. package/examples/profiles/message-broker-management/valid/configuration-update.json +65 -0
  291. package/examples/profiles/message-broker-management/valid/consumer-group-delete.json +64 -0
  292. package/examples/profiles/message-broker-management/valid/message-replay.json +77 -0
  293. package/examples/profiles/message-broker-management/valid/offset-reset.json +97 -0
  294. package/examples/profiles/message-broker-management/valid/queue-purge.json +82 -0
  295. package/examples/profiles/message-broker-management/valid/quota-update.json +73 -0
  296. package/examples/profiles/message-broker-management/valid/topic-create.json +67 -0
  297. package/examples/profiles/message-broker-management/valid/topic-delete-denied.json +69 -0
  298. package/examples/profiles/message-broker-management/valid/topic-delete.json +77 -0
  299. package/examples/profiles/message-broker-management/valid/topic-retention-reduce.json +77 -0
  300. package/examples/profiles/secrets-and-key-management/README.md +115 -0
  301. package/examples/profiles/secrets-and-key-management/invalid/certificate-issue-missing-expiry.json +54 -0
  302. package/examples/profiles/secrets-and-key-management/invalid/emergency-reveal-missing-approval.json +61 -0
  303. package/examples/profiles/secrets-and-key-management/invalid/key-destroy-missing-approval.json +56 -0
  304. package/examples/profiles/secrets-and-key-management/invalid/key-generate-missing-owner.json +56 -0
  305. package/examples/profiles/secrets-and-key-management/invalid/key-import-missing-reason.json +59 -0
  306. package/examples/profiles/secrets-and-key-management/invalid/policy-update-missing-change.json +61 -0
  307. package/examples/profiles/secrets-and-key-management/invalid/secret-create-missing-authorization.json +53 -0
  308. package/examples/profiles/secrets-and-key-management/invalid/secret-export-missing-destination.json +74 -0
  309. package/examples/profiles/secrets-and-key-management/invalid/secret-reveal-missing-reason.json +65 -0
  310. package/examples/profiles/secrets-and-key-management/invalid/secret-revoke-missing-reason.json +52 -0
  311. package/examples/profiles/secrets-and-key-management/invalid/secret-rotate-missing-change.json +48 -0
  312. package/examples/profiles/secrets-and-key-management/invalid/secret-rotate-missing-type.json +54 -0
  313. package/examples/profiles/secrets-and-key-management/not-applicable/key-decrypt.json +27 -0
  314. package/examples/profiles/secrets-and-key-management/not-applicable/secret-cache-refresh.json +27 -0
  315. package/examples/profiles/secrets-and-key-management/not-applicable/secret-retrieve.json +27 -0
  316. package/examples/profiles/secrets-and-key-management/valid/certificate-issue.json +55 -0
  317. package/examples/profiles/secrets-and-key-management/valid/key-destroy.json +64 -0
  318. package/examples/profiles/secrets-and-key-management/valid/key-export.json +73 -0
  319. package/examples/profiles/secrets-and-key-management/valid/key-generate.json +57 -0
  320. package/examples/profiles/secrets-and-key-management/valid/key-import.json +64 -0
  321. package/examples/profiles/secrets-and-key-management/valid/secret-create.json +59 -0
  322. package/examples/profiles/secrets-and-key-management/valid/secret-export.json +75 -0
  323. package/examples/profiles/secrets-and-key-management/valid/secret-policy-update.json +68 -0
  324. package/examples/profiles/secrets-and-key-management/valid/secret-reveal-emergency.json +68 -0
  325. package/examples/profiles/secrets-and-key-management/valid/secret-reveal.json +70 -0
  326. package/examples/profiles/secrets-and-key-management/valid/secret-revoke.json +57 -0
  327. package/examples/profiles/secrets-and-key-management/valid/secret-rotate.json +55 -0
  328. package/examples/valid/access-request-approval.json +47 -0
  329. package/examples/valid/document-external-share.json +92 -0
  330. package/examples/valid/incident-case-close.json +114 -0
  331. package/examples/valid/kafka-consumer-offset-reset.json +105 -0
  332. package/examples/valid/minimal-event.json +22 -0
  333. package/examples/valid/nightly-reconciliation-job.json +33 -0
  334. package/examples/valid/order-api-publish.json +34 -0
  335. package/examples/valid/order-consumer-new-trace.json +36 -0
  336. package/examples/valid/privileged-configuration-change.json +109 -0
  337. package/examples/valid/service-account-data-export.json +83 -0
  338. package/examples/valid/user-role-assignment.json +92 -0
  339. package/package.json +6 -2
@@ -0,0 +1,29 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b07-1111-7222-8333-000000000007",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "evidence": [
24
+ {
25
+ "type": "document",
26
+ "reference": "https://records.example.com/evidence/9921?signature=SYNTHETICFIXTUREVALUE&expires=1780000000"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b09-1111-7222-8333-000000000009",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "integrationHandle": "Zq7Z9dK2mR4xT6vB8nH1jL3pW5sY0cF2gJ4kM6"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b04-1111-7222-8333-000000000004",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "upstreamAssertion": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzeW50aGV0aWMtZml4dHVyZSIsIm5vdGUiOiJub24tZnVuY3Rpb25hbCBleGFtcGxlIiwiaWF0IjoxNzgwMDAwMDAwfQ.c3ludGhldGljLXNpZ25hdHVyZS1ub3QtdmFsaWQ"
25
+ }
26
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b10-1111-7222-8333-000000000010",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "change": {
24
+ "type": "update",
25
+ "before": {
26
+ "recordType": "customer-order",
27
+ "field01": "value-1",
28
+ "field02": "value-2",
29
+ "field03": "value-3",
30
+ "field04": "value-4",
31
+ "field05": "value-5",
32
+ "field06": "value-6",
33
+ "field07": "value-7",
34
+ "field08": "value-8",
35
+ "field09": "value-9",
36
+ "field10": "value-10",
37
+ "field11": "value-11",
38
+ "field12": "value-12",
39
+ "field13": "value-13",
40
+ "field14": "value-14",
41
+ "field15": "value-15",
42
+ "field16": "value-16",
43
+ "field17": "value-17",
44
+ "field18": "value-18",
45
+ "field19": "value-19",
46
+ "field20": "value-20",
47
+ "field21": "value-21",
48
+ "field22": "value-22",
49
+ "field23": "value-23",
50
+ "field24": "value-24",
51
+ "field25": "value-25",
52
+ "field26": "value-26",
53
+ "field27": "value-27",
54
+ "field28": "value-28",
55
+ "field29": "value-29",
56
+ "field30": "value-30",
57
+ "field31": "value-31",
58
+ "field32": "value-32",
59
+ "field33": "value-33",
60
+ "field34": "value-34",
61
+ "field35": "value-35",
62
+ "field36": "value-36",
63
+ "field37": "value-37",
64
+ "field38": "value-38",
65
+ "field39": "value-39",
66
+ "field40": "value-40",
67
+ "field41": "value-41",
68
+ "field42": "value-42",
69
+ "field43": "value-43",
70
+ "field44": "value-44",
71
+ "field45": "value-45",
72
+ "field46": "value-46",
73
+ "field47": "value-47",
74
+ "field48": "value-48",
75
+ "field49": "value-49",
76
+ "field50": "value-50",
77
+ "field51": "value-51",
78
+ "field52": "value-52",
79
+ "field53": "value-53",
80
+ "field54": "value-54",
81
+ "field55": "value-55",
82
+ "field56": "value-56",
83
+ "field57": "value-57",
84
+ "field58": "value-58",
85
+ "field59": "value-59",
86
+ "field60": "value-60"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b01-1111-7222-8333-000000000001",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "migrationSource": "legacy-directory",
25
+ "password": "synthetic-fixture-value-not-a-real-password"
26
+ }
27
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b05-1111-7222-8333-000000000005",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "attachedPem": "-----BEGIN PRIVATE KEY-----\nSYNTHETIC FIXTURE CONTENT, NOT A REAL KEY\n-----END PRIVATE KEY-----"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b11-1111-7222-8333-000000000011",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "responseBody": "{\"customerId\":\"customer-4471\",\"balance\":10250,\"tier\":\"gold\"}"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f3b06-1111-7222-8333-000000000006",
4
+ "time": "2026-05-05T09:00:00.000Z",
5
+ "event": {
6
+ "name": "data.record.update",
7
+ "category": "data-modification",
8
+ "outcome": "success",
9
+ "summary": "Synthetic fixture for privacy linting."
10
+ },
11
+ "actor": {
12
+ "type": "service",
13
+ "id": "service-integration-worker"
14
+ },
15
+ "resource": {
16
+ "type": "record",
17
+ "id": "record-4471"
18
+ },
19
+ "application": {
20
+ "name": "integration-service",
21
+ "environment": "production"
22
+ },
23
+ "metadata": {
24
+ "exportLocation": "https://synthetic-user:synthetic-password@files.example.com/exports/4471"
25
+ }
26
+ }
@@ -0,0 +1,119 @@
1
+ # API and integration management profile fixtures
2
+
3
+ **Status: Informative.** These fixtures illustrate and regression-test the
4
+ [api-and-integration-management profile](../../../profiles/api-and-integration-management/). The
5
+ rules themselves are in
6
+ [profile.json](../../../profiles/api-and-integration-management/profile.json).
7
+
8
+ ```bash
9
+ auditmodel check-profile examples/profiles/api-and-integration-management/valid --profile api-and-integration-management
10
+ ```
11
+
12
+ Every fixture here — valid, invalid and not-applicable alike — is a **core-conforming** event. The
13
+ ones under `invalid/` fail the profile, not the core schema. That separation is the point: a profile
14
+ adds requirements to events the core already accepts.
15
+
16
+ ## The guarantee these fixtures carry
17
+
18
+ Each file under `valid/` must satisfy all three commands, and a test enforces it:
19
+
20
+ ```bash
21
+ auditmodel validate examples/profiles/api-and-integration-management/valid
22
+ auditmodel lint-privacy examples/profiles/api-and-integration-management/valid
23
+ auditmodel check-profile examples/profiles/api-and-integration-management/valid --profile api-and-integration-management
24
+ ```
25
+
26
+ A profile that accepted an event the core rejects would break the core invariant. A profile about
27
+ API credentials that accepted an event carrying one would be worse than no profile.
28
+
29
+ ## Valid fixtures
30
+
31
+ | File | Event | Demonstrates |
32
+ | --------------------------------------- | ---------------------------------- | ------------------------------------------------------------------ |
33
+ | `api-key-create.json` | `api-key.create` | Issuance by a person: authentication context, scope and expiry |
34
+ | `api-key-rotate.json` | `api-key.rotate` | Machine rotation — `actor.type` is `service`, so no session is due |
35
+ | `api-key-revoke.json` | `api-key.revoke` | Withdrawal with a justification and a recorded approval |
36
+ | `webhook-create.json` | `webhook.create` | A destination classified, not a callback URL recorded |
37
+ | `webhook-update.json` | `webhook.update` | Reconfiguration carrying `/change` and changed field names |
38
+ | `webhook-disable.json` | `webhook.disable` | Disablement during an outage, justified |
39
+ | `webhook-test.json` | `webhook.test` | A connectivity check — governed, but nothing is withdrawn |
40
+ | `integration-connect.json` | `integration.connect` | Locally declared approval requirement, satisfied |
41
+ | `integration-disconnect.json` | `integration.disconnect` | An `admin` actor, exercising the second authentication rule |
42
+ | `integration-configuration-update.json` | `integration.configuration.update` | A prefix-selected settings change carrying `/change` |
43
+ | `integration-sync-start.json` | `integration.sync.start` | A workflow step carrying the correlation identifier |
44
+ | `integration-sync-cancel.json` | `integration.sync.cancel` | Manual override of a running sync, justified |
45
+ | `integration-reauthorize-failure.json` | `integration.reauthorize` | A failure classified beyond its code |
46
+
47
+ Three of these — `api-key-rotate.json`, `webhook-test.json` and `integration-sync-start.json` —
48
+ produce an `INTEGRATION-CORE-002` **warning** for a missing `/approval`. That is intentional: a
49
+ scheduled rotation, a connectivity check and a nightly sync have no approval to record, and the
50
+ profile recommends rather than requires one. A warning never fails conformance.
51
+
52
+ The other ten record `approval: { "status": "not-required" }` or a real approval. That is the
53
+ recommended shape: it answers the reviewer's question instead of leaving a hole where the answer
54
+ would be.
55
+
56
+ ## Invalid fixtures
57
+
58
+ Each removes exactly one profile-required value from a valid fixture, so it fails for one documented
59
+ reason. A test asserts both the rule and the pointer, and that **exactly one** error is produced.
60
+
61
+ | File | Violates | At |
62
+ | ------------------------------------------------------------- | ------------------------ | ------------------------------------------- |
63
+ | `api-key-create-missing-authorization.json` | `INTEGRATION-CORE-001` | `/authorization` |
64
+ | `webhook-create-missing-type.json` | `INTEGRATION-CORE-001` | `/metadata/integration/type` |
65
+ | `integration-connect-missing-approval-status.json` | `INTEGRATION-CORE-003` | `/approval/status` |
66
+ | `api-key-create-missing-authentication.json` | `INTEGRATION-AUTHN-001` | `/authentication` |
67
+ | `integration-disconnect-missing-authentication.json` | `INTEGRATION-AUTHN-002` | `/authentication` |
68
+ | `api-key-rotate-missing-credential-reference.json` | `INTEGRATION-KEY-001` | `/metadata/integration/credentialReference` |
69
+ | `webhook-disable-missing-reason.json` | `INTEGRATION-REVOKE-001` | `/reason` |
70
+ | `webhook-create-missing-endpoint-class.json` | `INTEGRATION-HOOK-001` | `/metadata/integration/endpointClass` |
71
+ | `webhook-update-missing-change.json` | `INTEGRATION-CONFIG-001` | `/change` |
72
+ | `integration-configuration-update-missing-connection-id.json` | `INTEGRATION-CONN-001` | `/metadata/integration/connectionId` |
73
+ | `integration-sync-start-missing-correlation-id.json` | `INTEGRATION-FLOW-001` | `/request/correlationId` |
74
+ | `integration-reauthorize-missing-error-type.json` | `INTEGRATION-FAIL-001` | `/event/error/type` |
75
+
76
+ Two of these are worth reading closely.
77
+
78
+ `integration-connect-missing-approval-status.json` keeps the `/approval` object and removes only its
79
+ `status`. Deleting the whole object would fail two required paths and the fixture would stop showing
80
+ which one it tests.
81
+
82
+ `api-key-create-missing-authentication.json` and `integration-disconnect-missing-authentication.json`
83
+ remove the same field and fail different rules. The first has `actor.type: "user"` and fails
84
+ `INTEGRATION-AUTHN-001`; the second has `actor.type: "admin"` and fails `INTEGRATION-AUTHN-002`. The
85
+ two rules exist separately because the v0.1 rule language allows one equality condition per rule and
86
+ no disjunction, and this pair is what keeps both halves of that workaround honest.
87
+
88
+ Several invalid fixtures also produce warnings — `webhook-update-missing-change.json` loses its
89
+ recommended `changedFields` along with `/change`, and `webhook-disable-missing-reason.json` trips
90
+ both the requirement and the recommendation for `/reason`. Warnings are not violations, and the test
91
+ counts only errors.
92
+
93
+ ## Not-applicable fixtures
94
+
95
+ | File | Event | Why it is not governed |
96
+ | -------------------------------- | --------------------------- | ------------------------------------------------ |
97
+ | `api-request.json` | `api.request` | An ordinary data-plane API call |
98
+ | `webhook-delivery.json` | `webhook.delivery.attempt` | A successful delivery, including any retry of it |
99
+ | `integration-sync-progress.json` | `integration.sync.progress` | A per-page progress event from a polling sync |
100
+
101
+ `check-profile` reports each with exit code 3.
102
+
103
+ These exist to hold the exclusion in place. Every selector in the profile is an exact event name or
104
+ the single narrow prefix `integration.configuration.`; if a future edit widened one to a bare
105
+ `api-key.`, `webhook.` or `integration.` prefix, these fixtures would start conforming instead of
106
+ being skipped, and the test would fail — which is the point, because that edit would silently impose
107
+ an authorization decision and an integration classification on every request, delivery and poll in a
108
+ deployment.
109
+
110
+ ## Vendor neutrality
111
+
112
+ No fixture names a real product, company, jurisdiction or regulation. Providers are logical
113
+ placeholders (`partner-billing-platform`, `partner-crm-platform`, `partner-logistics-platform`),
114
+ policies and integration types are illustrative strings, and no identifier resolves to anything.
115
+
116
+ No fixture contains an API key, an access or refresh token, a client secret, a webhook signing
117
+ secret, an authorization header or a callback URL — not even a fake one. `credentialReference` values
118
+ are opaque handles, and destinations appear only as an `endpointClass`. That is the shape the profile
119
+ exists to encourage, so the examples have to show it.
@@ -0,0 +1,64 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f2c40-0001-7a2b-9c3d-4e5f60718293",
4
+ "time": "2026-04-08T09:12:44.180Z",
5
+ "event": {
6
+ "name": "api-key.create",
7
+ "category": "security",
8
+ "type": "create",
9
+ "outcome": "success",
10
+ "severity": "high",
11
+ "summary": "Scoped API key issued to a partner billing integration."
12
+ },
13
+ "actor": {
14
+ "type": "user",
15
+ "id": "user-5120",
16
+ "tenantId": "tenant-7"
17
+ },
18
+ "resource": {
19
+ "type": "api-key",
20
+ "id": "api-key-4471",
21
+ "name": "partner-billing-reader",
22
+ "classification": "restricted",
23
+ "ownerId": "team-payments",
24
+ "tenantId": "tenant-7"
25
+ },
26
+ "application": {
27
+ "name": "integration-service",
28
+ "environment": "production",
29
+ "version": "4.2.0"
30
+ },
31
+ "organization": {
32
+ "tenantId": "tenant-7"
33
+ },
34
+ "authorization": {
35
+ "decision": "allow",
36
+ "engine": "policy-service",
37
+ "policy": "integration-credential-issuance",
38
+ "policyVersion": "9"
39
+ },
40
+ "request": {
41
+ "requestId": "request-b31d704",
42
+ "correlationId": "integration-onboarding-4102"
43
+ },
44
+ "approval": {
45
+ "status": "not-required",
46
+ "workflowId": "integration-change-workflow"
47
+ },
48
+ "reason": {
49
+ "code": "partner-onboarding",
50
+ "text": "Partner billing reconciliation requires read access to settlement records.",
51
+ "reference": "change-10412"
52
+ },
53
+ "controlCategories": ["credential-lifecycle", "third-party-access"],
54
+ "metadata": {
55
+ "integration": {
56
+ "type": "api-credential",
57
+ "provider": "partner-billing-platform",
58
+ "credentialReference": "credential-ref-8814",
59
+ "scope": "settlements-read",
60
+ "expiresAt": "2026-10-08T09:12:44Z",
61
+ "approvalRequired": false
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f2c40-0001-7a2b-9c3d-4e5f60718293",
4
+ "time": "2026-04-08T09:12:44.180Z",
5
+ "event": {
6
+ "name": "api-key.create",
7
+ "category": "security",
8
+ "type": "create",
9
+ "outcome": "success",
10
+ "severity": "high",
11
+ "summary": "Scoped API key issued to a partner billing integration."
12
+ },
13
+ "actor": {
14
+ "type": "user",
15
+ "id": "user-5120",
16
+ "tenantId": "tenant-7"
17
+ },
18
+ "resource": {
19
+ "type": "api-key",
20
+ "id": "api-key-4471",
21
+ "name": "partner-billing-reader",
22
+ "classification": "restricted",
23
+ "ownerId": "team-payments",
24
+ "tenantId": "tenant-7"
25
+ },
26
+ "application": {
27
+ "name": "integration-service",
28
+ "environment": "production",
29
+ "version": "4.2.0"
30
+ },
31
+ "organization": {
32
+ "tenantId": "tenant-7"
33
+ },
34
+ "authentication": {
35
+ "method": "oidc",
36
+ "provider": "workforce-directory",
37
+ "mfa": true,
38
+ "sessionId": "session-6641"
39
+ },
40
+ "request": {
41
+ "requestId": "request-b31d704",
42
+ "correlationId": "integration-onboarding-4102"
43
+ },
44
+ "approval": {
45
+ "status": "not-required",
46
+ "workflowId": "integration-change-workflow"
47
+ },
48
+ "reason": {
49
+ "code": "partner-onboarding",
50
+ "text": "Partner billing reconciliation requires read access to settlement records.",
51
+ "reference": "change-10412"
52
+ },
53
+ "controlCategories": ["credential-lifecycle", "third-party-access"],
54
+ "metadata": {
55
+ "integration": {
56
+ "type": "api-credential",
57
+ "provider": "partner-billing-platform",
58
+ "credentialReference": "credential-ref-8814",
59
+ "scope": "settlements-read",
60
+ "expiresAt": "2026-10-08T09:12:44Z",
61
+ "approvalRequired": false
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f2c40-0002-7a2b-9c3d-4e5f60718293",
4
+ "time": "2026-04-09T02:00:03.940Z",
5
+ "event": {
6
+ "name": "api-key.rotate",
7
+ "category": "security",
8
+ "type": "rotate",
9
+ "outcome": "success",
10
+ "severity": "medium",
11
+ "summary": "Scheduled rotation of a partner integration credential."
12
+ },
13
+ "actor": {
14
+ "type": "service",
15
+ "id": "service-credential-rotation-worker"
16
+ },
17
+ "resource": {
18
+ "type": "api-key",
19
+ "id": "api-key-4471",
20
+ "name": "partner-billing-reader",
21
+ "classification": "restricted",
22
+ "ownerId": "team-payments",
23
+ "tenantId": "tenant-7"
24
+ },
25
+ "application": {
26
+ "name": "integration-service",
27
+ "environment": "production",
28
+ "version": "4.2.0",
29
+ "component": "credential-rotation"
30
+ },
31
+ "organization": {
32
+ "tenantId": "tenant-7"
33
+ },
34
+ "authorization": {
35
+ "decision": "allow",
36
+ "engine": "policy-service",
37
+ "policy": "integration-credential-rotation",
38
+ "policyVersion": "9"
39
+ },
40
+ "request": {
41
+ "requestId": "request-b31d922",
42
+ "correlationId": "credential-rotation-4471"
43
+ },
44
+ "reason": {
45
+ "code": "scheduled-rotation",
46
+ "text": "Automatic rotation at the end of the credential lifetime."
47
+ },
48
+ "controlCategories": ["credential-lifecycle"],
49
+ "metadata": {
50
+ "integration": {
51
+ "type": "api-credential",
52
+ "provider": "partner-billing-platform",
53
+ "scope": "settlements-read",
54
+ "expiresAt": "2026-10-09T02:00:03Z",
55
+ "approvalRequired": false
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "specVersion": "0.1",
3
+ "id": "018f2c40-0010-7a2b-9c3d-4e5f60718293",
4
+ "time": "2026-04-17T15:36:09.402Z",
5
+ "event": {
6
+ "name": "integration.configuration.update",
7
+ "category": "configuration",
8
+ "type": "update",
9
+ "outcome": "success",
10
+ "severity": "medium",
11
+ "summary": "Field mapping and sync direction changed on a connector."
12
+ },
13
+ "actor": {
14
+ "type": "user",
15
+ "id": "user-5120",
16
+ "tenantId": "tenant-7"
17
+ },
18
+ "resource": {
19
+ "type": "integration",
20
+ "id": "connection-3312",
21
+ "name": "customer-records-connector",
22
+ "classification": "confidential",
23
+ "ownerId": "team-revenue",
24
+ "tenantId": "tenant-7"
25
+ },
26
+ "application": {
27
+ "name": "integration-service",
28
+ "environment": "production",
29
+ "version": "4.2.0"
30
+ },
31
+ "organization": {
32
+ "tenantId": "tenant-7"
33
+ },
34
+ "authorization": {
35
+ "decision": "allow",
36
+ "engine": "policy-service",
37
+ "policy": "third-party-connection-policy",
38
+ "policyVersion": "5"
39
+ },
40
+ "request": {
41
+ "requestId": "request-b31ed40",
42
+ "correlationId": "connection-tuning-3312"
43
+ },
44
+ "approval": {
45
+ "status": "not-required",
46
+ "workflowId": "integration-change-workflow"
47
+ },
48
+ "change": {
49
+ "type": "update",
50
+ "changedFields": ["syncDirection", "fieldMapping"],
51
+ "ticketId": "change-10544"
52
+ },
53
+ "reason": {
54
+ "code": "scope-reduction",
55
+ "text": "Synchronization narrowed to one direction after a data review.",
56
+ "reference": "change-10544"
57
+ },
58
+ "controlCategories": ["third-party-access", "change-approval"],
59
+ "metadata": {
60
+ "integration": {
61
+ "type": "service-connector",
62
+ "provider": "partner-crm-platform",
63
+ "endpointClass": "partner-network",
64
+ "approvalRequired": false
65
+ }
66
+ }
67
+ }