diff --git a/cmd/cli/generate.go b/cmd/cli/generate.go index fdc3e07..0588daa 100644 --- a/cmd/cli/generate.go +++ b/cmd/cli/generate.go @@ -16,9 +16,9 @@ import ( intoto "github.com/in-toto/in-toto-golang/in_toto" "github.com/spf13/cobra" - "github.com/johnsonshi/image-manifest-layer-history/pkg/image/client" - "github.com/johnsonshi/image-manifest-layer-history/pkg/image/history" - imagehistoryslsa "github.com/johnsonshi/image-manifest-layer-history/pkg/image/history/slsa" + "github.com/johnsonshi/image-manifest-layer-history/image/client" + "github.com/johnsonshi/image-manifest-layer-history/image/history" + "github.com/johnsonshi/image-manifest-layer-history/image/slsa" ) type generateCmdOpts struct { @@ -152,7 +152,7 @@ func (opts *generateCmdOpts) writeManifestLayerHistory(manifestLayerHistory []hi var imageSlsaProvenanceStatements []*intoto.ProvenanceStatement timeNow := time.Now() for _, layerHistory := range manifestLayerHistory { - layerSlsaProvenance := imagehistoryslsa.ImageManifestLayerSlsaProvenance{ + layerSlsaProvenance := slsa.ImageManifestLayerSlsaProvenance{ LayerHistory: layerHistory, BuilderID: "URI indicating the builder identity. E.g. pipeline-name", BuildType: "URI indicating what type of build was performed. E.g. build-type-dockerfile-build", diff --git a/examples/postgres-base-multistage/oci-image-manifest-layer-history-slsa.json b/examples/postgres-base-multistage/oci-image-manifest-layer-history-slsa.json index 3bbc895..553f5cc 100644 --- a/examples/postgres-base-multistage/oci-image-manifest-layer-history-slsa.json +++ b/examples/postgres-base-multistage/oci-image-manifest-layer-history-slsa.json @@ -52,8 +52,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -116,8 +116,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -180,8 +180,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -244,8 +244,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -308,8 +308,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -372,8 +372,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -436,8 +436,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -500,8 +500,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -564,8 +564,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -628,8 +628,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -692,8 +692,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -756,8 +756,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -820,8 +820,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -887,8 +887,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -953,8 +953,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1095,8 +1095,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1237,8 +1237,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1304,8 +1304,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1370,8 +1370,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1514,8 +1514,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1658,8 +1658,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1725,8 +1725,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, @@ -1791,8 +1791,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:55.767572591-07:00", - "buildFinishedOn": "2022-08-05T11:08:55.767572591-07:00", + "buildStartedOn": "2022-08-05T11:23:09.689831076-07:00", + "buildFinishedOn": "2022-08-05T11:23:09.689831076-07:00", "completeness": { "parameters": false, "environment": false, diff --git a/examples/postgres-base-singlestage/oci-image-manifest-layer-history-slsa.json b/examples/postgres-base-singlestage/oci-image-manifest-layer-history-slsa.json index a65b1b9..1249a99 100644 --- a/examples/postgres-base-singlestage/oci-image-manifest-layer-history-slsa.json +++ b/examples/postgres-base-singlestage/oci-image-manifest-layer-history-slsa.json @@ -52,8 +52,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -116,8 +116,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -180,8 +180,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -244,8 +244,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -308,8 +308,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -372,8 +372,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -436,8 +436,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -500,8 +500,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -564,8 +564,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -628,8 +628,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -692,8 +692,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -756,8 +756,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -820,8 +820,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -887,8 +887,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -953,8 +953,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -1020,8 +1020,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -1086,8 +1086,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -1153,8 +1153,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, @@ -1219,8 +1219,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:08:58.326691754-07:00", - "buildFinishedOn": "2022-08-05T11:08:58.326691754-07:00", + "buildStartedOn": "2022-08-05T11:23:12.191738502-07:00", + "buildFinishedOn": "2022-08-05T11:23:12.191738502-07:00", "completeness": { "parameters": false, "environment": false, diff --git a/examples/postgres-base-vanilla/oci-image-manifest-layer-history-slsa.json b/examples/postgres-base-vanilla/oci-image-manifest-layer-history-slsa.json index e20b1cf..9f0e288 100644 --- a/examples/postgres-base-vanilla/oci-image-manifest-layer-history-slsa.json +++ b/examples/postgres-base-vanilla/oci-image-manifest-layer-history-slsa.json @@ -52,8 +52,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -116,8 +116,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -180,8 +180,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -244,8 +244,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -308,8 +308,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -372,8 +372,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -436,8 +436,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -500,8 +500,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -564,8 +564,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -628,8 +628,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -692,8 +692,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -756,8 +756,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, @@ -820,8 +820,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:00.966878538-07:00", - "buildFinishedOn": "2022-08-05T11:09:00.966878538-07:00", + "buildStartedOn": "2022-08-05T11:23:14.80932293-07:00", + "buildFinishedOn": "2022-08-05T11:23:14.80932293-07:00", "completeness": { "parameters": false, "environment": false, diff --git a/examples/scratch-base-multistage/oci-image-manifest-layer-history-slsa.json b/examples/scratch-base-multistage/oci-image-manifest-layer-history-slsa.json index 347066c..8efbb28 100644 --- a/examples/scratch-base-multistage/oci-image-manifest-layer-history-slsa.json +++ b/examples/scratch-base-multistage/oci-image-manifest-layer-history-slsa.json @@ -55,8 +55,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -197,8 +197,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -339,8 +339,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -406,8 +406,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -550,8 +550,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -694,8 +694,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, @@ -761,8 +761,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:03.760788817-07:00", - "buildFinishedOn": "2022-08-05T11:09:03.760788817-07:00", + "buildStartedOn": "2022-08-05T11:23:17.360176608-07:00", + "buildFinishedOn": "2022-08-05T11:23:17.360176608-07:00", "completeness": { "parameters": false, "environment": false, diff --git a/examples/scratch-base-singlestage/oci-image-manifest-layer-history-slsa.json b/examples/scratch-base-singlestage/oci-image-manifest-layer-history-slsa.json index 7e95810..d6f2c90 100644 --- a/examples/scratch-base-singlestage/oci-image-manifest-layer-history-slsa.json +++ b/examples/scratch-base-singlestage/oci-image-manifest-layer-history-slsa.json @@ -55,8 +55,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:06.453532284-07:00", - "buildFinishedOn": "2022-08-05T11:09:06.453532284-07:00", + "buildStartedOn": "2022-08-05T11:23:19.770264259-07:00", + "buildFinishedOn": "2022-08-05T11:23:19.770264259-07:00", "completeness": { "parameters": false, "environment": false, @@ -122,8 +122,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:06.453532284-07:00", - "buildFinishedOn": "2022-08-05T11:09:06.453532284-07:00", + "buildStartedOn": "2022-08-05T11:23:19.770264259-07:00", + "buildFinishedOn": "2022-08-05T11:23:19.770264259-07:00", "completeness": { "parameters": false, "environment": false, @@ -189,8 +189,8 @@ }, "metadata": { "buildInvocationID": "Globally Unique Build Invocation ID. Definition: Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The exact meaning and format is defined by builder.id; by default it is treated as opaque and case-sensitive. The value SHOULD be globally unique.", - "buildStartedOn": "2022-08-05T11:09:06.453532284-07:00", - "buildFinishedOn": "2022-08-05T11:09:06.453532284-07:00", + "buildStartedOn": "2022-08-05T11:23:19.770264259-07:00", + "buildFinishedOn": "2022-08-05T11:23:19.770264259-07:00", "completeness": { "parameters": false, "environment": false, diff --git a/pkg/image/client/client.go b/image/client/client.go similarity index 100% rename from pkg/image/client/client.go rename to image/client/client.go diff --git a/pkg/image/history/constants.go b/image/history/constants.go similarity index 100% rename from pkg/image/history/constants.go rename to image/history/constants.go diff --git a/pkg/image/history/history.go b/image/history/history.go similarity index 100% rename from pkg/image/history/history.go rename to image/history/history.go diff --git a/pkg/image/history/types.go b/image/history/types.go similarity index 100% rename from pkg/image/history/types.go rename to image/history/types.go diff --git a/pkg/image/history/slsa/slsa.go b/image/slsa/slsa.go similarity index 100% rename from pkg/image/history/slsa/slsa.go rename to image/slsa/slsa.go diff --git a/pkg/image/history/slsa/types.go b/image/slsa/types.go similarity index 93% rename from pkg/image/history/slsa/types.go rename to image/slsa/types.go index e620713..02b5a99 100644 --- a/pkg/image/history/slsa/types.go +++ b/image/slsa/types.go @@ -6,7 +6,7 @@ package slsa import ( "time" - "github.com/johnsonshi/image-manifest-layer-history/pkg/image/history" + "github.com/johnsonshi/image-manifest-layer-history/image/history" ) type ImageManifestLayerSlsaProvenance struct {