From 2e9a74f6092aab4e362c9ec31416c80da944b970 Mon Sep 17 00:00:00 2001 From: Nacho Rivera Date: Mon, 5 Jun 2023 08:39:59 +0200 Subject: [PATCH] fix(README): add references to tenant-id when browser auth (#2439) --- README.md | 2 +- docs/getting-started/requirements.md | 2 +- docs/tutorials/azure/authentication.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 72296365..9d6e335f 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ export AZURE_CLIENT_SECRET="XXXXXXX" If you try to execute Prowler with the `--sp-env-auth` flag and those variables are empty or not exported, the execution is going to fail. ### AZ CLI / Browser / Managed Identity authentication -The other three cases do not need additional configuration, `--az-cli-auth` and `--managed-identity-auth` are automated options, `--browser-auth` needs the user to authenticate using the default browser to start the scan. +The other three cases do not need additional configuration, `--az-cli-auth` and `--managed-identity-auth` are automated options, `--browser-auth` needs the user to authenticate using the default browser to start the scan. Also `--browser-auth` needs the tenant id to be specified with `--tenant-id`. ### Permissions diff --git a/docs/getting-started/requirements.md b/docs/getting-started/requirements.md index 07d4ef33..792ec901 100644 --- a/docs/getting-started/requirements.md +++ b/docs/getting-started/requirements.md @@ -52,7 +52,7 @@ export AZURE_CLIENT_SECRET="XXXXXXX" If you try to execute Prowler with the `--sp-env-auth` flag and those variables are empty or not exported, the execution is going to fail. ### AZ CLI / Browser / Managed Identity authentication -The other three cases does not need additional configuration, `--az-cli-auth` and `--managed-identity-auth` are automated options, `--browser-auth` needs the user to authenticate using the default browser to start the scan. +The other three cases does not need additional configuration, `--az-cli-auth` and `--managed-identity-auth` are automated options. To use `--browser-auth` the user needs to authenticate against Azure using the default browser to start the scan, also `tenant-id` is required. ### Permissions diff --git a/docs/tutorials/azure/authentication.md b/docs/tutorials/azure/authentication.md index a7c398f1..c7bfda30 100644 --- a/docs/tutorials/azure/authentication.md +++ b/docs/tutorials/azure/authentication.md @@ -18,7 +18,7 @@ prowler azure --sp-env-auth prowler azure --az-cli-auth # To use browser authentication -prowler azure --browser-auth +prowler azure --browser-auth --tenant-id "XXXXXXXX" # To use managed identity auth prowler azure --managed-identity-auth