Skip to content

Commit

Permalink
Bump go-witness to v0.6.1-0.20241106010129-63940cbec45a
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Glastra <[email protected]>
  • Loading branch information
matglas committed Nov 15, 2024
1 parent d0a27fb commit 552f09c
Show file tree
Hide file tree
Showing 9 changed files with 203 additions and 66 deletions.
11 changes: 11 additions & 0 deletions docs/attestors/git.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
"$defs": {
"Attestor": {
"properties": {
"gittool": {
"type": "string"
},
"gitbinpath": {
"type": "string"
},
"gitbinhash": {
"$ref": "#/$defs/DigestSet"
},
"commithash": {
"type": "string"
},
Expand Down Expand Up @@ -71,6 +80,7 @@
"additionalProperties": false,
"type": "object",
"required": [
"gittool",
"commithash",
"author",
"authoremail",
Expand Down Expand Up @@ -132,3 +142,4 @@
}
}
}

10 changes: 10 additions & 0 deletions docs/attestors/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ The attestor returns the SHA1 ([Secure Hash Algorithm 1](https://en.wikipedia.or
"$defs": {
"Attestor": {
"properties": {
"gittool": {
"type": "string"
},
"gitbinpath": {
"type": "string"
},
"gitbinhash": {
"$ref": "#/$defs/DigestSet"
},
"commithash": {
"type": "string"
},
Expand Down Expand Up @@ -83,6 +92,7 @@ The attestor returns the SHA1 ([Secure Hash Algorithm 1](https://en.wikipedia.or
"additionalProperties": false,
"type": "object",
"required": [
"gittool",
"commithash",
"author",
"authoremail",
Expand Down
55 changes: 55 additions & 0 deletions docs/attestors/jenkins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/Attestor",
"$defs": {
"Attestor": {
"properties": {
"buildid": {
"type": "string"
},
"buildnumber": {
"type": "string"
},
"buildtag": {
"type": "string"
},
"pipelineurl": {
"type": "string"
},
"executornumber": {
"type": "string"
},
"javahome": {
"type": "string"
},
"jenkinsurl": {
"type": "string"
},
"jobname": {
"type": "string"
},
"nodename": {
"type": "string"
},
"workspace": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"buildid",
"buildnumber",
"buildtag",
"pipelineurl",
"executornumber",
"javahome",
"jenkinsurl",
"jobname",
"nodename",
"workspace"
]
}
}
}

57 changes: 57 additions & 0 deletions docs/attestors/jenkins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## Schema
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/Attestor",
"$defs": {
"Attestor": {
"properties": {
"buildid": {
"type": "string"
},
"buildnumber": {
"type": "string"
},
"buildtag": {
"type": "string"
},
"pipelineurl": {
"type": "string"
},
"executornumber": {
"type": "string"
},
"javahome": {
"type": "string"
},
"jenkinsurl": {
"type": "string"
},
"jobname": {
"type": "string"
},
"nodename": {
"type": "string"
},
"workspace": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"buildid",
"buildnumber",
"buildtag",
"pipelineurl",
"executornumber",
"javahome",
"jenkinsurl",
"jobname",
"nodename",
"workspace"
]
}
}
}
```
1 change: 1 addition & 0 deletions docs/attestors/omnitrail.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,4 @@
}
}
}

1 change: 1 addition & 0 deletions docs/attestors/sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
}
}
}

1 change: 1 addition & 0 deletions docs/attestors/vex.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,4 @@
}
}
}

45 changes: 23 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/in-toto/witness
go 1.23.2

require (
github.com/in-toto/go-witness v0.6.0
github.com/in-toto/go-witness v0.6.1-0.20241106010129-63940cbec45a
github.com/invopop/jsonschema v0.12.0
github.com/olekukonko/tablewriter v0.0.5
github.com/sigstore/fulcio v1.6.5
Expand Down Expand Up @@ -35,28 +35,28 @@ require (
cloud.google.com/go/kms v1.20.0 // indirect
cloud.google.com/go/longrunning v0.6.1 // indirect
dario.cat/mergo v1.0.1 // indirect
github.com/CycloneDX/cyclonedx-go v0.9.0 // indirect
github.com/CycloneDX/cyclonedx-go v0.9.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/OneOfOne/xxhash v1.2.8 // indirect
github.com/ProtonMail/go-crypto v1.0.0 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/aws/aws-sdk-go v1.55.5 // indirect
github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect
github.com/aws/aws-sdk-go-v2/config v1.27.37 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.35 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect
github.com/aws/aws-sdk-go-v2 v1.32.2 // indirect
github.com/aws/aws-sdk-go-v2/config v1.27.43 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.41 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.17 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.2 // indirect
github.com/aws/aws-sdk-go-v2/service/kms v1.35.7 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.23.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.31.1 // indirect
github.com/aws/smithy-go v1.21.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.24.2 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.32.2 // indirect
github.com/aws/smithy-go v1.22.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
Expand All @@ -73,7 +73,7 @@ require (
github.com/fkautz/omnitrail-go v0.0.0-20230808061951-37d34c23539d // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
github.com/gabriel-vasile/mimetype v1.4.6 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-git/go-git/v5 v5.11.0 // indirect
Expand All @@ -94,7 +94,7 @@ require (
github.com/gorilla/mux v1.8.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/hashicorp/hcl v1.0.1-vault-3 // indirect
github.com/in-toto/archivista v0.5.1 // indirect
github.com/in-toto/archivista v0.5.4 // indirect
github.com/in-toto/attestation v1.0.2 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
Expand Down Expand Up @@ -133,7 +133,7 @@ require (
github.com/sigstore/sigstore v1.8.9 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spdx/tools-golang v0.5.4 // indirect
github.com/spdx/tools-golang v0.5.5 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
Expand All @@ -155,13 +155,14 @@ require (
go.opentelemetry.io/otel/sdk v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.30.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.27.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/term v0.24.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/time v0.6.0 // indirect
google.golang.org/api v0.199.0 // indirect
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
Expand Down
Loading

0 comments on commit 552f09c

Please sign in to comment.