auditex 2.1.2__tar.gz → 2.1.3__tar.gz

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 (729) hide show
  1. {auditex-2.1.2/src/auditex.egg-info → auditex-2.1.3}/PKG-INFO +1 -1
  2. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/customer-handoff-guide.md +2 -0
  3. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/product-manual.md +3 -1
  4. {auditex-2.1.2 → auditex-2.1.3}/docs/reference/output-contract.md +7 -3
  5. {auditex-2.1.2 → auditex-2.1.3}/docs/reference/security-privacy.md +6 -0
  6. {auditex-2.1.2 → auditex-2.1.3}/pyproject.toml +1 -1
  7. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/client.py +69 -10
  8. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/collectors.py +8 -2
  9. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/findings.py +64 -32
  10. auditex-2.1.3/src/auditex/google_workspace/identity.py +22 -0
  11. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/normalize.py +254 -36
  12. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/run.py +49 -4
  13. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/scuba_projection.py +22 -47
  14. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/mcp_paths.py +4 -4
  15. auditex-2.1.3/src/auditex/mcp_registry.py +489 -0
  16. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/mcp_server.py +54 -19
  17. auditex-2.1.3/src/auditex/mcp_special_tokens.py +214 -0
  18. auditex-2.1.3/src/auditex/mcp_text.py +902 -0
  19. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/reporting.py +293 -45
  20. {auditex-2.1.2 → auditex-2.1.3/src/auditex.egg-info}/PKG-INFO +1 -1
  21. {auditex-2.1.2 → auditex-2.1.3}/src/auditex.egg-info/SOURCES.txt +7 -0
  22. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/output.py +12 -4
  23. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/output_redaction.py +23 -23
  24. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/provider_runtime.py +3 -2
  25. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/text_validity.py +29 -9
  26. {auditex-2.1.2 → auditex-2.1.3}/tests/test_auditex_product.py +3 -1
  27. {auditex-2.1.2 → auditex-2.1.3}/tests/test_ce_plus_practice.py +3 -1
  28. {auditex-2.1.2 → auditex-2.1.3}/tests/test_csv_export_stability.py +3 -3
  29. auditex-2.1.3/tests/test_google_bundle_validity.py +420 -0
  30. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_policy_settings.py +7 -2
  31. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_scuba_reads.py +19 -0
  32. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_workspace.py +172 -0
  33. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_report_surfaces.py +95 -0
  34. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_scuba_projection.py +359 -0
  35. {auditex-2.1.2 → auditex-2.1.3}/tests/test_key_guard_cli_values.py +3 -1
  36. auditex-2.1.3/tests/test_mcp_client_view.py +184 -0
  37. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_offline_operator_inputs.py +1 -1
  38. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_paths.py +30 -4
  39. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_registry.py +61 -2
  40. auditex-2.1.3/tests/test_mcp_response_budget.py +66 -0
  41. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_temp_layouts.py +8 -0
  42. auditex-2.1.3/tests/test_mcp_text.py +114 -0
  43. {auditex-2.1.2 → auditex-2.1.3}/tests/test_pack_integrity_and_permissions.py +134 -5
  44. {auditex-2.1.2 → auditex-2.1.3}/tests/test_redaction_person_names.py +6 -0
  45. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_client.py +11 -3
  46. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_packaging_release_scripts_make.py +13 -0
  47. auditex-2.1.2/src/auditex/mcp_registry.py +0 -270
  48. {auditex-2.1.2 → auditex-2.1.3}/LICENSE +0 -0
  49. {auditex-2.1.2 → auditex-2.1.3}/NOTICE +0 -0
  50. {auditex-2.1.2 → auditex-2.1.3}/README.md +0 -0
  51. {auditex-2.1.2 → auditex-2.1.3}/agent/agent-prompt.md +0 -0
  52. {auditex-2.1.2 → auditex-2.1.3}/agent/tenant-audit-skill.json +0 -0
  53. {auditex-2.1.2 → auditex-2.1.3}/assets/auditex-logo-64.png +0 -0
  54. {auditex-2.1.2 → auditex-2.1.3}/assets/auditex-logo.svg +0 -0
  55. {auditex-2.1.2 → auditex-2.1.3}/configs/assessment-sources.json +0 -0
  56. {auditex-2.1.2 → auditex-2.1.3}/configs/ce-plus-practice.json +0 -0
  57. {auditex-2.1.2 → auditex-2.1.3}/configs/collector-definitions.json +0 -0
  58. {auditex-2.1.2 → auditex-2.1.3}/configs/collector-permissions.json +0 -0
  59. {auditex-2.1.2 → auditex-2.1.3}/configs/collector-presets.json +0 -0
  60. {auditex-2.1.2 → auditex-2.1.3}/configs/control-mappings.json +0 -0
  61. {auditex-2.1.2 → auditex-2.1.3}/configs/explainer-baselines.json +0 -0
  62. {auditex-2.1.2 → auditex-2.1.3}/configs/explainer-gws-template.json +0 -0
  63. {auditex-2.1.2 → auditex-2.1.3}/configs/explainer-template.json +0 -0
  64. {auditex-2.1.2 → auditex-2.1.3}/configs/explainer-what-to-collect.json +0 -0
  65. {auditex-2.1.2 → auditex-2.1.3}/configs/finding-templates.json +0 -0
  66. {auditex-2.1.2 → auditex-2.1.3}/configs/framework-catalog.json +0 -0
  67. {auditex-2.1.2 → auditex-2.1.3}/configs/os-end-of-life.json +0 -0
  68. {auditex-2.1.2 → auditex-2.1.3}/configs/report-sections.json +0 -0
  69. {auditex-2.1.2 → auditex-2.1.3}/configs/risky-delegated-permissions.json +0 -0
  70. {auditex-2.1.2 → auditex-2.1.3}/configs/rule-packs.json +0 -0
  71. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-policy-sections.json +0 -0
  72. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-dns.json +0 -0
  73. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-events.json +0 -0
  74. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-identity.json +0 -0
  75. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-lists.json +0 -0
  76. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-multi.json +0 -0
  77. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-setting-collab.json +0 -0
  78. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-rules-setting-core.json +0 -0
  79. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-gws-value-rules.json +0 -0
  80. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-policy-sections.json +0 -0
  81. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-rule-precheck.json +0 -0
  82. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-scope-blind.json +0 -0
  83. {auditex-2.1.2 → auditex-2.1.3}/configs/scuba-value-rules.json +0 -0
  84. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/admin-permission-guide.md +0 -0
  85. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/ai-assessment.md +0 -0
  86. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/external-assessments.md +0 -0
  87. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/install-guide.md +0 -0
  88. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/local-answer.md +0 -0
  89. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/model-development.md +0 -0
  90. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/reader-app-permissions.md +0 -0
  91. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/setup-guide.md +0 -0
  92. {auditex-2.1.2 → auditex-2.1.3}/docs/guides/troubleshooting.md +0 -0
  93. {auditex-2.1.2 → auditex-2.1.3}/docs/index.md +0 -0
  94. {auditex-2.1.2 → auditex-2.1.3}/docs/legal/third-party-notices.md +0 -0
  95. {auditex-2.1.2 → auditex-2.1.3}/docs/legal/trademarks.md +0 -0
  96. {auditex-2.1.2 → auditex-2.1.3}/docs/provenance/explainer-baselines.md +0 -0
  97. {auditex-2.1.2 → auditex-2.1.3}/docs/provenance/provenance.csv +0 -0
  98. {auditex-2.1.2 → auditex-2.1.3}/docs/provenance/provenance.md +0 -0
  99. {auditex-2.1.2 → auditex-2.1.3}/docs/reference/api-call-catalog.md +0 -0
  100. {auditex-2.1.2 → auditex-2.1.3}/docs/reference/framework-mappings.md +0 -0
  101. {auditex-2.1.2 → auditex-2.1.3}/examples/demo_tenant/demo_tenant.json +0 -0
  102. {auditex-2.1.2 → auditex-2.1.3}/examples/demo_tenant/demo_tenant_remediated.json +0 -0
  103. {auditex-2.1.2 → auditex-2.1.3}/examples/google_workspace_sample.json +0 -0
  104. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/admin_set_result.json +0 -0
  105. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/endpoint_posture_result.json +0 -0
  106. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/external_maester.json +0 -0
  107. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/external_monkey365.json +0 -0
  108. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/external_scubagear.json +0 -0
  109. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/identity_controls_result.json +0 -0
  110. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/known_bad_result.json +0 -0
  111. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/sample_result.json +0 -0
  112. {auditex-2.1.2 → auditex-2.1.3}/examples/sample_audit_bundle/update_rings_missing_result.json +0 -0
  113. {auditex-2.1.2 → auditex-2.1.3}/profiles/app-readonly-full.md +0 -0
  114. {auditex-2.1.2 → auditex-2.1.3}/profiles/exchange-reader.md +0 -0
  115. {auditex-2.1.2 → auditex-2.1.3}/profiles/global-reader.md +0 -0
  116. {auditex-2.1.2 → auditex-2.1.3}/profiles/intune-reader.md +0 -0
  117. {auditex-2.1.2 → auditex-2.1.3}/profiles/security-reader.md +0 -0
  118. {auditex-2.1.2 → auditex-2.1.3}/schemas/ai_context.schema.json +0 -0
  119. {auditex-2.1.2 → auditex-2.1.3}/schemas/blocker.schema.json +0 -0
  120. {auditex-2.1.2 → auditex-2.1.3}/schemas/blockers.schema.json +0 -0
  121. {auditex-2.1.2 → auditex-2.1.3}/schemas/bundle_hashes.schema.json +0 -0
  122. {auditex-2.1.2 → auditex-2.1.3}/schemas/capability_matrix.schema.json +0 -0
  123. {auditex-2.1.2 → auditex-2.1.3}/schemas/ce_plus_practice.schema.json +0 -0
  124. {auditex-2.1.2 → auditex-2.1.3}/schemas/collector_result.schema.json +0 -0
  125. {auditex-2.1.2 → auditex-2.1.3}/schemas/explainer.schema.json +0 -0
  126. {auditex-2.1.2 → auditex-2.1.3}/schemas/finding.schema.json +0 -0
  127. {auditex-2.1.2 → auditex-2.1.3}/schemas/local_answer.schema.json +0 -0
  128. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-10-27.1.schema.json +0 -0
  129. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-10-27.schema.json +0 -0
  130. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-10-28.schema.json +0 -0
  131. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-10-29.schema.json +0 -0
  132. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-11-05.schema.json +0 -0
  133. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment-2026-11-22.schema.json +0 -0
  134. {auditex-2.1.2 → auditex-2.1.3}/schemas/model_assessment.schema.json +0 -0
  135. {auditex-2.1.2 → auditex-2.1.3}/schemas/report_pack.schema.json +0 -0
  136. {auditex-2.1.2 → auditex-2.1.3}/schemas/run_manifest.schema.json +0 -0
  137. {auditex-2.1.2 → auditex-2.1.3}/schemas/summary.schema.json +0 -0
  138. {auditex-2.1.2 → auditex-2.1.3}/schemas/targeted_users_coverage.schema.json +0 -0
  139. {auditex-2.1.2 → auditex-2.1.3}/schemas/validation.schema.json +0 -0
  140. {auditex-2.1.2 → auditex-2.1.3}/setup.cfg +0 -0
  141. {auditex-2.1.2 → auditex-2.1.3}/skills/app-readonly-escalation/SKILL.md +0 -0
  142. {auditex-2.1.2 → auditex-2.1.3}/skills/auditex-operator/SKILL.md +0 -0
  143. {auditex-2.1.2 → auditex-2.1.3}/skills/evidence-pack/SKILL.md +0 -0
  144. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/__init__.py +0 -0
  145. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/__main__.py +0 -0
  146. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/answer_checks.py +0 -0
  147. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/answer_digest.py +0 -0
  148. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/answer_frames.json +0 -0
  149. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/assessment_review.py +0 -0
  150. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/assessment_sources.py +0 -0
  151. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/auth_runtime.py +0 -0
  152. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/bootstrap.py +0 -0
  153. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/ce_plus.py +0 -0
  154. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/cli.py +0 -0
  155. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/command_builders.py +0 -0
  156. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/command_runner.py +0 -0
  157. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/compare.py +0 -0
  158. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/demo.py +0 -0
  159. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/evidence_db.py +0 -0
  160. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer.py +0 -0
  161. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/LICENSE-lucide.txt +0 -0
  162. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/explorer.css +0 -0
  163. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/explorer.html +0 -0
  164. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/explorer.js +0 -0
  165. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-400-latin-ext.woff2 +0 -0
  166. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-400-latin-ext.woff2.range +0 -0
  167. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-400-latin.woff2 +0 -0
  168. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-400-latin.woff2.range +0 -0
  169. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-600-latin-ext.woff2 +0 -0
  170. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-600-latin-ext.woff2.range +0 -0
  171. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-600-latin.woff2 +0 -0
  172. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/Barlow-600-latin.woff2.range +0 -0
  173. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin-ext.woff2 +0 -0
  174. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin-ext.woff2.range +0 -0
  175. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin.woff2 +0 -0
  176. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin.woff2.range +0 -0
  177. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/explorer_assets/fonts/OFL.txt +0 -0
  178. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/exporters.py +0 -0
  179. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/external_assessments.py +0 -0
  180. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/features.py +0 -0
  181. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/gate.py +0 -0
  182. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/__init__.py +0 -0
  183. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/auth.py +0 -0
  184. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/customer_id.py +0 -0
  185. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/google_workspace/drive_scope.py +0 -0
  186. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/guided.py +0 -0
  187. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/gws_assessment.py +0 -0
  188. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/local_answer.py +0 -0
  189. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/notify.py +0 -0
  190. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/operator_flow.py +0 -0
  191. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/output_writers.py +0 -0
  192. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/rule_assessment.py +0 -0
  193. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/rules.py +0 -0
  194. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/run_bundle.py +0 -0
  195. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scope_postcheck.py +0 -0
  196. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_adapters_aad.py +0 -0
  197. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_adapters_defender.py +0 -0
  198. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_adapters_exchange.py +0 -0
  199. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_adapters_powerplat.py +0 -0
  200. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_adapters_teams.py +0 -0
  201. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scuba_projection.py +0 -0
  202. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scubagear_export.py +0 -0
  203. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/scubagear_prune_proof.py +0 -0
  204. {auditex-2.1.2 → auditex-2.1.3}/src/auditex/setup_guide.py +0 -0
  205. {auditex-2.1.2 → auditex-2.1.3}/src/auditex.egg-info/dependency_links.txt +0 -0
  206. {auditex-2.1.2 → auditex-2.1.3}/src/auditex.egg-info/entry_points.txt +0 -0
  207. {auditex-2.1.2 → auditex-2.1.3}/src/auditex.egg-info/requires.txt +0 -0
  208. {auditex-2.1.2 → auditex-2.1.3}/src/auditex.egg-info/top_level.txt +0 -0
  209. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/__init__.py +0 -0
  210. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/__main__.py +0 -0
  211. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/__init__.py +0 -0
  212. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/base.py +0 -0
  213. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/capabilities.py +0 -0
  214. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/m365_cli.py +0 -0
  215. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/m365dsc.py +0 -0
  216. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/powershell_graph.py +0 -0
  217. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/read_guard.py +0 -0
  218. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/adapters/teams_admin_rest.py +0 -0
  219. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/ai_context.py +0 -0
  220. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/api_inventory.py +0 -0
  221. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/argument_parser.py +0 -0
  222. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/assurance.py +0 -0
  223. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/attack_graph.py +0 -0
  224. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/auth_context.py +0 -0
  225. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/auth_runtime.py +0 -0
  226. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/autopilot.py +0 -0
  227. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/baselines.py +0 -0
  228. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/break_glass.py +0 -0
  229. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/bundle_integrity.py +0 -0
  230. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/capability_gate.py +0 -0
  231. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/catalog.py +0 -0
  232. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/certificate_auth.py +0 -0
  233. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/chunk_reader.py +0 -0
  234. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/citations.py +0 -0
  235. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/cli.py +0 -0
  236. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/cli_guard.py +0 -0
  237. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collection_gaps.py +0 -0
  238. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collection_markers.py +0 -0
  239. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collector_runner.py +0 -0
  240. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/__init__.py +0 -0
  241. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/_capability_gated.py +0 -0
  242. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/_endpoint_reads.py +0 -0
  243. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/anti_phish_admission.py +0 -0
  244. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/app_consent.py +0 -0
  245. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/app_credentials.py +0 -0
  246. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/auth_methods.py +0 -0
  247. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/base.py +0 -0
  248. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/conditional_access.py +0 -0
  249. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/consent_policy.py +0 -0
  250. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/copilot_governance.py +0 -0
  251. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/cross_tenant_access.py +0 -0
  252. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/defender.py +0 -0
  253. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/defender_cloud_apps.py +0 -0
  254. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/directory_relationships.py +0 -0
  255. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/dns_posture.py +0 -0
  256. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/domains_hybrid.py +0 -0
  257. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/ediscovery.py +0 -0
  258. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/exchange.py +0 -0
  259. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/exchange_defender_commands.py +0 -0
  260. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/exchange_policy.py +0 -0
  261. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/external_identity.py +0 -0
  262. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/identity.py +0 -0
  263. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/identity_governance.py +0 -0
  264. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/identity_protection.py +0 -0
  265. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/intune.py +0 -0
  266. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/intune_depth.py +0 -0
  267. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/licensing.py +0 -0
  268. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/mailbox_forwarding.py +0 -0
  269. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/onedrive_posture.py +0 -0
  270. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/power_bi.py +0 -0
  271. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/power_platform.py +0 -0
  272. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/purview.py +0 -0
  273. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/reports_usage.py +0 -0
  274. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/security.py +0 -0
  275. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/sentinel_xdr.py +0 -0
  276. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/service_health.py +0 -0
  277. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/sharepoint.py +0 -0
  278. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/sharepoint_access.py +0 -0
  279. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/sharepoint_admin.py +0 -0
  280. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/targeted_users_coverage.py +0 -0
  281. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/teams.py +0 -0
  282. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/collectors/teams_policy.py +0 -0
  283. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/config.py +0 -0
  284. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/contracts.py +0 -0
  285. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/cyber_essentials.py +0 -0
  286. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/data_handling.py +0 -0
  287. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/data_minimisation.py +0 -0
  288. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/detection_coverage.py +0 -0
  289. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/diagnostics.py +0 -0
  290. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/diffing.py +0 -0
  291. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/directory_relationships.py +0 -0
  292. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/dns_lookup.py +0 -0
  293. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/dns_shareable.py +0 -0
  294. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/effective_admins.py +0 -0
  295. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/endpoint_posture.py +0 -0
  296. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/evidence_db.py +0 -0
  297. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/evidence_gates.py +0 -0
  298. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/evidence_refs.py +0 -0
  299. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/exchange_protection.py +0 -0
  300. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/__init__.py +0 -0
  301. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/adapter.py +0 -0
  302. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/baselines.py +0 -0
  303. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/collection.py +0 -0
  304. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/generate.py +0 -0
  305. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/gws.py +0 -0
  306. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/render.py +0 -0
  307. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/textkit.py +0 -0
  308. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/explainer/view.py +0 -0
  309. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/exposure_lookup.py +0 -0
  310. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/external_sharing.py +0 -0
  311. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/finalize.py +0 -0
  312. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/findings.py +0 -0
  313. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/friendly_names.py +0 -0
  314. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/google_policy_schema.py +0 -0
  315. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/graph.py +0 -0
  316. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/guarded_io.py +0 -0
  317. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/identity_controls.py +0 -0
  318. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/logger_hold.py +0 -0
  319. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/normalize.py +0 -0
  320. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/offline_replay.py +0 -0
  321. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/os_lifecycle.py +0 -0
  322. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/partner_domains.py +0 -0
  323. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/perf_runtime.py +0 -0
  324. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/power_bi.py +0 -0
  325. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/power_platform.py +0 -0
  326. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/presets.py +0 -0
  327. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/private_io.py +0 -0
  328. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/privileged_roles.py +0 -0
  329. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/probe.py +0 -0
  330. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/profiles.py +0 -0
  331. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/provider_registry.py +0 -0
  332. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/resources.py +0 -0
  333. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/response.py +0 -0
  334. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/rule_parameters.py +0 -0
  335. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/run.py +0 -0
  336. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/run_files.py +0 -0
  337. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/scope_catalog.py +0 -0
  338. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/scuba_assessment.py +0 -0
  339. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/scuba_precheck.py +0 -0
  340. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/scuba_scope.py +0 -0
  341. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/secret_hygiene.py +0 -0
  342. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/selection.py +0 -0
  343. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/sensitive_users.py +0 -0
  344. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/shipped_content.py +0 -0
  345. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/strict_json.py +0 -0
  346. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/tenant_identity.py +0 -0
  347. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/utils.py +0 -0
  348. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/__init__.py +0 -0
  349. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/aad_authz.py +0 -0
  350. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/aad_pilot.py +0 -0
  351. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/aad_roles.py +0 -0
  352. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/catalogue.py +0 -0
  353. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/conditional_access.py +0 -0
  354. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_cascade.py +0 -0
  355. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_dlp.py +0 -0
  356. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_phish.py +0 -0
  357. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_resolution.py +0 -0
  358. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_spam.py +0 -0
  359. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/defender_targeted_users.py +0 -0
  360. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/dns.py +0 -0
  361. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/exo_open.py +0 -0
  362. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gates.py +0 -0
  363. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/__init__.py +0 -0
  364. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/catalogue.py +0 -0
  365. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/dns.py +0 -0
  366. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/events.py +0 -0
  367. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/identity.py +0 -0
  368. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/lists.py +0 -0
  369. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/manual.py +0 -0
  370. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/multi.py +0 -0
  371. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/record.py +0 -0
  372. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/reduce.py +0 -0
  373. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/gws/settings.py +0 -0
  374. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/helpers.py +0 -0
  375. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/lookups.py +0 -0
  376. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/power_platform.py +0 -0
  377. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/powerbi.py +0 -0
  378. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/record.py +0 -0
  379. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/value_rules/sharepoint.py +0 -0
  380. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/versioning.py +0 -0
  381. {auditex-2.1.2 → auditex-2.1.3}/src/azure_tenant_audit/waivers.py +0 -0
  382. {auditex-2.1.2 → auditex-2.1.3}/tests/test_aad_policy_collectors.py +0 -0
  383. {auditex-2.1.2 → auditex-2.1.3}/tests/test_adapters.py +0 -0
  384. {auditex-2.1.2 → auditex-2.1.3}/tests/test_answer_checks.py +0 -0
  385. {auditex-2.1.2 → auditex-2.1.3}/tests/test_answer_digest.py +0 -0
  386. {auditex-2.1.2 → auditex-2.1.3}/tests/test_api_inventory.py +0 -0
  387. {auditex-2.1.2 → auditex-2.1.3}/tests/test_api_observed_ledger.py +0 -0
  388. {auditex-2.1.2 → auditex-2.1.3}/tests/test_app_credentials_collector.py +0 -0
  389. {auditex-2.1.2 → auditex-2.1.3}/tests/test_app_credentials_findings.py +0 -0
  390. {auditex-2.1.2 → auditex-2.1.3}/tests/test_architecture_modules.py +0 -0
  391. {auditex-2.1.2 → auditex-2.1.3}/tests/test_assessment_cli.py +0 -0
  392. {auditex-2.1.2 → auditex-2.1.3}/tests/test_assessment_review.py +0 -0
  393. {auditex-2.1.2 → auditex-2.1.3}/tests/test_assurance.py +0 -0
  394. {auditex-2.1.2 → auditex-2.1.3}/tests/test_attack_graph.py +0 -0
  395. {auditex-2.1.2 → auditex-2.1.3}/tests/test_auth_methods_collector.py +0 -0
  396. {auditex-2.1.2 → auditex-2.1.3}/tests/test_autopilot.py +0 -0
  397. {auditex-2.1.2 → auditex-2.1.3}/tests/test_baseline_evaluation.py +0 -0
  398. {auditex-2.1.2 → auditex-2.1.3}/tests/test_bootstrap.py +0 -0
  399. {auditex-2.1.2 → auditex-2.1.3}/tests/test_break_glass.py +0 -0
  400. {auditex-2.1.2 → auditex-2.1.3}/tests/test_bundle_integrity_legacy_outputs.py +0 -0
  401. {auditex-2.1.2 → auditex-2.1.3}/tests/test_bundle_names.py +0 -0
  402. {auditex-2.1.2 → auditex-2.1.3}/tests/test_bundle_permissions.py +0 -0
  403. {auditex-2.1.2 → auditex-2.1.3}/tests/test_capability_gate.py +0 -0
  404. {auditex-2.1.2 → auditex-2.1.3}/tests/test_capability_gated_shape.py +0 -0
  405. {auditex-2.1.2 → auditex-2.1.3}/tests/test_capability_gated_stubs.py +0 -0
  406. {auditex-2.1.2 → auditex-2.1.3}/tests/test_ce_plus_catalogue.py +0 -0
  407. {auditex-2.1.2 → auditex-2.1.3}/tests/test_ce_review_fixes.py +0 -0
  408. {auditex-2.1.2 → auditex-2.1.3}/tests/test_certificate_auth.py +0 -0
  409. {auditex-2.1.2 → auditex-2.1.3}/tests/test_check_archive_wheel.py +0 -0
  410. {auditex-2.1.2 → auditex-2.1.3}/tests/test_check_reproducible_build.py +0 -0
  411. {auditex-2.1.2 → auditex-2.1.3}/tests/test_chunk_normalization.py +0 -0
  412. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cli.py +0 -0
  413. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cli_abbreviations.py +0 -0
  414. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cli_extensions.py +0 -0
  415. {auditex-2.1.2 → auditex-2.1.3}/tests/test_collection_coverage_fixes.py +0 -0
  416. {auditex-2.1.2 → auditex-2.1.3}/tests/test_collection_gaps.py +0 -0
  417. {auditex-2.1.2 → auditex-2.1.3}/tests/test_collector_chunk_refusal_closure.py +0 -0
  418. {auditex-2.1.2 → auditex-2.1.3}/tests/test_collector_fanout.py +0 -0
  419. {auditex-2.1.2 → auditex-2.1.3}/tests/test_collector_runner.py +0 -0
  420. {auditex-2.1.2 → auditex-2.1.3}/tests/test_command_builders.py +0 -0
  421. {auditex-2.1.2 → auditex-2.1.3}/tests/test_command_output_privacy.py +0 -0
  422. {auditex-2.1.2 → auditex-2.1.3}/tests/test_compare.py +0 -0
  423. {auditex-2.1.2 → auditex-2.1.3}/tests/test_compare_run_outputs.py +0 -0
  424. {auditex-2.1.2 → auditex-2.1.3}/tests/test_compliance_framework_mappings.py +0 -0
  425. {auditex-2.1.2 → auditex-2.1.3}/tests/test_composed_guard_regressions.py +0 -0
  426. {auditex-2.1.2 → auditex-2.1.3}/tests/test_composed_model_regressions.py +0 -0
  427. {auditex-2.1.2 → auditex-2.1.3}/tests/test_composed_refusal_exits.py +0 -0
  428. {auditex-2.1.2 → auditex-2.1.3}/tests/test_conditional_access_normalization.py +0 -0
  429. {auditex-2.1.2 → auditex-2.1.3}/tests/test_config.py +0 -0
  430. {auditex-2.1.2 → auditex-2.1.3}/tests/test_contract.py +0 -0
  431. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cross_tenant_access_collector.py +0 -0
  432. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cross_tenant_access_findings.py +0 -0
  433. {auditex-2.1.2 → auditex-2.1.3}/tests/test_customer_pack_d3.py +0 -0
  434. {auditex-2.1.2 → auditex-2.1.3}/tests/test_cyber_essentials.py +0 -0
  435. {auditex-2.1.2 → auditex-2.1.3}/tests/test_data_minimisation.py +0 -0
  436. {auditex-2.1.2 → auditex-2.1.3}/tests/test_demo_and_explorer.py +0 -0
  437. {auditex-2.1.2 → auditex-2.1.3}/tests/test_demo_tenant_fixture.py +0 -0
  438. {auditex-2.1.2 → auditex-2.1.3}/tests/test_detection_coverage.py +0 -0
  439. {auditex-2.1.2 → auditex-2.1.3}/tests/test_diagnostic_aggregation.py +0 -0
  440. {auditex-2.1.2 → auditex-2.1.3}/tests/test_diffing.py +0 -0
  441. {auditex-2.1.2 → auditex-2.1.3}/tests/test_directory_relationships.py +0 -0
  442. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dkim_empty_answer.py +0 -0
  443. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dmarc_nxdomain.py +0 -0
  444. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dns_lookup_parsers.py +0 -0
  445. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dns_posture_collector.py +0 -0
  446. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dns_posture_findings.py +0 -0
  447. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dns_scuba_records.py +0 -0
  448. {auditex-2.1.2 → auditex-2.1.3}/tests/test_dns_shareable.py +0 -0
  449. {auditex-2.1.2 → auditex-2.1.3}/tests/test_docs_paths.py +0 -0
  450. {auditex-2.1.2 → auditex-2.1.3}/tests/test_effective_admin_set.py +0 -0
  451. {auditex-2.1.2 → auditex-2.1.3}/tests/test_endpoint_findings.py +0 -0
  452. {auditex-2.1.2 → auditex-2.1.3}/tests/test_endpoint_posture.py +0 -0
  453. {auditex-2.1.2 → auditex-2.1.3}/tests/test_endpoint_samples.py +0 -0
  454. {auditex-2.1.2 → auditex-2.1.3}/tests/test_enterprise_depth_collectors.py +0 -0
  455. {auditex-2.1.2 → auditex-2.1.3}/tests/test_evidence_db_migration.py +0 -0
  456. {auditex-2.1.2 → auditex-2.1.3}/tests/test_evidence_gates.py +0 -0
  457. {auditex-2.1.2 → auditex-2.1.3}/tests/test_evidence_traceability.py +0 -0
  458. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exchange_collector.py +0 -0
  459. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exchange_defender_collector.py +0 -0
  460. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exchange_policy_scuba_inputs.py +0 -0
  461. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exchange_protection.py +0 -0
  462. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exchange_session.py +0 -0
  463. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_baselines.py +0 -0
  464. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_catalogue_drift.py +0 -0
  465. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_collection.py +0 -0
  466. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_commands.py +0 -0
  467. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_fixtures.py +0 -0
  468. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_integration.py +0 -0
  469. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_renderer.py +0 -0
  470. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_view.py +0 -0
  471. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explainer_wire.py +0 -0
  472. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explorer_guard_integration.py +0 -0
  473. {auditex-2.1.2 → auditex-2.1.3}/tests/test_explorer_redesign.py +0 -0
  474. {auditex-2.1.2 → auditex-2.1.3}/tests/test_exposure_lookups.py +0 -0
  475. {auditex-2.1.2 → auditex-2.1.3}/tests/test_external_assessments.py +0 -0
  476. {auditex-2.1.2 → auditex-2.1.3}/tests/test_external_sharing.py +0 -0
  477. {auditex-2.1.2 → auditex-2.1.3}/tests/test_finalize_idempotent.py +0 -0
  478. {auditex-2.1.2 → auditex-2.1.3}/tests/test_finding_invariants.py +0 -0
  479. {auditex-2.1.2 → auditex-2.1.3}/tests/test_finding_templates_complete.py +0 -0
  480. {auditex-2.1.2 → auditex-2.1.3}/tests/test_findings.py +0 -0
  481. {auditex-2.1.2 → auditex-2.1.3}/tests/test_first_collection_graph_fixes.py +0 -0
  482. {auditex-2.1.2 → auditex-2.1.3}/tests/test_fixture_replay.py +0 -0
  483. {auditex-2.1.2 → auditex-2.1.3}/tests/test_framework_baselines.py +0 -0
  484. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gate_cli.py +0 -0
  485. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gate_drift_cli.py +0 -0
  486. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gate_integrity.py +0 -0
  487. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gated_normalize_sections.py +0 -0
  488. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_collection_gaps.py +0 -0
  489. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_customer_id_privacy.py +0 -0
  490. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_customer_identity.py +0 -0
  491. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_device_posture.py +0 -0
  492. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_dns_scuba.py +0 -0
  493. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_drive_findings_scope.py +0 -0
  494. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_drive_scope.py +0 -0
  495. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_parity.py +0 -0
  496. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_raw_section_gaps.py +0 -0
  497. {auditex-2.1.2 → auditex-2.1.3}/tests/test_google_reports_shapes.py +0 -0
  498. {auditex-2.1.2 → auditex-2.1.3}/tests/test_graph.py +0 -0
  499. {auditex-2.1.2 → auditex-2.1.3}/tests/test_graph_batch_retry.py +0 -0
  500. {auditex-2.1.2 → auditex-2.1.3}/tests/test_graph_read_only.py +0 -0
  501. {auditex-2.1.2 → auditex-2.1.3}/tests/test_graph_streaming.py +0 -0
  502. {auditex-2.1.2 → auditex-2.1.3}/tests/test_guarded_admission.py +0 -0
  503. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_assessment.py +0 -0
  504. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_end_to_end.py +0 -0
  505. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_explainer.py +0 -0
  506. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_scuba_catalogue.py +0 -0
  507. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_core.py +0 -0
  508. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_dns.py +0 -0
  509. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_events.py +0 -0
  510. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_identity.py +0 -0
  511. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_lists.py +0 -0
  512. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_multi.py +0 -0
  513. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_mutation.py +0 -0
  514. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_replay.py +0 -0
  515. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_setting_collab.py +0 -0
  516. {auditex-2.1.2 → auditex-2.1.3}/tests/test_gws_value_rules_settings.py +0 -0
  517. {auditex-2.1.2 → auditex-2.1.3}/tests/test_html_peak_harness.py +0 -0
  518. {auditex-2.1.2 → auditex-2.1.3}/tests/test_http_verb_allowlist.py +0 -0
  519. {auditex-2.1.2 → auditex-2.1.3}/tests/test_identity_collector.py +0 -0
  520. {auditex-2.1.2 → auditex-2.1.3}/tests/test_identity_controls.py +0 -0
  521. {auditex-2.1.2 → auditex-2.1.3}/tests/test_identity_rules_review_v3.py +0 -0
  522. {auditex-2.1.2 → auditex-2.1.3}/tests/test_identity_verdict_exclusions.py +0 -0
  523. {auditex-2.1.2 → auditex-2.1.3}/tests/test_index_unproved_storage.py +0 -0
  524. {auditex-2.1.2 → auditex-2.1.3}/tests/test_integrity_gate_followups.py +0 -0
  525. {auditex-2.1.2 → auditex-2.1.3}/tests/test_intune_endpoint_collector.py +0 -0
  526. {auditex-2.1.2 → auditex-2.1.3}/tests/test_ipps_session.py +0 -0
  527. {auditex-2.1.2 → auditex-2.1.3}/tests/test_jira_github_sinks.py +0 -0
  528. {auditex-2.1.2 → auditex-2.1.3}/tests/test_json_export_stability.py +0 -0
  529. {auditex-2.1.2 → auditex-2.1.3}/tests/test_key_guard_copy.py +0 -0
  530. {auditex-2.1.2 → auditex-2.1.3}/tests/test_key_guard_later_reads.py +0 -0
  531. {auditex-2.1.2 → auditex-2.1.3}/tests/test_key_guard_stdin.py +0 -0
  532. {auditex-2.1.2 → auditex-2.1.3}/tests/test_key_guard_swaps.py +0 -0
  533. {auditex-2.1.2 → auditex-2.1.3}/tests/test_known_bad_samples.py +0 -0
  534. {auditex-2.1.2 → auditex-2.1.3}/tests/test_live_fix_7_oauth_scopes.py +0 -0
  535. {auditex-2.1.2 → auditex-2.1.3}/tests/test_local_answer.py +0 -0
  536. {auditex-2.1.2 → auditex-2.1.3}/tests/test_local_auth_scripts.py +0 -0
  537. {auditex-2.1.2 → auditex-2.1.3}/tests/test_lone_surrogate_text.py +0 -0
  538. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mailbox_forwarding_collector.py +0 -0
  539. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mailbox_forwarding_findings.py +0 -0
  540. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_guard_repair.py +0 -0
  541. {auditex-2.1.2 → auditex-2.1.3}/tests/test_mcp_manifest_guard.py +0 -0
  542. {auditex-2.1.2 → auditex-2.1.3}/tests/test_model_precheck.py +0 -0
  543. {auditex-2.1.2 → auditex-2.1.3}/tests/test_model_rules_only.py +0 -0
  544. {auditex-2.1.2 → auditex-2.1.3}/tests/test_model_serving.py +0 -0
  545. {auditex-2.1.2 → auditex-2.1.3}/tests/test_normalize.py +0 -0
  546. {auditex-2.1.2 → auditex-2.1.3}/tests/test_normalize_coverage.py +0 -0
  547. {auditex-2.1.2 → auditex-2.1.3}/tests/test_notification_d3.py +0 -0
  548. {auditex-2.1.2 → auditex-2.1.3}/tests/test_notify.py +0 -0
  549. {auditex-2.1.2 → auditex-2.1.3}/tests/test_notify_redaction.py +0 -0
  550. {auditex-2.1.2 → auditex-2.1.3}/tests/test_offline_as_of.py +0 -0
  551. {auditex-2.1.2 → auditex-2.1.3}/tests/test_operator_flow.py +0 -0
  552. {auditex-2.1.2 → auditex-2.1.3}/tests/test_optional_collection_reason.py +0 -0
  553. {auditex-2.1.2 → auditex-2.1.3}/tests/test_os_lifecycle.py +0 -0
  554. {auditex-2.1.2 → auditex-2.1.3}/tests/test_output.py +0 -0
  555. {auditex-2.1.2 → auditex-2.1.3}/tests/test_output_streaming.py +0 -0
  556. {auditex-2.1.2 → auditex-2.1.3}/tests/test_packaging_install.py +0 -0
  557. {auditex-2.1.2 → auditex-2.1.3}/tests/test_parser_error_privacy.py +0 -0
  558. {auditex-2.1.2 → auditex-2.1.3}/tests/test_partial_workload_exit.py +0 -0
  559. {auditex-2.1.2 → auditex-2.1.3}/tests/test_partner_domains.py +0 -0
  560. {auditex-2.1.2 → auditex-2.1.3}/tests/test_partner_rule_projection.py +0 -0
  561. {auditex-2.1.2 → auditex-2.1.3}/tests/test_perf_runtime.py +0 -0
  562. {auditex-2.1.2 → auditex-2.1.3}/tests/test_permission_docs_parity.py +0 -0
  563. {auditex-2.1.2 → auditex-2.1.3}/tests/test_power_bi_collector.py +0 -0
  564. {auditex-2.1.2 → auditex-2.1.3}/tests/test_power_platform_collector.py +0 -0
  565. {auditex-2.1.2 → auditex-2.1.3}/tests/test_powerplat_end_to_end.py +0 -0
  566. {auditex-2.1.2 → auditex-2.1.3}/tests/test_presets.py +0 -0
  567. {auditex-2.1.2 → auditex-2.1.3}/tests/test_prior_guard_routes.py +0 -0
  568. {auditex-2.1.2 → auditex-2.1.3}/tests/test_private_input_boundary_followups.py +0 -0
  569. {auditex-2.1.2 → auditex-2.1.3}/tests/test_private_input_diff_followups.py +0 -0
  570. {auditex-2.1.2 → auditex-2.1.3}/tests/test_privileged_roles.py +0 -0
  571. {auditex-2.1.2 → auditex-2.1.3}/tests/test_probe.py +0 -0
  572. {auditex-2.1.2 → auditex-2.1.3}/tests/test_protection_refusal_coverage.py +0 -0
  573. {auditex-2.1.2 → auditex-2.1.3}/tests/test_purview_ediscovery_collectors.py +0 -0
  574. {auditex-2.1.2 → auditex-2.1.3}/tests/test_python_range.py +0 -0
  575. {auditex-2.1.2 → auditex-2.1.3}/tests/test_read_boundaries.py +0 -0
  576. {auditex-2.1.2 → auditex-2.1.3}/tests/test_read_guard.py +0 -0
  577. {auditex-2.1.2 → auditex-2.1.3}/tests/test_read_guard_content_cmdlets.py +0 -0
  578. {auditex-2.1.2 → auditex-2.1.3}/tests/test_readonly_validation_notice.py +0 -0
  579. {auditex-2.1.2 → auditex-2.1.3}/tests/test_redaction_export_schemas.py +0 -0
  580. {auditex-2.1.2 → auditex-2.1.3}/tests/test_redaction_keyed_pseudonyms.py +0 -0
  581. {auditex-2.1.2 → auditex-2.1.3}/tests/test_redaction_profiles_d3.py +0 -0
  582. {auditex-2.1.2 → auditex-2.1.3}/tests/test_redaction_scan_budget.py +0 -0
  583. {auditex-2.1.2 → auditex-2.1.3}/tests/test_replay_resolver_secrets.py +0 -0
  584. {auditex-2.1.2 → auditex-2.1.3}/tests/test_report_analyze.py +0 -0
  585. {auditex-2.1.2 → auditex-2.1.3}/tests/test_reporting.py +0 -0
  586. {auditex-2.1.2 → auditex-2.1.3}/tests/test_response.py +0 -0
  587. {auditex-2.1.2 → auditex-2.1.3}/tests/test_resume_and_offline_replay.py +0 -0
  588. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_app_consent_owner_counts_and_gaps.py +0 -0
  589. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_bot_dns.py +0 -0
  590. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport.py +0 -0
  591. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_app_credentials.py +0 -0
  592. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_dns.py +0 -0
  593. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_exchange.py +0 -0
  594. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_fanout.py +0 -0
  595. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_gated.py +0 -0
  596. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_mailbox.py +0 -0
  597. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_mailbox_folders.py +0 -0
  598. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_power_platform.py +0 -0
  599. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_powershell.py +0 -0
  600. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_repair.py +0 -0
  601. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_repair2.py +0 -0
  602. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_collectors_transport_response.py +0 -0
  603. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_compare_bundle_mcp_answer.py +0 -0
  604. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_compare_bundle_mcp_compare.py +0 -0
  605. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_compare_bundle_mcp_explorer.py +0 -0
  606. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_compare_bundle_mcp_mcp.py +0 -0
  607. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_compare_bundle_mcp_resume.py +0 -0
  608. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_docs_accuracy.py +0 -0
  609. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_findings_normalisation_frameworks.py +0 -0
  610. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_auth.py +0 -0
  611. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_dns.py +0 -0
  612. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_findings.py +0 -0
  613. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_round2.py +0 -0
  614. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_google_workspace_round3.py +0 -0
  615. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_handover_fixes.py +0 -0
  616. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_integrate_w1.py +0 -0
  617. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_integrate_w1_outside.py +0 -0
  618. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_integrate_w1_repair.py +0 -0
  619. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_integrate_w2.py +0 -0
  620. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_integrate_w2_round2.py +0 -0
  621. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_leftovers.py +0 -0
  622. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_packaging_release_scripts.py +0 -0
  623. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_pypi_install.py +0 -0
  624. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_reporting_exports_disclosure.py +0 -0
  625. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_reporting_exports_disclosure_data_handling.py +0 -0
  626. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_rules_followup.py +0 -0
  627. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_rules_followup_r2.py +0 -0
  628. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_rules_followup_r3.py +0 -0
  629. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_sens_read_only_boundary_graph_content.py +0 -0
  630. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_sens_read_only_boundary_roles.py +0 -0
  631. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_sens_secrets_and_credentials_markdown.py +0 -0
  632. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_setup_guided_cli.py +0 -0
  633. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_tenant_bootstrap_guards.py +0 -0
  634. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_v3_inputs.py +0 -0
  635. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_v3_lows.py +0 -0
  636. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_v3_resume.py +0 -0
  637. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_v3_run_level.py +0 -0
  638. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_value_rules_aad_export.py +0 -0
  639. {auditex-2.1.2 → auditex-2.1.3}/tests/test_review_value_rules_defender_dns.py +0 -0
  640. {auditex-2.1.2 → auditex-2.1.3}/tests/test_run.py +0 -0
  641. {auditex-2.1.2 → auditex-2.1.3}/tests/test_run_bundle.py +0 -0
  642. {auditex-2.1.2 → auditex-2.1.3}/tests/test_run_bundle_local_paths.py +0 -0
  643. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sarif_oscal_exports.py +0 -0
  644. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scale.py +0 -0
  645. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scope_catalog.py +0 -0
  646. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scope_postcheck.py +0 -0
  647. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_adapters_aad.py +0 -0
  648. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_adapters_defender.py +0 -0
  649. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_adapters_exchange.py +0 -0
  650. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_adapters_powerplat.py +0 -0
  651. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_adapters_teams.py +0 -0
  652. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_parity.py +0 -0
  653. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_projection.py +0 -0
  654. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scuba_projection_area_hook.py +0 -0
  655. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scubagear_differential.py +0 -0
  656. {auditex-2.1.2 → auditex-2.1.3}/tests/test_scubagear_export.py +0 -0
  657. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sec1_auth_dependency_logging.py +0 -0
  658. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sec1_oauth_cache_scopes.py +0 -0
  659. {auditex-2.1.2 → auditex-2.1.3}/tests/test_secret_cli_matrix.py +0 -0
  660. {auditex-2.1.2 → auditex-2.1.3}/tests/test_secret_hygiene.py +0 -0
  661. {auditex-2.1.2 → auditex-2.1.3}/tests/test_secrets_isolation.py +0 -0
  662. {auditex-2.1.2 → auditex-2.1.3}/tests/test_security_collectors.py +0 -0
  663. {auditex-2.1.2 → auditex-2.1.3}/tests/test_security_defender_posture.py +0 -0
  664. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sensitive_key_allowlist.py +0 -0
  665. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sensitive_users.py +0 -0
  666. {auditex-2.1.2 → auditex-2.1.3}/tests/test_setup_guide.py +0 -0
  667. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sharepoint_admin_collector.py +0 -0
  668. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sharepoint_admin_guard.py +0 -0
  669. {auditex-2.1.2 → auditex-2.1.3}/tests/test_sharepoint_collector.py +0 -0
  670. {auditex-2.1.2 → auditex-2.1.3}/tests/test_signin_licence_and_compare.py +0 -0
  671. {auditex-2.1.2 → auditex-2.1.3}/tests/test_single_sign_in.py +0 -0
  672. {auditex-2.1.2 → auditex-2.1.3}/tests/test_smtp_tls.py +0 -0
  673. {auditex-2.1.2 → auditex-2.1.3}/tests/test_structured_refusals.py +0 -0
  674. {auditex-2.1.2 → auditex-2.1.3}/tests/test_support.py +0 -0
  675. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_admission_unit.py +0 -0
  676. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_boundary.py +0 -0
  677. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_fixture_provenance.py +0 -0
  678. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_privacy_r2.py +0 -0
  679. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_privacy_repair.py +0 -0
  680. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_producer.py +0 -0
  681. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_replay.py +0 -0
  682. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_resume.py +0 -0
  683. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collection_resume_failure.py +0 -0
  684. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collector_bounds.py +0 -0
  685. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_collector_health.py +0 -0
  686. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_demo_metadata.py +0 -0
  687. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_mixed_lists.py +0 -0
  688. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_observation_admission.py +0 -0
  689. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_pseudo_health_admission_unit.py +0 -0
  690. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_pseudo_operation_health.py +0 -0
  691. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_sample_sections.py +0 -0
  692. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_helper.py +0 -0
  693. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_malformed_output.py +0 -0
  694. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_normalization.py +0 -0
  695. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_output.py +0 -0
  696. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_projection.py +0 -0
  697. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_users_reference_boundary.py +0 -0
  698. {auditex-2.1.2 → auditex-2.1.3}/tests/test_targeted_wire_envelope.py +0 -0
  699. {auditex-2.1.2 → auditex-2.1.3}/tests/test_teams_admin_rest.py +0 -0
  700. {auditex-2.1.2 → auditex-2.1.3}/tests/test_teams_app_settings.py +0 -0
  701. {auditex-2.1.2 → auditex-2.1.3}/tests/test_teams_collector.py +0 -0
  702. {auditex-2.1.2 → auditex-2.1.3}/tests/test_teams_policy_collector.py +0 -0
  703. {auditex-2.1.2 → auditex-2.1.3}/tests/test_teams_policy_projection_join.py +0 -0
  704. {auditex-2.1.2 → auditex-2.1.3}/tests/test_tenant_bootstrap_config.py +0 -0
  705. {auditex-2.1.2 → auditex-2.1.3}/tests/test_tenant_bootstrap_forwarder.py +0 -0
  706. {auditex-2.1.2 → auditex-2.1.3}/tests/test_tenant_bootstrap_wrapper.py +0 -0
  707. {auditex-2.1.2 → auditex-2.1.3}/tests/test_tenant_identity.py +0 -0
  708. {auditex-2.1.2 → auditex-2.1.3}/tests/test_transport_hygiene.py +0 -0
  709. {auditex-2.1.2 → auditex-2.1.3}/tests/test_usage_report_anonymization.py +0 -0
  710. {auditex-2.1.2 → auditex-2.1.3}/tests/test_validation_error_coverage.py +0 -0
  711. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_aad_review.py +0 -0
  712. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_catalogue.py +0 -0
  713. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_contract.py +0 -0
  714. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_held.py +0 -0
  715. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_helpers.py +0 -0
  716. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_oracle.py +0 -0
  717. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_perf.py +0 -0
  718. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_replay.py +0 -0
  719. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s4.py +0 -0
  720. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s5.py +0 -0
  721. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s6.py +0 -0
  722. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s7.py +0 -0
  723. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s8.py +0 -0
  724. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_s9.py +0 -0
  725. {auditex-2.1.2 → auditex-2.1.3}/tests/test_value_rules_vectors.py +0 -0
  726. {auditex-2.1.2 → auditex-2.1.3}/tests/test_vendored_cli_abbreviations.py +0 -0
  727. {auditex-2.1.2 → auditex-2.1.3}/tests/test_verbose_logging_redaction.py +0 -0
  728. {auditex-2.1.2 → auditex-2.1.3}/tests/test_waivers.py +0 -0
  729. {auditex-2.1.2 → auditex-2.1.3}/tests/test_writer_sinks_d3.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: auditex
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Read-only Microsoft 365 and Google Workspace tenant-audit toolkit for evidence collection
5
5
  Author-email: MAGRATHEAN UK LTD <contact+auditex@magrathean.uk>
6
6
  License-Expression: Apache-2.0
@@ -19,6 +19,8 @@ auditex report customer-pack <run-dir> --output-dir customer-pack
19
19
  auditex report verify-pack customer-pack
20
20
  ```
21
21
 
22
+ `--output-dir` must be a new or empty folder, or a folder that holds only a pack written earlier. Rebuilding into an earlier pack replaces or removes only that pack's own files, each checked against the digest it had when the folder was checked. A file saved into the folder while the rebuild runs is never deleted: one at a path the new pack does not write stays where it is, and one at a path the new pack writes, or an earlier pack file edited meanwhile, stops the rebuild with status 2 and is left as it is. If the folder holds anything the earlier pack's `pack-manifest.json` or `checksums.sha256` does not list (a note you added at the top level or under `source-artifacts/`, an extra folder, a link), `customer-pack` refuses before changing anything, names the first such item relative to the pack and exits with status 2. Your files stay exactly as they were. Choose a new, empty output folder, or move the item out first. A folder that holds other files and no pack is refused the same way.
23
+
22
24
  The verifier must return:
23
25
 
24
26
  ```json
@@ -362,7 +362,7 @@ The header switches between embedded runs, toggles light and dark themes, and pr
362
362
 
363
363
  ## Customer Pack
364
364
 
365
- Create the pack in a fresh directory (a non-empty directory that holds no earlier pack is refused, exit status 2), verify its integrity, and review its content before sharing. Generated packs may contain tenant identifiers and other sensitive metadata; verification is not a disclosure approval.
365
+ Create the pack in a fresh directory (a non-empty directory that holds no earlier pack, or an earlier pack with any file or folder its own manifest does not list, is refused before anything changes, exit status 2), verify its integrity, and review its content before sharing. Generated packs may contain tenant identifiers and other sensitive metadata; verification is not a disclosure approval.
366
366
 
367
367
  ```bash
368
368
  auditex report customer-pack <run-dir> --output-dir customer-pack
@@ -482,6 +482,8 @@ auditex-mcp
482
482
 
483
483
  MCP tools never accept a bearer token, client secret or auth context: the Microsoft 365 tools take the reader app's client ID (else `AZURE_CLIENT_ID`), its certificate thumbprint and confined paths to the certificate key and its password file. Every path argument (run directories, output directories, credential files, assessment files) is confined to `AUDITEX_MCP_ROOT`, which defaults to the server's working directory; paths with `..` or outside it are refused.
484
484
 
485
+ By default the server lists only the offline read tools below. The tools that write local files or reach a service (`auditex_run_offline_validation`, `auditex_run_certificate_audit`, `auditex_run_google_workspace_audit`, `auditex_probe_live`, `auditex_google_probe`, `auditex_google_doctor`) are listed only when you start it with `auditex-mcp --enable-active-tools` or set `AUDITEX_MCP_ENABLE_ACTIVE_TOOLS=1`. Tool results mark tenant text (`tenant_text_paths`) and are held to 48,000 bytes; a cut result says so in `result_truncated` and an offline read tool returns the rest with `result_page`; active tools reject paging arguments, including `page_size`, before they run (see [MCP contract surface](../reference/output-contract.md#mcp-contract-surface)).
486
+
485
487
  Use MCP tools for bundle-backed answers only. Every answer should cite bundle evidence or say evidence is missing. Key read-only review tools:
486
488
 
487
489
  - `auditex_summarize_run`
@@ -1212,7 +1212,7 @@ Who checks, and what happens:
1212
1212
  - `auditex compare` orders runs by their creation time, `created_utc`, taken from the run's evidence index (`index/evidence.sqlite`), else `run-manifest.json`, else `summary.json` (an ISO 8601 time or the compact `YYYYMMDD_HHMMSS` form; the run id breaks a tie). A run whose creation time is missing there, or cannot be parsed, cannot be placed in time: it comes after the dated runs, in the order given, and any pair that includes it (two undated runs too) is `blocked` with reason `run_created_utc_missing`, so an undated run never becomes the baseline or the current run by its run id or by argument order.
1213
1213
  - `auditex diff <run-a> <run-b>` and the MCP tool `auditex_diff_runs` diff the second run against the first in the order given, through the same gates as `compare`: a pair from different platforms (`same_platform_required`), with conflicting tenant identity (`tenant_identity_conflict`), with different established tenant UUIDs (`tenant_id_mismatch`) or from different tenants (`same_tenant_required`), or one where either run fails its bundle check (`run_unverified:<baseline|current>:<problem>`), is `blocked` with that `reason` and no changes. A finding gone from the second run because its collector did not complete there is `not_reassessed`, not resolved. `auditex diff` exits 1 for a blocked pair and 2 for a run file its guarded loaders refuse.
1214
1214
  - Handoff `integrity` also carries `symlink_count`, `unexpected_count`, `symlink_paths` and `unexpected_paths`, and the `bundle_integrity` limitation lists them. A run with files the manifest does not list outside the product's read paths gets a limitation `{surface: bundle_integrity, status: unlisted_files, paths}` (not unusable); named outputs such as the explorer page do not raise it. They get their own limitation, `{surface: bundle_integrity, status: unhashed_outputs, paths}`: reports written into the run after it was finalized (`reports/explorer.html`, `reports/rendered-report.*`, `reports/{api-calls,permissions,proof-table,handoff}.{json,md}`) are readable by an assessor but not hashed, so nothing proves they match the run's evidence, and they are never copied into a customer pack. They are not added to `bundle-hashes.json`: that would change the manifest's digest after it was handed over and break every digest sent separately. The handoff is `ready_with_limitations` while such a file is there; regenerate the report from the run before relying on it. Handoff `safety` gains `observation_basis` (`transport_audit_log`, `offline_replay` or `coverage_ledger_only`), `replay_source` (the file an offline replay was replayed from, otherwise null) and `observed_log_complete`; `counts` keeps `api_calls` (the declared rows) and gains `declared_calls` (the same number), `observed_graph_requests`, `observed_commands` and `observed_outside_declared` (null when the bundle has no transport ledger). The `scope_risk` limitation gains `observation_basis` and never says Auditex "stayed read-only": with a transport ledger it says the audit log recorded no write, refused or content-reading Graph request or tenant command (the DNS, exposure and Power Platform lookups are outside the ledger); without one it says read-only behaviour was not observed for the run.
1215
- - `customer-pack` refuses a bundle with a symbolic link or an unexpected file exactly as it refuses `mismatch` (`BundleIntegrityError`, exit status 2), and a non-empty `--output-dir` that holds no earlier pack (`PackOutputError`, exit status 2); a directory that already holds a pack (`pack-manifest.json` of kind `auditex_enterprise_handoff_pack`) is reused and its `source-artifacts/` removed first. A source artifact is copied only when it is a regular file reached without a link and, when the run has `bundle-hashes.json`, listed in it; a refused row has `present: false` and a `skipped_reason` (`symbolic_link`, `not_in_bundle_hashes`). Every source artifact is copied byte for byte except `run-manifest.json`, which records where the operator ran the audit: its copy has `run_dir` set to the run folder name, paths below the run made run-relative, and `waiver_path` and absolute paths in `command_line` reduced to `<local-path>/<file name>`. Its row in `pack-manifest.json` then has `transformed: "pack_relative_paths"` and `source_sha256`, the SHA-256 of the run's own `run-manifest.json` (the value `bundle-hashes.json` lists), next to `sha256`, the digest of the copy. The pack manifest has `schema_version` `2026-10-22` and `path_style: pack_relative`: `run_dir` is the run folder name, `output_dir` is `.`, and every path in `generated_files` and `source_artifacts` is relative to the pack. `handoff.json`, `api-calls.json`, `permissions.json`, `proof-table.json`, `report.md` and the Markdown files carry no absolute path of the operator's machine (paths below the run are run-relative, `review_commands` use `<run-dir>`). Packs written by earlier versions still verify, including after being moved. The command's printed result adds `pack_dir`.
1215
+ - `customer-pack` refuses a bundle with a symbolic link or an unexpected file exactly as it refuses `mismatch` (`BundleIntegrityError`, exit status 2), and a non-empty `--output-dir` that holds no earlier pack (`PackOutputError`, exit status 2); a directory that already holds a pack (`pack-manifest.json` of kind `auditex_enterprise_handoff_pack`) is reused only when every file and folder in it is one that pack lists (`pack-manifest.json` itself, its `generated_files` and `source_artifacts` paths, the lines of its `checksums.sha256`, and the folders holding them). Any other item, or any link, is refused before anything is changed (`PackOutputError`, exit status 2); the message names the first such item relative to the pack and asks for a new, empty output folder. The check records the SHA-256 of each listed file; the rebuild then replaces or removes exactly those files, each re-verified against that digest at the moment it is replaced or removed, and removes a folder of the earlier pack only when it is left empty. A file that appears after the check at a path the new pack writes, or a listed file whose bytes changed since, is refused (`PackOutputError`, exit status 2) and left as it is; a file that appears at any other path stays. A source artifact is copied only when it is a regular file reached without a link and, when the run has `bundle-hashes.json`, listed in it; a refused row has `present: false` and a `skipped_reason` (`symbolic_link`, `not_in_bundle_hashes`). Every source artifact is copied byte for byte except `run-manifest.json`, which records where the operator ran the audit: its copy has `run_dir` set to the run folder name, paths below the run made run-relative, and `waiver_path` and absolute paths in `command_line` reduced to `<local-path>/<file name>`. Its row in `pack-manifest.json` then has `transformed: "pack_relative_paths"` and `source_sha256`, the SHA-256 of the run's own `run-manifest.json` (the value `bundle-hashes.json` lists), next to `sha256`, the digest of the copy. The pack manifest has `schema_version` `2026-10-22` and `path_style: pack_relative`: `run_dir` is the run folder name, `output_dir` is `.`, and every path in `generated_files` and `source_artifacts` is relative to the pack. `handoff.json`, `api-calls.json`, `permissions.json`, `proof-table.json`, `report.md` and the Markdown files carry no absolute path of the operator's machine (paths below the run are run-relative, `review_commands` use `<run-dir>`). Packs written by earlier versions still verify, including after being moved. The command's printed result adds `pack_dir`.
1216
1216
  - `auditex report verify-pack` loads `source-artifacts/bundle-hashes.json` from the pack. Whenever the pack carries it, whatever `source.integrity.status` the (editable) pack manifest and `handoff.json` claim, it requires the file's SHA-256 to equal `source.integrity.manifest_sha256` and every file under `source-artifacts/` that the pack manifest lists to match the hash the run was finalized with, found by where the file sits and not by the row that names it (`bundle_hashes_digest_mismatch`, `source_artifact_bundle_hash_mismatch`, `source_artifact_not_in_bundle_hashes`, `invalid_bundle_hashes`). A pack that carries the file but claims a status other than `verified` is `source_integrity_status_inconsistent`. A pack with no copy is `missing_bundle_hashes` when it claims `verified` or when its copy of `run-manifest.json` says the run was finalized under `2026-10-22` or later; a legacy pack with no copy (`absent`) still verifies. The one copy that is not byte for byte, `run-manifest.json`, passes when its row has `transformed: "pack_relative_paths"` and a `source_sha256` equal to the hash listed for it; the copy itself is then bound only by `checksums.sha256` (`--expect-checksums-sha256`), and the result lists it under `transformed_source_artifacts`. It reports any file the pack does not list as `unexpected_file` (symbolic links included). `--expect-manifest-sha256` (the value the handoff reports as `integrity.manifest_sha256`) and `--expect-checksums-sha256` take values received separately (`expected_manifest_sha256_mismatch`, `expected_checksums_sha256_mismatch`). The result gains `digests` (`bundle_hashes_sha256`, `checksums_sha256`, `pack_manifest_sha256`), `source_integrity_status` and `transformed_source_artifacts`; the MCP tool `auditex_verify_customer_pack` takes the same two optional arguments.
1217
1217
  - `api-calls.md` and the `API Calls` section of `report.md` label the declared rows "Declared calls", state `Read-only` and `No content reads` with their basis (`observed in the transport audit log`, `replayed from <file>, no tenant contact` or `declared, not observed`) and an `Observation basis` line, and add `Observed calls (transport ledger)`: the basis, audit-log completeness, Graph requests attempted (batch requests, inner calls, unverified batches), methods seen, commands executed, refused calls and calls outside the declared set, with tables of requests (method, endpoint, version, count, statuses), commands (adapter, command text, count, statuses, read-only), refused calls and calls outside the declared set. A bundle with no `observed_ledger`, or a provider that is not instrumented (Google Workspace), says the call list is declared, not observed. An offline replay never claims transport observation: it has no tenant traffic, so its flags read `replayed from <sample file>, no tenant contact` (the file is `run-manifest.json`'s `replay_source.file`; a replay with no recorded file says `an offline sample file`), the observation basis is `offline_replay`, the ledger section says no transport ledger applies and the observed-call lines say none (the scope-risk limitation says nothing was observed about calls to a tenant). `api-inventory.json` of a replay carries `safety.observation_basis` `offline_replay`, `safety.replay_source` and `observed_ledger.basis` `offline_replay` (with `observed_ledger.replay`); reports derive the same wording for an older replay bundle that recorded `transport_audit_log`, from `mode` `offline` in the run manifest.
1218
1218
  - `data-handling.json`: `auth_scope_summary.content_capable` lists scopes the scope catalog marks content-capable (Drive readonly), and `scope_risk` is `content_capable_scope_present` when there is no write-capable scope.
@@ -1275,6 +1275,8 @@ continue to reject partial runs unless `--allow-partial` is supplied.
1275
1275
 
1276
1276
  `--offline` replay (and `auditex demo`, the MCP `auditex_run_offline_validation` tool and `make contract-smoke`) honours the markers a sample section carries. A section with an `error` or `error_class`, or one flagged `collection_truncated` (or, in an older sample, `collection_limit_reached`), becomes a coverage row (`type` `offline_sample`: `status`, `error_class`, `error`, `item_count`, `collection_truncated`, `truncation_reason`, `result_limit`) written to `coverage.json`, and its collector is `partial`: the ledger reads `partial_success` (or `blocked_permission` for a permission error), the blocker is raised as in a live run, the manifest gaps and `normalized/collection_gaps.json` name the cut list, the run is `partial` (exit status 1, except for the non-fatal workload collectors above) and the rules that read the collector are `not_assessed`. A section with no marker needs no row and the collector stays `ok` and `complete_offline_sample`. A collector the sample holds but that holds nothing (`{}`, `null`, a list) delivered none of its sections: every section its live run records (`query_plan` in `configs/collector-definitions.json`; the Google Workspace sections in `auditex.google_workspace.collectors.COLLECTOR_SECTIONS`) is written as a failed row with `error_class` `section_absent`, the collector is `partial` and the replay exits 1, with the same non-fatal workload exception. A collector that holds any key is not second-guessed section by section: minimal fixtures omit sections on purpose and the plan is not a schema (a flat `{"value": [...]}` sample is such a delivery). A domain posture record that carries a `resolver_error` is written as a failed `posture:<domain>` row with `error_class` `dns_resolver_error`, as a live run does. The Google Workspace replay does the same, and its capability rows read `offline_sample`, so a clean replay is `complete_offline_sample` in the ledger, never `complete_exact_scope`. A replay records what it was replayed from in `run-manifest.json` as `replay_source` (`file`, the sample's file name and never its directory, and `sha256`), and its audit log's `run.started` event carries `mode: "offline"`; reports use both to say the evidence was replayed and that no tenant was contacted (see "Bundle hash manifest"). `--as-of YYYY-MM-DD` (on `azure-tenant-audit --offline`, `auditex run --offline` and `auditex google run --offline`) judges the replay's date-derived values at 12:00 UTC on that date (from 1970-01-01 to 2999-12-31) instead of the wall clock: operating-system end of support, app credential `expiry_state` and `expiry_days_remaining`, dormant applications, stale sync, whether an update ring's quality-update pause is still in force (`intune_depth.update_ring_deferral_excessive`), stale account and guest windows, Global Administrator password age, which app credentials count as current in the `attack_graph` of `reports/report-pack.json` and, on Google Workspace, ChromeOS auto-update expiry, stale user, administrator and device windows and 2-step verification enforcement dates. Without it the wall clock is used as before; a live run, a malformed date and a date outside that window are refused with exit status 2 before any run folder is written. The date adds no field to the bundle. Waiver expiry still reads the wall clock, so an old date cannot bring an expired waiver back into force. `make contract-smoke` passes one fixed date on every replay, so its recorded digests do not depend on the day it runs.
1277
1277
 
1278
+ A Google Workspace run (offline or live) never exits 0 with a bundle that fails its contract validation: when `validation.json` reads `valid: false` the run exits 1 and logs the issue codes, whatever its collectors said. Its normalised records never share a record key. A record repeated identically (same key, same content: a replayed row) is kept once, before any count or finding is taken, so a repeat changes no count (a super admin listed twice is still one super admin; super admins are also counted once per address). When Google returns one id twice in a list with differing content (a user, group or Drive file), every record is kept and told apart by its content, never its place in the list: the record whose canonical content digest (SHA-256 of its sorted JSON) sorts first keeps the bare key, each other one gets `~` and the first eight hex characters of its own digest on `key` and `id` (more characters if that key is already held). Reordering the list changes no key, finding id or evidence ref, so compare and drift report no change. Two unreadable Gmail mailbox addresses are two `google_mailbox_setting` records, `redacted:mailbox:unreadable-1` and `-2`, each with `user_email` `redacted:mailbox`. A Drive file's `google.drive_anyone_with_link` and `google.drive_public_discoverable` findings are one per file and rule: with several `anyone` permissions under one rule the finding takes the worse severity, names the worst permission in `returned_value.permission` and lists every one in `returned_value.permissions`. The offline replay repairs lone UTF-16 surrogates in the sample once, before anything is derived from it, as the live run does for each collector payload and coverage row. On Google Workspace each lone surrogate is written as a visible escape of its code point, `<U+D800>`, not U+FFFD, so two ids that differ only there (`cal\ud800`, `cal\ud801`) stay two ids, and a finding names the right one; `summary.json` counts them in `lone_surrogates_replaced` and its data-quality note says they were escaped. The repair is idempotent, so replaying saved raw evidence changes nothing. Known residual: a hand-made sample holding both a literal `<U+D800>` and a raw lone surrogate at the same place maps them to one text (Google's API cannot return a lone surrogate, so a live run cannot meet this). The Microsoft 365 engine keeps U+FFFD.
1279
+
1278
1280
  ### SARIF and OSCAL exports
1279
1281
 
1280
1282
  `auditex report render --format sarif` writes SARIF 2.1.0 and `--format oscal` writes OSCAL 1.1.2 Assessment Results. The tests validate both against the official JSON Schemas (vendored under `tests/schemas/`, so a test run needs no network).
@@ -1749,7 +1751,7 @@ What a Google bundle states about how far its evidence reaches, and the sections
1749
1751
 
1750
1752
  - A coverage row, a capability-matrix row and a finding carry `subject_scoped`: `admin` (the delegated admin's, or the signed-in user's, view) or `user` (each user's own settings, read by acting as that user). Drive (`driveFiles`, `sharedDrives`) and Calendar (`calendars`, `calendarAcls:*`) are `admin`; `calendarResources` is a tenant-wide Directory inventory and is unlabelled. A finding built from `admin` evidence also carries `evidence_scope` and ends its description with the same note.
1751
1753
  - Drive sharing that `files.list` leaves out (shared-drive items, files the subject cannot share) is read file by file with `permissions.list`; the `drivePermissions` coverage row counts those reads (`item_count`) and any that failed (status `partial` or `failed`, exposure unknown). A My Drive file (no `driveId`) whose owners are all outside the tenant is not the organisation's exposure: its permissions are not read, it is not a gap, and the row's `out_of_scope_files` counts such files (a count only; the row is then written even with no reads). The tenant's domains come from the Directory domains list (every domain and alias name, verified or not, matched exactly and case-insensitively), which the Drive collector declares as an optional read-only scope (`optional_scopes`, in the scope catalogue's `optional_permissions`). Under domain-wide delegation it is in the run's requested scopes even when Drive is selected alone and is read on a token asking only for `admin.directory.domain.readonly`. An OAuth sign-in asks only for the required scopes of the selected collectors, so under OAuth the domains list is read only when another selected collector requires the scope (Directory, DNS posture) and the grant holds it; otherwise it is not requested, not read, and every file stays in scope. `auth-context.json` records which applies as `drive_domain_read` (`delegation_own_token`, `oauth_required_scope` or `not_requested`; absent when Drive is not selected). A list that fails, is cut short, is empty or holds an unreadable row, and a file whose owners are missing, empty, malformed or lack an email, keeps every file in scope. An owner address proves its domain only in plain form: a dot-atom ASCII local part with no whitespace or control character, exactly one `@` and a valid domain name; any other address (a leading, trailing or embedded space, an empty or quoted local part, a second `@`) is unknown and is never trimmed and accepted. The Drive sharing findings (`google.drive_anyone_with_link`, `google.drive_public_discoverable`, `google.drive_external_permission`, `google.drive_domain_permission`) apply the same rule to files that `files.list` returned with permissions: a file positively owned wholly outside the tenant raises none of them, since its sharing is its owner's. Findings judge it from the normalised snapshot: `internal_domains_status` must be `known` with a Directory source (`internal_domains_source` `directory` or `directory+label`; the `--domain` label is part of the set, which can only keep more files in scope), the file record must carry `in_shared_drive: false` (a boolean written by the normaliser; a shared-drive item, or a record from an older bundle without the field, stays in scope), and every owner must be one valid address outside the set. A `partial`, `label_only` or `unknown` domain set, and missing, empty, malformed or inside owners, keep every finding as before. The count of files left out stays in `drivePermissions` `out_of_scope_files`; the findings add no field, id, name or address.
1752
- - `google_gmail_settings` is `user` under domain-wide delegation: one delegated read per active user, as that user (`mailboxSettings:<user>`). Without delegation (OAuth) it reads the signed-in mailbox only (`mailboxSettings:me`, `admin`) and records a `mailboxSettingsScope` coverage row, status `partial`, `error_class: subject_scope`, with the number of users not read. Suspended and archived accounts are not read; `mailboxSettingsSkipped` (status `ok`) carries `skipped_suspended` and a `note`. A user whose first settings read answers HTTP 400 `failedPrecondition` "Mail service not enabled" has no Gmail mailbox (no Gmail licence or service): no further reads are made for that user, the mailbox row is `{"userEmail", "mailService": "not_enabled"}`, its `mailboxSettings:<user>` coverage row is status `ok` with `item_count` 0 and `not_applicable: "mail_service_not_enabled"`, the normalised record carries `mail_service: "not_enabled"`, and the other mailboxes are read as usual. Only an HTTP 400 whose top-level message and every structured error are "Mail service not enabled", each with the reason `failedPrecondition`, is read this way; a reason or message paired with anything else is an ordinary failed read. A marker row is usable only with a mailbox identifier in `userEmail` (`me` or one Google account address: a username of letters, digits, `.`, `_`, `-`, `+` and `'` that is not only dots, and a domain of DNS labels under an alphabetic top-level label) and no other key. Any other row carrying `mailService` is a failed `malformed_response` read whose normalised record keeps only `user_email` and `mail_service: "unreadable"`, so none of its setting fields supplies a finding. A settings row whose `userEmail` is not a mailbox identifier is also a failed `malformed_response` read with such a record; the collector and the offline replay replace that value with `redacted:mailbox` before any raw, coverage or normalised copy is written. A Directory user whose address is not a mailbox identifier is never used as a delegated subject: its coverage row is `mailboxSettings:unknown`, status `failed`, `malformed_response`. A settings row that supplies no setting and no failed read (a `null` row, or only `userEmail`) is a failed `malformed_response` read in the live run and the offline replay, never a complete one. A preflight probe whose sampled mailbox has no Gmail service, or that sampled no mailbox (an empty Directory sample), keeps status `ok` with `item_count` 0 and `authenticated_read: false` (the first also `not_applicable`): it proves no completed settings read, so the capability row is `supported`, never `supported_exact_scope`.
1754
+ - `google_gmail_settings` is `user` under domain-wide delegation: one delegated read per active user, as that user (`mailboxSettings:<user>`). Without delegation (OAuth) it reads the signed-in mailbox only (`mailboxSettings:me`, `admin`) and records a `mailboxSettingsScope` coverage row, status `partial`, `error_class: subject_scope`, with the number of users not read. Suspended and archived accounts are not read; `mailboxSettingsSkipped` (status `ok`) carries `skipped_suspended` and a `note`. A user whose first settings read answers HTTP 400 `failedPrecondition` "Mail service not enabled" has no Gmail mailbox (no Gmail licence or service): no further reads are made for that user, the mailbox row is `{"userEmail", "mailService": "not_enabled"}`, its `mailboxSettings:<user>` coverage row is status `ok` with `item_count` 0 and `not_applicable: "mail_service_not_enabled"`, the normalised record carries `mail_service: "not_enabled"`, and the other mailboxes are read as usual. Only an HTTP 400 whose top-level message and every structured error are "Mail service not enabled", each with the reason `failedPrecondition`, is read this way; a reason or message paired with anything else is an ordinary failed read. A marker row is usable only with a mailbox identifier in `userEmail` (`me` or one Google account address: a username of letters, digits, `.`, `_`, `-`, `+` and `'` that is not only dots, and a domain of DNS labels under an alphabetic top-level label) and no other key. Any other row carrying `mailService` is a failed `malformed_response` read whose normalised record keeps only `user_email` and `mail_service: "unreadable"`, so none of its setting fields supplies a finding. A settings row whose `userEmail` is not a mailbox identifier is also a failed `malformed_response` read with such a record; the collector and the offline replay replace that value with `redacted:mailbox` before any raw, coverage or normalised copy is written. A Directory user whose address is not a mailbox identifier is never used as a delegated subject: its coverage row is `mailboxSettings:unknown`, status `failed`, `malformed_response`. A settings row that supplies no setting and no failed read (a `null` row, or only `userEmail`) is a failed `malformed_response` read in the live run and the offline replay, never a complete one. Only an observed setting is evaluated: one named in the row's `skippedSettings`, or carried beside its own read error (`<name>_error`, failed or malformed), is kept empty in the normalised record and raises no finding, and it counts as unread in the mailbox's coverage row. A preflight probe whose sampled mailbox has no Gmail service, or that sampled no mailbox (an empty Directory sample), keeps status `ok` with `item_count` 0 and `authenticated_read: false` (the first also `not_applicable`): it proves no completed settings read, so the capability row is `supported`, never `supported_exact_scope`.
1753
1755
  - `normalized/snapshot.json` carries `subject_scope` (collector to `admin` or `user`) and `mailbox_settings_skipped_suspended`; `auth-context.json` carries `per_user_delegation` and the `subject_scope` of the selected collectors.
1754
1756
 
1755
1757
  **Internal domains.** `--domain` is a label and never filters users or groups, which are listed for the whole customer (`customer=my_customer` unless `--customer-id` is given). The configured customer id is used for the API calls only and is never written: the manifest `customer_id` and the snapshot `customer_id` hold `my_customer` or `null` (a null manifest value is left out), and `tenant_id` is unset. An offline replay
@@ -1775,7 +1777,7 @@ Each pinned event stream is read over the Reports API retention window with a 20
1775
1777
 
1776
1778
  `normalized/google_sso_assignments.json` records the OU or group resource and its SSO mode. Both sections have a read-state record with `complete` and `record_count`. A failed or cut page, a malformed activity envelope or an unreadable SSO assignment leaves the corresponding read incomplete, including after offline replay. A blank SSO mode makes its assignment unreadable. Bundles collected without these reads can omit the sections.
1777
1779
 
1778
- `normalized/google_org_units.json` contains OU IDs, parent IDs and the root marker, with a read-state record. Directory `allIncludingParent` supplies the root row at `/`, including for a tenant with one OU. A complete legacy tree can still identify the root from a top-level unit's parent. An empty list supplies no root ID. An OU target absent from a complete tree makes the policy read partial in live and offline runs. Without a complete org unit read (no `orgUnits` section, or a partial or malformed one) no target is called absent: policies that target an org unit stay `unclassified` and the 2SV status is `unknown`. An `orgUnits` section that is present but malformed (not a list, or rows or a tree that cannot be read) makes the Directory collector and the run partial, with a non-zero exit.
1780
+ `normalized/google_org_units.json` contains OU IDs, parent IDs and the root marker, with a read-state record. Directory `allIncludingParent` supplies the root row at `/`, including for a tenant with one OU. A complete legacy tree can still identify the root from a top-level unit's parent. An empty list supplies no root ID. An OU target absent from a complete tree makes the policy read partial in live and offline runs. A Directory user whose `orgUnitPath` is absent from a complete tree cannot be placed: the run adds a `google_directory` coverage row `userPlacement`, status `partial`, `malformed_response`, with the number of such users, so the identity surface is a coverage gap and the run exits non-zero. COMMONCONTROLS.6.1 is then `not_assessed` for the unplaceable privileged account; verdicts that need no user placement (the super admin count of COMMONCONTROLS.6.2, unit policies) are kept. Without a complete org unit read (no `orgUnits` section, or a partial or malformed one) no target is called absent: policies that target an org unit stay `unclassified` and the 2SV status is `unknown`. An `orgUnits` section that is present but malformed (not a list, or rows or a tree that cannot be read) makes the Directory collector and the run partial, with a non-zero exit.
1779
1781
 
1780
1782
  `normalized/google_two_step_policies.json` retains the legacy 2SV fields and classifies placement as `organisation`, `org_unit`, `group` or `unclassified`. An organisation-wide result requires readable enforcement evidence for the independently identified root. The snapshot reports `enforcing` when the root policy is in force, `partial` when only subordinate or group policies enforce, `scheduled` when no policy is in force and a readable date is in the future, `not_enforced` when readable policies show no enforcement, or `unknown` when evidence is insufficient. Enforcement timestamps are converted to UTC and compared to the run's evaluation instant at nanosecond precision. The per-user `isEnforcedIn2Sv` flag determines whether an individual is covered.
1781
1783
 
@@ -1945,6 +1947,8 @@ Both tools are read-only and make no tenant or inference calls. See
1945
1947
 
1946
1948
  `auditex_summarize_run` is capped at 48,000 bytes of JSON, because MCP clients cap a tool result at tens of kilobytes. A larger summary drops its heaviest sections first (the report pack, findings, API inventory, the manifest's artifact list and so on) and gains `summary_truncated` (true) and `omitted_sections`: one entry per dropped section with its `bytes`, an `items` count when the section is a list (or a `findings` count when it holds findings), its `path` in the run when the run records one, and `read_with`, the tool that returns it in full. The manifest's artifact list (entry `manifest.artifacts`) has no `read_with`: no tool returns it, so read it from the run manifest at that entry's `path`. Identity, the summary, validation status, coverage gaps, the scorecard and citations stay. When the kept sections are still too large, their nested fields are dropped next (an `omitted_sections` entry `<section>.fields` lists them in `fields`, with `more_fields` counting the rest), then whole sections without identity; only as a last resort are the field lists turned into counts, `omitted_sections` into `{"sections": <count>}`, and `citations`, `evidence_missing` and `citation_summary` emptied with `<key>_omitted` counts. The result never exceeds the cap.
1947
1949
 
1950
+ The MCP server lists only offline read tools unless the operator starts it with `--enable-active-tools` or sets `AUDITEX_MCP_ENABLE_ACTIVE_TOOLS=1`; then the tools that write local files or reach a service are listed too (see [Security and privacy](security-privacy.md)). The response tools follow `AUDITEX_ENABLE_RESPONSE` alone.
1951
+
1948
1952
  The MCP tools that launch an Auditex command (`auditex_run_offline_validation`, `auditex_run_certificate_audit`, `auditex_run_google_workspace_audit`, `auditex_probe_live`, `auditex_google_doctor`, `auditex_google_probe` and, in a lab with response features on, `auditex_run_response_action`) wait four hours for it by default. `AUDITEX_MCP_COMMAND_TIMEOUT_SECONDS` sets another limit in seconds, `0` (or a negative value) waits without one, and a value that is not a whole number keeps the default. A command that runs out of time is stopped with its whole process group; the result has `error_class: timeout` and an `error` that says the run folder is left unfinalised. For a certificate audit (`auditex_run_certificate_audit`, the one resumable run) the `error` adds the `--resume-from` hint, and the result has `partial_run_dir` when exactly one new run folder appeared under the output folder; when the command timed out before it created its run folder (or more than one appeared), `partial_run_dir` is absent and the hint names no folder.
1949
1953
 
1950
1954
  ### Default Exchange/DNS coverage
@@ -159,6 +159,12 @@ or, for the response tool, because it is a gated response action:
159
159
  - `auditex_probe_live`: writes probe artifacts locally; the probe is read-only.
160
160
  - `auditex_run_response_action`: gated response tool, listed only when `AUDITEX_ENABLE_RESPONSE` is truthy (lab only).
161
161
 
162
+ By default the MCP server lists only offline read tools: none of the tools above and not `auditex_google_doctor`,
163
+ which reaches Google with credentials. The operator lists them by starting the server with `auditex-mcp
164
+ --enable-active-tools` or with `AUDITEX_MCP_ENABLE_ACTIVE_TOOLS=1` (`true`, `yes` and `on` also count); the flag and
165
+ the variable carry no secret. Then a tool result's text, whatever it says, can only lead a model to tools the operator
166
+ chose to offer. The response tools keep their own gate, `AUDITEX_ENABLE_RESPONSE`.
167
+
162
168
  No tool whose `read_only_hint` is true ever writes a run. Tools that derive pseudonyms from a run
163
169
  (summaries, diffs, comparisons, previews, notifications, the inventory and handoff tools) only read its key;
164
170
  they never create one. A keyless run (made by 1.4.0 or earlier, copied without `operator-inputs/`, or sealed on
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "auditex"
7
- version = "2.1.2"
7
+ version = "2.1.3"
8
8
  description = "Read-only Microsoft 365 and Google Workspace tenant-audit toolkit for evidence collection"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.11"
@@ -162,6 +162,43 @@ GROUP_SETTING_FIELDS = (
162
162
  GMAIL_SETTING_NAMES: tuple[str, ...] = (
163
163
  "autoForwarding", "filters", "forwardingAddresses", "sendAs", "imap", "pop", "vacation", "delegates",
164
164
  )
165
+ # The shape the collector keeps each setting in: a list for the list reads, an object for the single reads.
166
+ GMAIL_SETTING_SHAPES: dict[str, type] = {
167
+ "autoForwarding": dict, "filters": list, "forwardingAddresses": list, "sendAs": list,
168
+ "imap": dict, "pop": dict, "vacation": dict, "delegates": list,
169
+ }
170
+
171
+
172
+ def gmail_setting_malformed(payload: dict[str, Any], name: str) -> bool:
173
+ """Whether a mailbox row carries setting ``name`` or its read error (``<name>_error``) in a shape the collector
174
+ never writes (R3). Such a setting is reported as a malformed read and never evaluated."""
175
+ if name in payload and not isinstance(payload[name], GMAIL_SETTING_SHAPES[name]):
176
+ return True
177
+ return f"{name}_error" in payload and not isinstance(payload[f"{name}_error"], dict)
178
+
179
+
180
+ def gmail_skipped_settings(payload: dict[str, Any]) -> tuple[set[str], bool]:
181
+ """The settings a mailbox row says were not read (``skippedSettings``) and whether that list is readable. A list
182
+ in a shape the collector never writes is ignored (R3): every setting then counts as attempted."""
183
+ raw = payload.get("skippedSettings", [])
184
+ readable = isinstance(raw, list) and all(isinstance(name, str) for name in raw)
185
+ return (set(raw) if readable else set()), readable
186
+
187
+
188
+ def gmail_setting_observed(payload: dict[str, Any], name: str) -> bool:
189
+ """Whether setting ``name`` of a mailbox row was actually read: not named in a readable ``skippedSettings``,
190
+ present in the collector's shape and carrying no read error, failed or malformed. Coverage counts and findings
191
+ evaluate only observed settings, so a value beside a failed read or a skipped one is never promoted to a finding
192
+ (2.1.3 review finding 4)."""
193
+ if name in gmail_skipped_settings(payload)[0] or name not in payload or gmail_setting_malformed(payload, name):
194
+ return False
195
+ error = payload.get(f"{name}_error")
196
+ return not (isinstance(error, dict) and error)
197
+
198
+
199
+ def gmail_setting_malformed_error(name: str) -> dict[str, str]:
200
+ """The read error a malformed setting is recorded with."""
201
+ return {"error_class": "malformed_response", "error": f"The Gmail {name} setting has a malformed shape; it was not evaluated."}
165
202
 
166
203
 
167
204
  # A user with no Gmail service (no Gmail licence, or Gmail off for the user) answers every settings read with HTTP 400
@@ -220,26 +257,45 @@ def _gmail_not_enabled_error(exc: Exception) -> bool:
220
257
  def gmail_settings_status(payload: dict[str, Any]) -> tuple[str, str | None, str | None]:
221
258
  """Status, dominant error class and error of one mailbox's settings read.
222
259
 
223
- Every settings read failing is ``failed``; some failing is ``partial``; none failing is ``ok``. A mailbox whose
224
- user has no Gmail service (:func:`gmail_mail_service_not_enabled`) is ``ok``: there is nothing to read. A
225
- ``mailService`` key in any other shape is an unreadable row, never a mailbox without Gmail.
260
+ Every settings read failing, or no setting coming back at all, is ``failed``; some failing is ``partial``; none
261
+ failing is ``ok``. A setting in a shape the collector never writes is a failed (``malformed_response``) read. A
262
+ mailbox whose user has no Gmail service (:func:`gmail_mail_service_not_enabled`) is ``ok``: there is nothing to
263
+ read. A ``mailService`` key in any other shape is an unreadable row, never a mailbox without Gmail.
264
+
265
+ A row naming no readable mailbox is never ``ok``: with no readable setting it is ``failed``; when some setting
266
+ was read it is ``partial`` (R3), because those settings are still evaluated under the row's placeholder object
267
+ and a proven finding is never dropped (DEC-114), while the unreadable address stays a visible gap.
226
268
  """
227
269
  if gmail_mail_service_not_enabled(payload):
228
270
  return "ok", None, None
229
271
  if "mailService" in payload:
230
272
  return "failed", "malformed_response", "The Gmail settings row carries an unreadable mail service marker."
231
273
  if not gmail_mailbox_identifier(payload.get("userEmail")):
232
- return "failed", "malformed_response", "The Gmail settings row names no readable mailbox."
233
- skipped = set(payload.get("skippedSettings") or ())
274
+ unreadable = "The Gmail settings row names no readable mailbox."
275
+ settings_status, _, settings_error = gmail_settings_status({**payload, "userEmail": "me"})
276
+ if settings_status == "failed":
277
+ return "failed", "malformed_response", unreadable
278
+ detail = " Its settings are evaluated under a placeholder mailbox."
279
+ return "partial", "malformed_response", unreadable + detail + (f" {settings_error}" if settings_error else "")
280
+ # A setting, read error or ``skippedSettings`` list in a shape the collector never writes is reported as a
281
+ # malformed read and ignored, never a crash (R3): the rest of the row is still evaluated.
282
+ skipped, skipped_readable = gmail_skipped_settings(payload)
234
283
  attempted = [name for name in GMAIL_SETTING_NAMES if name not in skipped]
284
+ malformed = [name for name in attempted if gmail_setting_malformed(payload, name)]
235
285
  failures = {
236
- name: error
286
+ name: gmail_setting_malformed_error(name) if name in malformed else payload[f"{name}_error"]
237
287
  for name in attempted
238
- if isinstance(error := payload.get(f"{name}_error"), dict) and error
288
+ if name in malformed or (isinstance(payload.get(f"{name}_error"), dict) and payload[f"{name}_error"])
239
289
  }
240
- if not any(name in payload or f"{name}_error" in payload for name in attempted):
290
+ # The settings that actually came back. A row with none (only read errors) read nothing: it is a failed read
291
+ # with nothing counted, never a partial one whose settings were evaluated (R3). A value beside its own read error
292
+ # was not observed either.
293
+ read = [name for name in attempted if gmail_setting_observed(payload, name)]
294
+ if not read and not failures:
241
295
  # A row that supplies no setting and no failed read proves nothing: it is never a complete read.
242
296
  return "failed", "malformed_response", "The Gmail settings row carries no settings."
297
+ if not skipped_readable and not failures:
298
+ return "partial", "malformed_response", "The Gmail skippedSettings list has a malformed shape; it was ignored."
243
299
  if not failures:
244
300
  if skipped:
245
301
  # A setting these credentials cannot read (delegates under OAuth) is a gap, never a complete read.
@@ -252,9 +308,12 @@ def gmail_settings_status(payload: dict[str, Any]) -> tuple[str, str | None, str
252
308
  (str(error.get("error") or "") for error in failures.values() if str(error.get("error_class") or "client_error") == error_class),
253
309
  "",
254
310
  )
255
- status = "failed" if len(failures) == len(attempted) else "partial"
311
+ status = "failed" if len(failures) == len(attempted) or not read else "partial"
256
312
  error = f"{len(failures)} of {len(attempted)} Gmail settings reads failed ({', '.join(sorted(failures))})"
257
- return status, error_class, f"{error}: {example}" if example else error
313
+ error = f"{error}: {example}" if example else error
314
+ if not skipped_readable:
315
+ error += " The Gmail skippedSettings list has a malformed shape; it was ignored."
316
+ return status, error_class, error
258
317
 
259
318
 
260
319
  def classify_page_error(exc: Exception) -> tuple[str, str]:
@@ -72,6 +72,7 @@ from .client import (
72
72
  )
73
73
  from .customer_id import WITHHELD, CustomerIds, withheld_coverage_row
74
74
  from .drive_scope import DOMAIN_SCOPE, DOMAIN_SCOPE_NOTE, read_tenant_domains
75
+ from .identity import identity_key
75
76
 
76
77
  AuditLogger = Callable[[str, str, dict[str, Any] | None], None]
77
78
 
@@ -994,8 +995,11 @@ def _event_parameters(event: dict[str, Any]) -> dict[str, str | None] | None:
994
995
  if name not in _SCUBA_EVENT_PARAMETERS:
995
996
  continue
996
997
  value = parameter.get("value")
998
+ # An OU name or path is an opaque identity key (``_scuba_org_unit``): edge whitespace such as a trailing line
999
+ # separator is part of the unit's name, so it is matched exactly, never dropped or trimmed.
1000
+ edged = isinstance(value, str) and name != "ORG_UNIT_NAME" and value != value.strip()
997
1001
  if (name in values or set(parameter) != {"name", "value"} or not isinstance(value, str)
998
- or not value or len(value) > 2048 or value != value.strip()):
1002
+ or not value or len(value) > 2048 or edged):
999
1003
  values[name] = None
1000
1004
  else:
1001
1005
  values[name] = value
@@ -1007,8 +1011,10 @@ def _scuba_group_email(value: str) -> bool:
1007
1011
 
1008
1012
 
1009
1013
  def _scuba_org_unit(value: str) -> bool:
1014
+ """A Reports OU name or path: an identity key (``identity.identity_key``; it is joined to a Directory id, never
1015
+ kept) that carries no path, URI, customer id or backslash and no ``.`` or ``..`` segment."""
1010
1016
  return (
1011
- value.isprintable() and len(value) <= 512 and not any(part in ("..", ".") for part in value.split("/"))
1017
+ identity_key(value) and len(value) <= 512 and not any(part in ("..", ".") for part in value.split("/"))
1012
1018
  and not _TARGET_PATH_OR_URI.search(value) and WITHHELD not in value and "\\" not in value
1013
1019
  )
1014
1020
 
@@ -705,6 +705,11 @@ def _records(snapshot: dict[str, Any], section: str) -> list[dict[str, Any]]:
705
705
  return [item for item in records if isinstance(item, dict)] if isinstance(records, list) else []
706
706
 
707
707
 
708
+ def _list_of(value: Any) -> list[Any]:
709
+ """``value`` when it is a list, else an empty one: a malformed normalised field is never iterated (R3)."""
710
+ return value if isinstance(value, list) else []
711
+
712
+
708
713
  def _domain_set(domains: Any) -> frozenset[str]:
709
714
  """Lower-cased internal domains from a collection of names, or a single name."""
710
715
  if isinstance(domains, str):
@@ -764,6 +769,10 @@ def _drive_file_owned_outside(drive_file: dict[str, Any], tenant_domains: frozen
764
769
  return drive_file.get("in_shared_drive") is False and owned_outside(drive_file, tenant_domains)
765
770
 
766
771
 
772
+ def _drive_write_like(permission: dict[str, Any]) -> bool:
773
+ return str(permission.get("role") or "").lower() in {"writer", "fileorganizer", "organizer", "owner"}
774
+
775
+
767
776
  def _drive_permission_record(drive_file: dict[str, Any], permission: dict[str, Any]) -> dict[str, Any]:
768
777
  permission_id = str(
769
778
  permission.get("id")
@@ -1343,7 +1352,15 @@ def build_google_findings(
1343
1352
  )
1344
1353
  )
1345
1354
 
1346
- super_admins = [user for user in _records(normalized_snapshot, "google_users") if user.get("is_admin")]
1355
+ # Super admins are counted as people: two user records naming one address (one Google id returned twice with
1356
+ # differing fields, kept apart by their record keys) are one admin, so a repeat never hides a single admin.
1357
+ admins_by_address: dict[str, dict[str, Any]] = {}
1358
+ # Records are visited in record-key order (keys are named by content), so the admin chosen for an address, and
1359
+ # with it the finding id and evidence, does not depend on the order Google returned the rows in.
1360
+ for user in sorted(_records(normalized_snapshot, "google_users"), key=lambda row: str(row.get("key") or "")):
1361
+ if user.get("is_admin"):
1362
+ admins_by_address.setdefault(str(user.get("primary_email") or user.get("key")).lower(), user)
1363
+ super_admins = list(admins_by_address.values())
1347
1364
  # A users list cut short (``--top``, a failed page) may hold only some of the super admins: one observed admin is
1348
1365
  # then no evidence of a single one. More than five observed is sprawl however many were left out.
1349
1366
  users_cut = "google_directory.users" in {str(item) for item in snapshot.get("truncated_sections") or []}
@@ -1531,10 +1548,15 @@ def build_google_findings(
1531
1548
  section="google_mailbox_settings",
1532
1549
  record=mailbox,
1533
1550
  )
1534
- auto_forwarding = mailbox.get("auto_forwarding") if isinstance(mailbox.get("auto_forwarding"), dict) else {}
1535
- imap = mailbox.get("imap") if isinstance(mailbox.get("imap"), dict) else {}
1536
- pop = mailbox.get("pop") if isinstance(mailbox.get("pop"), dict) else {}
1537
- vacation = mailbox.get("vacation") if isinstance(mailbox.get("vacation"), dict) else {}
1551
+ def observed(name: str, empty: type, mailbox: dict[str, Any] = mailbox) -> Any:
1552
+ # A setting beside its own read error was not observed: it never raises a finding (2.1.3 review 4).
1553
+ value, error = mailbox.get(name), mailbox.get(f"{name}_error")
1554
+ return value if isinstance(value, empty) and not (isinstance(error, dict) and error) else empty()
1555
+
1556
+ auto_forwarding = observed("auto_forwarding", dict)
1557
+ imap = observed("imap", dict)
1558
+ pop = observed("pop", dict)
1559
+ vacation = observed("vacation", dict)
1538
1560
  if imap.get("enabled") is True:
1539
1561
  findings.append(
1540
1562
  _finding(
@@ -1597,7 +1619,7 @@ def build_google_findings(
1597
1619
  )
1598
1620
  )
1599
1621
  active_forward_to = str(auto_forwarding.get("emailAddress") or "").strip().lower() if auto_forwarding.get("enabled") else ""
1600
- for forwarding_address in mailbox.get("forwarding_addresses") or []:
1622
+ for forwarding_address in observed("forwarding_addresses", list):
1601
1623
  if not isinstance(forwarding_address, dict):
1602
1624
  continue
1603
1625
  forwarding_email = forwarding_address.get("forwardingEmail") or forwarding_address.get("email")
@@ -1622,7 +1644,7 @@ def build_google_findings(
1622
1644
  returned_value=forwarding_email,
1623
1645
  )
1624
1646
  )
1625
- for gmail_filter in mailbox.get("filters") or []:
1647
+ for gmail_filter in observed("filters", list):
1626
1648
  action = gmail_filter.get("action") if isinstance(gmail_filter, dict) else {}
1627
1649
  forward_to = action.get("forward") if isinstance(action, dict) else None
1628
1650
  remove_labels = action.get("removeLabelIds") if isinstance(action, dict) else []
@@ -1645,7 +1667,7 @@ def build_google_findings(
1645
1667
  returned_value=forward_to,
1646
1668
  )
1647
1669
  )
1648
- for send_as in mailbox.get("send_as") or []:
1670
+ for send_as in observed("send_as", list):
1649
1671
  if not isinstance(send_as, dict):
1650
1672
  continue
1651
1673
  send_as_email = send_as.get("sendAsEmail")
@@ -1664,7 +1686,7 @@ def build_google_findings(
1664
1686
  returned_value=send_as_email,
1665
1687
  )
1666
1688
  )
1667
- for delegate in mailbox.get("delegates") or []:
1689
+ for delegate in observed("delegates", list):
1668
1690
  if not isinstance(delegate, dict):
1669
1691
  continue
1670
1692
  delegate_email = delegate.get("delegateEmail") or delegate.get("email")
@@ -1689,6 +1711,10 @@ def build_google_findings(
1689
1711
  if _drive_file_owned_outside(drive_file, drive_tenant_domains):
1690
1712
  # Someone else's file the subject can see: its sharing is that owner's, not the tenant's exposure.
1691
1713
  continue
1714
+ # The ``anyone`` findings are about the file, so each rule gives one finding per file (its id is per file):
1715
+ # two ``anyone`` permissions under one rule are one finding at the worse severity, naming every permission
1716
+ # (GWS-R2). The other Drive rules name the principal, so they stay one finding per permission.
1717
+ anyone: dict[bool, list[dict[str, Any]]] = {}
1692
1718
  for permission in drive_file.get("permissions") or []:
1693
1719
  if not isinstance(permission, dict):
1694
1720
  continue
@@ -1696,29 +1722,7 @@ def build_google_findings(
1696
1722
  role = str(permission.get("role") or "").lower()
1697
1723
  write_like = role in {"writer", "fileorganizer", "organizer", "owner"}
1698
1724
  if permission_type == "anyone" and role in {"reader", "commenter", "writer", "fileorganizer", "organizer"}:
1699
- allow_file_discovery = permission.get("allowFileDiscovery") is True
1700
- findings.append(
1701
- _finding(
1702
- rule_id="google.drive_public_discoverable" if allow_file_discovery else "google.drive_anyone_with_link",
1703
- title="Drive file is publicly discoverable" if allow_file_discovery else "Drive file is available to anyone with the link",
1704
- severity="high" if write_like else "medium",
1705
- category="collaboration",
1706
- collector="google_drive_posture",
1707
- section="google_drive_files",
1708
- record=drive_file,
1709
- description=(
1710
- "A Google Drive item is exposed to anyone and can be discovered without a pre-shared link."
1711
- if allow_file_discovery
1712
- else "A Google Drive item grants access to anyone with the link."
1713
- ),
1714
- remediation=(
1715
- "Disable public discoverability and restrict access to approved users or groups."
1716
- if allow_file_discovery
1717
- else "Remove public link permissions or document a time-bound exception."
1718
- ),
1719
- returned_value={"name": drive_file.get("name"), "permission": permission},
1720
- )
1721
- )
1725
+ anyone.setdefault(permission.get("allowFileDiscovery") is True, []).append(permission)
1722
1726
  if permission_type in {"user", "group"} and _external_email(permission.get("emailAddress"), internal_domains):
1723
1727
  findings.append(
1724
1728
  _finding(
@@ -1764,6 +1768,34 @@ def build_google_findings(
1764
1768
  returned_value={"name": drive_file.get("name"), "permission": permission},
1765
1769
  )
1766
1770
  )
1771
+ for allow_file_discovery, permissions in anyone.items():
1772
+ # The first permission at the worst severity is the one named; every one is listed when there are several.
1773
+ worst = next((item for item in permissions if _drive_write_like(item)), permissions[0])
1774
+ returned_value: dict[str, Any] = {"name": drive_file.get("name"), "permission": worst}
1775
+ if len(permissions) > 1:
1776
+ returned_value["permissions"] = permissions
1777
+ findings.append(
1778
+ _finding(
1779
+ rule_id="google.drive_public_discoverable" if allow_file_discovery else "google.drive_anyone_with_link",
1780
+ title="Drive file is publicly discoverable" if allow_file_discovery else "Drive file is available to anyone with the link",
1781
+ severity="high" if _drive_write_like(worst) else "medium",
1782
+ category="collaboration",
1783
+ collector="google_drive_posture",
1784
+ section="google_drive_files",
1785
+ record=drive_file,
1786
+ description=(
1787
+ "A Google Drive item is exposed to anyone and can be discovered without a pre-shared link."
1788
+ if allow_file_discovery
1789
+ else "A Google Drive item grants access to anyone with the link."
1790
+ ),
1791
+ remediation=(
1792
+ "Disable public discoverability and restrict access to approved users or groups."
1793
+ if allow_file_discovery
1794
+ else "Remove public link permissions or document a time-bound exception."
1795
+ ),
1796
+ returned_value=returned_value,
1797
+ )
1798
+ )
1767
1799
 
1768
1800
  for shared_drive in _records(normalized_snapshot, "google_shared_drives"):
1769
1801
  restrictions = shared_drive.get("restrictions") if isinstance(shared_drive.get("restrictions"), dict) else {}
@@ -0,0 +1,22 @@
1
+ """The Google Workspace identity grammar the collectors, the normaliser and the SCuBA projection share."""
2
+ from __future__ import annotations
3
+
4
+ from typing import Any
5
+
6
+
7
+ def identity_key(value: Any) -> bool:
8
+ """An opaque Google join key (a user id, a primary address, an OU path): any string that is not empty or all
9
+ blank and holds no lone surrogate.
10
+
11
+ These values are keyed pseudonyms (or joined to a Directory id) before any rule reads them, so their text is never
12
+ judged: a format or control character (zero-width, bidi, line separator, NUL) is just part of the key. Lone
13
+ surrogates are escaped at ingest, so a read never fails this on them.
14
+ """
15
+ return (isinstance(value, str) and bool(value.strip())
16
+ and not any("\ud800" <= char <= "\udfff" for char in value))
17
+
18
+
19
+ def org_unit_path(value: Any) -> bool:
20
+ """A Directory ``orgUnitPath``: an identity key starting with ``/`` with no empty, ``.`` or ``..`` segment."""
21
+ return (identity_key(value) and value.startswith("/")
22
+ and (value == "/" or all(part not in ("", ".", "..") for part in value[1:].split("/"))))