Skip to content

Commit

Permalink
Adds check-dependencies command using safety
Browse files Browse the repository at this point in the history
  • Loading branch information
karlbrown-va committed Oct 11, 2024
1 parent 29f89bf commit 97b0e13
Show file tree
Hide file tree
Showing 4 changed files with 889 additions and 249 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ unit-test: $(INSTALL_STAMP) ## Run python unit tests
test: unit-test format-check lint ## Run unit tests, static analysis
@echo "All tests passed." # This should only be printed if all of the other targets succeed

.PHONY: check-dependencies
check-dependencies: $(INSTALL_STAMP) ## check dependencies for vulnerabilities
# 22 Aug 2024: 70612 vulnerability found with jinja2 version 3.1.4. At this time, all versions of jinja2 are affected, but vulnerability is being disputed. https://nvd.nist.gov/vuln/detail/CVE-2019-8341
"$(POETRY)" run safety check -r poetry.lock --full-report -i 70612

.PHONY: clean
clean: ## Delete any directories, files or logs that are auto-generated
rm -rf results
Expand Down
Loading

0 comments on commit 97b0e13

Please sign in to comment.