Skip to content

SBOMaster: A SBOM Enhanced DevSecOps Pipeline Framework

License

Notifications You must be signed in to change notification settings

Juser0/SBOMaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SBOMaster: A SBOM-Enhanced DevSecOps Pipeline Framework

Generate improved SBOM Vulnerability report

Installation instructions:

1. Run using Docker

Pull images from DockerHub

docker pull justuser0129/sbomaster
docker pull mysql

Create Network to connect MySQL container

docker create network <network-name>

Run Application and MySQL container

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]

2. Run using Docker-compose

docker compose up -d

GuideLine (Example)

GET SBOM report using OWASP Dependency-Track

curl "{baseUrl}/api/v1/sbom?token={token}&projectId={projectId}&baseUrl={baseUrl}"

GET improved SBOM report

curl "{baseUrl}/api/v1/sbom/report?token={token}&projectId={projectId}&baseUrl={baseUrl}"

How to Integrate in CI/CD pipeline?

GitHub Actions

  • 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

Architecture

image

About

SBOMaster: A SBOM Enhanced DevSecOps Pipeline Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages