TenantAtlas/database/factories
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
..
AlertDeliveryFactory.php feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
AlertDestinationFactory.php feat(alerts): Monitoring cluster + v1 resources (spec 099) (#121) 2026-02-18 15:20:43 +00:00
AlertRuleFactory.php feat(alerts): Monitoring cluster + v1 resources (spec 099) (#121) 2026-02-18 15:20:43 +00:00
BackupItemFactory.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
BackupSetFactory.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
BaselineProfileFactory.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineSnapshotFactory.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
BaselineSnapshotItemFactory.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineTenantAssignmentFactory.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
EntraGroupFactory.php 051-entra-group-directory-cache (#57) 2026-01-11 23:24:12 +00:00
EntraRoleDefinitionFactory.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
FindingFactory.php feat(111): findings workflow + SLA settings (#135) 2026-02-25 01:48:01 +00:00
InventoryItemFactory.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
InventoryLinkFactory.php feat/042-inventory-dependencies-graph (#49) 2026-01-10 00:20:14 +00:00
OperationRunFactory.php 073-unified-managed-tenant-onboarding-wizard (#90) 2026-02-04 23:30:55 +00:00
PlatformUserFactory.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
PolicyFactory.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
PolicyVersionFactory.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
ProviderConnectionFactory.php 073-unified-managed-tenant-onboarding-wizard (#90) 2026-02-04 23:30:55 +00:00
ProviderCredentialFactory.php feat: unify provider connection actions and notifications (#73) 2026-01-25 01:01:37 +00:00
RestoreRunFactory.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
ReviewPackFactory.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
StoredReportFactory.php feat(104): Provider Permission Posture (#127) 2026-02-21 22:32:52 +00:00
TenantFactory.php feat: provider access hardening (RBAC write gate) (#132) 2026-02-23 00:49:37 +00:00
TenantSettingFactory.php Settings foundation: workspace controls (#119) 2026-02-16 01:11:24 +00:00
UserFactory.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
VerificationCheckAcknowledgementFactory.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
WorkspaceFactory.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
WorkspaceMembershipFactory.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
WorkspaceSettingFactory.php Settings foundation: workspace controls (#119) 2026-02-16 01:11:24 +00:00