From e778444d1d6c75b573cc39da7a6f13ef2d507ac7 Mon Sep 17 00:00:00 2001 From: Sergio Garcia <38561120+sergargar@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:36:19 -0500 Subject: [PATCH] fix(PyPi): solve detect-secrets dependency (#5514) --- poetry.lock | 6 +++--- prowler/lib/utils/utils.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index db5f0c48d8..8dbfee4f11 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3159,8 +3159,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.22.4", markers = "python_version < \"3.11\""}, - {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, {version = ">=1.23.2", markers = "python_version == \"3.11\""}, + {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -3662,8 +3662,8 @@ astroid = ">=3.3.4,<=3.4.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, + {version = ">=0.3.6", markers = "python_version >= \"3.11\""}, {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, - {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, ] isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" mccabe = ">=0.6,<0.8" @@ -5072,4 +5072,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "0b367fa80501022efe43dc1beaa7f3da278fb64ffaddece72a0e88b09a0e53a2" +content-hash = "f99a8859e7618ddc32babfd9b742ee8f8cc4520c274e245b358a0df252d56ee6" diff --git a/prowler/lib/utils/utils.py b/prowler/lib/utils/utils.py index d49ac3341e..dbc735f293 100644 --- a/prowler/lib/utils/utils.py +++ b/prowler/lib/utils/utils.py @@ -121,7 +121,7 @@ def detect_secrets_scan( {"name": "HexHighEntropyString", "limit": 3.0}, {"name": "IbmCloudIamDetector"}, {"name": "IbmCosHmacDetector"}, - {"name": "IPPublicDetector"}, + # {"name": "IPPublicDetector"}, https://github.com/Yelp/detect-secrets/pull/885 {"name": "JwtTokenDetector"}, {"name": "KeywordDetector"}, {"name": "MailchimpDetector"}, @@ -134,7 +134,7 @@ def detect_secrets_scan( {"name": "SoftlayerDetector"}, {"name": "SquareOAuthDetector"}, {"name": "StripeDetector"}, - {"name": "TelegramBotTokenDetector"}, + # {"name": "TelegramBotTokenDetector"}, https://github.com/Yelp/detect-secrets/pull/878 {"name": "TwilioKeyDetector"}, ], "filters_used": [ diff --git a/pyproject.toml b/pyproject.toml index 22c0ba71bf..7327862a0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ colorama = "0.4.6" cryptography = "43.0.1" dash = "2.18.1" dash-bootstrap-components = "1.6.0" -detect-secrets = {git = "https://github.com/Yelp/detect-secrets.git", rev = "master"} +detect-secrets = "1.5.0" google-api-python-client = "2.147.0" google-auth-httplib2 = ">=0.1,<0.3" jsonschema = "4.23.0"