feat(integrations): Add AWS Secrets Manager IAM Role + Region (#2778)

This commit is contained in:
McPizza
2024-11-23 00:04:33 +01:00
committed by GitHub
parent 64bfa4f334
commit a692148597
4 changed files with 76 additions and 1 deletions
@@ -57,6 +57,9 @@ export type TIntegration = {
shouldMaskSecrets?: boolean;
shouldProtectSecrets?: boolean;
shouldEnableDelete?: boolean;
awsIamRole?: string;
region?: string;
};
};
@@ -26,7 +26,9 @@ const metadataMappings: Record<keyof NonNullable<TIntegrationWithEnv["metadata"]
shouldDisableDelete: "AWS Secret Deletion Disabled",
shouldMaskSecrets: "GitLab Secrets Masking Enabled",
shouldProtectSecrets: "GitLab Secret Protection Enabled",
shouldEnableDelete: "GitHub Secret Deletion Enabled"
shouldEnableDelete: "GitHub Secret Deletion Enabled",
awsIamRole: "AWS IAM Role",
region: "Region"
} as const;
export const IntegrationSettingsSection = ({ integration }: Props) => {