Class: MetricEntry
A metric entry containing scoring data in one of the CVSS formats (v4.0, v3.x, v2.0) or a custom format, with optional applicability scenarios. At least one of cvss_v4_0, cvss_v3, cvss_v2_0, or other_metric is required. CVSS 3.0 and 3.1 are both represented by CvssV3 (distinguished by the cvss3_version slot).
URI: cve:MetricEntry
classDiagram
class MetricEntry
click MetricEntry href "../MetricEntry/"
MetricEntry : cvss_v2_0
MetricEntry --> "0..1" CvssV20 : cvss_v2_0
click CvssV20 href "../CvssV20/"
MetricEntry : cvss_v3
MetricEntry --> "0..1" CvssV3 : cvss_v3
click CvssV3 href "../CvssV3/"
MetricEntry : cvss_v4_0
MetricEntry --> "0..1" CvssV40 : cvss_v4_0
click CvssV40 href "../CvssV40/"
MetricEntry : metric_format
MetricEntry : metric_scenarios
MetricEntry --> "*" MetricScenario : metric_scenarios
click MetricScenario href "../MetricScenario/"
MetricEntry : other_metric
MetricEntry --> "0..1" OtherMetric : other_metric
click OtherMetric href "../OtherMetric/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| metric_format | 0..1 String |
Name of the scoring format (e | direct |
| metric_scenarios | * MetricScenario |
Scenarios this metrics object applies to | direct |
| cvss_v4_0 | 0..1 CvssV40 |
CVSS version 4 | direct |
| cvss_v3 | 0..1 CvssV3 |
CVSS version 3 | direct |
| cvss_v2_0 | 0..1 CvssV20 |
CVSS version 2 | direct |
| other_metric | 0..1 OtherMetric |
A non-standard impact description or score | direct |
Expressions & Logic
#### Any Of The class must satisfy at least one of: - AnonymousClassExpression({ 'slot_conditions': {'cvss_v4_0': SlotDefinition({'name': 'cvss_v4_0', 'required': True})} }) - AnonymousClassExpression({ 'slot_conditions': {'cvss_v3': SlotDefinition({'name': 'cvss_v3', 'required': True})} }) - AnonymousClassExpression({ 'slot_conditions': {'cvss_v2_0': SlotDefinition({'name': 'cvss_v2_0', 'required': True})} }) - AnonymousClassExpression({ 'slot_conditions': {'other_metric': SlotDefinition({'name': 'other_metric', 'required': True})} })Usages
| used by | used in | type | used |
|---|---|---|---|
| CnaPublishedContainer | metrics | range | MetricEntry |
| AdpContainer | metrics | range | MetricEntry |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/cve
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | cve:MetricEntry |
| native | cve:MetricEntry |
| close | nvd:MetricSet |
LinkML Source
Direct
name: MetricEntry
description: A metric entry containing scoring data in one of the CVSS formats (v4.0,
v3.x, v2.0) or a custom format, with optional applicability scenarios. At least
one of cvss_v4_0, cvss_v3, cvss_v2_0, or other_metric is required. CVSS 3.0 and
3.1 are both represented by CvssV3 (distinguished by the cvss3_version slot).
from_schema: https://w3id.org/lmodel/cve
close_mappings:
- nvd:MetricSet
slots:
- metric_format
- metric_scenarios
- cvss_v4_0
- cvss_v3
- cvss_v2_0
- other_metric
any_of:
- slot_conditions:
cvss_v4_0:
name: cvss_v4_0
required: true
- slot_conditions:
cvss_v3:
name: cvss_v3
required: true
- slot_conditions:
cvss_v2_0:
name: cvss_v2_0
required: true
- slot_conditions:
other_metric:
name: other_metric
required: true
Induced
name: MetricEntry
description: A metric entry containing scoring data in one of the CVSS formats (v4.0,
v3.x, v2.0) or a custom format, with optional applicability scenarios. At least
one of cvss_v4_0, cvss_v3, cvss_v2_0, or other_metric is required. CVSS 3.0 and
3.1 are both represented by CvssV3 (distinguished by the cvss3_version slot).
from_schema: https://w3id.org/lmodel/cve
close_mappings:
- nvd:MetricSet
attributes:
metric_format:
name: metric_format
description: Name of the scoring format (e.g., cvssV4_0, cvssV3_1). Provides future-proofing
and supports proprietary format inclusion.
from_schema: https://w3id.org/lmodel/cve
aliases:
- format
rank: 1000
alias: metric_format
owner: MetricEntry
domain_of:
- MetricEntry
range: string
metric_scenarios:
name: metric_scenarios
description: Scenarios this metrics object applies to. If no specific scenario
is given, GENERAL applies when no more specific metric matches.
from_schema: https://w3id.org/lmodel/cve
aliases:
- scenarios
rank: 1000
alias: metric_scenarios
owner: MetricEntry
domain_of:
- MetricEntry
range: MetricScenario
multivalued: true
inlined: true
inlined_as_list: true
cvss_v4_0:
name: cvss_v4_0
description: CVSS version 4.0 scoring data.
from_schema: https://w3id.org/lmodel/cve
aliases:
- cvssV4_0
rank: 1000
alias: cvss_v4_0
owner: MetricEntry
domain_of:
- MetricEntry
range: CvssV4_0
inlined: true
cvss_v3:
name: cvss_v3
description: CVSS version 3.x scoring data (covers both 3.0 and 3.1). The version
is distinguished by the cvss3_version field within the CvssV3 object.
from_schema: https://w3id.org/lmodel/cve
aliases:
- cvssV3
- cvssV3_0
- cvssV3_1
rank: 1000
alias: cvss_v3
owner: MetricEntry
domain_of:
- MetricEntry
range: CvssV3
inlined: true
cvss_v2_0:
name: cvss_v2_0
description: CVSS version 2.0 scoring data.
from_schema: https://w3id.org/lmodel/cve
aliases:
- cvssV2_0
rank: 1000
alias: cvss_v2_0
owner: MetricEntry
domain_of:
- MetricEntry
range: CvssV2_0
inlined: true
other_metric:
name: other_metric
description: A non-standard impact description or score.
from_schema: https://w3id.org/lmodel/cve
aliases:
- other
rank: 1000
alias: other_metric
owner: MetricEntry
domain_of:
- MetricEntry
range: OtherMetric
inlined: true
any_of:
- slot_conditions:
cvss_v4_0:
name: cvss_v4_0
required: true
- slot_conditions:
cvss_v3:
name: cvss_v3
required: true
- slot_conditions:
cvss_v2_0:
name: cvss_v2_0
required: true
- slot_conditions:
other_metric:
name: other_metric
required: true