Skip to content

Commit 37fad5f

Browse files
committed
Add SupportRelationship
Adds a new SupportRelationship that uses a derived Relationship to indicate support, since this allows associating the support with a specific entity. Signed-off-by: Joshua Watt <[email protected]>
1 parent 83d29b0 commit 37fad5f

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
SPDX-License-Identifier: Community-Spec-1.0
2+
3+
# SupportRelationship
4+
5+
## Summary
6+
7+
Describes how an Agent Provides Support for an Element
8+
9+
## Description
10+
11+
Specifies how an Agent supports a given Element. The Relationship Type must be
12+
`providesSupportFor`. The `from` of the relationship is the `Agent` providing
13+
support, and the `to` are the `Element` for which support is being provided.
14+
15+
`startTime` and `endTime` are mandatory when using this class.
16+
17+
## Metadata
18+
19+
- name: SupportRelationship
20+
- SubclassOf: Relationship
21+
- Instantiability: Concrete
22+
23+
## Properties
24+
25+
- supportLevel
26+
- type: SupportType
27+
- minCount: 1
28+
- maxCount: 1
29+
30+
## External properties restrictions
31+
32+
- /Core/Relationship/startTime
33+
- minCount: 1
34+
- maxCount: 1
35+
- /Core/Relationship/endTime
36+
- minCount: 1
37+
- maxCount: 1

model/Core/Vocabularies/RelationshipType.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ name completes the sentence:
7575
- other: Every `to` Element is related to the `from` Element where the relationship type is not described by any of the SPDX relationhip types (this relationship is directionless)
7676
- packagedBy: Every `to` Element is a packaged instance of the `from` Element (`from` packagedBy `to`)
7777
- patchedBy: Every `to` Element is a patch for the `from` Element (`from` patchedBy `to`)
78+
- providesSupportFor: The `from` Agent provides support for each `to` Element. Must be a `SupportRelationship` type
7879
- publishedBy: (Security) Designates a `from` Vulnerability was made available for public use or reference by each `to` Agent
7980
- reportedBy: (Security) Designates a `from` Vulnerability was first reported to a project, vendor, or tracking database for formal identification by each `to` Agent
8081
- republishedBy: (Security) Designates a `from` Vulnerability's details were tracked, aggregated, and/or enriched to improve context (i.e. NVD) by a `to` Agent(s)

0 commit comments

Comments
 (0)