diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml index 4372775ee..30e2c041b 100644 --- a/.github/workflows/snyk.yaml +++ b/.github/workflows/snyk.yaml @@ -12,12 +12,21 @@ permissions: jobs: security: + strategy: + matrix: + python-version: [3.9] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install All Requirements + run: make install - name: Run Snyk to check for vulnerabilities uses: snyk/actions/python-3.9@master env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - args: --severity-threshold=high \ No newline at end of file + args: --all-projects --detection-depth=5 --severity-threshold=high diff --git a/Makefile b/Makefile index 1bdaf935d..d13914338 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ venv: @python3 -m venv "venv" @/bin/bash -c "source venv/bin/activate" -install: upgrade-pip install-deploy install-backend install-cdkproxy install-tests +install: upgrade-pip install-deploy install-backend install-cdkproxy install-tests install-integration-tests install-custom-auth install-userguide upgrade-pip: pip install --upgrade pip setuptools @@ -36,6 +36,12 @@ install-tests: install-integration-tests: pip install -r tests_new/integration_tests/requirements.txt +install-custom-auth: + pip install -r deploy/custom_resources/custom_authorizer/requirements.txt + +install-userguide: + pip install -r documentation/userguide/requirements.txt + lint: pip install ruff ruff check --fix