diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f81c743..70e8133 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -73,8 +73,8 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - command: snyk - args: code test --exclude=.archive + command: code test + args: --all-projects --exclude=.archive - name: Snyk Vulnerability Scan uses: snyk/actions/python@master @@ -82,8 +82,8 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - command: snyk - args: test --all-projects --exclude=.archive + command: test + args: --all-projects --exclude=.archive # - name: Trivy Setup # uses: aquasecurity/setup-trivy@v0.2.0 diff --git a/app/utils/n8n.py b/app/utils/n8n.py index de74d44..42fd030 100644 --- a/app/utils/n8n.py +++ b/app/utils/n8n.py @@ -20,7 +20,7 @@ def __n8n_post(data: dict) -> bool: headers=headers, json=data, timeout=10, - verify=False, + verify=True, ) return bool(resp.status_code == 200) @@ -61,7 +61,7 @@ def get_tasks(requestor) -> bool: url=config.n8n_webhook_url, headers=headers, timeout=10, - verify=False, + verify=True, params={"requestor": requestor}, ) _data = bool(resp.status_code == 200)