TenantAtlas/app/Services/Intune
ahmido c6e7591d19 feat: add Intune RBAC inventory and backup support (#155)
## Summary
- add Intune RBAC role definitions and role assignments as foundation-backed inventory, backup, and versioned snapshot types
- add RBAC-specific normalization, coverage, permission-warning handling, and preview-only restore safety behavior across existing Filament and service surfaces
- add spec 127 artifacts, contracts, audits, and focused regression coverage for inventory, backup, versioning, verification, and authorization behavior

## Testing
- `vendor/bin/sail bin pint --dirty --format agent`
- `vendor/bin/sail artisan test --compact tests/Feature/Inventory/InventorySyncServiceTest.php tests/Feature/Filament/InventoryCoverageTableTest.php tests/Feature/FoundationBackupTest.php tests/Feature/Filament/RestoreExecutionTest.php tests/Feature/RestoreUnknownPolicyTypeSafetyTest.php tests/Unit/GraphContractRegistryTest.php tests/Unit/FoundationSnapshotServiceTest.php tests/Feature/Verification/IntuneRbacPermissionCoverageTest.php tests/Unit/IntuneRoleDefinitionNormalizerTest.php tests/Unit/IntuneRoleAssignmentNormalizerTest.php`

## Notes
- tasks in `specs/127-rbac-inventory-backup/tasks.md` are complete except `T041`, which is the documented manual QA validation step

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #155
2026-03-09 10:40:51 +00:00
..
AppProtectionPolicyNormalizer.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
AuditLogger.php SCOPE-001: DB-level workspace isolation via workspace_id (#112) 2026-02-14 22:34:02 +00:00
BackupService.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
CompliancePolicyNormalizer.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
ConfigurationPolicyTemplateResolver.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
DefaultPolicyNormalizer.php feat/017-policy-types-mam-endpoint-security-baselines (#23) 2026-01-03 02:06:35 +00:00
DeviceConfigurationPolicyNormalizer.php feat(007): device config & compliance snapshot/restore improvements (#9) 2025-12-29 12:46:20 +00:00
EnrollmentAutopilotPolicyNormalizer.php feat/027-enrollment-config-subtypes (#31) 2026-01-04 13:25:15 +00:00
FoundationMappingService.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
FoundationSnapshotService.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
GroupPolicyConfigurationNormalizer.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
IntuneRoleAssignmentNormalizer.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
IntuneRoleDefinitionNormalizer.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
ManagedDeviceAppConfigurationNormalizer.php feat/017-policy-types-mam-endpoint-security-baselines (#23) 2026-01-03 02:06:35 +00:00
PolicyCaptureOrchestrator.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
PolicyNormalizer.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
PolicySnapshotRedactor.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
PolicySnapshotService.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
PolicySyncService.php fix(onboarding): preserve workspace scope and consent flow (#117) 2026-02-15 22:27:55 +00:00
PolicyTypeNormalizer.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
ProtectedSnapshotResult.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
RbacHealthService.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
RbacOnboardingService.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
RestoreDiffGenerator.php feat/011-restore-run-wizard (#17) 2025-12-31 19:14:59 +00:00
RestoreRiskChecker.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
RestoreService.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
ScriptsPolicyNormalizer.php feat/026-custom-compliance-scripts (#29) 2026-01-04 02:28:29 +00:00
SecretClassificationService.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
SecretFingerprintHasher.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
SettingsCatalogCategoryResolver.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
SettingsCatalogDefinitionResolver.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
SettingsCatalogPolicyNormalizer.php feat/017-policy-types-mam-endpoint-security-baselines (#23) 2026-01-03 02:06:35 +00:00
SnapshotValidator.php Intune RBAC: graceful unsupported-account handling, health-check fixes, tests and docs updates 2025-12-13 01:25:06 +01:00
TenantConfigService.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
TenantPermissionService.php feat: Spec 105 — Entra Admin Roles Evidence + Findings (#128) 2026-02-22 02:37:36 +00:00
TenantRequiredPermissionsViewModelBuilder.php Spec 083: Required permissions hardening (canonical /admin/tenants, DB-only, 404 semantics) (#101) 2026-02-08 23:13:25 +00:00
TermsAndConditionsNormalizer.php feat/024-terms-and-conditions (#30) 2026-01-04 03:01:11 +00:00
VersionDiff.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
VersionService.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
WindowsDriverUpdateProfileNormalizer.php feat/018-driver-updates-wufb (#27) 2026-01-04 00:38:54 +00:00
WindowsFeatureUpdateProfileNormalizer.php feat/012-windows-update-rings (#18) 2026-01-01 10:44:17 +00:00
WindowsQualityUpdateProfileNormalizer.php feat/012-windows-update-rings (#18) 2026-01-01 10:44:17 +00:00
WindowsUpdateRingNormalizer.php feat/012-windows-update-rings (#18) 2026-01-01 10:44:17 +00:00