TenantAtlas/database/factories
Ahmed Darrazi 222a7e0a97 feat(104): implement Provider Permission Posture
- T001-T014: Foundation - StoredReport model/migration, Finding resolved
  lifecycle, badge mappings (resolved status, permission_posture type),
  OperationCatalog + AlertRule constants
- T015-T022: US1 - PermissionPostureFindingGenerator with fingerprint-based
  idempotent upsert, severity from feature-impact count, auto-resolve on
  grant, auto-reopen on revoke, error findings (FR-015), stale finding
  cleanup; GeneratePermissionPostureFindingsJob dispatched from health check;
  PostureResult VO + PostureScoreCalculator
- T023-T026: US2+US4 - Stored report payload validation, temporal ordering,
  polymorphic reusability, score accuracy acceptance tests
- T027-T029: US3 - EvaluateAlertsJob.permissionMissingEvents() wired into
  alert pipeline, AlertRuleResource event type option, cooldown/dedupe tests
- T030-T034: Polish - PruneStoredReportsCommand with config retention,
  scheduled daily, end-to-end integration test, Pint clean

UI bug fixes found during testing:
- FindingResource: hide Diff section for non-drift findings
- TenantRequiredPermissions: fix re-run verification link
- tenant-required-permissions.blade.php: preserve details open state

70 tests (50 PermissionPosture + 20 FindingResolved/Badge/Alert), 216 assertions
2026-02-21 23:31:03 +01: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 Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
BaselineSnapshotFactory.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
BaselineSnapshotItemFactory.php Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +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(104): implement Provider Permission Posture 2026-02-21 23:31:03 +01: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 feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +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
StoredReportFactory.php feat(104): implement Provider Permission Posture 2026-02-21 23:31:03 +01:00
TenantFactory.php 073-unified-managed-tenant-onboarding-wizard (#90) 2026-02-04 23:30:55 +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 075: Verification Checklist Framework V1.5 (fingerprint + acknowledgements) (#93) 2026-02-05 21:44:19 +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