mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-15 07:54:21 +00:00
* feat(Backend): PRWLR-4992 add Scan db model * feat(API): PRWLR-4002 add viewset and required tools for /scans endpoint * feat(API): PRWLR-4002 improve /scans filters * feat(API): PRWLR-4002 add relationships links * feat(API): PRWLR-4002 implement POST /scan custom logic * fix(API): PRWLR-4002 fix Scan.type keyword usage * feat(API): PRWLR-4002 implement PATCH /scans * feat(API): PRWLR-4002 refactor serializers for write operations * fix(API): PRWLR-4002 fix providers on ScanSerializer * test(API): PRWLR-4002 add unit tests for /scans * feat(Backend, Test): PRWLR-4002 refactor routing and unit tests db connections * build(CI): PRWLR-4002 update CI env vars for postgres * fix(Tests): PRWLR-4002 fix close_db_connections fixture * feat(Backend, API): PRWLR-4002 apply requested changes to Scan model and filters * chore(Tests): PRWLR-4002 rename pytest fixtures * feat(Backend): PRWLR-4002 remove unique constraint from Scan model * fix(Backend, Tests): PRWLR-4002 fix db routing and migration mechanism for tests * chore(deps): PRWLR-4002 add uuid6 to poetry deps * chore(Backend): PRWLR-4002 refactor filter methods * fix(Tests): PRWLR-4002 fix wrong postgres credentials for testing * feat(API): PRWLR-4002 implement merging mechanism for Scans.scanner_args * feat(API): PRWLR-4002 implement merging mechanism for Scans.scanner_args * feat(Backend): PRWLR-4002 add indexes to Scan model * feat(Backend): PRWLR-4002 remove id index from Scan model (redundant) * feat(API): PRWLR-4002 add datetime fields to Scan serializer
52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[build-system]
|
|
build-backend = "poetry.core.masonry.api"
|
|
requires = ["poetry-core"]
|
|
|
|
[tool.poetry]
|
|
authors = ["Prowler Team"]
|
|
description = "Prowler's API (Django/DRF)"
|
|
license = "AGPL-3.0"
|
|
name = "prowler-api"
|
|
package-mode = false
|
|
version = "1.0.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
celery = {extras = ["pytest"], version = "^5.4.0"}
|
|
django = "5.0.8"
|
|
django-celery-results = "^2.5.1"
|
|
django-cors-headers = "4.4.0"
|
|
django-environ = "0.11.2"
|
|
django-filter = "24.2"
|
|
django-guid = "3.5.0"
|
|
djangorestframework = "3.15.2"
|
|
djangorestframework-jsonapi = "7.0.2"
|
|
drf-spectacular = "0.27.2"
|
|
drf-spectacular-jsonapi = "0.4.1"
|
|
gunicorn = "23.0.0"
|
|
prowler = {git = "https://github.com/prowler-cloud/prowler.git", branch = "master"}
|
|
psycopg2-binary = "2.9.9"
|
|
pytest-celery = {extras = ["redis"], version = "^1.0.1"}
|
|
# Needed for prowler compatibility
|
|
python = ">=3.11,<3.13"
|
|
uuid6 = "2024.7.10"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
bandit = "1.7.9"
|
|
coverage = "7.5.4"
|
|
docker = "7.1.0"
|
|
freezegun = "1.5.1"
|
|
mypy = "1.10.1"
|
|
pylint = "3.2.5"
|
|
pytest = "8.2.2"
|
|
pytest-cov = "5.0.0"
|
|
pytest-django = "4.8.0"
|
|
pytest-env = "1.1.3"
|
|
pytest-randomly = "3.15.0"
|
|
pytest-xdist = "3.6.1"
|
|
ruff = "0.5.0"
|
|
safety = "3.2.3"
|
|
vulture = "2.11"
|
|
|
|
[tool.poetry.scripts]
|
|
celery = "src.backend.config.settings.celery"
|