-
Notifications
You must be signed in to change notification settings - Fork 14
Add Dependabot configuration for managing GitHub Actions and Python d… #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c3e854b
Add Dependabot configuration for managing GitHub Actions and Python d…
devanshjainms 37db561
Add pull request trigger to OSSF scoreboard workflow and ignore path …
devanshjainms 1b9fcf7
Update Trivy workflow to enhance permissions and upgrade action versions
devanshjainms fd419ca
Refactor Trivy workflow for improved readability and maintainability
devanshjainms dac0826
Remove unnecessary lines from Trivy workflow configuration
devanshjainms 9ae38bf
Add read-all permissions to Trivy workflow configuration
devanshjainms File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # This file is used by GitHub Dependabot to manage dependencies in the project. | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: daily | ||
|
|
||
| - package-ecosystem: pip | ||
| directory: / | ||
| schedule: | ||
| interval: daily |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,42 @@ | ||
| --- | ||
| name: trivy | ||
| name: trivy | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [ 'opened', 'reopened', 'synchronize' ] | ||
| merge_group: | ||
| workflow_dispatch: | ||
| on: | ||
| pull_request: | ||
| types: [ 'opened', 'reopened', 'synchronize' ] | ||
| merge_group: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: read-all | ||
|
|
||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
| jobs: | ||
| build: | ||
| name: 'trivy scan' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| security-events: write | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build: | ||
| name: 'trivy scan' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | ||
| with: | ||
| egress-policy: audit | ||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
| - name: Checkout code | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| - name: Checkout code | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
|
||
| - name: Run Trivy vulnerability scanner (file system) | ||
| uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29.0 | ||
| with: | ||
| scan-type: 'fs' | ||
| ignore-unfixed: true | ||
| scan-ref: . | ||
| format: 'sarif' | ||
| scanners: 'vuln,secret,config' | ||
| output: report-fs.sarif | ||
| - name: Run Trivy vulnerability scanner (file system) | ||
| uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29.0 | ||
| with: | ||
| scan-type: 'fs' | ||
| ignore-unfixed: true | ||
| scan-ref: . | ||
| format: 'sarif' | ||
| scanners: 'vuln,secret,config' | ||
| output: report-fs.sarif | ||
|
|
||
| - name: Upload Trivy report (fs) GitHub Security | ||
| uses: github/codeql-action/upload-sarif@d68b2d4edb4189fd2a5366ac14e72027bd4b37dd # v3.28.2 | ||
| with: | ||
| sarif_file: report-fs.sarif | ||
| category: 'fs' | ||
| - name: Upload Trivy report (fs) GitHub Security | ||
| uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 | ||
| with: | ||
| sarif_file: report-fs.sarif | ||
| category: 'fs' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.