Skip to content

Commit

Permalink
remove workflow logs
Browse files Browse the repository at this point in the history
  • Loading branch information
allgeo committed Apr 15, 2024
1 parent fa0fb51 commit c06348f
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions .github/workflows/contrast-sast-scan.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
name: Contrast SAST Scan

on:
# pull_request:
# push:
# branches:
# - master
# - main
pull_request:
push:
branches:
- master
- main
workflow_dispatch:

jobs:
sast-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'

- name: Run Contrast SAST Scan
uses: ibm-skills-network/action-sast-scan@fix/workflow-logs
with:
contrast-api-url: ${{ vars.CONTRAST__API__URL }}
jfrog-token: ${{ secrets.JFROG_TOKEN }}
contrast-api-agent-version: ${{ vars.CONTRAST_AGENT_VERSION }}
contrast-api-user-name: ${{ secrets.CONTRAST__API__USER_NAME }}
contrast-api-api-key: ${{ secrets.CONTRAST__API__API_KEY }}
contrast-api-service-key: ${{ secrets.CONTRAST__API__SERVICE_KEY }}
contrast-api-organization: ${{ secrets.CONTRAST__API__ORGANIZATION }}
contrast-api-auth-token: ${{ secrets.CONTRAST__AUTH__TOKEN }}
contrast-api-resource-group: ${{ vars.CONTRAST_RESOURCE_GROUP }}
file-to-be-scanned: ${{ github.workspace }}
project-name: ${{ github.repository }}
uses: ibm-skills-network/.github/.github/workflows/contrast-sast-scan.yaml@main
secrets: inherit

0 comments on commit c06348f

Please sign in to comment.