-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.46 KB
/
fortify.yml
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
# @scf-option {"processors": []}
name: Fortify
on:
push:
branches: [main]
jobs:
fortify:
runs-on: [self-hosted, devsecops]
name: Fortify
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout Application & Version Action
run: git clone [email protected]:grupoboticario/fortify-action-api.git .github/fortify-action-api
- name: Checkout SAST Assessment Action
run: git clone [email protected]:grupoboticario/fortify-action-sast.git .github/fortify-action-sast
- name: Import Secrets
uses: hashicorp/[email protected]
with:
url: https://heimdall.grupoboticario.digital
token: ${{ secrets.FORTIFY_VAULT_TOKEN }}
secrets: |
fortify/secrets/gbaction userf ;
fortify/secrets/gbaction citoken ;
fortify/secrets/gbaction scancentral
- name: Create Application & Version
uses: ./.github/fortify-action-api
id: fortify_api
with:
api_credentials: "${{ env.USERF }}"
application_name: "${{ github.repository }}"
application_version: "main"
- name: SAST
uses: ./.github/fortify-action-sast
id: SAST
with:
application_name: "${{ github.repository }}"
application_version: "main"
client_token: "${{ env.SCANCENTRAL }}"
ci_token: "${{ env.CITOKEN }}"
language_profile: other