chore(api): enhance m365 user auth deprecation (#8913)

Co-authored-by: Víctor Fernández Poyatos <victor@prowler.com>
This commit is contained in:
Hugo Pereira Brito
2025-10-15 15:41:40 +02:00
committed by GitHub
parent f70a959a49
commit 8773751779
2 changed files with 41 additions and 73 deletions
+32 -56
View File
@@ -12010,20 +12010,22 @@ components:
type: string
description: The Azure application (client) ID for authentication
in Azure AD.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
tenant_id:
type: string
description: The Azure tenant ID, representing the directory
where the application is registered.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
user:
type: email
description: 'Deprecated: User microsoft email address.'
description: User microsoft email address.
deprecated: true
password:
type: string
description: 'Deprecated: User password.'
description: User password.
deprecated: true
required:
- client_id
- client_secret
@@ -12045,18 +12047,10 @@ components:
type: string
description: The certificate content in base64 format for
certificate-based authentication.
user:
type: email
description: User microsoft email address.
password:
type: string
description: User password.
required:
- client_id
- tenant_id
- certificate_content
- user
- password
- type: object
title: GCP Static Credentials
properties:
@@ -13903,20 +13897,22 @@ components:
type: string
description: The Azure application (client) ID for authentication
in Azure AD.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
tenant_id:
type: string
description: The Azure tenant ID, representing the directory where
the application is registered.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
user:
type: email
description: 'Deprecated: User microsoft email address.'
description: User microsoft email address.
deprecated: true
password:
type: string
description: 'Deprecated: User password.'
description: User password.
deprecated: true
required:
- client_id
- client_secret
@@ -13938,18 +13934,10 @@ components:
type: string
description: The certificate content in base64 format for certificate-based
authentication.
user:
type: email
description: User microsoft email address.
password:
type: string
description: User password.
required:
- client_id
- tenant_id
- certificate_content
- user
- password
- type: object
title: GCP Static Credentials
properties:
@@ -14178,20 +14166,22 @@ components:
type: string
description: The Azure application (client) ID for authentication
in Azure AD.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
tenant_id:
type: string
description: The Azure tenant ID, representing the directory
where the application is registered.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
user:
type: email
description: 'Deprecated: User microsoft email address.'
description: User microsoft email address.
deprecated: true
password:
type: string
description: 'Deprecated: User password.'
description: User password.
deprecated: true
required:
- client_id
- client_secret
@@ -14213,18 +14203,10 @@ components:
type: string
description: The certificate content in base64 format for
certificate-based authentication.
user:
type: email
description: User microsoft email address.
password:
type: string
description: User password.
required:
- client_id
- tenant_id
- certificate_content
- user
- password
- type: object
title: GCP Static Credentials
properties:
@@ -14469,20 +14451,22 @@ components:
type: string
description: The Azure application (client) ID for authentication
in Azure AD.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
tenant_id:
type: string
description: The Azure tenant ID, representing the directory where
the application is registered.
client_secret:
type: string
description: The client secret associated with the application
(client) ID, providing secure access.
user:
type: email
description: 'Deprecated: User microsoft email address.'
description: User microsoft email address.
deprecated: true
password:
type: string
description: 'Deprecated: User password.'
description: User password.
deprecated: true
required:
- client_id
- client_secret
@@ -14504,18 +14488,10 @@ components:
type: string
description: The certificate content in base64 format for certificate-based
authentication.
user:
type: email
description: User microsoft email address.
password:
type: string
description: User password.
required:
- client_id
- tenant_id
- certificate_content
- user
- password
- type: object
title: GCP Static Credentials
properties:
@@ -105,23 +105,25 @@ from rest_framework_json_api import serializers
"type": "string",
"description": "The Azure application (client) ID for authentication in Azure AD.",
},
"client_secret": {
"type": "string",
"description": "The client secret associated with the application (client) ID, providing "
"secure access.",
},
"tenant_id": {
"type": "string",
"description": "The Azure tenant ID, representing the directory where the application is "
"registered.",
},
"client_secret": {
"type": "string",
"description": "The client secret associated with the application (client) ID, providing "
"secure access.",
},
"user": {
"type": "email",
"description": "Deprecated: User microsoft email address.",
"description": "User microsoft email address.",
"deprecated": True,
},
"password": {
"type": "string",
"description": "Deprecated: User password.",
"description": "User password.",
"deprecated": True,
},
},
"required": [
@@ -149,21 +151,11 @@ from rest_framework_json_api import serializers
"type": "string",
"description": "The certificate content in base64 format for certificate-based authentication.",
},
"user": {
"type": "email",
"description": "User microsoft email address.",
},
"password": {
"type": "string",
"description": "User password.",
},
},
"required": [
"client_id",
"tenant_id",
"certificate_content",
"user",
"password",
],
},
{