auditex 2.0.0__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.
- auditex-2.0.0/LICENSE +202 -0
- auditex-2.0.0/NOTICE +46 -0
- auditex-2.0.0/PKG-INFO +292 -0
- auditex-2.0.0/README.md +240 -0
- auditex-2.0.0/agent/agent-prompt.md +60 -0
- auditex-2.0.0/agent/tenant-audit-skill.json +265 -0
- auditex-2.0.0/assets/auditex-logo-64.png +0 -0
- auditex-2.0.0/assets/auditex-logo.svg +14 -0
- auditex-2.0.0/configs/assessment-sources.json +145 -0
- auditex-2.0.0/configs/ce-plus-practice.json +1463 -0
- auditex-2.0.0/configs/collector-definitions.json +990 -0
- auditex-2.0.0/configs/collector-permissions.json +460 -0
- auditex-2.0.0/configs/collector-presets.json +82 -0
- auditex-2.0.0/configs/control-mappings.json +3560 -0
- auditex-2.0.0/configs/explainer-baselines.json +10987 -0
- auditex-2.0.0/configs/explainer-template.json +1 -0
- auditex-2.0.0/configs/explainer-what-to-collect.json +27838 -0
- auditex-2.0.0/configs/finding-templates.json +1503 -0
- auditex-2.0.0/configs/framework-catalog.json +509 -0
- auditex-2.0.0/configs/os-end-of-life.json +736 -0
- auditex-2.0.0/configs/report-sections.json +129 -0
- auditex-2.0.0/configs/risky-delegated-permissions.json +767 -0
- auditex-2.0.0/configs/rule-packs.json +1709 -0
- auditex-2.0.0/configs/scuba-policy-sections.json +1151 -0
- auditex-2.0.0/configs/scuba-rule-precheck.json +538 -0
- auditex-2.0.0/configs/scuba-scope-blind.json +197 -0
- auditex-2.0.0/configs/scuba-value-rules.json +22013 -0
- auditex-2.0.0/docs/guides/admin-permission-guide.md +507 -0
- auditex-2.0.0/docs/guides/ai-assessment.md +159 -0
- auditex-2.0.0/docs/guides/customer-handoff-guide.md +159 -0
- auditex-2.0.0/docs/guides/external-assessments.md +96 -0
- auditex-2.0.0/docs/guides/install-guide.md +377 -0
- auditex-2.0.0/docs/guides/local-answer.md +114 -0
- auditex-2.0.0/docs/guides/model-development.md +40 -0
- auditex-2.0.0/docs/guides/product-manual.md +521 -0
- auditex-2.0.0/docs/guides/reader-app-permissions.md +328 -0
- auditex-2.0.0/docs/guides/setup-guide.md +249 -0
- auditex-2.0.0/docs/guides/troubleshooting.md +214 -0
- auditex-2.0.0/docs/index.md +42 -0
- auditex-2.0.0/docs/legal/third-party-notices.md +117 -0
- auditex-2.0.0/docs/legal/trademarks.md +19 -0
- auditex-2.0.0/docs/provenance/explainer-baselines.md +98 -0
- auditex-2.0.0/docs/provenance/provenance.csv +44 -0
- auditex-2.0.0/docs/provenance/provenance.md +199 -0
- auditex-2.0.0/docs/reference/api-call-catalog.md +334 -0
- auditex-2.0.0/docs/reference/framework-mappings.md +638 -0
- auditex-2.0.0/docs/reference/output-contract.md +1878 -0
- auditex-2.0.0/docs/reference/security-privacy.md +1077 -0
- auditex-2.0.0/examples/demo_tenant/demo_tenant.json +1074 -0
- auditex-2.0.0/examples/demo_tenant/demo_tenant_remediated.json +1083 -0
- auditex-2.0.0/examples/google_workspace_sample.json +563 -0
- auditex-2.0.0/examples/sample_audit_bundle/admin_set_result.json +382 -0
- auditex-2.0.0/examples/sample_audit_bundle/endpoint_posture_result.json +363 -0
- auditex-2.0.0/examples/sample_audit_bundle/external_maester.json +38 -0
- auditex-2.0.0/examples/sample_audit_bundle/external_monkey365.json +66 -0
- auditex-2.0.0/examples/sample_audit_bundle/external_scubagear.json +41 -0
- auditex-2.0.0/examples/sample_audit_bundle/identity_controls_result.json +254 -0
- auditex-2.0.0/examples/sample_audit_bundle/known_bad_result.json +164 -0
- auditex-2.0.0/examples/sample_audit_bundle/sample_result.json +41 -0
- auditex-2.0.0/examples/sample_audit_bundle/update_rings_missing_result.json +103 -0
- auditex-2.0.0/profiles/app-readonly-full.md +11 -0
- auditex-2.0.0/profiles/exchange-reader.md +11 -0
- auditex-2.0.0/profiles/global-reader.md +11 -0
- auditex-2.0.0/profiles/intune-reader.md +11 -0
- auditex-2.0.0/profiles/security-reader.md +11 -0
- auditex-2.0.0/pyproject.toml +131 -0
- auditex-2.0.0/schemas/ai_context.schema.json +30 -0
- auditex-2.0.0/schemas/blocker.schema.json +14 -0
- auditex-2.0.0/schemas/blockers.schema.json +6 -0
- auditex-2.0.0/schemas/bundle_hashes.schema.json +38 -0
- auditex-2.0.0/schemas/capability_matrix.schema.json +41 -0
- auditex-2.0.0/schemas/ce_plus_practice.schema.json +653 -0
- auditex-2.0.0/schemas/collector_result.schema.json +13 -0
- auditex-2.0.0/schemas/explainer.schema.json +13 -0
- auditex-2.0.0/schemas/finding.schema.json +277 -0
- auditex-2.0.0/schemas/local_answer.schema.json +133 -0
- auditex-2.0.0/schemas/model_assessment-2026-10-27.1.schema.json +288 -0
- auditex-2.0.0/schemas/model_assessment-2026-10-27.schema.json +271 -0
- auditex-2.0.0/schemas/model_assessment-2026-10-28.schema.json +453 -0
- auditex-2.0.0/schemas/model_assessment-2026-10-29.schema.json +1245 -0
- auditex-2.0.0/schemas/model_assessment-2026-11-05.schema.json +1339 -0
- auditex-2.0.0/schemas/model_assessment.schema.json +1387 -0
- auditex-2.0.0/schemas/report_pack.schema.json +41 -0
- auditex-2.0.0/schemas/run_manifest.schema.json +195 -0
- auditex-2.0.0/schemas/summary.schema.json +32 -0
- auditex-2.0.0/schemas/targeted_users_coverage.schema.json +29 -0
- auditex-2.0.0/schemas/validation.schema.json +28 -0
- auditex-2.0.0/setup.cfg +4 -0
- auditex-2.0.0/skills/app-readonly-escalation/SKILL.md +26 -0
- auditex-2.0.0/skills/auditex-operator/SKILL.md +43 -0
- auditex-2.0.0/skills/evidence-pack/SKILL.md +29 -0
- auditex-2.0.0/src/auditex/__init__.py +23 -0
- auditex-2.0.0/src/auditex/__main__.py +4 -0
- auditex-2.0.0/src/auditex/answer_checks.py +292 -0
- auditex-2.0.0/src/auditex/answer_digest.py +407 -0
- auditex-2.0.0/src/auditex/answer_frames.json +40 -0
- auditex-2.0.0/src/auditex/assessment_review.py +355 -0
- auditex-2.0.0/src/auditex/assessment_sources.py +16 -0
- auditex-2.0.0/src/auditex/auth_runtime.py +218 -0
- auditex-2.0.0/src/auditex/bootstrap.py +340 -0
- auditex-2.0.0/src/auditex/ce_plus.py +684 -0
- auditex-2.0.0/src/auditex/cli.py +1599 -0
- auditex-2.0.0/src/auditex/command_builders.py +256 -0
- auditex-2.0.0/src/auditex/command_runner.py +386 -0
- auditex-2.0.0/src/auditex/compare.py +834 -0
- auditex-2.0.0/src/auditex/demo.py +476 -0
- auditex-2.0.0/src/auditex/evidence_db.py +8 -0
- auditex-2.0.0/src/auditex/explorer.py +1237 -0
- auditex-2.0.0/src/auditex/explorer_assets/LICENSE-lucide.txt +43 -0
- auditex-2.0.0/src/auditex/explorer_assets/explorer.css +509 -0
- auditex-2.0.0/src/auditex/explorer_assets/explorer.html +64 -0
- auditex-2.0.0/src/auditex/explorer_assets/explorer.js +990 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-400-latin-ext.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-400-latin-ext.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-400-latin.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-400-latin.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-600-latin-ext.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-600-latin-ext.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-600-latin.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/Barlow-600-latin.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin-ext.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin-ext.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin.woff2 +0 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/BarlowCondensed-600-latin.woff2.range +1 -0
- auditex-2.0.0/src/auditex/explorer_assets/fonts/OFL.txt +93 -0
- auditex-2.0.0/src/auditex/exporters.py +95 -0
- auditex-2.0.0/src/auditex/external_assessments.py +319 -0
- auditex-2.0.0/src/auditex/features.py +15 -0
- auditex-2.0.0/src/auditex/gate.py +825 -0
- auditex-2.0.0/src/auditex/google_workspace/__init__.py +17 -0
- auditex-2.0.0/src/auditex/google_workspace/auth.py +403 -0
- auditex-2.0.0/src/auditex/google_workspace/client.py +688 -0
- auditex-2.0.0/src/auditex/google_workspace/collectors.py +998 -0
- auditex-2.0.0/src/auditex/google_workspace/findings.py +2330 -0
- auditex-2.0.0/src/auditex/google_workspace/normalize.py +773 -0
- auditex-2.0.0/src/auditex/google_workspace/run.py +1219 -0
- auditex-2.0.0/src/auditex/guided.py +338 -0
- auditex-2.0.0/src/auditex/local_answer.py +1045 -0
- auditex-2.0.0/src/auditex/mcp_paths.py +139 -0
- auditex-2.0.0/src/auditex/mcp_registry.py +270 -0
- auditex-2.0.0/src/auditex/mcp_server.py +1443 -0
- auditex-2.0.0/src/auditex/notify.py +763 -0
- auditex-2.0.0/src/auditex/operator_flow.py +47 -0
- auditex-2.0.0/src/auditex/output_writers.py +211 -0
- auditex-2.0.0/src/auditex/reporting.py +4699 -0
- auditex-2.0.0/src/auditex/rule_assessment.py +493 -0
- auditex-2.0.0/src/auditex/rules.py +356 -0
- auditex-2.0.0/src/auditex/run_bundle.py +544 -0
- auditex-2.0.0/src/auditex/scope_postcheck.py +81 -0
- auditex-2.0.0/src/auditex/scuba_adapters_aad.py +398 -0
- auditex-2.0.0/src/auditex/scuba_adapters_defender.py +162 -0
- auditex-2.0.0/src/auditex/scuba_adapters_exchange.py +63 -0
- auditex-2.0.0/src/auditex/scuba_adapters_powerplat.py +94 -0
- auditex-2.0.0/src/auditex/scuba_adapters_teams.py +230 -0
- auditex-2.0.0/src/auditex/scuba_projection.py +2345 -0
- auditex-2.0.0/src/auditex/scubagear_export.py +871 -0
- auditex-2.0.0/src/auditex/scubagear_prune_proof.py +575 -0
- auditex-2.0.0/src/auditex/setup_guide.py +668 -0
- auditex-2.0.0/src/auditex.egg-info/PKG-INFO +292 -0
- auditex-2.0.0/src/auditex.egg-info/SOURCES.txt +658 -0
- auditex-2.0.0/src/auditex.egg-info/dependency_links.txt +1 -0
- auditex-2.0.0/src/auditex.egg-info/entry_points.txt +4 -0
- auditex-2.0.0/src/auditex.egg-info/requires.txt +24 -0
- auditex-2.0.0/src/auditex.egg-info/top_level.txt +2 -0
- auditex-2.0.0/src/azure_tenant_audit/__init__.py +5 -0
- auditex-2.0.0/src/azure_tenant_audit/__main__.py +4 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/__init__.py +35 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/base.py +34 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/capabilities.py +43 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/m365_cli.py +156 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/m365dsc.py +124 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/powershell_graph.py +655 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/read_guard.py +738 -0
- auditex-2.0.0/src/azure_tenant_audit/adapters/teams_admin_rest.py +336 -0
- auditex-2.0.0/src/azure_tenant_audit/ai_context.py +159 -0
- auditex-2.0.0/src/azure_tenant_audit/api_inventory.py +927 -0
- auditex-2.0.0/src/azure_tenant_audit/argument_parser.py +121 -0
- auditex-2.0.0/src/azure_tenant_audit/assurance.py +349 -0
- auditex-2.0.0/src/azure_tenant_audit/attack_graph.py +986 -0
- auditex-2.0.0/src/azure_tenant_audit/auth_context.py +148 -0
- auditex-2.0.0/src/azure_tenant_audit/auth_runtime.py +81 -0
- auditex-2.0.0/src/azure_tenant_audit/autopilot.py +728 -0
- auditex-2.0.0/src/azure_tenant_audit/baselines.py +1372 -0
- auditex-2.0.0/src/azure_tenant_audit/break_glass.py +499 -0
- auditex-2.0.0/src/azure_tenant_audit/bundle_integrity.py +467 -0
- auditex-2.0.0/src/azure_tenant_audit/capability_gate.py +278 -0
- auditex-2.0.0/src/azure_tenant_audit/catalog.py +75 -0
- auditex-2.0.0/src/azure_tenant_audit/certificate_auth.py +342 -0
- auditex-2.0.0/src/azure_tenant_audit/chunk_reader.py +167 -0
- auditex-2.0.0/src/azure_tenant_audit/citations.py +45 -0
- auditex-2.0.0/src/azure_tenant_audit/cli.py +1323 -0
- auditex-2.0.0/src/azure_tenant_audit/cli_guard.py +335 -0
- auditex-2.0.0/src/azure_tenant_audit/collection_gaps.py +584 -0
- auditex-2.0.0/src/azure_tenant_audit/collection_markers.py +3 -0
- auditex-2.0.0/src/azure_tenant_audit/collector_runner.py +342 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/__init__.py +75 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/_capability_gated.py +169 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/_endpoint_reads.py +371 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/anti_phish_admission.py +345 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/app_consent.py +409 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/app_credentials.py +392 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/auth_methods.py +55 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/base.py +564 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/conditional_access.py +68 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/consent_policy.py +192 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/copilot_governance.py +68 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/cross_tenant_access.py +187 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/defender.py +80 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/defender_cloud_apps.py +43 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/directory_relationships.py +93 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/dns_posture.py +432 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/domains_hybrid.py +49 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/ediscovery.py +435 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/exchange.py +70 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/exchange_defender_commands.py +117 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/exchange_policy.py +438 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/external_identity.py +41 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/identity.py +262 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/identity_governance.py +297 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/identity_protection.py +125 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/intune.py +105 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/intune_depth.py +377 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/licensing.py +58 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/mailbox_forwarding.py +534 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/onedrive_posture.py +122 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/power_bi.py +83 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/power_platform.py +249 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/purview.py +274 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/reports_usage.py +162 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/security.py +78 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/sentinel_xdr.py +37 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/service_health.py +41 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/sharepoint.py +52 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/sharepoint_access.py +358 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/sharepoint_admin.py +440 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/targeted_users_coverage.py +799 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/teams.py +109 -0
- auditex-2.0.0/src/azure_tenant_audit/collectors/teams_policy.py +170 -0
- auditex-2.0.0/src/azure_tenant_audit/config.py +104 -0
- auditex-2.0.0/src/azure_tenant_audit/contracts.py +1084 -0
- auditex-2.0.0/src/azure_tenant_audit/cyber_essentials.py +195 -0
- auditex-2.0.0/src/azure_tenant_audit/data_handling.py +236 -0
- auditex-2.0.0/src/azure_tenant_audit/data_minimisation.py +201 -0
- auditex-2.0.0/src/azure_tenant_audit/detection_coverage.py +364 -0
- auditex-2.0.0/src/azure_tenant_audit/diagnostics.py +153 -0
- auditex-2.0.0/src/azure_tenant_audit/diffing.py +655 -0
- auditex-2.0.0/src/azure_tenant_audit/directory_relationships.py +31 -0
- auditex-2.0.0/src/azure_tenant_audit/dns_lookup.py +819 -0
- auditex-2.0.0/src/azure_tenant_audit/effective_admins.py +602 -0
- auditex-2.0.0/src/azure_tenant_audit/endpoint_posture.py +558 -0
- auditex-2.0.0/src/azure_tenant_audit/evidence_db.py +600 -0
- auditex-2.0.0/src/azure_tenant_audit/evidence_gates.py +186 -0
- auditex-2.0.0/src/azure_tenant_audit/evidence_refs.py +409 -0
- auditex-2.0.0/src/azure_tenant_audit/exchange_protection.py +237 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/__init__.py +52 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/adapter.py +35 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/baselines.py +450 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/collection.py +183 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/generate.py +224 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/render.py +214 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/textkit.py +336 -0
- auditex-2.0.0/src/azure_tenant_audit/explainer/view.py +100 -0
- auditex-2.0.0/src/azure_tenant_audit/exposure_lookup.py +498 -0
- auditex-2.0.0/src/azure_tenant_audit/external_sharing.py +529 -0
- auditex-2.0.0/src/azure_tenant_audit/finalize.py +373 -0
- auditex-2.0.0/src/azure_tenant_audit/findings.py +4648 -0
- auditex-2.0.0/src/azure_tenant_audit/friendly_names.py +165 -0
- auditex-2.0.0/src/azure_tenant_audit/graph.py +1098 -0
- auditex-2.0.0/src/azure_tenant_audit/guarded_io.py +1304 -0
- auditex-2.0.0/src/azure_tenant_audit/identity_controls.py +1698 -0
- auditex-2.0.0/src/azure_tenant_audit/normalize.py +3376 -0
- auditex-2.0.0/src/azure_tenant_audit/offline_replay.py +243 -0
- auditex-2.0.0/src/azure_tenant_audit/os_lifecycle.py +224 -0
- auditex-2.0.0/src/azure_tenant_audit/output.py +1109 -0
- auditex-2.0.0/src/azure_tenant_audit/output_redaction.py +2871 -0
- auditex-2.0.0/src/azure_tenant_audit/partner_domains.py +180 -0
- auditex-2.0.0/src/azure_tenant_audit/perf_runtime.py +106 -0
- auditex-2.0.0/src/azure_tenant_audit/power_bi.py +58 -0
- auditex-2.0.0/src/azure_tenant_audit/power_platform.py +141 -0
- auditex-2.0.0/src/azure_tenant_audit/presets.py +80 -0
- auditex-2.0.0/src/azure_tenant_audit/private_io.py +173 -0
- auditex-2.0.0/src/azure_tenant_audit/privileged_roles.py +246 -0
- auditex-2.0.0/src/azure_tenant_audit/probe.py +743 -0
- auditex-2.0.0/src/azure_tenant_audit/profiles.py +257 -0
- auditex-2.0.0/src/azure_tenant_audit/provider_registry.py +21 -0
- auditex-2.0.0/src/azure_tenant_audit/provider_runtime.py +127 -0
- auditex-2.0.0/src/azure_tenant_audit/resources.py +220 -0
- auditex-2.0.0/src/azure_tenant_audit/response.py +829 -0
- auditex-2.0.0/src/azure_tenant_audit/rule_parameters.py +167 -0
- auditex-2.0.0/src/azure_tenant_audit/run.py +552 -0
- auditex-2.0.0/src/azure_tenant_audit/run_files.py +182 -0
- auditex-2.0.0/src/azure_tenant_audit/scope_catalog.py +195 -0
- auditex-2.0.0/src/azure_tenant_audit/scuba_assessment.py +646 -0
- auditex-2.0.0/src/azure_tenant_audit/scuba_precheck.py +316 -0
- auditex-2.0.0/src/azure_tenant_audit/scuba_scope.py +213 -0
- auditex-2.0.0/src/azure_tenant_audit/secret_hygiene.py +717 -0
- auditex-2.0.0/src/azure_tenant_audit/selection.py +31 -0
- auditex-2.0.0/src/azure_tenant_audit/sensitive_users.py +178 -0
- auditex-2.0.0/src/azure_tenant_audit/shipped_content.py +122 -0
- auditex-2.0.0/src/azure_tenant_audit/strict_json.py +19 -0
- auditex-2.0.0/src/azure_tenant_audit/tenant_identity.py +267 -0
- auditex-2.0.0/src/azure_tenant_audit/text_validity.py +77 -0
- auditex-2.0.0/src/azure_tenant_audit/utils.py +38 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/__init__.py +77 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/aad_authz.py +140 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/aad_pilot.py +439 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/aad_roles.py +182 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/catalogue.py +184 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/conditional_access.py +673 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_cascade.py +274 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_dlp.py +209 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_phish.py +360 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_resolution.py +486 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_spam.py +222 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/defender_targeted_users.py +182 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/dns.py +339 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/exo_open.py +56 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/gates.py +52 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/helpers.py +312 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/lookups.py +311 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/power_platform.py +149 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/powerbi.py +138 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/record.py +162 -0
- auditex-2.0.0/src/azure_tenant_audit/value_rules/sharepoint.py +125 -0
- auditex-2.0.0/src/azure_tenant_audit/versioning.py +47 -0
- auditex-2.0.0/src/azure_tenant_audit/waivers.py +304 -0
- auditex-2.0.0/tests/test_aad_policy_collectors.py +754 -0
- auditex-2.0.0/tests/test_adapters.py +116 -0
- auditex-2.0.0/tests/test_answer_checks.py +565 -0
- auditex-2.0.0/tests/test_answer_digest.py +256 -0
- auditex-2.0.0/tests/test_api_inventory.py +314 -0
- auditex-2.0.0/tests/test_api_observed_ledger.py +704 -0
- auditex-2.0.0/tests/test_app_credentials_collector.py +223 -0
- auditex-2.0.0/tests/test_app_credentials_findings.py +467 -0
- auditex-2.0.0/tests/test_architecture_modules.py +340 -0
- auditex-2.0.0/tests/test_assessment_cli.py +64 -0
- auditex-2.0.0/tests/test_assessment_review.py +322 -0
- auditex-2.0.0/tests/test_assurance.py +182 -0
- auditex-2.0.0/tests/test_attack_graph.py +585 -0
- auditex-2.0.0/tests/test_auditex_product.py +2225 -0
- auditex-2.0.0/tests/test_auth_methods_collector.py +39 -0
- auditex-2.0.0/tests/test_autopilot.py +436 -0
- auditex-2.0.0/tests/test_baseline_evaluation.py +835 -0
- auditex-2.0.0/tests/test_bootstrap.py +117 -0
- auditex-2.0.0/tests/test_break_glass.py +596 -0
- auditex-2.0.0/tests/test_bundle_integrity_legacy_outputs.py +40 -0
- auditex-2.0.0/tests/test_bundle_names.py +53 -0
- auditex-2.0.0/tests/test_bundle_permissions.py +131 -0
- auditex-2.0.0/tests/test_capability_gate.py +45 -0
- auditex-2.0.0/tests/test_capability_gated_shape.py +102 -0
- auditex-2.0.0/tests/test_capability_gated_stubs.py +132 -0
- auditex-2.0.0/tests/test_ce_plus_catalogue.py +262 -0
- auditex-2.0.0/tests/test_ce_plus_practice.py +1187 -0
- auditex-2.0.0/tests/test_ce_review_fixes.py +452 -0
- auditex-2.0.0/tests/test_certificate_auth.py +503 -0
- auditex-2.0.0/tests/test_check_archive_wheel.py +32 -0
- auditex-2.0.0/tests/test_check_reproducible_build.py +83 -0
- auditex-2.0.0/tests/test_chunk_normalization.py +447 -0
- auditex-2.0.0/tests/test_cli.py +1456 -0
- auditex-2.0.0/tests/test_cli_abbreviations.py +291 -0
- auditex-2.0.0/tests/test_cli_extensions.py +421 -0
- auditex-2.0.0/tests/test_collection_coverage_fixes.py +881 -0
- auditex-2.0.0/tests/test_collection_gaps.py +1123 -0
- auditex-2.0.0/tests/test_collector_chunk_refusal_closure.py +209 -0
- auditex-2.0.0/tests/test_collector_fanout.py +311 -0
- auditex-2.0.0/tests/test_collector_runner.py +276 -0
- auditex-2.0.0/tests/test_command_builders.py +173 -0
- auditex-2.0.0/tests/test_command_output_privacy.py +616 -0
- auditex-2.0.0/tests/test_compare.py +418 -0
- auditex-2.0.0/tests/test_compare_run_outputs.py +270 -0
- auditex-2.0.0/tests/test_compliance_framework_mappings.py +156 -0
- auditex-2.0.0/tests/test_composed_guard_regressions.py +482 -0
- auditex-2.0.0/tests/test_composed_model_regressions.py +92 -0
- auditex-2.0.0/tests/test_composed_refusal_exits.py +177 -0
- auditex-2.0.0/tests/test_conditional_access_normalization.py +126 -0
- auditex-2.0.0/tests/test_config.py +71 -0
- auditex-2.0.0/tests/test_contract.py +183 -0
- auditex-2.0.0/tests/test_cross_tenant_access_collector.py +119 -0
- auditex-2.0.0/tests/test_cross_tenant_access_findings.py +274 -0
- auditex-2.0.0/tests/test_csv_export_stability.py +161 -0
- auditex-2.0.0/tests/test_customer_pack_d3.py +150 -0
- auditex-2.0.0/tests/test_cyber_essentials.py +526 -0
- auditex-2.0.0/tests/test_data_minimisation.py +439 -0
- auditex-2.0.0/tests/test_demo_and_explorer.py +234 -0
- auditex-2.0.0/tests/test_demo_tenant_fixture.py +262 -0
- auditex-2.0.0/tests/test_detection_coverage.py +356 -0
- auditex-2.0.0/tests/test_diagnostic_aggregation.py +86 -0
- auditex-2.0.0/tests/test_diffing.py +319 -0
- auditex-2.0.0/tests/test_directory_relationships.py +123 -0
- auditex-2.0.0/tests/test_dkim_empty_answer.py +55 -0
- auditex-2.0.0/tests/test_dmarc_nxdomain.py +109 -0
- auditex-2.0.0/tests/test_dns_lookup_parsers.py +280 -0
- auditex-2.0.0/tests/test_dns_posture_collector.py +464 -0
- auditex-2.0.0/tests/test_dns_posture_findings.py +287 -0
- auditex-2.0.0/tests/test_dns_scuba_records.py +820 -0
- auditex-2.0.0/tests/test_docs_paths.py +45 -0
- auditex-2.0.0/tests/test_effective_admin_set.py +1366 -0
- auditex-2.0.0/tests/test_endpoint_findings.py +617 -0
- auditex-2.0.0/tests/test_endpoint_posture.py +301 -0
- auditex-2.0.0/tests/test_endpoint_samples.py +136 -0
- auditex-2.0.0/tests/test_enterprise_depth_collectors.py +841 -0
- auditex-2.0.0/tests/test_evidence_db_migration.py +201 -0
- auditex-2.0.0/tests/test_evidence_gates.py +196 -0
- auditex-2.0.0/tests/test_evidence_traceability.py +1036 -0
- auditex-2.0.0/tests/test_exchange_collector.py +36 -0
- auditex-2.0.0/tests/test_exchange_defender_collector.py +302 -0
- auditex-2.0.0/tests/test_exchange_policy_scuba_inputs.py +215 -0
- auditex-2.0.0/tests/test_exchange_protection.py +465 -0
- auditex-2.0.0/tests/test_exchange_session.py +193 -0
- auditex-2.0.0/tests/test_explainer_baselines.py +375 -0
- auditex-2.0.0/tests/test_explainer_catalogue_drift.py +139 -0
- auditex-2.0.0/tests/test_explainer_collection.py +252 -0
- auditex-2.0.0/tests/test_explainer_commands.py +143 -0
- auditex-2.0.0/tests/test_explainer_fixtures.py +110 -0
- auditex-2.0.0/tests/test_explainer_integration.py +584 -0
- auditex-2.0.0/tests/test_explainer_renderer.py +460 -0
- auditex-2.0.0/tests/test_explainer_view.py +187 -0
- auditex-2.0.0/tests/test_explainer_wire.py +677 -0
- auditex-2.0.0/tests/test_explorer_guard_integration.py +32 -0
- auditex-2.0.0/tests/test_explorer_redesign.py +317 -0
- auditex-2.0.0/tests/test_exposure_lookups.py +266 -0
- auditex-2.0.0/tests/test_external_assessments.py +202 -0
- auditex-2.0.0/tests/test_external_sharing.py +793 -0
- auditex-2.0.0/tests/test_finalize_idempotent.py +312 -0
- auditex-2.0.0/tests/test_finding_invariants.py +228 -0
- auditex-2.0.0/tests/test_finding_templates_complete.py +124 -0
- auditex-2.0.0/tests/test_findings.py +953 -0
- auditex-2.0.0/tests/test_first_collection_graph_fixes.py +272 -0
- auditex-2.0.0/tests/test_fixture_replay.py +103 -0
- auditex-2.0.0/tests/test_framework_baselines.py +377 -0
- auditex-2.0.0/tests/test_gate_cli.py +387 -0
- auditex-2.0.0/tests/test_gate_drift_cli.py +411 -0
- auditex-2.0.0/tests/test_gate_integrity.py +479 -0
- auditex-2.0.0/tests/test_gated_normalize_sections.py +188 -0
- auditex-2.0.0/tests/test_google_collection_gaps.py +329 -0
- auditex-2.0.0/tests/test_google_device_posture.py +207 -0
- auditex-2.0.0/tests/test_google_parity.py +1685 -0
- auditex-2.0.0/tests/test_google_workspace.py +2491 -0
- auditex-2.0.0/tests/test_graph.py +339 -0
- auditex-2.0.0/tests/test_graph_batch_retry.py +309 -0
- auditex-2.0.0/tests/test_graph_read_only.py +288 -0
- auditex-2.0.0/tests/test_graph_streaming.py +255 -0
- auditex-2.0.0/tests/test_guarded_admission.py +752 -0
- auditex-2.0.0/tests/test_html_peak_harness.py +111 -0
- auditex-2.0.0/tests/test_http_verb_allowlist.py +1493 -0
- auditex-2.0.0/tests/test_identity_collector.py +180 -0
- auditex-2.0.0/tests/test_identity_controls.py +1206 -0
- auditex-2.0.0/tests/test_identity_rules_review_v3.py +1301 -0
- auditex-2.0.0/tests/test_identity_verdict_exclusions.py +774 -0
- auditex-2.0.0/tests/test_index_unproved_storage.py +447 -0
- auditex-2.0.0/tests/test_integrity_gate_followups.py +903 -0
- auditex-2.0.0/tests/test_intune_endpoint_collector.py +564 -0
- auditex-2.0.0/tests/test_ipps_session.py +380 -0
- auditex-2.0.0/tests/test_jira_github_sinks.py +451 -0
- auditex-2.0.0/tests/test_json_export_stability.py +105 -0
- auditex-2.0.0/tests/test_key_guard_cli_values.py +242 -0
- auditex-2.0.0/tests/test_key_guard_copy.py +101 -0
- auditex-2.0.0/tests/test_key_guard_later_reads.py +118 -0
- auditex-2.0.0/tests/test_key_guard_stdin.py +126 -0
- auditex-2.0.0/tests/test_key_guard_swaps.py +404 -0
- auditex-2.0.0/tests/test_known_bad_samples.py +152 -0
- auditex-2.0.0/tests/test_local_answer.py +861 -0
- auditex-2.0.0/tests/test_local_auth_scripts.py +139 -0
- auditex-2.0.0/tests/test_lone_surrogate_text.py +317 -0
- auditex-2.0.0/tests/test_mailbox_forwarding_collector.py +466 -0
- auditex-2.0.0/tests/test_mailbox_forwarding_findings.py +182 -0
- auditex-2.0.0/tests/test_mcp_guard_repair.py +569 -0
- auditex-2.0.0/tests/test_mcp_manifest_guard.py +498 -0
- auditex-2.0.0/tests/test_mcp_offline_operator_inputs.py +195 -0
- auditex-2.0.0/tests/test_mcp_paths.py +487 -0
- auditex-2.0.0/tests/test_mcp_registry.py +110 -0
- auditex-2.0.0/tests/test_mcp_temp_layouts.py +96 -0
- auditex-2.0.0/tests/test_model_precheck.py +602 -0
- auditex-2.0.0/tests/test_model_rules_only.py +329 -0
- auditex-2.0.0/tests/test_model_serving.py +439 -0
- auditex-2.0.0/tests/test_normalize.py +540 -0
- auditex-2.0.0/tests/test_normalize_coverage.py +61 -0
- auditex-2.0.0/tests/test_notification_d3.py +233 -0
- auditex-2.0.0/tests/test_notify.py +312 -0
- auditex-2.0.0/tests/test_notify_redaction.py +200 -0
- auditex-2.0.0/tests/test_offline_as_of.py +252 -0
- auditex-2.0.0/tests/test_operator_flow.py +58 -0
- auditex-2.0.0/tests/test_optional_collection_reason.py +252 -0
- auditex-2.0.0/tests/test_os_lifecycle.py +298 -0
- auditex-2.0.0/tests/test_output.py +241 -0
- auditex-2.0.0/tests/test_output_streaming.py +114 -0
- auditex-2.0.0/tests/test_pack_integrity_and_permissions.py +700 -0
- auditex-2.0.0/tests/test_packaging_install.py +123 -0
- auditex-2.0.0/tests/test_parser_error_privacy.py +673 -0
- auditex-2.0.0/tests/test_partial_workload_exit.py +195 -0
- auditex-2.0.0/tests/test_partner_domains.py +986 -0
- auditex-2.0.0/tests/test_partner_rule_projection.py +436 -0
- auditex-2.0.0/tests/test_perf_runtime.py +35 -0
- auditex-2.0.0/tests/test_permission_docs_parity.py +235 -0
- auditex-2.0.0/tests/test_power_bi_collector.py +240 -0
- auditex-2.0.0/tests/test_power_platform_collector.py +516 -0
- auditex-2.0.0/tests/test_powerplat_end_to_end.py +428 -0
- auditex-2.0.0/tests/test_presets.py +270 -0
- auditex-2.0.0/tests/test_prior_guard_routes.py +484 -0
- auditex-2.0.0/tests/test_private_input_boundary_followups.py +241 -0
- auditex-2.0.0/tests/test_private_input_diff_followups.py +91 -0
- auditex-2.0.0/tests/test_privileged_roles.py +974 -0
- auditex-2.0.0/tests/test_probe.py +398 -0
- auditex-2.0.0/tests/test_protection_refusal_coverage.py +142 -0
- auditex-2.0.0/tests/test_purview_ediscovery_collectors.py +757 -0
- auditex-2.0.0/tests/test_read_boundaries.py +3628 -0
- auditex-2.0.0/tests/test_read_guard.py +709 -0
- auditex-2.0.0/tests/test_read_guard_content_cmdlets.py +136 -0
- auditex-2.0.0/tests/test_readonly_validation_notice.py +42 -0
- auditex-2.0.0/tests/test_redaction_export_schemas.py +29 -0
- auditex-2.0.0/tests/test_redaction_keyed_pseudonyms.py +1463 -0
- auditex-2.0.0/tests/test_redaction_person_names.py +989 -0
- auditex-2.0.0/tests/test_redaction_profiles_d3.py +582 -0
- auditex-2.0.0/tests/test_redaction_scan_budget.py +665 -0
- auditex-2.0.0/tests/test_replay_resolver_secrets.py +168 -0
- auditex-2.0.0/tests/test_report_analyze.py +63 -0
- auditex-2.0.0/tests/test_reporting.py +342 -0
- auditex-2.0.0/tests/test_response.py +258 -0
- auditex-2.0.0/tests/test_resume_and_offline_replay.py +377 -0
- auditex-2.0.0/tests/test_review_app_consent_owner_counts_and_gaps.py +143 -0
- auditex-2.0.0/tests/test_review_bot_dns.py +389 -0
- auditex-2.0.0/tests/test_review_collectors_transport.py +134 -0
- auditex-2.0.0/tests/test_review_collectors_transport_app_credentials.py +48 -0
- auditex-2.0.0/tests/test_review_collectors_transport_dns.py +104 -0
- auditex-2.0.0/tests/test_review_collectors_transport_exchange.py +45 -0
- auditex-2.0.0/tests/test_review_collectors_transport_fanout.py +85 -0
- auditex-2.0.0/tests/test_review_collectors_transport_gated.py +35 -0
- auditex-2.0.0/tests/test_review_collectors_transport_mailbox.py +121 -0
- auditex-2.0.0/tests/test_review_collectors_transport_mailbox_folders.py +64 -0
- auditex-2.0.0/tests/test_review_collectors_transport_power_platform.py +63 -0
- auditex-2.0.0/tests/test_review_collectors_transport_powershell.py +71 -0
- auditex-2.0.0/tests/test_review_collectors_transport_repair.py +266 -0
- auditex-2.0.0/tests/test_review_collectors_transport_repair2.py +193 -0
- auditex-2.0.0/tests/test_review_collectors_transport_response.py +114 -0
- auditex-2.0.0/tests/test_review_compare_bundle_mcp_answer.py +155 -0
- auditex-2.0.0/tests/test_review_compare_bundle_mcp_compare.py +691 -0
- auditex-2.0.0/tests/test_review_compare_bundle_mcp_explorer.py +14 -0
- auditex-2.0.0/tests/test_review_compare_bundle_mcp_mcp.py +639 -0
- auditex-2.0.0/tests/test_review_compare_bundle_mcp_resume.py +198 -0
- auditex-2.0.0/tests/test_review_docs_accuracy.py +488 -0
- auditex-2.0.0/tests/test_review_findings_normalisation_frameworks.py +239 -0
- auditex-2.0.0/tests/test_review_google_workspace_auth.py +781 -0
- auditex-2.0.0/tests/test_review_google_workspace_client.py +585 -0
- auditex-2.0.0/tests/test_review_google_workspace_dns.py +138 -0
- auditex-2.0.0/tests/test_review_google_workspace_findings.py +182 -0
- auditex-2.0.0/tests/test_review_google_workspace_round2.py +312 -0
- auditex-2.0.0/tests/test_review_google_workspace_round3.py +242 -0
- auditex-2.0.0/tests/test_review_handover_fixes.py +233 -0
- auditex-2.0.0/tests/test_review_integrate_w1.py +222 -0
- auditex-2.0.0/tests/test_review_integrate_w1_outside.py +69 -0
- auditex-2.0.0/tests/test_review_integrate_w1_repair.py +153 -0
- auditex-2.0.0/tests/test_review_integrate_w2.py +276 -0
- auditex-2.0.0/tests/test_review_integrate_w2_round2.py +71 -0
- auditex-2.0.0/tests/test_review_leftovers.py +591 -0
- auditex-2.0.0/tests/test_review_packaging_release_scripts.py +233 -0
- auditex-2.0.0/tests/test_review_packaging_release_scripts_make.py +293 -0
- auditex-2.0.0/tests/test_review_pypi_install.py +431 -0
- auditex-2.0.0/tests/test_review_reporting_exports_disclosure.py +492 -0
- auditex-2.0.0/tests/test_review_reporting_exports_disclosure_data_handling.py +102 -0
- auditex-2.0.0/tests/test_review_rules_followup.py +186 -0
- auditex-2.0.0/tests/test_review_rules_followup_r2.py +628 -0
- auditex-2.0.0/tests/test_review_rules_followup_r3.py +258 -0
- auditex-2.0.0/tests/test_review_sens_read_only_boundary_graph_content.py +123 -0
- auditex-2.0.0/tests/test_review_sens_read_only_boundary_roles.py +83 -0
- auditex-2.0.0/tests/test_review_sens_secrets_and_credentials_markdown.py +107 -0
- auditex-2.0.0/tests/test_review_setup_guided_cli.py +676 -0
- auditex-2.0.0/tests/test_review_tenant_bootstrap_guards.py +30 -0
- auditex-2.0.0/tests/test_review_v3_inputs.py +392 -0
- auditex-2.0.0/tests/test_review_v3_lows.py +438 -0
- auditex-2.0.0/tests/test_review_v3_resume.py +221 -0
- auditex-2.0.0/tests/test_review_v3_run_level.py +574 -0
- auditex-2.0.0/tests/test_review_value_rules_aad_export.py +27 -0
- auditex-2.0.0/tests/test_review_value_rules_defender_dns.py +595 -0
- auditex-2.0.0/tests/test_run.py +119 -0
- auditex-2.0.0/tests/test_run_bundle.py +55 -0
- auditex-2.0.0/tests/test_run_bundle_local_paths.py +456 -0
- auditex-2.0.0/tests/test_sarif_oscal_exports.py +887 -0
- auditex-2.0.0/tests/test_scale.py +45 -0
- auditex-2.0.0/tests/test_scope_catalog.py +77 -0
- auditex-2.0.0/tests/test_scope_postcheck.py +677 -0
- auditex-2.0.0/tests/test_scuba_adapters_aad.py +1136 -0
- auditex-2.0.0/tests/test_scuba_adapters_defender.py +580 -0
- auditex-2.0.0/tests/test_scuba_adapters_exchange.py +278 -0
- auditex-2.0.0/tests/test_scuba_adapters_powerplat.py +473 -0
- auditex-2.0.0/tests/test_scuba_adapters_teams.py +393 -0
- auditex-2.0.0/tests/test_scuba_projection.py +2904 -0
- auditex-2.0.0/tests/test_scuba_projection_area_hook.py +181 -0
- auditex-2.0.0/tests/test_scubagear_differential.py +274 -0
- auditex-2.0.0/tests/test_scubagear_export.py +2075 -0
- auditex-2.0.0/tests/test_secret_cli_matrix.py +380 -0
- auditex-2.0.0/tests/test_secret_hygiene.py +487 -0
- auditex-2.0.0/tests/test_secrets_isolation.py +29 -0
- auditex-2.0.0/tests/test_security_collectors.py +147 -0
- auditex-2.0.0/tests/test_security_defender_posture.py +49 -0
- auditex-2.0.0/tests/test_sensitive_key_allowlist.py +113 -0
- auditex-2.0.0/tests/test_sensitive_users.py +1118 -0
- auditex-2.0.0/tests/test_setup_guide.py +449 -0
- auditex-2.0.0/tests/test_sharepoint_admin_collector.py +353 -0
- auditex-2.0.0/tests/test_sharepoint_admin_guard.py +170 -0
- auditex-2.0.0/tests/test_sharepoint_collector.py +25 -0
- auditex-2.0.0/tests/test_signin_licence_and_compare.py +512 -0
- auditex-2.0.0/tests/test_single_sign_in.py +412 -0
- auditex-2.0.0/tests/test_smtp_tls.py +230 -0
- auditex-2.0.0/tests/test_structured_refusals.py +239 -0
- auditex-2.0.0/tests/test_support.py +50 -0
- auditex-2.0.0/tests/test_targeted_admission_unit.py +388 -0
- auditex-2.0.0/tests/test_targeted_collection_boundary.py +257 -0
- auditex-2.0.0/tests/test_targeted_collection_fixture_provenance.py +48 -0
- auditex-2.0.0/tests/test_targeted_collection_privacy_r2.py +373 -0
- auditex-2.0.0/tests/test_targeted_collection_privacy_repair.py +575 -0
- auditex-2.0.0/tests/test_targeted_collection_producer.py +292 -0
- auditex-2.0.0/tests/test_targeted_collection_replay.py +187 -0
- auditex-2.0.0/tests/test_targeted_collection_resume.py +245 -0
- auditex-2.0.0/tests/test_targeted_collection_resume_failure.py +298 -0
- auditex-2.0.0/tests/test_targeted_collector_bounds.py +69 -0
- auditex-2.0.0/tests/test_targeted_collector_health.py +85 -0
- auditex-2.0.0/tests/test_targeted_demo_metadata.py +56 -0
- auditex-2.0.0/tests/test_targeted_mixed_lists.py +58 -0
- auditex-2.0.0/tests/test_targeted_observation_admission.py +465 -0
- auditex-2.0.0/tests/test_targeted_pseudo_health_admission_unit.py +52 -0
- auditex-2.0.0/tests/test_targeted_pseudo_operation_health.py +170 -0
- auditex-2.0.0/tests/test_targeted_sample_sections.py +449 -0
- auditex-2.0.0/tests/test_targeted_users_helper.py +409 -0
- auditex-2.0.0/tests/test_targeted_users_malformed_output.py +53 -0
- auditex-2.0.0/tests/test_targeted_users_normalization.py +84 -0
- auditex-2.0.0/tests/test_targeted_users_output.py +166 -0
- auditex-2.0.0/tests/test_targeted_users_projection.py +239 -0
- auditex-2.0.0/tests/test_targeted_users_reference_boundary.py +31 -0
- auditex-2.0.0/tests/test_targeted_wire_envelope.py +77 -0
- auditex-2.0.0/tests/test_teams_admin_rest.py +894 -0
- auditex-2.0.0/tests/test_teams_app_settings.py +422 -0
- auditex-2.0.0/tests/test_teams_collector.py +28 -0
- auditex-2.0.0/tests/test_teams_policy_collector.py +320 -0
- auditex-2.0.0/tests/test_teams_policy_projection_join.py +124 -0
- auditex-2.0.0/tests/test_tenant_bootstrap_config.py +70 -0
- auditex-2.0.0/tests/test_tenant_bootstrap_forwarder.py +45 -0
- auditex-2.0.0/tests/test_tenant_bootstrap_wrapper.py +346 -0
- auditex-2.0.0/tests/test_tenant_identity.py +417 -0
- auditex-2.0.0/tests/test_transport_hygiene.py +355 -0
- auditex-2.0.0/tests/test_usage_report_anonymization.py +92 -0
- auditex-2.0.0/tests/test_validation_error_coverage.py +176 -0
- auditex-2.0.0/tests/test_value_rules_aad_review.py +205 -0
- auditex-2.0.0/tests/test_value_rules_catalogue.py +130 -0
- auditex-2.0.0/tests/test_value_rules_contract.py +487 -0
- auditex-2.0.0/tests/test_value_rules_held.py +199 -0
- auditex-2.0.0/tests/test_value_rules_helpers.py +287 -0
- auditex-2.0.0/tests/test_value_rules_oracle.py +154 -0
- auditex-2.0.0/tests/test_value_rules_perf.py +601 -0
- auditex-2.0.0/tests/test_value_rules_replay.py +576 -0
- auditex-2.0.0/tests/test_value_rules_s4.py +534 -0
- auditex-2.0.0/tests/test_value_rules_s5.py +522 -0
- auditex-2.0.0/tests/test_value_rules_s6.py +236 -0
- auditex-2.0.0/tests/test_value_rules_s7.py +619 -0
- auditex-2.0.0/tests/test_value_rules_s8.py +230 -0
- auditex-2.0.0/tests/test_value_rules_s9.py +532 -0
- auditex-2.0.0/tests/test_value_rules_vectors.py +634 -0
- auditex-2.0.0/tests/test_vendored_cli_abbreviations.py +139 -0
- auditex-2.0.0/tests/test_verbose_logging_redaction.py +25 -0
- auditex-2.0.0/tests/test_waivers.py +343 -0
- auditex-2.0.0/tests/test_writer_sinks_d3.py +424 -0
auditex-2.0.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
auditex-2.0.0/NOTICE
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Auditex
|
|
2
|
+
Copyright © 2026 MAGRATHEAN UK LTD
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0. See LICENSE.
|
|
5
|
+
|
|
6
|
+
This product includes third-party material:
|
|
7
|
+
tenant-bootstrap/vendor/microsoft-skills/ — MIT — Microsoft Corporation, from
|
|
8
|
+
microsoft/skills. The upstream licence text is copied at
|
|
9
|
+
tenant-bootstrap/vendor/microsoft-skills/LICENSE. Magrathean modified
|
|
10
|
+
skills/mcp-builder/scripts/requirements.txt in that subset to raise its declared
|
|
11
|
+
dependency versions.
|
|
12
|
+
|
|
13
|
+
src/auditex/explorer_assets/ (run explorer) bundles:
|
|
14
|
+
- Lucide icon path data — ISC — Copyright (c) 2026 Lucide Icons and Contributors;
|
|
15
|
+
icons derived from Feather — MIT — Copyright (c) 2013-present Cole Bemis.
|
|
16
|
+
Licence text: src/auditex/explorer_assets/LICENSE-lucide.txt.
|
|
17
|
+
- Barlow and Barlow Condensed fonts — SIL Open Font License 1.1 — Copyright 2017
|
|
18
|
+
The Barlow Project Authors. Licence text: src/auditex/explorer_assets/fonts/OFL.txt.
|
|
19
|
+
|
|
20
|
+
configs/scuba-policy-sections.json, configs/explainer-baselines.json,
|
|
21
|
+
configs/explainer-template.json and configs/risky-delegated-permissions.json contain
|
|
22
|
+
text and data from the CISA SCuBA baselines and ScubaGear (cisagov/ScubaGear, commit
|
|
23
|
+
2446ad723b7f55031cc02c8aca244d731d468cba), dedicated to the public domain under
|
|
24
|
+
CC0 1.0 Universal. Portions of that baseline text were adapted by CISA from
|
|
25
|
+
Microsoft documentation, (c) Microsoft Corporation, licensed under the Creative
|
|
26
|
+
Commons Attribution 4.0 International licence
|
|
27
|
+
(https://creativecommons.org/licenses/by/4.0/). Auditex extracted and reformatted
|
|
28
|
+
the text; the changes are listed in docs/provenance/explainer-baselines.md.
|
|
29
|
+
|
|
30
|
+
configs/framework-catalog.json and configs/ce-plus-practice.json cite headings of the
|
|
31
|
+
NCSC Cyber Essentials: Requirements for IT Infrastructure v3.3. Contains public sector
|
|
32
|
+
information licensed under the Open Government Licence v3.0
|
|
33
|
+
(https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
|
34
|
+
|
|
35
|
+
Auditex contains no language model. The optional local answer downloads a model file
|
|
36
|
+
from its publisher at the user's request, under that model's own licence; see
|
|
37
|
+
docs/guides/local-answer.md.
|
|
38
|
+
|
|
39
|
+
See docs/legal/third-party-notices.md for the full inventory, including the declared
|
|
40
|
+
Python dependencies.
|
|
41
|
+
|
|
42
|
+
Auditex is independent. It is not affiliated with, endorsed by or supported by Microsoft
|
|
43
|
+
Corporation, Google LLC, the Cybersecurity and Infrastructure Security Agency (CISA),
|
|
44
|
+
the National Cyber Security Centre (NCSC), IASME or the Center for Internet Security
|
|
45
|
+
(CIS). The framework mappings have not been authorised, sponsored or otherwise approved
|
|
46
|
+
by CIS or by any of them.
|
auditex-2.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: auditex
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: Read-only Microsoft 365 and Google Workspace tenant-audit toolkit for evidence collection
|
|
5
|
+
Author-email: MAGRATHEAN UK LTD <contact+auditex@magrathean.uk>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://magrathean.uk/solutions/auditex/
|
|
8
|
+
Project-URL: Repository, https://github.com/magrathean-uk/auditex
|
|
9
|
+
Project-URL: Issues, https://github.com/magrathean-uk/auditex/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/magrathean-uk/auditex/blob/main/CHANGELOG.md
|
|
11
|
+
Project-URL: Documentation, https://github.com/magrathean-uk/auditex/blob/main/docs/guides/install-guide.md
|
|
12
|
+
Keywords: microsoft-365,entra-id,google-workspace,tenant-audit,security-audit,cisa-scuba,compliance,evidence,mcp
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Information Technology
|
|
16
|
+
Classifier: Intended Audience :: System Administrators
|
|
17
|
+
Classifier: Natural Language :: English
|
|
18
|
+
Classifier: Operating System :: MacOS
|
|
19
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Topic :: Security
|
|
27
|
+
Classifier: Topic :: System :: Systems Administration
|
|
28
|
+
Requires-Python: >=3.11
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
License-File: NOTICE
|
|
32
|
+
Requires-Dist: requests<3,>=2.34.2
|
|
33
|
+
Requires-Dist: msal<2,>=1.39.0
|
|
34
|
+
Requires-Dist: cryptography>=42
|
|
35
|
+
Provides-Extra: mcp
|
|
36
|
+
Requires-Dist: mcp<2,>=1.30.0; extra == "mcp"
|
|
37
|
+
Provides-Extra: test
|
|
38
|
+
Requires-Dist: pytest>=8; extra == "test"
|
|
39
|
+
Requires-Dist: jsonschema<5,>=4.18; extra == "test"
|
|
40
|
+
Requires-Dist: setuptools==84.2.1; extra == "test"
|
|
41
|
+
Provides-Extra: local-answer
|
|
42
|
+
Requires-Dist: llama-cpp-python==0.3.36; extra == "local-answer"
|
|
43
|
+
Provides-Extra: google
|
|
44
|
+
Requires-Dist: google-auth<3,>=2.58.1; extra == "google"
|
|
45
|
+
Requires-Dist: google-auth-oauthlib<2,>=1.4.1; extra == "google"
|
|
46
|
+
Requires-Dist: google-api-python-client<3,>=2.200.0; extra == "google"
|
|
47
|
+
Provides-Extra: dev
|
|
48
|
+
Requires-Dist: pip-audit<3,>=2.9; extra == "dev"
|
|
49
|
+
Requires-Dist: ruff==0.17.6; extra == "dev"
|
|
50
|
+
Requires-Dist: twine<8,>=7; extra == "dev"
|
|
51
|
+
Dynamic: license-file
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<img src="https://raw.githubusercontent.com/magrathean-uk/auditex/main/assets/auditex-logo.svg" width="132" height="132" alt="">
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
<h1 align="center">Auditex</h1>
|
|
58
|
+
|
|
59
|
+
<p align="center">A read-only Microsoft 365 and Google Workspace tenant-audit toolkit, for auditors and admins.</p>
|
|
60
|
+
|
|
61
|
+
<p align="center">
|
|
62
|
+
<a href="https://magrathean.uk/solutions/auditex/">Website</a> ·
|
|
63
|
+
<a href="https://github.com/magrathean-uk/auditex/blob/main/docs/index.md">Documentation</a> ·
|
|
64
|
+
<a href="https://magrathean.uk/solutions/auditex/privacy/">Privacy</a>
|
|
65
|
+
</p>
|
|
66
|
+
|
|
67
|
+
## Overview
|
|
68
|
+
|
|
69
|
+
Auditex is a Python CLI and MCP toolkit for read-only Microsoft 365 and Google Workspace tenant audits. It collects local evidence, normalizes results, and produces report, export, comparison, and customer handoff artifacts.
|
|
70
|
+
|
|
71
|
+
The public audit surface does not write to production tenants. It also does not read message bodies or file contents in audit mode. The separate `tenant-bootstrap/` kit is for lab setup and rehearsal; treat it as a writable lab tool with its own credentials, outputs, and safeguards, kept out of audit, report, export, and MCP flows. `AGENTS.md` has the rules.
|
|
72
|
+
|
|
73
|
+
## What is included
|
|
74
|
+
|
|
75
|
+
- Microsoft 365 collection through the `auditex` and `azure-tenant-audit` CLIs.
|
|
76
|
+
- Google Workspace collection through the optional `google` dependencies.
|
|
77
|
+
- Guided setup and audit flows, capability probes, and diagnostics. Microsoft 365 is audited one way: as a reader app that signs in with a certificate.
|
|
78
|
+
- Offline fixtures for contract checks and demonstrations.
|
|
79
|
+
- Report rendering, CSV/JSON and other exporters, comparison and drift gates, customer handoff packs, and a local MCP server.
|
|
80
|
+
- Offline imports and control-by-control review of Maester, ScubaGear and Monkey365 JSON assessments, with source hashes and strict tenant identity checks.
|
|
81
|
+
- Read-only privilege graph: potential routes from users, groups and applications to tier-0 control, with evidence per hop, explicit unverified prerequisites and candidate breakpoints.
|
|
82
|
+
- Detection coverage ("could this tenant see an attack?") and the tenant's public footprint, including MTA-STS and TLS-RPT.
|
|
83
|
+
- Mapping of findings to CIS Microsoft 365 Foundations v7, CISA SCuBA, Microsoft Secure Score, Zero Trust, the Microsoft cloud security benchmark, and the NCSC Cyber Essentials requirements (v3.3). A mapping shows which control a finding relates to; it is not an assessment against that framework. For Cyber Essentials, device-side requirements show as manual or assessor-tested, the ones Intune and Exchange Online evidence in part (updates, anti-malware) show as partial, and tenant-backed ones never read pass. See [framework mappings](https://github.com/magrathean-uk/auditex/blob/main/docs/reference/framework-mappings.md).
|
|
84
|
+
- `auditex demo`, a guided walkthrough on a fictional company, and `auditex report explorer`, a self-contained interactive HTML view of any run.
|
|
85
|
+
|
|
86
|
+
The package is Python 3.11 or newer. Its required runtime dependencies are `requests` and `msal`. Google Workspace and MCP support are optional extras.
|
|
87
|
+
|
|
88
|
+
## Evidence, not a certificate
|
|
89
|
+
|
|
90
|
+
An Auditex report is evidence from an automated, read-only run. It is not a certificate, an assurance opinion, a penetration test or legal advice, and it does not show that a tenant is secure or that it meets Cyber Essentials, a CIS Benchmark, the CISA SCuBA baselines or any other standard. It covers only what the run could read with the access it was given; the coverage gaps are recorded in the report and are part of the result. A person still makes the judgement.
|
|
91
|
+
|
|
92
|
+
Run Auditex only against a tenant you own or have the owner's written authorisation to audit. A run folder holds personal data about the tenant's users (names, addresses, sign-in records and similar); whoever runs the audit is responsible for handling it lawfully. See [the security and privacy model](https://github.com/magrathean-uk/auditex/blob/main/docs/reference/security-privacy.md).
|
|
93
|
+
|
|
94
|
+
## Install
|
|
95
|
+
|
|
96
|
+
Auditex runs on Linux, macOS and Windows through WSL2, with Python 3.11 or newer. Native Windows is not supported;
|
|
97
|
+
use WSL2. Install it from PyPI with [pipx](https://pipx.pypa.io/):
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
pipx install auditex
|
|
101
|
+
auditex --version
|
|
102
|
+
auditex doctor
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
`auditex doctor` ends with `Core ready: yes` on a working install. Optional extras add Google Workspace audits
|
|
106
|
+
(`google`), the local MCP server (`mcp`) and the local model summary (`local-answer`):
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
pipx install --force "auditex[google,mcp]"
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
`--force` reinstalls over the base install; list every extra you want to keep, because pipx installs exactly the
|
|
113
|
+
extras named on its last install. On a computer without Auditex yet, `pipx install "auditex[google,mcp]"` installs
|
|
114
|
+
it with the extras in one step.
|
|
115
|
+
|
|
116
|
+
Upgrade with `pipx upgrade auditex`. The [install guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/install-guide.md) walks through every step on
|
|
117
|
+
each system, from installing Python and pipx to a first offline run, upgrading, uninstalling and troubleshooting.
|
|
118
|
+
|
|
119
|
+
## Install from source (contributors)
|
|
120
|
+
|
|
121
|
+
To change Auditex or run its checks, install from a source checkout:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
git clone https://github.com/magrathean-uk/auditex.git
|
|
125
|
+
cd auditex
|
|
126
|
+
python3 -m venv .venv
|
|
127
|
+
source .venv/bin/activate
|
|
128
|
+
python -m pip install -e '.[test]'
|
|
129
|
+
auditex doctor --json
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Run the repository commands below from inside the `auditex` folder. The activation line is for Linux and macOS.
|
|
133
|
+
|
|
134
|
+
Optional dependencies:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
python -m pip install -e '.[google]'
|
|
138
|
+
python -m pip install -e '.[mcp]'
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Useful repository checks are:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
make lint
|
|
145
|
+
make test
|
|
146
|
+
make contract-smoke
|
|
147
|
+
./scripts/oss-taint-scan.sh
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
`make contract-smoke` runs an offline sample and checks the finalized bundle contract. See [the runbook](https://github.com/magrathean-uk/auditex/blob/main/docs/development/runbook.md) for the complete local and release check matrix.
|
|
151
|
+
|
|
152
|
+
## Main commands
|
|
153
|
+
|
|
154
|
+
Try the whole flow on a fictional company without touching any tenant:
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
auditex demo
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
`auditex demo` replays a synthetic tenant offline, then walks through access planning, findings, evidence, attack paths, and a checksum-verified customer pack, and writes an interactive HTML explorer. Use `--no-pause` for an unattended run.
|
|
161
|
+
|
|
162
|
+
Generate a provider-specific permission and scope plan before requesting access:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
auditex setup-guide m365 --collector-preset full --format md
|
|
166
|
+
auditex setup-guide google --collector-preset everything --format md
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Guided operator flow:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
auditex guided-run
|
|
173
|
+
auditex guided-run --flow app-audit
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
The guided flow audits as the reader app and creates nothing in the tenant. The tenant administrator sets the app up once; every permission and setting is in [Reader app permissions](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/reader-app-permissions.md).
|
|
177
|
+
|
|
178
|
+
Offline runs contact no tenant and need no credentials:
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
auditex run --offline --tenant-name demo --out outputs/offline
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
The run writes its own folder inside `--out`, named with the tenant and a timestamp (for example
|
|
185
|
+
`outputs/offline/demo-run_20261121_225532`). That folder is the `<run-dir>` the commands below take.
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
auditex google run --offline --sample examples/google_workspace_sample.json \
|
|
189
|
+
--domain example.com --tenant-name demo --out outputs/google
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
For an authorized live Microsoft 365 audit, use the reader app with its certificate. The key file must be readable only by you; an encrypted key takes `--certificate-password-file` or `--certificate-password-env`, never the password itself:
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
auditex run --tenant-name CONTOSO --tenant-id contoso.onmicrosoft.com \
|
|
196
|
+
--client-id <app-id> --certificate-path ~/audit-keys/auditex-reader.pem \
|
|
197
|
+
--certificate-thumbprint <sha1-thumbprint> \
|
|
198
|
+
--auditor-profile global-reader --out outputs/live
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Use `auditex probe live` after permission changes to identify capability blockers before a full run, and follow the generated setup guide.
|
|
202
|
+
|
|
203
|
+
Google Workspace supports domain-wide delegation and OAuth. The full Google path requires the optional dependencies and provider credentials kept outside the repository:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
auditex google doctor --json
|
|
207
|
+
auditex google probe --auth domain-delegation --domain example.com \
|
|
208
|
+
--service-account-key /path/to/service-account.json --subject admin@example.com
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## Read a run and prepare a handoff
|
|
212
|
+
|
|
213
|
+
External Microsoft assessment reports can also be reviewed locally with
|
|
214
|
+
`auditex assessment import` and `auditex assessment compare`. See
|
|
215
|
+
[external assessment comparison](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/external-assessments.md) for
|
|
216
|
+
supported formats, evidence references and comparison limits.
|
|
217
|
+
|
|
218
|
+
Each finalized run contains a manifest, summary, report pack, evidence index, AI context, and validation result. The current contract version is recorded in `run-manifest.json`; required files and evidence rules are documented in [the output contract](https://github.com/magrathean-uk/auditex/blob/main/docs/reference/output-contract.md).
|
|
219
|
+
|
|
220
|
+
For an optional rule-only SCuBA assessment, `auditex assess <run-dir>` has
|
|
221
|
+
value rules for all 102 catalogue policies across Entra ID, Exchange Online, Power BI, Power Platform, Defender,
|
|
222
|
+
SharePoint and Teams. Rule availability does not guarantee a verdict: available evidence, the adapter and
|
|
223
|
+
permissions determine whether a policy can be assessed. A policy without a rule reports not assessed
|
|
224
|
+
(`rule_not_implemented`): "Not assessed: Auditex has no rule for this policy yet."
|
|
225
|
+
Assessment runs locally from the run bundle; no endpoint or model name is involved.
|
|
226
|
+
Assessments can attach deterministic template explanations to supported rule results. JSON, Markdown and HTML reports show them when present; findings are unchanged.
|
|
227
|
+
Each policy's status is in the run's `model_assessment.json`; see [AI assessment](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/ai-assessment.md#run-and-read-the-result) for coverage and output.
|
|
228
|
+
|
|
229
|
+
For an optional plain-language answer, `auditex explain <run-dir>` (or `auditex run ... --explain`) has a local model say
|
|
230
|
+
what is wrong in the tenant, the most severe first, and what is right. The value rules still decide every verdict and the
|
|
231
|
+
order; the model only selects prepared sentences, Auditex renders every word, and a selection that fails the checks shows
|
|
232
|
+
fixed text. It needs the optional `local-answer` extra and downloads one pinned model file from Hugging Face on first
|
|
233
|
+
use, under that model's own licence, then runs offline: nothing about the run or the tenant is sent anywhere. See
|
|
234
|
+
[the local answer guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/local-answer.md).
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
auditex report render <run-dir> --format md
|
|
238
|
+
auditex report api-calls <run-dir> --format md
|
|
239
|
+
auditex report permissions <run-dir> --format md
|
|
240
|
+
auditex report proof-table <run-dir> --format md
|
|
241
|
+
auditex report ce-plus <run-dir> --format md
|
|
242
|
+
auditex report customer-pack <run-dir> --output-dir customer-pack
|
|
243
|
+
auditex report verify-pack customer-pack
|
|
244
|
+
auditex report explorer <run-dir>
|
|
245
|
+
auditex report explorer <run-dir> --compare <previous-run-dir>
|
|
246
|
+
auditex compare --run-dir run-a --run-dir run-b
|
|
247
|
+
auditex export list
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Start customer review with the handoff output, then inspect the API and permission ledgers, proof table, `data-handling.json`, and `validation.json`. Partial runs should be explained with their blocker and readiness artifacts rather than presented as complete coverage.
|
|
251
|
+
|
|
252
|
+
## MCP
|
|
253
|
+
|
|
254
|
+
Run the local MCP server after installing the `mcp` extra:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
auditex-mcp
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
The MCP registry exposes inventory and contract inspection, offline validation, Microsoft 365 and Google Workspace audit/probe operations, run summaries and comparisons, reports and proof tables, customer-pack verification, exports, notifications, rules, and setup guides. Audit operations retain the same read-only and no-content-read boundary as the CLI. No MCP tool takes a bearer token, client secret or auth context; the Microsoft 365 tools take the reader app's client ID, certificate thumbprint and confined paths to its key and password file. Every path argument is confined to `AUDITEX_MCP_ROOT` (default: the server's working directory).
|
|
261
|
+
|
|
262
|
+
## Documentation
|
|
263
|
+
|
|
264
|
+
Use [docs/index.md](https://github.com/magrathean-uk/auditex/blob/main/docs/index.md) as the documentation index.
|
|
265
|
+
|
|
266
|
+
- [The install guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/install-guide.md) installs Auditex from PyPI with pipx, step by step.
|
|
267
|
+
|
|
268
|
+
- [The runbook](https://github.com/magrathean-uk/auditex/blob/main/docs/development/runbook.md) covers setup, operator flows, local checks, and the separate lab bootstrap kit.
|
|
269
|
+
- [The product manual](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/product-manual.md) explains the product workflows.
|
|
270
|
+
- [The setup guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/setup-guide.md) and [the administrator permission guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/admin-permission-guide.md) cover access planning.
|
|
271
|
+
- [The security and privacy model](https://github.com/magrathean-uk/auditex/blob/main/docs/reference/security-privacy.md) describes data handling and audit boundaries.
|
|
272
|
+
- [The customer handoff guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/customer-handoff-guide.md) covers review packs.
|
|
273
|
+
- [The troubleshooting guide](https://github.com/magrathean-uk/auditex/blob/main/docs/guides/troubleshooting.md) covers common failures.
|
|
274
|
+
- [AGENTS.md](https://github.com/magrathean-uk/auditex/blob/main/AGENTS.md) contains repository-specific development rules.
|
|
275
|
+
- [.github/CONTRIBUTING.md](https://github.com/magrathean-uk/auditex/blob/main/.github/CONTRIBUTING.md) covers development setup and review expectations.
|
|
276
|
+
- [.github/SUPPORT.md](https://github.com/magrathean-uk/auditex/blob/main/.github/SUPPORT.md) explains how to request help and report product issues.
|
|
277
|
+
|
|
278
|
+
Keep `.venv/`, `.secrets/`, tenant evidence, and generated output directories local. Never commit tokens, OAuth caches, service-account keys, or tenant evidence. Do not add external telemetry.
|
|
279
|
+
|
|
280
|
+
## Licence
|
|
281
|
+
|
|
282
|
+
Auditex is open source under the Apache License 2.0, which provides it "as is", without warranties. See [LICENSE](https://github.com/magrathean-uk/auditex/blob/main/LICENSE) and
|
|
283
|
+
[NOTICE](https://github.com/magrathean-uk/auditex/blob/main/NOTICE); the fuller dependency inventory is in
|
|
284
|
+
[third-party notices](https://github.com/magrathean-uk/auditex/blob/main/docs/legal/third-party-notices.md). Security reporting instructions
|
|
285
|
+
are in [.github/SECURITY.md](https://github.com/magrathean-uk/auditex/blob/main/.github/SECURITY.md). Trademark information is in
|
|
286
|
+
[docs/legal/trademarks.md](https://github.com/magrathean-uk/auditex/blob/main/docs/legal/trademarks.md). Contributions: see
|
|
287
|
+
[CONTRIBUTING](https://github.com/magrathean-uk/auditex/blob/main/.github/CONTRIBUTING.md).
|
|
288
|
+
|
|
289
|
+
Auditex is independent. It is not affiliated with, endorsed by or supported by Microsoft, Google, CISA, the NCSC, IASME
|
|
290
|
+
or the Center for Internet Security. Their names are used only to say what Auditex reads or maps to.
|
|
291
|
+
|
|
292
|
+
<sub>© 2026 MAGRATHEAN UK LTD · [Legal](https://github.com/magrathean-uk/.github/blob/main/LEGAL.md)</sub>
|