Skip to content

Commit

Permalink
Merge pull request #1376 from GSA/check-usage-SSL_free_buffers
Browse files Browse the repository at this point in the history
Check usage ssl_free_buffers
  • Loading branch information
FuhuXia committed Jun 17, 2024
2 parents db35384 + 016a039 commit 4787289
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ jobs:
- name: test_importer
run: make test-import-tool

test_vulnerability:
name: test vulnerability
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: test_vulnerability
run: make vulnerability-check

create-cloudgov-services-development:
if: github.ref == 'refs/heads/develop'
name: create services (development)
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,7 @@ harvest:
# ARGS=gather-consumer make harvest
# ARGS=fetch-consumer make harvest
docker compose exec ckan ckan harvester $(ARGS)

vulnerability-check:
# Check for no usage of SSL_free_buffers. # Details: https://github.com/GSA/data.gov/issues/4781
! docker compose run --rm -T ckan grep -riI "SSL_free_buffers" /usr/local/lib/python3.10/site-packages/ && echo "Vulnerable SSL_free_buffers is not used"

0 comments on commit 4787289

Please sign in to comment.