Skip to content

Commit 1997dcf

Browse files
author
Victoria Hall
committed
Only audit dependencies
1 parent bca1c55 commit 1997dcf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eng/templates/jobs/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
displayName: 'Build Python SDK for $(PYTHON_VERSION)'
3232
- bash: |
3333
pip install pip-audit
34-
# These are not part of the SDK package. setuptools is present in 2 different places
35-
pip-audit --ignore requests --ignore setuptools --ignore setuptools --ignore urllib3
34+
# Only audit dependencies of SDK
35+
pip-audit --only-reqs
3636
displayName: 'Run vulnerability scan'

eng/templates/official/jobs/build-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
displayName: 'Build Python SDK'
2929
- bash: |
3030
pip install pip-audit
31-
# These are not part of the SDK package. setuptools is present in 2 different places
32-
pip-audit --ignore requests --ignore setuptools --ignore setuptools --ignore urllib3
31+
# Only audit dependencies of SDK
32+
pip-audit --only-reqs
3333
displayName: 'Run vulnerability scan'

0 commit comments

Comments
 (0)