API Security Audit #970
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
name: API Security Audit | |
on: | |
schedule: | |
- cron: 0 8 * * * | |
defaults: | |
run: | |
working-directory: api | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
name: API Security Audit | |
steps: | |
- name: Cloning repo | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
# Ignore CVE-2023-6129 as per https://github.com/pyca/pyopenssl/issues/1300 | |
- name: Run Audit | |
run: | | |
make install | |
poetry self add poetry-audit-plugin==0.4.0 | |
poetry audit --ignore-code=CVE-2023-6129 |