Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add SupportRelationship #728

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have the "to" of the relationship be an Artifact rather than an Element? It would seem that only artifacts would be something that would require support.


## 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 `Artifact` 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 @@ -76,6 +76,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` Artifact. Must be a `SupportRelationship` type.
- publishedBy: Designates a `from` Vulnerability was made available for public use or reference by each `to` Agent.
- reportedBy: Designates a `from` Vulnerability was first reported to a project, vendor, or tracking database for formal identification by each `to` Agent.
- republishedBy: Designates a `from` Vulnerability's details were tracked, aggregated, and/or enriched to improve context (i.e. NVD) by each `to` Agent.
Expand Down