Skip to content

Commit

Permalink
Add COSWID templates for software identification
Browse files Browse the repository at this point in the history
Signed-off-by: Priyanshu Thapliyal <[email protected]>
  • Loading branch information
Priyanshuthapliyal2005 committed Jan 19, 2025
1 parent 0d8fae8 commit 2e92649
Show file tree
Hide file tree
Showing 5 changed files with 582 additions and 0 deletions.
19 changes: 19 additions & 0 deletions data/coswid/templates/coswid-example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"tag-id": "123e4567-e89b-12d3-a456-426614174000",
"tag-version": 0,
"software-name": "Example Software",
"profile": "http://example.com/cosmid/profile/1",
"validity": {
"not-before": "2023-01-01T00:00:00Z",
"not-after": "2025-01-01T00:00:00Z"
},
"entity": [
{
"entity-name": "Example Ltd.",
"reg-id": "https://example.com",
"role": [
"tag-creator"
]
}
]
}
35 changes: 35 additions & 0 deletions data/coswid/templates/coswid-full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"tag-id": "123e4567-e89b-12d3-a456-426614174000",
"tag-version": 1,
"software-name": "Example Software",
"profile": "http://example.com/cosmid/profile/1",
"validity": {
"not-before": "2023-01-01T00:00:00Z",
"not-after": "2025-01-01T00:00:00Z"
},
"entity": [
{
"entity-name": "Example Ltd signing key",
"reg-id": "https://example.com",
"role": ["tag-creator"]
}
],
"version-scheme": "multipartnumeric",
"link": [
{
"rel": "parent",
"href": "https://parent.example/rims/ccb3aa85-61b4-40f1-848e-02ad6e8a254b",
"thumbprint": {
"hash-alg-id": 1,
"hash-value": "5Fty9cDAtXLbTY06t+l/No/3TmI0eoJN7LZ6hOUiTXU="
}
}
],
"payload": {
"data": "Sample payload data"
},
"evidence": {
"type": "example-evidence",
"value": "Evidence details"
}
}
17 changes: 17 additions & 0 deletions data/coswid/templates/coswid-meta-full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"tag-id": "123e4567-e89b-12d3-a456-426614174000",
"tag-version": 1,
"software-name": "Example Software",
"profile": "http://example.com/cosmid/profile/1",
"validity": {
"not-before": "2023-01-01T00:00:00Z",
"not-after": "2025-01-01T00:00:00Z"
},
"entity": [
{
"entity-name": "Example Ltd signing key",
"reg-id": "https://example.com",
"role": ["tag-creator"]
}
]
}
13 changes: 13 additions & 0 deletions data/coswid/templates/coswid-meta-mini.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tag-id": "123e4567-e89b-12d3-a456-426614174000",
"tag-version": 1,
"software-name": "Example Software",
"profile": "http://example.com/cosmid/profile/1",
"entity": [
{
"entity-name": "Example Ltd signing key",
"reg-id": "https://example.com",
"role": ["tag-creator"]
}
]
}
Loading

0 comments on commit 2e92649

Please sign in to comment.