From b43e6496f3d396dee1956a5fe45de65d589efa71 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:48:32 +0000 Subject: [PATCH 1/3] chore(deps): bump azure-mgmt-network from 27.0.0 to 28.0.0 Bumps [azure-mgmt-network](https://github.com/Azure/azure-sdk-for-python) from 27.0.0 to 28.0.0. - [Release notes](https://github.com/Azure/azure-sdk-for-python/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/esrp_release.md) - [Commits](https://github.com/Azure/azure-sdk-for-python/compare/azure-mgmt-network_27.0.0...azure-mgmt-network_28.0.0) --- updated-dependencies: - dependency-name: azure-mgmt-network dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3698c791155..effa71d91aa 100644 --- a/poetry.lock +++ b/poetry.lock @@ -513,13 +513,13 @@ isodate = ">=0.6.1,<1.0.0" [[package]] name = "azure-mgmt-network" -version = "27.0.0" +version = "28.0.0" description = "Microsoft Azure Network Management Client Library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "azure_mgmt_network-27.0.0-py3-none-any.whl", hash = "sha256:67295fda351fdae79d14591487009e911346adea9578bb1b04636a15e3472598"}, - {file = "azure_mgmt_network-27.0.0.tar.gz", hash = "sha256:5c1c61d8bb13ad40f788a26fd7569c1d9d60eb2e4cb19c2a1b5d9c02ae862316"}, + {file = "azure_mgmt_network-28.0.0-py3-none-any.whl", hash = "sha256:2ee23c1f2ba75752187bd7f4c3e94ad172282cbf8153694feadc7886ef88493c"}, + {file = "azure_mgmt_network-28.0.0.tar.gz", hash = "sha256:40356d348ef4838324f19a41cd80340b4f8dd4ac2f0a18a4cbd5cc95ef2974f3"}, ] [package.dependencies] @@ -5852,4 +5852,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "3d245d541604a9c5629b8d8b822e41907cebff85a228d1b3b0b1fdfe61c4aa08" +content-hash = "a48c391942b1291573c832db4ca12e743a1c5585f2ae9f6f1cdf8707dba5c9e7" diff --git a/pyproject.toml b/pyproject.toml index 122cb8d94df..feb6bc0fcf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ azure-mgmt-containerservice = "32.1.0" azure-mgmt-cosmosdb = "9.6.0" azure-mgmt-keyvault = "10.3.1" azure-mgmt-monitor = "6.0.2" -azure-mgmt-network = "27.0.0" +azure-mgmt-network = "28.0.0" azure-mgmt-rdbms = "10.1.0" azure-mgmt-resource = "23.2.0" azure-mgmt-security = "7.0.0" From 4425e30b27cf2d3fa6a7a64f9d78ee1776aae264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20De=20la=20Torre=20Vico?= Date: Tue, 12 Nov 2024 15:51:11 +0100 Subject: [PATCH 2/3] fix(network): fix broken models imports --- .../network_flow_log_captured_sent_test.py | 2 +- .../network_flow_log_more_than_90_days_test.py | 2 +- .../network_http_internet_access_restricted_test.py | 2 +- .../network_rdp_internet_access_restricted_test.py | 2 +- .../network_ssh_internet_access_restricted_test.py | 2 +- .../network_udp_internet_access_restricted_test.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/providers/azure/services/network/network_flow_log_captured_sent/network_flow_log_captured_sent_test.py b/tests/providers/azure/services/network/network_flow_log_captured_sent/network_flow_log_captured_sent_test.py index e33d6af3ca7..5506fa77409 100644 --- a/tests/providers/azure/services/network/network_flow_log_captured_sent/network_flow_log_captured_sent_test.py +++ b/tests/providers/azure/services/network/network_flow_log_captured_sent/network_flow_log_captured_sent_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import FlowLog, RetentionPolicyParameters +from azure.mgmt.network.models import FlowLog, RetentionPolicyParameters from prowler.providers.azure.services.network.network_service import NetworkWatcher from tests.providers.azure.azure_fixtures import AZURE_SUBSCRIPTION_ID diff --git a/tests/providers/azure/services/network/network_flow_log_more_than_90_days/network_flow_log_more_than_90_days_test.py b/tests/providers/azure/services/network/network_flow_log_more_than_90_days/network_flow_log_more_than_90_days_test.py index 48ba89e9c21..c27b02de798 100644 --- a/tests/providers/azure/services/network/network_flow_log_more_than_90_days/network_flow_log_more_than_90_days_test.py +++ b/tests/providers/azure/services/network/network_flow_log_more_than_90_days/network_flow_log_more_than_90_days_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import FlowLog, RetentionPolicyParameters +from azure.mgmt.network.models import FlowLog, RetentionPolicyParameters from prowler.providers.azure.services.network.network_service import NetworkWatcher from tests.providers.azure.azure_fixtures import ( diff --git a/tests/providers/azure/services/network/network_http_internet_access_restricted/network_http_internet_access_restricted_test.py b/tests/providers/azure/services/network/network_http_internet_access_restricted/network_http_internet_access_restricted_test.py index f35ba9bd1e4..082e96e1b97 100644 --- a/tests/providers/azure/services/network/network_http_internet_access_restricted/network_http_internet_access_restricted_test.py +++ b/tests/providers/azure/services/network/network_http_internet_access_restricted/network_http_internet_access_restricted_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import SecurityRule +from azure.mgmt.network.models import SecurityRule from prowler.providers.azure.services.network.network_service import SecurityGroup from tests.providers.azure.azure_fixtures import ( diff --git a/tests/providers/azure/services/network/network_rdp_internet_access_restricted/network_rdp_internet_access_restricted_test.py b/tests/providers/azure/services/network/network_rdp_internet_access_restricted/network_rdp_internet_access_restricted_test.py index 7dabf2cc069..ce032041586 100644 --- a/tests/providers/azure/services/network/network_rdp_internet_access_restricted/network_rdp_internet_access_restricted_test.py +++ b/tests/providers/azure/services/network/network_rdp_internet_access_restricted/network_rdp_internet_access_restricted_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import SecurityRule +from azure.mgmt.network.models import SecurityRule from prowler.providers.azure.services.network.network_service import SecurityGroup from tests.providers.azure.azure_fixtures import ( diff --git a/tests/providers/azure/services/network/network_ssh_internet_access_restricted/network_ssh_internet_access_restricted_test.py b/tests/providers/azure/services/network/network_ssh_internet_access_restricted/network_ssh_internet_access_restricted_test.py index bb904a887b1..5070e7c29b6 100644 --- a/tests/providers/azure/services/network/network_ssh_internet_access_restricted/network_ssh_internet_access_restricted_test.py +++ b/tests/providers/azure/services/network/network_ssh_internet_access_restricted/network_ssh_internet_access_restricted_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import SecurityRule +from azure.mgmt.network.models import SecurityRule from prowler.providers.azure.services.network.network_service import SecurityGroup from tests.providers.azure.azure_fixtures import ( diff --git a/tests/providers/azure/services/network/network_udp_internet_access_restricted/network_udp_internet_access_restricted_test.py b/tests/providers/azure/services/network/network_udp_internet_access_restricted/network_udp_internet_access_restricted_test.py index 5fa1d0ba644..f6c7a68f13d 100644 --- a/tests/providers/azure/services/network/network_udp_internet_access_restricted/network_udp_internet_access_restricted_test.py +++ b/tests/providers/azure/services/network/network_udp_internet_access_restricted/network_udp_internet_access_restricted_test.py @@ -1,7 +1,7 @@ from unittest import mock from uuid import uuid4 -from azure.mgmt.network.models._models import SecurityRule +from azure.mgmt.network.models import SecurityRule from prowler.providers.azure.services.network.network_service import SecurityGroup from tests.providers.azure.azure_fixtures import ( From cbb117507c96eb671d4ba17f9a6865cfdf8af866 Mon Sep 17 00:00:00 2001 From: Sergio Date: Tue, 12 Nov 2024 11:46:20 -0500 Subject: [PATCH 3/3] fix: poetry lock --- poetry.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index cd0783fdc52..a67ffe6b867 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "about-time" @@ -5852,4 +5852,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "b69006f39bcc5ff5ea4adfbceddf680bffa7c4c2b986116c2cad83c239d34fab" +content-hash = "c83e988e38e7ee08370f3e25f32b5a98b06989e5f743a2cbbf49b1406ecb80a8"