chore(release): update Prowler Version to 3.3.2 (#2150)

Co-authored-by: github-actions <noreply@github.com>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
Sergio Garcia
2023-03-30 11:33:33 +02:00
committed by GitHub
parent 4cce91ec97
commit e37d8fe45f
4 changed files with 9 additions and 8 deletions

6
poetry.lock generated
View File

@@ -914,14 +914,14 @@ uritemplate = ">=3.0.1,<5"
[[package]]
name = "google-auth"
version = "2.16.3"
version = "2.17.0"
description = "Google Authentication Library"
category = "main"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*"
files = [
{file = "google-auth-2.16.3.tar.gz", hash = "sha256:611779ce33a3aee265b94b74d4bb8c188f33010f5814761250a0ebbde94cc745"},
{file = "google_auth-2.16.3-py2.py3-none-any.whl", hash = "sha256:4dfcfd8ecd1cf03ddc97fddfb3b1f2973ea4f3f664aa0d8cfaf582ef9f0c60e7"},
{file = "google-auth-2.17.0.tar.gz", hash = "sha256:f51d26ebb3e5d723b9a7dbd310b6c88654ef1ad1fc35750d1fdba48ca4d82f52"},
{file = "google_auth-2.17.0-py2.py3-none-any.whl", hash = "sha256:45ba9b4b3e49406de3c5451697820694b2f6ce8a6b75bb187852fdae231dab94"},
]
[package.dependencies]

View File

@@ -11,7 +11,7 @@ from prowler.lib.logger import logger
timestamp = datetime.today()
timestamp_utc = datetime.now(timezone.utc).replace(tzinfo=timezone.utc)
prowler_version = "3.3.0"
prowler_version = "3.3.2"
html_logo_url = "https://github.com/prowler-cloud/prowler/"
html_logo_img = "https://user-images.githubusercontent.com/3985464/113734260-7ba06900-96fb-11eb-82bc-d4f68a1e2710.png"

View File

@@ -22,7 +22,7 @@ packages = [
{include = "prowler"}
]
readme = "README.md"
version = "3.3.0"
version = "3.3.2"
[tool.poetry.dependencies]
alive-progress = "3.1.0"

View File

@@ -1,6 +1,6 @@
from unittest import mock
from prowler.config.config import check_current_version, prowler_version
from prowler.config.config import check_current_version
from prowler.providers.aws.aws_provider import get_aws_available_regions
MOCK_PROWLER_VERSION = "3.3.0"
@@ -21,9 +21,10 @@ class Test_Config:
@mock.patch("prowler.config.config.prowler_version", new=MOCK_PROWLER_VERSION)
def test_check_current_version_with_latest(self):
assert (
check_current_version(prowler_version) == "(it is the latest version, yay!)"
check_current_version(MOCK_PROWLER_VERSION)
== "(it is the latest version, yay!)"
)
assert (
check_current_version("0.0.0")
== f"(latest is {prowler_version}, upgrade for the latest features)"
== f"(latest is {MOCK_PROWLER_VERSION}, upgrade for the latest features)"
)