snyk-docker-plugin
Version:
Snyk CLI docker plugin
19 lines (18 loc) • 724 B
TypeScript
import { DockerFileAnalysis } from "../dockerfile/types";
import { ResolvedAttestationManifest } from "./types";
export interface DockerfileMetadata {
name: string;
analysis: DockerFileAnalysis | null;
}
export interface ProvenanceMetadata {
buildTimestamp: string | null;
buildConfigDigest: string | null;
buildConfigDigestSource: "remote" | "local" | null;
attestedManifestDigest: string;
attestationManifestDigest: string;
buildConfigSourceUri: string | null;
builderId: string;
buildType: string;
dockerfileMetadata: DockerfileMetadata;
}
export declare function parseProvenanceAttestations(attestationManifests: ResolvedAttestationManifest[]): Promise<ProvenanceMetadata[]>;