forked from devopsshield/devsecops-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update oss_pygoat-devsecops-advanced.yml
- Loading branch information
1 parent
82a2464
commit 81aee8c
Showing
1 changed file
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|