import type { BuildDetailsV3 } from '../schemas/BuildDetailsV3'; import type { ExemptionStatusV3 } from '../schemas/ExemptionStatusV3'; import type { PackageTypeV3 } from '../schemas/PackageTypeV3'; import type { PolicySetsV3 } from '../schemas/PolicySetsV3'; import type { PolicyFailureDetailCategoryV3 } from '../schemas/PolicyFailureDetailCategoryV3'; export interface ArtifactScanV3 { /** * Organization identifier */ RegistryOrgId?: string; /** * Project identifier */ RegistryProjectId?: string; buildDetails: BuildDetailsV3; exemptionStatus?: ExemptionStatusV3; id: string; lastEvaluatedAt?: string; lastEvaluatedBy?: string; /** * Package name */ packageName: string; packageType: PackageTypeV3; /** * Parent virtual registry UUID */ parentRegistryId: string; /** * Parent virtual registry name */ parentRegistryName: string; /** * Parent registry organization identifier */ parentRegistryOrgId?: string; /** * Parent registry project identifier */ parentRegistryProjectId?: string; policySets: PolicySetsV3; /** * Package URL (PURL) identifying the package version */ purl: string; /** * Registry name */ registryId: string; /** * Registry name */ registryName: string; /** * Unique set of root packages (name@version) impacted by this scan */ rootPackages: string[]; /** * Scan status */ scanStatus: 'BLOCKED' | 'WARN'; /** * Security violation categories */ securityViolationCategories: PolicyFailureDetailCategoryV3[]; /** * Total number of affected pipelines */ totalAffectedPipelines: number; /** * Version */ version: string; /** * Version */ versionId?: string; }