TenantAtlas/app/Support
ahmido cd811cff4f Spec 120: harden secret redaction integrity (#146)
## Summary
- replace broad substring-based masking with a shared exact/path-based secret classifier and workspace-scoped fingerprint hashing
- persist protected snapshot metadata on `policy_versions` and keep secret-only changes visible in compare, drift, restore, review, verification, and ops surfaces
- add Spec 120 artifacts, audit documentation, and focused Pest regression coverage for snapshot, audit, verification, review-pack, and notification behavior

## Validation
- `vendor/bin/sail artisan test --compact tests/Feature/Intune/PolicySnapshotRedactionTest.php tests/Feature/Intune/PolicySnapshotFingerprintIsolationTest.php tests/Feature/ReviewPack/ReviewPackRedactionIntegrityTest.php tests/Feature/OpsUx/OperationRunNotificationRedactionTest.php tests/Feature/Verification/VerificationReportViewerDbOnlyTest.php`
- `vendor/bin/sail bin pint --dirty --format agent`

## Spec / checklist status
| Checklist | Total | Completed | Incomplete | Status |
|-----------|-------|-----------|------------|--------|
| requirements.md | 16 | 16 | 0 | ✓ PASS |

- `tasks.md`: T001-T032 complete
- `tasks.md`: T033 manual quickstart validation is still open and noted for follow-up

## Filament / platform notes
- Livewire v4 compliance is unchanged
- no panel provider changes; `bootstrap/providers.php` remains the registration location
- no new globally searchable resources were introduced, so global search requirements are unchanged
- no new destructive Filament actions were added
- no new Filament assets were added; no `filament:assets` deployment change is required

## Testing coverage touched
- snapshot persistence and fingerprint isolation
- compare/drift protected-change evidence
- audit, verification, review-pack, ops-failure, and notification sanitization
- viewer/read-only Filament presentation updates

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #146
2026-03-07 16:43:01 +00:00
..
Alerts feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
Audit Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
Auth Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
Badges Spec 116: Baseline drift engine v1 (meta fidelity + coverage guard) (#141) 2026-03-02 22:02:58 +00:00
Baselines Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
Concerns feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
Enums feat/042-inventory-dependencies-graph (#50) 2026-01-10 12:50:08 +00:00
Inventory Spec 116: Baseline drift engine v1 (meta fidelity + coverage guard) (#141) 2026-03-02 22:02:58 +00:00
Links feat(spec-080): workspace-managed tenant administration migration (#97) 2026-02-07 19:45:13 +00:00
Middleware feat: Spec 105 — Entra Admin Roles Evidence + Findings (#128) 2026-02-22 02:37:36 +00:00
OperateHub Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126) 2026-02-21 00:28:15 +00:00
Operations feat(alerts): Monitoring cluster + v1 resources (spec 099) (#121) 2026-02-18 15:20:43 +00:00
OpsUx Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
Providers feat: provider access hardening (RBAC write gate) (#132) 2026-02-23 00:49:37 +00:00
Rbac Spec 116: Baseline drift engine v1 (meta fidelity + coverage guard) (#141) 2026-03-02 22:02:58 +00:00
Settings feat(115): baseline operability + alerts (#140) 2026-03-01 02:26:47 +00:00
System feat(114): system console control tower (merged) (#139) 2026-02-28 00:15:31 +00:00
SystemConsole feat(114): system console control tower (merged) (#139) 2026-02-28 00:15:31 +00:00
Ui/ActionSurface Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
Verification Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
WorkspaceIsolation SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
Workspaces fix: consolidate tenant creation + harden selection flows (#131) 2026-02-22 19:54:24 +00:00
OperationCatalog.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
OperationRunLinks.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
OperationRunOutcome.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
OperationRunStatus.php 054-unify-runs-suitewide (#63) 2026-01-17 22:25:00 +00:00
OperationRunType.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
RbacReason.php Intune RBAC: graceful unsupported-account handling, health-check fixes, tests and docs updates 2025-12-13 01:25:06 +01:00
RedactionIntegrity.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
RestoreRunIdempotency.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
RestoreRunStatus.php feat/011-restore-run-wizard (#17) 2025-12-31 19:14:59 +00:00
ReviewPackStatus.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
TenantRole.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00