Class: MappingNotes
Guidance for when and whether to map an issue to a CWE entry (MappingNotesType in XSD). Required on every Weakness, Category, and View.
URI: cwe:MappingNotes
classDiagram
class MappingNotes
click MappingNotes href "../MappingNotes/"
MappingNotes : comments
MappingNotes : rationale
MappingNotes : reasons
MappingNotes --> "1..*" MappingReason : reasons
click MappingReason href "../MappingReason/"
MappingNotes : suggestions
MappingNotes --> "*" MappingSuggestion : suggestions
click MappingSuggestion href "../MappingSuggestion/"
MappingNotes : usage
MappingNotes --> "1" MappingUsage : usage
click MappingUsage href "../MappingUsage/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| usage | 1 MappingUsage |
Whether this CWE entry is supported for mapping | direct |
| rationale | 1 String |
Context for the mapping usage designation | direct |
| comments | 1 String |
Further clarification for the mapping notes reader | direct |
| reasons | 1..* MappingReason |
Vocabulary summary of the mapping usage recommendation | direct |
| suggestions | * MappingSuggestion |
Suggested alternative CWE entries for mapping | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Weakness | mapping_notes | range | MappingNotes |
| Category | mapping_notes | range | MappingNotes |
| View | mapping_notes | range | MappingNotes |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/cwe
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | cwe:MappingNotes |
| native | cwe:MappingNotes |
LinkML Source
Direct
name: MappingNotes
description: Guidance for when and whether to map an issue to a CWE entry (MappingNotesType
in XSD). Required on every Weakness, Category, and View.
from_schema: https://w3id.org/lmodel/cwe
slots:
- usage
- rationale
- comments
- reasons
- suggestions
slot_usage:
usage:
name: usage
required: true
rationale:
name: rationale
required: true
comments:
name: comments
required: true
reasons:
name: reasons
required: true
Induced
name: MappingNotes
description: Guidance for when and whether to map an issue to a CWE entry (MappingNotesType
in XSD). Required on every Weakness, Category, and View.
from_schema: https://w3id.org/lmodel/cwe
slot_usage:
usage:
name: usage
required: true
rationale:
name: rationale
required: true
comments:
name: comments
required: true
reasons:
name: reasons
required: true
attributes:
usage:
name: usage
description: Whether this CWE entry is supported for mapping.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: usage
owner: MappingNotes
domain_of:
- MappingNotes
range: MappingUsage
required: true
rationale:
name: rationale
description: Context for the mapping usage designation.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: rationale
owner: MappingNotes
domain_of:
- MappingNotes
range: string
required: true
comments:
name: comments
description: Further clarification for the mapping notes reader.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: comments
owner: MappingNotes
domain_of:
- MappingNotes
range: string
required: true
reasons:
name: reasons
description: Vocabulary summary of the mapping usage recommendation.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: reasons
owner: MappingNotes
domain_of:
- MappingNotes
range: MappingReason
required: true
multivalued: true
suggestions:
name: suggestions
description: Suggested alternative CWE entries for mapping.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: suggestions
owner: MappingNotes
domain_of:
- MappingNotes
range: MappingSuggestion
multivalued: true
inlined: true
inlined_as_list: true