-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add spdx
taxonomy
#7
base: main
Are you sure you want to change the base?
Changes from all commits
49ce8e1
eff5814
48d9ed7
59e9da4
776b92e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## `spdx` Namespace | ||
|
||
| Namespace | Description | Taxonomy | | ||
| --- | --- | --- | | ||
| `spdx:v2` | Namespace for SPDX v2. | [spdx:v2 taxonomy](v2.md) | |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
## `spdx:v2` Namespace Taxonomy | ||
|
||
The SPDX namespaces and property names correspond to SPDX elements and fields. | ||
|
||
For more information on their meaning please refer to the [SPDX specification](https://spdx.github.io/spdx-spec/). | ||
|
||
| Namespace | Description | | ||
| --- | --- | | ||
| `spdx:v2:checksum` | Checksum information | | ||
| `spdx:v2:creation-info` | Creation information | | ||
| `spdx:v2:document` | Document information | | ||
| `spdx:v2:external-reference` | External reference information | | ||
| `spdx:v2:file` | File information | | ||
| `spdx:v2:package` | Package information | | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:annotation` | | ||
| `spdx:v2:comment` | | ||
| `spdx:v2:download-location` | | ||
| `spdx:v2:files-analyzed` | | ||
| `spdx:v2:homepage` | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldn't this map to bom/externalReferences/type=website? |
||
| `spdx:v2:license-comments` | | ||
| `spdx:v2:license-concluded` | | ||
| `spdx:v2:license-declared` | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this necessary? Wouldn't this map to component/licenses/license? Or am I missing something? |
||
| `spdx:v2:license-info-from-file` | | ||
| `spdx:v2:spdxid` | | ||
|
||
## `spdx:v2:checksum` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:checksum:md2` | | ||
| `spdx:v2:checksum:md4` | | ||
| `spdx:v2:checksum:md6` | | ||
| `spdx:v2:checksum:sha225` | | ||
|
||
## `spdx:v2:document` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:document:data-license` | | ||
| `spdx:v2:document:describes` | | ||
| `spdx:v2:document:document-namespace` | | ||
| `spdx:v2:document:external-document-ref` | | ||
| `spdx:v2:document:name` | | ||
| `spdx:v2:document:spdx-version` | | ||
|
||
## `spdx:v2:creation-info` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:creation-info:comment` | | ||
| `spdx:v2:creation-info:creators-organization` | | ||
| `spdx:v2:creation-info:license-list-version` | | ||
|
||
## `spdx:v2:external-reference` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:external-reference:security:cpe22` | | ||
| `spdx:v2:external-reference:security:cpe23` | | ||
| `spdx:v2:external-reference:package-manager:bower` | | ||
| `spdx:v2:external-reference:package-manager:maven-central` | | ||
| `spdx:v2:external-reference:package-manager:npm` | | ||
| `spdx:v2:external-reference:package-manager:nuget` | | ||
| `spdx:v2:external-reference:package-manager:purl` | | ||
| `spdx:v2:external-reference:persistent-id:swh` | | ||
| `spdx:v2:external-reference:other` | | ||
|
||
## `spdx:v2:file` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:file:type` | | ||
| `spdx:v2:file:contributor` | | ||
| `spdx:v2:file:notice-text` | | ||
|
||
## `spdx:v2:package` Namespace Taxonomy | ||
|
||
| Property | | ||
| --- | | ||
| `spdx:v2:package:file-name` | | ||
| `spdx:v2:package:originator:email` | | ||
| `spdx:v2:package:originator:organization` | | ||
| `spdx:v2:package:source-info` | | ||
| `spdx:v2:package:summary` | | ||
| `spdx:v2:package:supplier:organization` | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be https://cyclonedx.org/docs/1.4/json/#components_items_supplier_name rather than a property? |
||
| `spdx:v2:package:verification-code:value` | | ||
| `spdx:v2:package:verification-code:excluded-file` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this map to bom/externalReferences/type=distribution?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree.