diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index a3ba578082..629b18aaec 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -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 diff --git a/ui/types/formSchemas.ts b/ui/types/formSchemas.ts index 3fc096d03d..b0c64dfa24 100644 --- a/ui/types/formSchemas.ts +++ b/ui/types/formSchemas.ts @@ -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(),