Skip to main content

Module csaf_document

Module csaf_document 

Source
Expand description

Full CSAF 2.0 and 2.1 document serde types.

These types are derived from the OASIS CSAF 2.1 JSON schema and the 15 test advisory files in test/csaf/. They support both serialization and deserialization with strict field validation.

Structsยง

Branch
A branch in the product tree hierarchy.
CsafDocument
A complete CSAF document (versions 2.0 and 2.1).
CsafMeta
Lightweight metadata extracted from a CSAF document for listing and search.
CvssV3
CVSS v3.1 scoring data.
CvssV4
CVSS v4.0 scoring data.
Cwe
CWE (Common Weakness Enumeration) reference.
Distribution
Distribution restrictions (TLP labelling and free-form restrictions).
Document
Core document metadata section.
Engine
Generator engine identification.
Flag
Flag on a vulnerability.
FullProductName
A full product name definition.
Generator
Generator engine metadata.
Involvement
Involvement information.
Metric
CVSS scoring metric container.
MetricContent
Metric content containing one or both CVSS versions.
Note
A textual note within the document or vulnerability.
ProductGroup
A grouping of products.
ProductStatus
Product status classifications for a vulnerability.
ProductTree
Product hierarchy tree.
Publisher
Publisher identity and role.
Reference
A reference to an external resource.
Relationship
A relationship between products.
Remediation
Remediation action for a vulnerability.
RestartRequired
Restart requirement specification.
Revision
A single revision history entry.
Threat
Threat information.
Tlp
Traffic Light Protocol label.
Tracking
Document lifecycle tracking information.
Vulnerability
A vulnerability entry within a CSAF document.
VulnerabilityId
Additional vulnerability identifier.