Implements the bounded Spec 421 Entra comparable/renderable pack on the existing Coverage v2 operator surface. - Adds typed Conditional Access normalization, comparison, and render summaries - Keeps Security Defaults and other optional Entra types deferred until evidence-backed - Preserves the existing Coverage v2 surface with claim-guard and redaction hardening - Includes focused unit, feature, and browser coverage already recorded in the implementation report Validation is documented in `specs/421-entra-core-comparable-renderable-pack/implementation-report.md`. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #488
25 lines
941 B
PHP
25 lines
941 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
it('Spec421 does not introduce tenant_id as Coverage v2 ownership truth', function (): void {
|
|
foreach (spec421ChangedRuntimeFiles() as $path) {
|
|
expect(file_get_contents(repo_path($path)))->not->toContain('tenant_id');
|
|
}
|
|
});
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
function spec421ChangedRuntimeFiles(): array
|
|
{
|
|
return [
|
|
'apps/platform/app/Services/TenantConfiguration/EntraComparablePayloadNormalizer.php',
|
|
'apps/platform/app/Services/TenantConfiguration/EntraCoverageComparator.php',
|
|
'apps/platform/app/Services/TenantConfiguration/EntraRenderableSummaryBuilder.php',
|
|
'apps/platform/app/Services/TenantConfiguration/CoverageEvidenceWriter.php',
|
|
'apps/platform/app/Services/TenantConfiguration/CoverageV2ReadinessReadModel.php',
|
|
'apps/platform/resources/views/filament/modals/tenant-configuration/coverage-v2-resource-inspect.blade.php',
|
|
];
|
|
}
|