DefectDojo Report Upload Actions
ActionsThis is the GitHub Action which make you as easly Upload your Scanning Reports.
- Sending Report files
- Automatically Create Engagements
- Golang Updated package
- Single Engagement It will Store Multiple Scanner Reports
Here this Github Action is mainly focus on Sending the Report file to DefectDojo:
- Scanner Reports – Using the Product Name It will Upload the Scanner Reports
- Auto Deployment – Here We need to add only the env
- Deployment Alerts – Alert when the Report is Uploaded or Not
With | Description | Required |
---|---|---|
DEFECTDOJO_TOKEN |
Here we need to add the defectdojo Token | ✅ |
DEFECTDOJO_URL |
Url of the Defectdojo http://ip:port | ✅ |
FILE_PATH_WITH_FILE_NAME |
Path of the file and also with filename | ✅ |
PRODUCT_NAME |
Mension your Specific Product Name which you have been Created | ✅ |
SCAN_TYPE |
Mension the Report Type like Trivy Scan | ✅ |
- Go to Your DefectDojo Page.
- Go to this path http://ip:port/api/key-v2
- Use Old Token or Generate a new token.
Here you need to Created the User and Products before you running the actions.
- Go to this url http://ip:port/product/add and add the Products
Inside .github/workflows/{your-filename}.yml
, add the following workflow:
name: DefectDojo
on: [push]
jobs:
DefectDojo_Report_Upload:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Upload the Report files.
uses: tharun13055/Defectdojo-action@v1.0.0
with:
DEFECTDOJO_TOKEN: ${{ secrets.DEFECTDOJO_TOKEN }}
DEFECTDOJO_URL: ${{ secrets.DEFECTDOJO_URL }}
FILE_PATH_WITH_FILE_NAME: ""
PRODUCT_NAME: ""
SCAN_TYPE: ""
For more details on the supported file types, please refer to the Filetype.md file.
Please report any issues or feature requests via the GitHub repository's issue tracker.
DefectDojo Report Upload Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.