Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OKTA-729786: add snyk scan #413

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 2.1

orbs:
python: circleci/[email protected]
platform-helpers-general: okta/[email protected]

jobs:
build_and_test:
Expand All @@ -20,7 +21,23 @@ jobs:
- run:
name: Run Integration Tests
command: pytest tests/integration
snyk-scan:
docker:
- image: cimg/python:3.10
steps:
- attach_workspace: # Allows for sharing of build-workspace (containing downloaded dependencies) (optional)
at: ~/project # This is the working directory for CCI containers, change if necessary
- checkout # Might not need this if you have "persist_to_workspace" and "attach_workspace"
- run: | # Might not need this if you have "persist_to_workspace" and "attach_workspace"
pip install -r requirements.txt
- platform-helpers-general/step-run-snyk-monitor:
scan-all-projects: true
skip-unresolved: false
workflows:
"Circle CI Tests":
jobs:
- build_and_test
- snyk-scan:
context:
- static-analysis
name: execute-snyk
Loading