fix: register review_pack.generate in OperationCatalog

Adds label 'Review pack generation' and expected duration (60s) for
the tenant.review_pack.generate operation type so it no longer shows
as 'Unknown operation' in the Operations UI.
This commit is contained in:
Ahmed Darrazi 2026-02-23 16:43:33 +01:00
parent 6c3bfb79dd
commit 58f5519e94

View File

@ -51,6 +51,7 @@ public static function labels(): array
'baseline_compare' => 'Baseline compare',
'permission_posture_check' => 'Permission posture check',
'entra.admin_roles.scan' => 'Entra admin roles scan',
'tenant.review_pack.generate' => 'Review pack generation',
];
}
@ -82,6 +83,7 @@ public static function expectedDurationSeconds(string $operationType): ?int
'baseline_compare' => 120,
'permission_posture_check' => 30,
'entra.admin_roles.scan' => 60,
'tenant.review_pack.generate' => 60,
default => null,
};
}