Added `ProviderResourceBinding` model, migrations, policies, and supporting framework for canonical resource identity mapping as defined in Spec 381. This provides the structural capability to resolve baseline and posture discrepancies by binding logical entities across source providers to canonical identities. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #452
16 lines
632 B
PHP
16 lines
632 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Jobs\CompareBaselineToTenantJob;
|
|
|
|
it('does not automatically consume provider resource bindings during baseline compare v1', function (): void {
|
|
$compareJobFile = (new ReflectionClass(CompareBaselineToTenantJob::class))->getFileName();
|
|
$compareJobSource = is_string($compareJobFile) ? file_get_contents($compareJobFile) : false;
|
|
|
|
expect($compareJobFile)->toBeString()
|
|
->and($compareJobSource)->toBeString()
|
|
->and($compareJobSource)->not->toContain('ProviderResourceBinding')
|
|
->and($compareJobSource)->not->toContain('ProviderResourceBindingService');
|
|
});
|