Skip to content

Implement OSV format #196

@fraxken

Description

@fraxken

I think we should work toward the goal of supporting multiple formats including OSV: https://ossf.github.io/osv-schema/

For the API we should probably rename useStandardFormat to useFormat. This new property take a string with possible enumeration: OSV or Standard

const vulnerabilities = await definition.getVulnerabilities(process.cwd(), {
  useFormat: "OSV"
});

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions