diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx b/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx index 5c12396942d77..4be4ac082f60f 100644 --- a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx +++ b/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx @@ -255,7 +255,6 @@ export const AwsCredentialsForm = ({ {setupFormat === 'manual' && ( <> { updatePolicy( @@ -271,7 +270,6 @@ export const AwsCredentialsForm = ({ { updatePolicy(getPosturePolicy(newPolicy, input.type, { [key]: { value } })); @@ -286,11 +284,9 @@ export const AwsCredentialsForm = ({ const AwsCredentialTypeSelector = ({ type, onChange, - disabled, }: { onChange(type: AwsCredentialsType): void; type: AwsCredentialsType; - disabled: boolean; }) => ( ; onChange: (key: string, value: string) => void; - disabled: boolean; }) => (
{fields.map((field) => ( @@ -325,7 +318,6 @@ const AwsInputVarFields = ({ <> {field.type === 'password' && (