From 2da5e335192244daf94bb7f467db9005d7ce0c92 Mon Sep 17 00:00:00 2001 From: Justin Hutchings Date: Thu, 25 Aug 2022 12:49:17 -0700 Subject: [PATCH] Refactor and add example for testing --- spdx-example.spdx.json | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 spdx-example.spdx.json diff --git a/spdx-example.spdx.json b/spdx-example.spdx.json new file mode 100644 index 0000000..fd18c3f --- /dev/null +++ b/spdx-example.spdx.json @@ -0,0 +1,45 @@ +{ + "spdxVersion": "SPDX-2.3", + "SPDXID": "SPDXRef-DOCUMENT", + "creationInfo": { + "created": "2022-08-24T04:00:50.104Z" + }, + "packages": [ + { + "packageName": "lodash", + "packageVersion": "4.17.21", + "purl": "pkg:NPM/lodash@4.17.21", + "filesAnalyzed": "false" + }, + { + "packageName": "lodash", + "packageVersion": "^ 4.17.21", + "purl": "pkg:NPM/lodash@^ 4.17.21", + "filesAnalyzed": "false" + }, + { + "packageName": "actions/checkout", + "packageVersion": "3", + "purl": "pkg:ACTIONS/actions/checkout@3", + "filesAnalyzed": "false" + }, + { + "packageName": "dsp-testing/dependency-review-action", + "packageVersion": "main", + "purl": "pkg:ACTIONS/dsp-testing/dependency-review-action@main", + "filesAnalyzed": "false" + }, + { + "packageName": "actions/checkout", + "packageVersion": "3", + "purl": "pkg:ACTIONS/actions/checkout@3", + "filesAnalyzed": "false" + }, + { + "packageName": "actions/upload-artifact", + "packageVersion": "3.1.0", + "purl": "pkg:ACTIONS/actions/upload-artifact@3.1.0", + "filesAnalyzed": "false" + }, + ] +} \ No newline at end of file