fix(ui): assume role fields shown (#8484)

This commit is contained in:
Alejandro Bailo
2025-08-07 17:44:46 +02:00
committed by GitHub
parent f1ba5abbec
commit 94e60f7329
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -5,11 +5,15 @@ All notable changes to the **Prowler UI** are documented in this file.
## [1.11.0] (Prowler v5.11.0 - UNRELEASED)
### 🚀 Added
- `Cloud Provider` type filter to providers page [(#8473)](https://github.com/prowler-cloud/prowler/pull/8473)
- `Cloud Provider` type filter to providers page [(#8473)](https://github.com/prowler-cloud/prowler/pull/8473)
### 🔄 Changed
### 🐞 Fixed
- Field for `Assume Role` in AWS role credentials form shown again [(#8484)](https://github.com/prowler-cloud/prowler/pull/8484)
### ❌ Removed
---
@@ -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 (
<>