Class: VersionEntry
A single version or a range of versions of a product with associated vulnerability status. An entry with only version and status is a point version; an entry with versionType and a less-than limit describes a range.
URI: cve:VersionEntry
classDiagram
class VersionEntry
click VersionEntry href "../VersionEntry/"
VersionEntry : less_than
VersionEntry : less_than_or_equal
VersionEntry : version_changes
VersionEntry --> "*" VersionChange : version_changes
click VersionChange href "../VersionChange/"
VersionEntry : version_status
VersionEntry --> "1" VersionStatus : version_status
click VersionStatus href "../VersionStatus/"
VersionEntry : version_type
VersionEntry : version_value
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| version_value | 1 VersionString |
The single version being described, or the version at the start of the range | direct |
| version_status | 1 VersionStatus |
The vulnerability status for the version or range of versions | direct |
| version_type | 0..1 String |
The version numbering system used for specifying the range (e | direct |
| less_than | 0..1 VersionString |
The non-inclusive upper limit of the range | direct |
| less_than_or_equal | 0..1 VersionString |
The inclusive upper limit of the range | direct |
| version_changes | * VersionChange |
A list of status changes that take place during the version range | direct |
Expressions & Logic
#### None Of The class must not satisfy any of: - AnonymousClassExpression({ 'slot_conditions': {'less_than': SlotDefinition({'name': 'less_than', 'required': True}), 'less_than_or_equal': SlotDefinition({'name': 'less_than_or_equal', 'required': True})} })Usages
| used by | used in | type | used |
|---|---|---|---|
| AffectedProduct | versions | range | VersionEntry |
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'less_than': {'required': True}} |
{'version_type': {'required': True}} |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'less_than_or_equal': {'required': True}} |
{'version_type': {'required': True}} |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/cve
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | cve:VersionEntry |
| native | cve:VersionEntry |
LinkML Source
Direct
name: VersionEntry
description: A single version or a range of versions of a product with associated
vulnerability status. An entry with only version and status is a point version;
an entry with versionType and a less-than limit describes a range.
from_schema: https://w3id.org/lmodel/cve
slots:
- version_value
- version_status
- version_type
- less_than
- less_than_or_equal
- version_changes
slot_usage:
version_value:
name: version_value
required: true
version_status:
name: version_status
required: true
rules:
- preconditions:
slot_conditions:
less_than:
name: less_than
required: true
postconditions:
slot_conditions:
version_type:
name: version_type
required: true
- preconditions:
slot_conditions:
less_than_or_equal:
name: less_than_or_equal
required: true
postconditions:
slot_conditions:
version_type:
name: version_type
required: true
none_of:
- slot_conditions:
less_than:
name: less_than
required: true
less_than_or_equal:
name: less_than_or_equal
required: true
Induced
name: VersionEntry
description: A single version or a range of versions of a product with associated
vulnerability status. An entry with only version and status is a point version;
an entry with versionType and a less-than limit describes a range.
from_schema: https://w3id.org/lmodel/cve
slot_usage:
version_value:
name: version_value
required: true
version_status:
name: version_status
required: true
attributes:
version_value:
name: version_value
description: The single version being described, or the version at the start of
the range. By convention, '0' denotes the earliest possible version.
from_schema: https://w3id.org/lmodel/cve
aliases:
- version
rank: 1000
alias: version_value
owner: VersionEntry
domain_of:
- VersionEntry
range: VersionString
required: true
version_status:
name: version_status
description: The vulnerability status for the version or range of versions. For
a range, the status may be refined by the 'changes' list.
from_schema: https://w3id.org/lmodel/cve
aliases:
- status
rank: 1000
alias: version_status
owner: VersionEntry
domain_of:
- VersionEntry
range: VersionStatus
required: true
version_type:
name: version_type
description: The version numbering system used for specifying the range (e.g.,
semver, git, maven, rpm, python, custom). Defines the semantics of comparison.
from_schema: https://w3id.org/lmodel/cve
aliases:
- versionType
rank: 1000
alias: version_type
owner: VersionEntry
domain_of:
- VersionEntry
range: string
less_than:
name: less_than
description: The non-inclusive upper limit of the range. This is the least version
NOT in the range. Supports wildcard '*' suffix.
from_schema: https://w3id.org/lmodel/cve
aliases:
- lessThan
rank: 1000
alias: less_than
owner: VersionEntry
domain_of:
- VersionEntry
range: VersionString
less_than_or_equal:
name: less_than_or_equal
description: The inclusive upper limit of the range. This is the greatest version
contained in the range. Only one of lessThan and lessThanOrEqual should be specified.
from_schema: https://w3id.org/lmodel/cve
aliases:
- lessThanOrEqual
rank: 1000
alias: less_than_or_equal
owner: VersionEntry
domain_of:
- VersionEntry
range: VersionString
version_changes:
name: version_changes
description: A list of status changes that take place during the version range.
The array should be sorted by 'at' field according to versionType, but clients
must re-sort rather than assume ordering.
from_schema: https://w3id.org/lmodel/cve
aliases:
- changes
rank: 1000
alias: version_changes
owner: VersionEntry
domain_of:
- VersionEntry
range: VersionChange
multivalued: true
inlined: true
inlined_as_list: true
rules:
- preconditions:
slot_conditions:
less_than:
name: less_than
required: true
postconditions:
slot_conditions:
version_type:
name: version_type
required: true
- preconditions:
slot_conditions:
less_than_or_equal:
name: less_than_or_equal
required: true
postconditions:
slot_conditions:
version_type:
name: version_type
required: true
none_of:
- slot_conditions:
less_than:
name: less_than
required: true
less_than_or_equal:
name: less_than_or_equal
required: true