Interface CweWeakness

Full weakness entry returned by GET /cwe/weakness/{id}.

interface CweWeakness {
    Abstraction: string;
    AlternateTerms?: CweAlternateTerm[];
    ApplicablePlatforms?: CweApplicablePlatform[];
    BackgroundDetails?: string[];
    Description: string;
    Diagram?: string;
    ExtendedDescription?: string;
    ID: string;
    LikelihoodOfExploit?: string;
    Name: string;
    RelatedWeaknesses?: CweRelatedWeakness[];
    Status: string;
    Structure: string;
    WeaknessOrdinalities?: CweWeaknessOrdinality[];
}

Properties

Abstraction: string

Abstraction level (e.g. 'Pillar', 'Class', 'Base', 'Variant')

AlternateTerms?: CweAlternateTerm[]

Alternate names or terms for this weakness

ApplicablePlatforms?: CweApplicablePlatform[]

Platforms to which this weakness applies

BackgroundDetails?: string[]

Background context paragraphs

Description: string

Short description of the weakness

Diagram?: string

Path to a diagram image, if available

ExtendedDescription?: string

Extended description with additional details

ID: string

CWE identifier string (e.g. '79')

LikelihoodOfExploit?: string

Likelihood of exploitation (e.g. 'High', 'Medium', 'Low')

Name: string

Weakness name

RelatedWeaknesses?: CweRelatedWeakness[]

References to related weaknesses

Status: string

Status (e.g. 'Stable', 'Draft', 'Incomplete', 'Deprecated')

Structure: string

Structure type (e.g. 'Simple', 'Composite', 'Chain')

WeaknessOrdinalities?: CweWeaknessOrdinality[]

Ordinality of this weakness