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

add bandit tests to app #39

Merged
merged 1 commit into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ set -euo pipefail
shopt -s inherit_errexit

src/dev set-up-environment
bandit -r kibana_cf_auth_proxy
src/dev test
21 changes: 19 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=dev-requirements.txt pip-tools/dev-requirements.in
# ./dev update-requirements
#
attrs==20.3.0
# via pytest
bandit==1.7.0
# via -r pip-tools/dev-requirements.in
cachelib==0.1.1
# via
# -r pip-tools/../requirements.txt
Expand Down Expand Up @@ -35,6 +37,10 @@ flask==1.1.2
# via
# -r pip-tools/../requirements.txt
# flask-session
gitdb==4.0.7
# via gitpython
gitpython==3.1.14
# via bandit
greenlet==1.0.0
# via playwright
gunicorn==20.0.4
Expand All @@ -48,6 +54,7 @@ importlib-metadata==3.7.3
# pep517
# pluggy
# pytest
# stevedore
iniconfig==1.1.1
# via pytest
itsdangerous==1.1.0
Expand All @@ -68,6 +75,8 @@ marshmallow==3.10.0
# environs
packaging==20.9
# via pytest
pbr==5.5.1
# via stevedore
pep517==0.10.0
# via pip-tools
pip-tools==6.0.1
Expand Down Expand Up @@ -104,6 +113,8 @@ python-dotenv==0.15.0
# via
# -r pip-tools/../requirements.txt
# environs
pyyaml==5.4.1
# via bandit
redis==3.5.3
# via -r pip-tools/../requirements.txt
requests-mock==1.8.0
Expand All @@ -114,7 +125,13 @@ requests==2.25.1
# pytest-base-url
# requests-mock
six==1.15.0
# via requests-mock
# via
# bandit
# requests-mock
smmap==4.0.0
# via gitdb
stevedore==3.3.0
# via bandit
toml==0.10.2
# via
# pep517
Expand Down
1 change: 1 addition & 0 deletions pip-tools/dev-requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-r ../requirements.txt
bandit
pip-tools
playwright
pyotp
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements.txt pip-tools/requirements.in
# ./dev update-requirements
#
cachelib==0.1.1
# via flask-session
Expand Down