Skip to content

Commit

Permalink
Bump schema version and format
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Dymiński <dyminski@gmail.com>
  • Loading branch information
mateuszdyminski committed May 31, 2024
1 parent 7eb07b0 commit 4b33c78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
)

const (
KSOCCompany = "KSOC Labs"
BOMFormat = "ksoc"
SpecVersion = "0.2"
KSOCCompany = "RAD Security"
BOMFormat = "rad"
SpecVersion = "0.3"

StdOutput = "stdout"
FileOutput = "file"
Expand Down
12 changes: 6 additions & 6 deletions cmd/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ var mockCACert = "1234567890"

var expectedOutJSON = `{
"id": "00000001",
"bom_format": "ksoc",
"spec_version": "0.2",
"bom_format": "rad",
"spec_version": "0.3",
"generated_at": "2023-04-26T10:00:00Z",
"generated_by": {
"vendor": "KSOC Labs",
"vendor": "RAD Security",
"name": "unknown",
"build_time": "unknown",
"version": "unknown",
Expand Down Expand Up @@ -479,11 +479,11 @@ var expectedOutJSON = `{
}
`
var expectedOutYAML = `id: "00000001"
bomformat: ksoc
specversion: "0.2"
bomformat: rad
specversion: "0.3"
generatedat: 2023-04-26T10:00:00Z
generatedby:
vendor: KSOC Labs
vendor: RAD Security
name: unknown
buildtime: unknown
version: unknown
Expand Down

0 comments on commit 4b33c78

Please sign in to comment.