Open Source Software Advisory (OSSA) Schema

A structured format for defining and assessing open-source package advisories.

Schema Overview

The OSSA schema defines the structure for advisory documents, ensuring consistency and compliance.

Field Type Description
idstringUnique identifier (format: OSSA-YYYYMMDD-NNNN)
versionstringVersion of the affected package
severitystring (enum)Severity level: Low, Medium, High, Informational
titlestringSummary of the advisory
package_namestringName of the affected package
purlsarrayList of Package URLs (PURLs)
referencesstring | arrayExternal references (URLs)
licensesstring | arraySPDX license identifier(s)
approvalsarrayApproval status (consumption, externalization, etc.)
artifactsarrayFiles related to the advisory with hashes

Severity Levels

High: Immediate threat to functionality or business continuity.
Medium: Signs of deprecation or support issues.
Low: Old but stable, migration suggested but not urgent.
Informational: Flagged for awareness, no immediate action required.

Usage

To validate an advisory against the schema, use:

python3 tool/validator.py specs/schema-1.5.json examples/OSSA-20241205-0001-ffmpeg.json

License

This specification is licensed under MIT.