From 953d518bf3f8816fe5499d7a1aaeb8fa74df61e9 Mon Sep 17 00:00:00 2001 From: Prowler Bot Date: Fri, 8 Aug 2025 09:41:08 +0200 Subject: [PATCH] fix(ui): assume role fields shown (#8485) Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com> Co-authored-by: Pablo Lara --- ui/CHANGELOG.md | 9 +++++++++ .../aws/credentials-type/aws-role-credentials-form.tsx | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index 3b770c466a..ecb3820595 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -12,6 +12,15 @@ All notable changes to the **Prowler UI** are documented in this file. ### ❌ Removed + +--- + +## [1.10.1] (Prowler v5.10.1) + +### 🐞 Fixed + +- Field for `Assume Role` in AWS role credentials form shown again [(#8484)](https://github.com/prowler-cloud/prowler/pull/8484) + --- ## [1.10.0] (Prowler v5.10.0) diff --git a/ui/components/providers/workflow/forms/select-credentials-type/aws/credentials-type/aws-role-credentials-form.tsx b/ui/components/providers/workflow/forms/select-credentials-type/aws/credentials-type/aws-role-credentials-form.tsx index b47c627ec7..1ea90d7c2a 100644 --- a/ui/components/providers/workflow/forms/select-credentials-type/aws/credentials-type/aws-role-credentials-form.tsx +++ b/ui/components/providers/workflow/forms/select-credentials-type/aws/credentials-type/aws-role-credentials-form.tsx @@ -35,7 +35,9 @@ export const AWSRoleCredentialsForm = ({ }); const [showOptionalRole, setShowOptionalRole] = useState(false); const showRoleSection = - (isCloudEnv && credentialsType === "aws-sdk-default") || showOptionalRole; + type === "providers" || + (isCloudEnv && credentialsType === "aws-sdk-default") || + showOptionalRole; return ( <>