Skip to content

Commit

Permalink
Add SupportRelationship
Browse files Browse the repository at this point in the history
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 <JPEWhacker@gmail.com>
  • Loading branch information
JPEWdev committed Apr 23, 2024
1 parent 83d29b0 commit 37fad5f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions model/Core/Classes/SupportRelationship.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
SPDX-License-Identifier: Community-Spec-1.0

# SupportRelationship

## Summary

Describes how an Agent Provides Support for an Element

## Description

Specifies how an Agent supports a given Element. The Relationship Type must be
`providesSupportFor`. The `from` of the relationship is the `Agent` providing
support, and the `to` are the `Element` for which support is being provided.

`startTime` and `endTime` are mandatory when using this class.

## Metadata

- name: SupportRelationship
- SubclassOf: Relationship
- Instantiability: Concrete

## Properties

- supportLevel
- type: SupportType
- minCount: 1
- maxCount: 1

## External properties restrictions

- /Core/Relationship/startTime
- minCount: 1
- maxCount: 1
- /Core/Relationship/endTime
- minCount: 1
- maxCount: 1
1 change: 1 addition & 0 deletions model/Core/Vocabularies/RelationshipType.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ name completes the sentence:
- 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)
- packagedBy: Every `to` Element is a packaged instance of the `from` Element (`from` packagedBy `to`)
- patchedBy: Every `to` Element is a patch for the `from` Element (`from` patchedBy `to`)
- providesSupportFor: The `from` Agent provides support for each `to` Element. Must be a `SupportRelationship` type
- publishedBy: (Security) Designates a `from` Vulnerability was made available for public use or reference by each `to` Agent
- reportedBy: (Security) Designates a `from` Vulnerability was first reported to a project, vendor, or tracking database for formal identification by each `to` Agent
- 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)
Expand Down

0 comments on commit 37fad5f

Please # to comment.