mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Merge pull request #346 from GSA/stvnrlly/gh-artifacts
Create simpler compliance artifacts
This commit is contained in:
12
.github/workflows/daily_checks.yml
vendored
12
.github/workflows/daily_checks.yml
vendored
@@ -30,6 +30,11 @@ jobs:
|
|||||||
- uses: pypa/gh-action-pip-audit@v1.0.6
|
- uses: pypa/gh-action-pip-audit@v1.0.6
|
||||||
with:
|
with:
|
||||||
inputs: requirements.txt
|
inputs: requirements.txt
|
||||||
|
- name: Upload pip-audit artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: pip-audit-report
|
||||||
|
path: /tmp/pip-audit-output.txt
|
||||||
|
|
||||||
static-scan:
|
static-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -39,7 +44,12 @@ jobs:
|
|||||||
- name: Install bandit
|
- name: Install bandit
|
||||||
run: pip install bandit
|
run: pip install bandit
|
||||||
- name: Run scan
|
- name: Run scan
|
||||||
run: bandit -r app/ --confidence-level medium
|
run: bandit -r app/ -f txt -o /tmp/bandit-output.txt --confidence-level medium
|
||||||
|
- name: Upload bandit artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: bandit-report
|
||||||
|
path: /tmp/bandit-output.txt
|
||||||
|
|
||||||
dynamic-scan:
|
dynamic-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user