mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-08 12:24:45 +00:00
feat(ui): Add AWS CloudFormation Quick Link to deploy the IAM Role (#7735)
This commit is contained in:
1 parent
2ee62cca8e
commit
deec9efa97
6 files changed
+89
-47
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Select, SelectItem, Spacer } from "@nextui-org/react";
|
||||
import { Divider, Select, SelectItem, Spacer } from "@nextui-org/react";
|
||||
import { Control, UseFormSetValue, useWatch } from "react-hook-form";
|
||||
|
||||
import { CustomInput } from "@/components/ui/custom";
|
||||
@@ -89,10 +89,11 @@ export const AWSCredentialsRoleForm = ({
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Divider />
|
||||
<span className="text-xs font-bold text-default-500">Assume Role</span>
|
||||
<CredentialsRoleHelper />
|
||||
|
||||
<Spacer y={2} />
|
||||
<span className="text-xs font-bold text-default-500">Assume Role</span>
|
||||
|
||||
<CustomInput
|
||||
control={control}
|
||||
@@ -111,7 +112,7 @@ export const AWSCredentialsRoleForm = ({
|
||||
type="text"
|
||||
label="External ID"
|
||||
labelPlacement="inside"
|
||||
placeholder="Enter the External ID"
|
||||
placeholder={externalId}
|
||||
variant="bordered"
|
||||
defaultValue={externalId}
|
||||
isDisabled
|
||||
|
||||
Reference in new issue
Block a user