mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[EDR Workflows] Fix wrong endpoint link (#202434)
This commit is contained in:
parent
22911c1828
commit
bcd442239f
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ export const useEndpointActionItems = (
|
|||
const endpointMetadata = endpointInfo.metadata;
|
||||
const isIsolated = isEndpointHostIsolated(endpointMetadata);
|
||||
const endpointId = endpointMetadata.agent.id;
|
||||
const endpointHostName = endpointMetadata.host.hostname;
|
||||
const endpointHostName = endpointMetadata.host.hostname.toLowerCase();
|
||||
const fleetAgentId = endpointMetadata.elastic.agent.id;
|
||||
const { show, selected_endpoint: _selectedEndpoint, ...currentUrlParams } = allCurrentUrlParams;
|
||||
const endpointActionsPath = getEndpointDetailsPath({
|
||||
|
|
|
@ -1306,7 +1306,7 @@ describe('when on the endpoint list page', () => {
|
|||
it('navigates to the Security Solution Host Details page', async () => {
|
||||
const hostLink = await renderResult.findByTestId('hostLink');
|
||||
expect(hostLink.getAttribute('href')).toEqual(
|
||||
`${APP_PATH}/hosts/${hostInfo[0].metadata.host.hostname}`
|
||||
`${APP_PATH}/hosts/${hostInfo[0].metadata.host.hostname.toLowerCase()}`
|
||||
);
|
||||
});
|
||||
it('navigates to the correct Ingest Agent Policy page', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue