Skip to content

Commit

Permalink
πŸ›πŸŽ¨ Fix backenderror name injection (ITISFoundation#6064)
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis authored Jul 16, 2024
1 parent 017affa commit 850c52b
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 499 deletions.
1 change: 1 addition & 0 deletions services/api-server/requirements/_base.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fastapi[all]
httpx
orjson
packaging
parse
pydantic[dotenv]
pyyaml
tenacity
Expand Down
357 changes: 12 additions & 345 deletions services/api-server/requirements/_base.txt

Large diffs are not rendered by default.

139 changes: 22 additions & 117 deletions services/api-server/requirements/_test.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,23 @@
aiohttp==3.9.3
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# aioresponses
# via aioresponses
aioresponses==0.7.6
# via -r requirements/_test.in
aiosignal==1.3.1
# via
# -c requirements/_base.txt
# aiohttp
# via aiohttp
alembic==1.13.1
# via
# -c requirements/_base.txt
# -r requirements/_test.in
anyio==4.3.0
# via
# -c requirements/_base.txt
# httpx
# via httpx
asgi-lifespan==2.1.0
# via -r requirements/_test.in
async-timeout==4.0.3
# via
# -c requirements/_base.txt
# aiohttp
# via aiohttp
attrs==23.2.0
# via
# -c requirements/_base.txt
# aiohttp
# jschema-to-python
# jsonschema
# pytest-docker
# sarif-om
aws-sam-translator==1.55.0
# via
# -c requirements/./constraints.txt
# cfn-lint
# via cfn-lint
aws-xray-sdk==2.13.0
# via moto
boto3==1.34.98
Expand All @@ -53,51 +36,36 @@ botocore-stubs==1.34.94
# via boto3-stubs
certifi==2024.2.2
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# httpcore
# httpx
# requests
cffi==1.16.0
# via
# -c requirements/_base.txt
# cryptography
# via cryptography
cfn-lint==0.72.0
# via
# -c requirements/./constraints.txt
# moto
# via moto
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# -c requirements/_base.txt
# -r requirements/_test.in
# flask
# via flask
coverage==7.5.1
# via pytest-cov
cryptography==42.0.5
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# moto
# python-jose
# sshpubkeys
docker==7.1.0
# via
# -r requirements/_test.in
# moto
# via moto
ecdsa==0.19.0
# via
# moto
# python-jose
# sshpubkeys
exceptiongroup==1.2.0
# via
# -c requirements/_base.txt
# anyio
# pytest
faker==25.0.1
# via -r requirements/_test.in
flask==2.1.3
# via
# flask-cors
Expand All @@ -106,31 +74,20 @@ flask-cors==4.0.1
# via moto
frozenlist==1.4.1
# via
# -c requirements/_base.txt
# aiohttp
# aiosignal
graphql-core==3.2.3
# via moto
greenlet==3.0.3
# via
# -c requirements/_base.txt
# sqlalchemy
# via sqlalchemy
h11==0.14.0
# via
# -c requirements/_base.txt
# httpcore
# via httpcore
httpcore==1.0.5
# via
# -c requirements/_base.txt
# httpx
# via httpx
httpx==0.27.0
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# respx
# via respx
idna==3.6
# via
# -c requirements/_base.txt
# anyio
# httpx
# moto
Expand All @@ -139,13 +96,9 @@ idna==3.6
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
# via
# -c requirements/_base.txt
# flask
# via flask
jinja2==3.1.3
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# flask
# moto
jmespath==1.0.1
Expand All @@ -163,35 +116,24 @@ jsonpickle==3.0.4
jsonpointer==2.4
# via jsonpatch
jsonref==1.1.0
# via -r requirements/_test.in
jsonschema==3.2.0
# via
# -c requirements/_base.txt
# -c requirements/./constraints.txt
# aws-sam-translator
# cfn-lint
# openapi-schema-validator
# openapi-spec-validator
junit-xml==1.9
# via cfn-lint
mako==1.3.2
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# alembic
# via alembic
markupsafe==2.1.5
# via
# -c requirements/_base.txt
# jinja2
# mako
# moto
moto==4.0.1
# via
# -c requirements/./constraints.txt
# -r requirements/_test.in
multidict==6.0.5
# via
# -c requirements/_base.txt
# aiohttp
# yarl
mypy==1.10.0
Expand All @@ -203,13 +145,9 @@ networkx==2.8.8
openapi-schema-validator==0.2.3
# via openapi-spec-validator
openapi-spec-validator==0.4.0
# via
# -c requirements/./constraints.txt
# moto
# via moto
packaging==24.0
# via
# -c requirements/_base.txt
# pytest
# via pytest
pbr==6.0.0
# via
# jschema-to-python
Expand All @@ -221,41 +159,25 @@ pyasn1==0.6.0
# python-jose
# rsa
pycparser==2.22
# via
# -c requirements/_base.txt
# cffi
# via cffi
pyinstrument==4.6.2
# via
# -c requirements/_base.txt
# -r requirements/_test.in
pyparsing==3.1.2
# via moto
pyrsistent==0.20.0
# via
# -c requirements/_base.txt
# jsonschema
# via jsonschema
pytest==8.2.0
# via
# -r requirements/_test.in
# pytest-asyncio
# pytest-cov
# pytest-docker
# pytest-mock
pytest-asyncio==0.21.2
# via
# -c requirements/../../../requirements/constraints.txt
# -r requirements/_test.in
pytest-cov==5.0.0
# via -r requirements/_test.in
pytest-docker==3.1.1
# via -r requirements/_test.in
pytest-mock==3.14.0
# via -r requirements/_test.in
pytest-runner==6.0.1
# via -r requirements/_test.in
python-dateutil==2.9.0.post0
# via
# -c requirements/_base.txt
# botocore
# faker
# moto
Expand All @@ -265,8 +187,6 @@ pytz==2024.1
# via moto
pyyaml==6.0.1
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# cfn-lint
# moto
# openapi-spec-validator
Expand All @@ -279,40 +199,30 @@ requests==2.32.2
responses==0.25.0
# via moto
respx==0.21.1
# via -r requirements/_test.in
rsa==4.9
# via
# -c requirements/../../../requirements/constraints.txt
# python-jose
# via python-jose
s3transfer==0.10.1
# via boto3
sarif-om==1.0.4
# via cfn-lint
setuptools==69.2.0
# via
# -c requirements/_base.txt
# jsonschema
# moto
# openapi-spec-validator
six==1.16.0
# via
# -c requirements/_base.txt
# ecdsa
# jsonschema
# junit-xml
# python-dateutil
sniffio==1.3.1
# via
# -c requirements/_base.txt
# anyio
# asgi-lifespan
# httpx
sqlalchemy==1.4.52
# via
# -c requirements/../../../requirements/constraints.txt
# -c requirements/_base.txt
# -r requirements/_test.in
# alembic
# via alembic
sqlalchemy2-stubs==0.0.2a38
# via sqlalchemy
sshpubkeys==3.3.1
Expand All @@ -325,20 +235,17 @@ tomli==2.0.1
types-awscrt==0.20.9
# via botocore-stubs
types-boto3==1.0.2
# via -r requirements/_test.in
types-s3transfer==0.10.1
# via boto3-stubs
typing-extensions==4.10.0
# via
# -c requirements/_base.txt
# alembic
# anyio
# boto3-stubs
# mypy
# sqlalchemy2-stubs
urllib3==2.2.1
# via
# -c requirements/../../../requirements/constraints.txt
# botocore
# docker
# requests
Expand All @@ -352,6 +259,4 @@ wrapt==1.16.0
xmltodict==0.13.0
# via moto
yarl==1.9.4
# via
# -c requirements/_base.txt
# aiohttp
# via aiohttp
Loading

0 comments on commit 850c52b

Please sign in to comment.