Skip to content

Commit

Permalink
OKTA-729786: add snyk scan (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanapellanes-okta authored Jul 15, 2024
1 parent 882791c commit 7ffe66f
Showing 1 changed file with 17 additions and 0 deletions.
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

0 comments on commit 7ffe66f

Please sign in to comment.