TenantAtlas/app/Models
ahmido ec71c2d4e7 feat: harden findings workflow and audit backstop (#181)
## Summary
- harden finding lifecycle changes behind the canonical `FindingWorkflowService` gateway
- route automated resolve and reopen flows through the same audited workflow path
- tighten tenant and workspace scope checks on finding actions and audit visibility
- add focused spec artifacts, workflow regression coverage, automation coverage, and audit visibility tests
- update legacy finding model tests to use the workflow service after direct lifecycle mutators were removed

## Testing
- `vendor/bin/sail bin pint --dirty --format agent`
- focused findings and audit slices passed during implementation
- `vendor/bin/sail artisan test --compact tests/Feature/Models/FindingResolvedTest.php`
- full repository suite passed: `2757 passed`, `8 skipped`, `14448 assertions`

## Notes
- Livewire v4.0+ compliance preserved
- no new Filament assets or panel providers introduced; provider registration remains in `bootstrap/providers.php`
- findings stay on existing Filament action surfaces, with destructive actions still confirmation-gated
- no global search behavior was changed for findings resources

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #181
2026-03-18 12:57:23 +00:00
..
AlertDelivery.php feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
AlertDestination.php feat(alerts): Monitoring cluster + v1 resources (spec 099) (#121) 2026-02-18 15:20:43 +00:00
AlertRule.php feat(115): baseline operability + alerts (#140) 2026-03-01 02:26:47 +00:00
AlertRuleDestination.php feat(alerts): Monitoring cluster + v1 resources (spec 099) (#121) 2026-02-18 15:20:43 +00:00
AuditLog.php feat: harden findings workflow and audit backstop (#181) 2026-03-18 12:57:23 +00:00
BackupItem.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
BackupSchedule.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
BackupSet.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
BaselineProfile.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
BaselineSnapshot.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
BaselineSnapshotItem.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
BaselineTenantAssignment.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
EntraGroup.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
EntraRoleDefinition.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
Finding.php feat: harden findings workflow and audit backstop (#181) 2026-03-18 12:57:23 +00:00
InventoryItem.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
InventoryLink.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
OperationRun.php feat: harden canonical run viewer and onboarding draft state (#173) 2026-03-15 18:32:04 +00:00
PlatformUser.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
Policy.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
PolicyVersion.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
ProviderConnection.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
ProviderCredential.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
RestoreRun.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
ReviewPack.php Fix Review Pack generation UX + notifications (#133) 2026-02-23 19:42:52 +00:00
SettingsCatalogCategory.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
SettingsCatalogDefinition.php feat: merge 001-filament-json 2025-12-14 20:23:18 +01:00
StoredReport.php feat: Spec 105 — Entra Admin Roles Evidence + Findings (#128) 2026-02-22 02:37:36 +00:00
Tenant.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
TenantMembership.php 062-tenant-rbac-v1 (#74) 2026-01-25 15:27:39 +00:00
TenantOnboardingSession.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
TenantPermission.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
TenantRoleMapping.php 062-tenant-rbac-v1 (#74) 2026-01-25 15:27:39 +00:00
TenantSetting.php feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
User.php feat: implement spec 147 tenant context enforcement (#176) 2026-03-16 22:52:58 +00:00
UserTenantPreference.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
VerificationCheckAcknowledgement.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
Workspace.php Settings foundation: workspace controls (#119) 2026-02-16 01:11:24 +00:00
WorkspaceMembership.php feat(spec-091): BackupSchedule lifecycle + create-CTA placement rule (#109) 2026-02-14 13:46:06 +00:00
WorkspaceSetting.php feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00