TenantAtlas/app/Support/OpsUx/OperationSummaryKeys.php
Ahmed Darrazi 6b381e9517 feat: spec 105 — Entra Admin Roles scan, reports, findings, widget + summary UX improvement
- Entra admin roles scan job (ScanEntraAdminRolesJob)
- Report service with fingerprint deduplication
- Finding generator with high-privilege role catalog
- Admin roles summary widget on tenant view page
- Alert integration for entra.admin_roles findings
- Graph contracts for roleDefinitions + roleAssignments
- Entra permissions registry (config/entra_permissions.php)
- StoredReport fingerprint migration
- OperationCatalog label + duration for entra.admin_roles.scan
- SummaryCountsNormalizer: filter zeros, humanize keys globally
- 11 new test files (71+ tests, 286+ assertions)
- Spec + tasks + checklist updates
2026-02-22 03:35:46 +01:00

42 lines
958 B
PHP

<?php
namespace App\Support\OpsUx;
class OperationSummaryKeys
{
/**
* Return the canonical allowed summary keys used for Ops-UX rendering.
* Keep ordering stable to make guard tests deterministic.
*/
public static function all(): array
{
return [
'total',
'processed',
'succeeded',
'failed',
'skipped',
'compliant',
'noncompliant',
'unknown',
'created',
'updated',
'deleted',
'items',
'tenants',
'high',
'medium',
'low',
'findings_created',
'findings_resolved',
'findings_reopened',
'findings_unchanged',
'errors_recorded',
'posture_score',
'report_created',
'report_deduped',
'alert_events_produced',
];
}
}