forked from fortify/gha-sample-workflows-eightball
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpr.yml.disabled
More file actions
58 lines (55 loc) · 1.77 KB
/
pr.yml.disabled
File metadata and controls
58 lines (55 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: pr.yml
on:
workflow_dispatch:
pull_request:
types: [opened, reopened]
jobs:
fod-sast-scan:
if: true
runs-on: ubuntu-latest
steps:
# Check out source code
- name: Check Out Source Code
uses: actions/checkout@v6
- name: Run FoD SAST scan
uses: fortify/github-action@v1
with:
sast-scan: true
env:
FOD_URL: ${{ vars.FOD_URL }}
FOD_TENANT: ${{secrets.OSS_FOD_TENANT}}
FOD_USER: ${{secrets.OSS_FOD_USER}}
FOD_PASSWORD: ${{secrets.OSS_FOD_PAT}}
FOD_LOGIN_EXTRA_OPTS: --socket-timeout=600s
FOD_SAST_SCAN_EXTRA_OPTS: --notes "These are notes from the GitHub Action"
DO_SETUP: true
DO_POLICY_CHECK: true
DO_JOB_SUMMARY: true
DO_PR_COMMENT: true
DO_EXPORT: true
SETUP_EXTRA_OPTS: --sdlc-status QA --scan-types sast
sc-sast-and-debricked-scan:
if: true
runs-on: ubuntu-latest
steps:
# Check out source code
- name: Check Out Source Code
uses: actions/checkout@v6
- name: Run SC-SAST & Debricked scan
uses: fortify/github-action@v1
with:
sast-scan: true
debricked-sca-scan: true
env:
SSC_URL: ${{ vars.SSC_UAT_URL }}
SSC_TOKEN: ${{secrets.SSC_UAT_TOKEN}}
SC_SAST_TOKEN: ${{secrets.SC_SAST_UAT_TOKEN}}
DEBRICKED_TOKEN: ${{secrets.DEBRICKED_TOKEN}}
SC_SAST_SENSOR_VERSION: 24.2.0
DO_SETUP: true
DO_POLICY_CHECK: true
DO_JOB_SUMMARY: true
DO_PR_COMMENT: true
DO_EXPORT: true
JOB_SUMMARY_EXTRA_OPTS: --fs "Security Auditor View"
SETUP_EXTRA_OPTS: --issue-template "Prioritized High Risk Issue Template"