mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Fleet] Fix all add agent steps disabled when fleet server policy selected (#134448)
* enable deployment mode step if policy selected * add fleet server to excluded packages
This commit is contained in:
parent
780c78e751
commit
2f6605025c
2 changed files with 8 additions and 7 deletions
|
@ -47,7 +47,7 @@ export const AdvancedTab: React.FunctionComponent<AdvancedTabProps> = ({ selecte
|
|||
getSetDeploymentModeStep({
|
||||
deploymentMode,
|
||||
setDeploymentMode,
|
||||
disabled: !Boolean(fleetServerPolicyId),
|
||||
disabled: !Boolean(fleetServerPolicyId || selectedPolicyId),
|
||||
}),
|
||||
getAddFleetServerHostStep({ fleetServerHostForm, disabled: !Boolean(fleetServerPolicyId) }),
|
||||
getGenerateServiceTokenStep({
|
||||
|
|
|
@ -11,14 +11,15 @@ import { PLUGIN_ID, INTEGRATIONS_PLUGIN_ID, pagePathGetters } from '../../../../
|
|||
// or are otherwise not accounted for by verbiage and elements throughout the multi-step UI
|
||||
const EXCLUDED_PACKAGES = [
|
||||
'apm',
|
||||
'endpoint',
|
||||
'synthetics',
|
||||
'security_detection_engine',
|
||||
'osquery_manager',
|
||||
'dga',
|
||||
'cloud_security_posture',
|
||||
'problemchild',
|
||||
'dga',
|
||||
'endpoint',
|
||||
'fleet_server',
|
||||
'kubernetes',
|
||||
'osquery_manager',
|
||||
'problemchild',
|
||||
'security_detection_engine',
|
||||
'synthetics',
|
||||
];
|
||||
|
||||
interface GetInstallPkgRouteOptionsParams {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue