mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Cloud Security] Remove CloudFormation from manual options (#161037)
This commit is contained in:
parent
e0fdd482e9
commit
a25506c842
1 changed files with 6 additions and 4 deletions
|
@ -103,10 +103,12 @@ export const getAwsCredentialsFormManualOptions = (): Array<{
|
|||
value: AwsCredentialsType;
|
||||
text: string;
|
||||
}> => {
|
||||
return Object.entries(getAwsCredentialsFormOptions()).map(([key, value]) => ({
|
||||
value: key as AwsCredentialsType,
|
||||
text: value.label,
|
||||
}));
|
||||
return Object.entries(getAwsCredentialsFormOptions())
|
||||
.map(([key, value]) => ({
|
||||
value: key as AwsCredentialsType,
|
||||
text: value.label,
|
||||
}))
|
||||
.filter(({ value }) => value !== 'cloud_formation');
|
||||
};
|
||||
|
||||
export const DEFAULT_MANUAL_AWS_CREDENTIALS_TYPE = 'assume_role';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue