Compare commits

..

4 Commits

Author SHA1 Message Date
Prowler Bot
9b0b0f4d7d fix(azure): remove duplicated findings in entra_user_with_vm_access_has_mfa (#9916)
Co-authored-by: Hugo Pereira Brito <101209179+HugoPBrito@users.noreply.github.com>
2026-01-29 13:42:05 +01:00
Prowler Bot
448840ff0d docs: Update version to v5.17.1 (#9889)
Co-authored-by: prowler-bot <179230569+prowler-bot@users.noreply.github.com>
2026-01-26 17:32:29 +01:00
Prowler Bot
3582b5ae48 chore(release): Bump version to v5.17.2 (#9887)
Co-authored-by: prowler-bot <179230569+prowler-bot@users.noreply.github.com>
2026-01-26 17:32:10 +01:00
Prowler Bot
d9331ddf11 chore(api): Bump version to v1.18.2 (#9888)
Co-authored-by: prowler-bot <179230569+prowler-bot@users.noreply.github.com>
2026-01-26 17:31:38 +01:00
7 changed files with 13 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ name = "prowler-api"
package-mode = false
# Needed for the SDK compatibility
requires-python = ">=3.11,<3.13"
version = "1.18.1"
version = "1.18.2"
[project.scripts]
celery = "src.backend.config.settings.celery"

View File

@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Prowler API
version: 1.18.1
version: 1.18.2
description: |-
Prowler API specification.

View File

@@ -382,7 +382,7 @@ class SchemaView(SpectacularAPIView):
def get(self, request, *args, **kwargs):
spectacular_settings.TITLE = "Prowler API"
spectacular_settings.VERSION = "1.18.1"
spectacular_settings.VERSION = "1.18.2"
spectacular_settings.DESCRIPTION = (
"Prowler API specification.\n\nThis file is auto-generated."
)

View File

@@ -115,8 +115,8 @@ To update the environment file:
Edit the `.env` file and change version values:
```env
PROWLER_UI_VERSION="5.17.0"
PROWLER_API_VERSION="5.17.0"
PROWLER_UI_VERSION="5.17.1"
PROWLER_API_VERSION="5.17.1"
```
<Note>

View File

@@ -38,7 +38,7 @@ class _MutableTimestamp:
timestamp = _MutableTimestamp(datetime.today())
timestamp_utc = _MutableTimestamp(datetime.now(timezone.utc))
prowler_version = "5.17.1"
prowler_version = "5.17.2"
html_logo_url = "https://github.com/prowler-cloud/prowler/"
square_logo_img = "https://raw.githubusercontent.com/prowler-cloud/prowler/dc7d2d5aeb92fdf12e8604f42ef6472cd3e8e889/docs/img/prowler-logo-black.png"
aws_logo = "https://user-images.githubusercontent.com/38561120/235953920-3e3fba08-0795-41dc-b480-9bea57db9f2e.png"

View File

@@ -15,6 +15,7 @@ from prowler.providers.azure.services.iam.iam_client import iam_client
class entra_user_with_vm_access_has_mfa(Check):
def execute(self) -> Check_Report_Azure:
findings = []
already_reported = set()
for users in entra_client.users.values():
for user in users.values():
@@ -22,6 +23,9 @@ class entra_user_with_vm_access_has_mfa(Check):
subscription_name,
role_assigns,
) in iam_client.role_assignments.items():
if (user.id, subscription_name) in already_reported:
continue
for assignment in role_assigns.values():
if (
assignment.agent_type == "User"
@@ -48,5 +52,7 @@ class entra_user_with_vm_access_has_mfa(Check):
report.status_extended = f"User {user.name} can access VMs in subscription {subscription_name} but it has MFA."
findings.append(report)
already_reported.add((user.id, subscription_name))
break
return findings

View File

@@ -91,7 +91,7 @@ maintainers = [{name = "Prowler Engineering", email = "engineering@prowler.com"}
name = "prowler"
readme = "README.md"
requires-python = ">3.9.1,<3.13"
version = "5.17.1"
version = "5.17.2"
[project.scripts]
prowler = "prowler.__main__:prowler"