mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix: AWS I AM role validation when field is empty (#7805)
Co-authored-by: sumit-tft <70506234+sumit-tft@users.noreply.github.com> Co-authored-by: Pablo Lara <larabjj@gmail.com>
This commit is contained in:
@@ -4,7 +4,12 @@ All notable changes to the **Prowler UI** are documented in this file.
|
||||
|
||||
## [v1.8.0] (Prowler v5.8.0) – Not released
|
||||
|
||||
### 🐞 Fixes
|
||||
|
||||
- Added validation to AWS IAM role. [(#7787)](https://github.com/prowler-cloud/prowler/pull/7787)
|
||||
|
||||
---
|
||||
|
||||
## [v1.7.0] (Prowler v5.7.0)
|
||||
|
||||
### 🚀 Added
|
||||
|
||||
@@ -155,7 +155,7 @@ export const addCredentialsRoleFormSchema = (providerType: string) =>
|
||||
.object({
|
||||
providerId: z.string(),
|
||||
providerType: z.string(),
|
||||
role_arn: z.string().optional(),
|
||||
role_arn: z.string().nonempty("AWS Role ARN is required"),
|
||||
external_id: z.string().optional(),
|
||||
aws_access_key_id: z.string().optional(),
|
||||
aws_secret_access_key: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user