From 1a741f7ca0e68b6832a0c75409c8d288015d8934 Mon Sep 17 00:00:00 2001 From: Nacho Rivera Date: Tue, 28 Mar 2023 10:42:47 +0200 Subject: [PATCH] fix(azure output): change default values of audit identity metadata (#2144) --- poetry.lock | 6 +++--- prowler/providers/azure/lib/audit_info/models.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 6cc63771..342fc5d1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2572,14 +2572,14 @@ files = [ [[package]] name = "types-pyyaml" -version = "6.0.12.8" +version = "6.0.12.9" description = "Typing stubs for PyYAML" category = "dev" optional = false python-versions = "*" files = [ - {file = "types-PyYAML-6.0.12.8.tar.gz", hash = "sha256:19304869a89d49af00be681e7b267414df213f4eb89634c4495fa62e8f942b9f"}, - {file = "types_PyYAML-6.0.12.8-py3-none-any.whl", hash = "sha256:5314a4b2580999b2ea06b2e5f9a7763d860d6e09cdf21c0e9561daa9cbd60178"}, + {file = "types-PyYAML-6.0.12.9.tar.gz", hash = "sha256:c51b1bd6d99ddf0aa2884a7a328810ebf70a4262c292195d3f4f9a0005f9eeb6"}, + {file = "types_PyYAML-6.0.12.9-py3-none-any.whl", hash = "sha256:5aed5aa66bd2d2e158f75dda22b059570ede988559f030cf294871d3b647e3e8"}, ] [[package]] diff --git a/prowler/providers/azure/lib/audit_info/models.py b/prowler/providers/azure/lib/audit_info/models.py index f278044c..a0ed8bc9 100644 --- a/prowler/providers/azure/lib/audit_info/models.py +++ b/prowler/providers/azure/lib/audit_info/models.py @@ -6,10 +6,10 @@ from pydantic import BaseModel class Azure_Identity_Info(BaseModel): - identity_id: str = None - identity_type: str = None + identity_id: str = "" + identity_type: str = "" tenant_ids: list[str] = [] - domain: str = None + domain: str = "" subscriptions: dict = {}