Skip to content

Class: RelatedWeakness

A reference to a CWE (Common Weakness Enumeration) weakness associated with an

attack pattern. The association implies a weakness that must exist for a given

attack to be successful. If multiple weaknesses are listed, any of them (but not

necessarily all) may be present for the attack to succeed.

URI: capec:RelatedWeakness

 classDiagram
    class RelatedWeakness
    click RelatedWeakness href "../RelatedWeakness/"
      RelatedWeakness : cwe_id

Slots

Name Cardinality and Range Description Inheritance
cwe_id 1
Integer
The CWE integer identifier of the related weakness (e direct

In Subsets

Identifier and Mapping Information

Annotations

property value
xsd_type RelatedWeaknessesType/Related_Weakness (inline)

Schema Source

  • from schema: https://w3id.org/lmodel/capec

Mappings

Mapping Type Mapped Value
self capec:RelatedWeakness
native capec:RelatedWeakness

LinkML Source

Direct

name: RelatedWeakness
annotations:
  xsd_type:
    tag: xsd_type
    value: RelatedWeaknessesType/Related_Weakness (inline)
description: 'A reference to a CWE (Common Weakness Enumeration) weakness associated
  with an

  attack pattern. The association implies a weakness that must exist for a given

  attack to be successful. If multiple weaknesses are listed, any of them (but not

  necessarily all) may be present for the attack to succeed.'
in_subset:
- relationship_types
from_schema: https://w3id.org/lmodel/capec
slots:
- cwe_id
slot_usage:
  cwe_id:
    name: cwe_id
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: CWE_ID
      xsd_type:
        tag: xsd_type
        value: xs:integer
    description: 'The CWE integer identifier of the related weakness (e.g., 79 for
      CWE-79: Improper Neutralization of Input During Web Page Generation).'
    range: integer
    required: true

Induced

name: RelatedWeakness
annotations:
  xsd_type:
    tag: xsd_type
    value: RelatedWeaknessesType/Related_Weakness (inline)
description: 'A reference to a CWE (Common Weakness Enumeration) weakness associated
  with an

  attack pattern. The association implies a weakness that must exist for a given

  attack to be successful. If multiple weaknesses are listed, any of them (but not

  necessarily all) may be present for the attack to succeed.'
in_subset:
- relationship_types
from_schema: https://w3id.org/lmodel/capec
slot_usage:
  cwe_id:
    name: cwe_id
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: CWE_ID
      xsd_type:
        tag: xsd_type
        value: xs:integer
    description: 'The CWE integer identifier of the related weakness (e.g., 79 for
      CWE-79: Improper Neutralization of Input During Web Page Generation).'
    range: integer
    required: true
attributes:
  cwe_id:
    name: cwe_id
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: CWE_ID
      xsd_type:
        tag: xsd_type
        value: xs:integer
    description: 'The CWE integer identifier of the related weakness (e.g., 79 for
      CWE-79: Improper Neutralization of Input During Web Page Generation).'
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: cwe_id
    owner: RelatedWeakness
    domain_of:
    - RelatedWeakness
    range: integer
    required: true