Skip to content

Commit

Permalink
Update oss_pygoat-devsecops-advanced.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuel-knafo authored May 30, 2024
1 parent 82a2464 commit 81aee8c
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/oss_pygoat-devsecops-advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ jobs:
- name: Push Docker image ${{ env.image }}:latest
if: env.pushDockerImage == 'true'
run: docker push ${{ env.image }}:latest
# - name: Aqua Security Trivy
# # You may pin to the exact commit or the version.
# # uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2
# uses: aquasecurity/[email protected]
# with:
# # image reference(for backward compatibility)
# image-ref: ${{ env.image }}:latest
- name: Aqua Security Trivy
# You may pin to the exact commit or the version.
# uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2
uses: aquasecurity/[email protected]
with:
# image reference(for backward compatibility)
image-ref: ${{ env.image }}:latest
devsecops-tasks:
name: Do DevSecOps Tasks
needs:
Expand All @@ -214,34 +214,34 @@ jobs:
steps:
- name: checkout
uses: actions/[email protected]
# - name: Gitleaks
# continue-on-error: true
# # You may pin to the exact commit or the version.
# # uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
# uses: gitleaks/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# #GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
# - name: Dependency Review
# uses: actions/[email protected]
# with:
# base-ref: ${{ github.ref }}
# head-ref: ${{ github.sha }}
# # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
# repo-token: ${{ github.token }} # optional, default is ${{ github.token }}
# # A boolean to determine if license checks should be performed
# license-check: true # optional
# # A boolean to determine if vulnerability checks should be performed
# vulnerability-check: true # optional
# # Show a summary of the OpenSSF Scorecard scores.
# show-openssf-scorecard: true # optional
# - name: Run Microsoft Security DevOps
# uses: microsoft/security-devops-action@v1
# id: msdo
# - name: Upload results to Security tab
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: ${{ steps.msdo.outputs.sarifFile }}
- name: Gitleaks
continue-on-error: true
# You may pin to the exact commit or the version.
# uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
uses: gitleaks/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
- name: Dependency Review
uses: actions/[email protected]
with:
base-ref: ${{ github.ref }}
head-ref: ${{ github.sha }}
# Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
repo-token: ${{ github.token }} # optional, default is ${{ github.token }}
# A boolean to determine if license checks should be performed
license-check: true # optional
# A boolean to determine if vulnerability checks should be performed
vulnerability-check: true # optional
# Show a summary of the OpenSSF Scorecard scores.
show-openssf-scorecard: true # optional
- name: Run Microsoft Security DevOps
uses: microsoft/security-devops-action@v1
id: msdo
- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
test-run_devopsshield_scan_linux:
name: Run DevOps Shield Scan Linux
needs:
Expand Down

0 comments on commit 81aee8c

Please sign in to comment.