TenantAtlas/app/Services
ahmido d120ed7c92 feat: endpoint security restore execution (023) (#25)
Added a resolver/validation flow that fetches endpoint security template definitions and enforces them before CREATE/PATCH so we don’t call Graph with invalid settings.
Hardened restore endpoint resolution (built-in fallback to deviceManagement/configurationPolicies, clearer error metadata, preview-only fallback when metadata is missing) and exposed Graph path/method in restore UI details.
Stripped read-only fields when PATCHing endpointSecurityIntent so the request no longer fails with “properties not patchable”.
Added regression tests covering endpoint security restore, intent sanitization, unknown type safety, Graph error metadata, and endpoint resolution behavior.
Testing

GraphClientEndpointResolutionTest.php
./vendor/bin/pint --dirty

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #25
2026-01-03 22:44:08 +00:00
..
Graph feat: endpoint security restore execution (023) (#25) 2026-01-03 22:44:08 +00:00
Intune feat: endpoint security restore execution (023) (#25) 2026-01-03 22:44:08 +00:00
AssignmentBackupService.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
AssignmentRestoreService.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
BulkOperationService.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00