Generate improved SBOM Vulnerability report
docker pull justuser0129/sbomaster
docker pull mysql
docker create network <network-name>
docker run -d --network <network-name> [--name <container-name>] -p <port>:8080 justuser0129/sbomaster[:version]
docker run -d --network <network-name> --name mysql-container -p <port>:3306 -e MYSQL_ROOT_PASSWORD=root mysql[:version]
docker compose up -d
curl "{baseUrl}/api/v1/sbom?token={token}&projectId={projectId}&baseUrl={baseUrl}"
curl "{baseUrl}/api/v1/sbom/report?token={token}&projectId={projectId}&baseUrl={baseUrl}"
-
Generate Secret Key for pipeline
- SBOMaster url
- OWASP Dependency-Track url
- OWASP Dependency-Track token
- OWASP Dependency-Track projects' UUID
-
Create yml and Integrate scripts
name: Get SBOMaster's report file
run: curl -X GET 'https://${{ secrets.SBOMASTER_URL }}/api/v1/sbom/report?token=${{ secrets.TOKEN }}&uuid=${{ secrets.UUID }}&baseurl=${{ secrets.TRACK_URL }}' | jq '.' > filename.json