Skip to content

Enum: CodeNature

Nature of a code snippet in a demonstrative example (StructuredCodeNatureEnumeration in XSD).

URI: cwe:CodeNature

Permissible Values

Value Meaning Description
ATTACK None
BAD None
GOOD None
INFORMATIVE None
MITIGATION None
RESULT None

Slots

Name Description
nature Nature of the code (Bad, Good, Attack, Mitigation, etc

Identifier and Mapping Information

Schema Source

LinkML Source

name: CodeNature
description: Nature of a code snippet in a demonstrative example (StructuredCodeNatureEnumeration
  in XSD).
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
permissible_values:
  ATTACK:
    text: ATTACK
  BAD:
    text: BAD
  GOOD:
    text: GOOD
  INFORMATIVE:
    text: INFORMATIVE
  MITIGATION:
    text: MITIGATION
  RESULT:
    text: RESULT