Implemented deterministic Baseline Result Semantics (Spec 383), introducing CompareSubjectResult and CompareEvidenceResult. Replaced generic arrays with strict Data Transfer Objects for Baseline engine output. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #454
33 lines
1.4 KiB
PHP
33 lines
1.4 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Baselines;
|
|
|
|
enum ResolutionOutcome: string
|
|
{
|
|
case ResolvedPolicy = 'resolved_policy';
|
|
case ResolvedInventory = 'resolved_inventory';
|
|
case MissingLocalEvidence = 'missing_local_evidence';
|
|
case MissingProviderResource = 'missing_provider_resource';
|
|
case PolicyRecordMissing = 'policy_record_missing';
|
|
case InventoryRecordMissing = 'inventory_record_missing';
|
|
case FoundationInventoryOnly = 'foundation_inventory_only';
|
|
case FoundationIdentityOnly = 'foundation_identity_only';
|
|
case FoundationCanonicalOnly = 'foundation_canonical_only';
|
|
case UnsupportedResourceClass = 'unsupported_resource_class';
|
|
case UnresolvedDuplicateCandidates = 'unresolved_duplicate_candidates';
|
|
case UnresolvedAmbiguousIdentity = 'unresolved_ambiguous_identity';
|
|
case ResolutionTypeMismatch = 'resolution_type_mismatch';
|
|
case UnresolvableSubject = 'unresolvable_subject';
|
|
case InvalidSupportConfig = 'invalid_support_config';
|
|
case PermissionOrScopeBlocked = 'permission_or_scope_blocked';
|
|
case AmbiguousMatch = 'ambiguous_match';
|
|
case InvalidSubject = 'invalid_subject';
|
|
case DuplicateSubject = 'duplicate_subject';
|
|
case RetryableCaptureFailure = 'retryable_capture_failure';
|
|
case CaptureFailed = 'capture_failed';
|
|
case Throttled = 'throttled';
|
|
case BudgetExhausted = 'budget_exhausted';
|
|
}
|