mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
feat(integrations): external links and copies changed (#8574)
This commit is contained in:
1 parent
329ac113f2
commit
06c2608a05
5 files changed
+23
-20
No files matched your search
+4
-1
@@ -6,6 +6,7 @@ import { CredentialsRoleHelper } from "@/components/providers/workflow";
|
||||
import { CustomInput } from "@/components/ui/custom";
|
||||
import { ProviderCredentialFields } from "@/lib/provider-credentials/provider-credential-fields";
|
||||
import { AWSCredentialsRole } from "@/types";
|
||||
import { IntegrationType } from "@/types/integrations";
|
||||
|
||||
export const AWSRoleCredentialsForm = ({
|
||||
control,
|
||||
@@ -13,6 +14,7 @@ export const AWSRoleCredentialsForm = ({
|
||||
externalId,
|
||||
templateLinks,
|
||||
type = "providers",
|
||||
integrationType,
|
||||
}: {
|
||||
control: Control<AWSCredentialsRole>;
|
||||
setValue: UseFormSetValue<AWSCredentialsRole>;
|
||||
@@ -23,6 +25,7 @@ export const AWSRoleCredentialsForm = ({
|
||||
terraform: string;
|
||||
};
|
||||
type?: "providers" | "integrations";
|
||||
integrationType?: IntegrationType;
|
||||
}) => {
|
||||
const isCloudEnv = process.env.NEXT_PUBLIC_IS_CLOUD_ENV === "true";
|
||||
const defaultCredentialsType = isCloudEnv
|
||||
@@ -187,7 +190,7 @@ export const AWSRoleCredentialsForm = ({
|
||||
<CredentialsRoleHelper
|
||||
externalId={externalId}
|
||||
templateLinks={templateLinks}
|
||||
type={type}
|
||||
integrationType={integrationType}
|
||||
/>
|
||||
|
||||
<Divider />
|
||||
|
||||
Reference in new issue
Block a user