-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional testing for SBOM attestor and better support for setting w…
…orking-dir Signed-off-by: John Kjell <[email protected]>
- Loading branch information
Showing
9 changed files
with
73 additions
and
8,384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generating Test SBOM | ||
|
||
## Commands Used | ||
|
||
These are the commands used to generate the SBOMs comitted: | ||
|
||
`syft scan alpine:latest -o spdx > spdx-2.3/alpine.spdx-2-3.json` | ||
|
||
`syft scan alpine:latest -o [email protected] > spdx-2.2/alpine.spdx-2-2.json` | ||
|
||
`syft scan alpine:latest -o cyclonedx-json > cyclonedx-json/alpine.cyclonedx.json` | ||
|
||
`syft scan alpine:latest -o cyclonedx > alpine.cyclonedx.xml` | ||
|
||
For the `bad.json` modified any of the above json SBOMs to be malformed (just remove a few characters from the end). The modification needs to be after the first 512 bytes of the file due to the method used for mime-type detection. |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.