OWASP / OWASP/OpenCRE

[api] add ability to export results as CycloneDX attestations

Open
#499 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement GSOC
Dominant language
Python
Stars
180
Forks
137
Avg merge
3d 23h
Merged PRs (30d)
21

Description

Issue

What is the issue?

CycloneDX supports attestations. This is their way to do standards and they have native CRE support in their attestations.

Time for us to also support CycloneDX

Find a way to make OpenCRE dump attestation documents https://cyclonedx-python-library.readthedocs.io/en/latest/autoapi/cyclonedx/model/index.html#cyclonedx.model.ExternalReferenceType.ATTESTATION

https://github.com/CycloneDX/guides/blob/main/Attestations/en/0x30-Making-Attestations.md

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named. Start by locating OpenCRE's existing API result-export entry point, then read the linked CycloneDX attestation model and guide to determine the required document structure. Done means the API can export results as a valid CycloneDX attestation document.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.