[Security Solution][Endpoint] Rename Unisolating
and other like words to Releasing
(#102582)
* Update all instances of `unisolate` to `release` (along with variation of unisolate) * just width of Agent Status column on endpoint list
This commit is contained in:
parent
21f6a1bc92
commit
19d2d17158
8 changed files with 16 additions and 18 deletions
|
@ -44,8 +44,8 @@ describe('when using the EndpointHostIsolationStatus component', () => {
|
|||
});
|
||||
|
||||
it.each([
|
||||
['Isolating pending', { pendingIsolate: 2 }],
|
||||
['Unisolating pending', { pendingUnIsolate: 2 }],
|
||||
['Isolating', { pendingIsolate: 2 }],
|
||||
['Releasing', { pendingUnIsolate: 2 }],
|
||||
['4 actions pending', { isIsolated: true, pendingUnIsolate: 2, pendingIsolate: 2 }],
|
||||
])('should show %s}', (expectedLabel, componentProps) => {
|
||||
const { getByTestId } = render(componentProps);
|
||||
|
|
|
@ -74,7 +74,7 @@ export const EndpointHostIsolationStatus = memo<EndpointHostIsolationStatusProps
|
|||
<EuiFlexItem grow>
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.endpoint.hostIsolationStatus.tooltipPendingUnIsolate"
|
||||
defaultMessage="Unisolate"
|
||||
defaultMessage="Release"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>{pendingUnIsolate}</EuiFlexItem>
|
||||
|
@ -101,12 +101,12 @@ export const EndpointHostIsolationStatus = memo<EndpointHostIsolationStatusProps
|
|||
{pendingIsolate ? (
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.endpoint.hostIsolationStatus.isIsolating"
|
||||
defaultMessage="Isolating pending"
|
||||
defaultMessage="Isolating"
|
||||
/>
|
||||
) : (
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.endpoint.hostIsolationStatus.isUnIsolating"
|
||||
defaultMessage="Unisolating pending"
|
||||
defaultMessage="Releasing"
|
||||
/>
|
||||
)}
|
||||
</EuiTextColor>
|
||||
|
|
|
@ -26,13 +26,13 @@ export const COMMENT_PLACEHOLDER = i18n.translate(
|
|||
|
||||
export const GET_ISOLATION_SUCCESS_MESSAGE = (hostName: string) =>
|
||||
i18n.translate('xpack.securitySolution.endpoint.hostIsolation.isolation.successfulMessage', {
|
||||
defaultMessage: 'Host Isolation on {hostName} successfully submitted',
|
||||
defaultMessage: 'Isolation on host {hostName} successfully submitted',
|
||||
values: { hostName },
|
||||
});
|
||||
|
||||
export const GET_UNISOLATION_SUCCESS_MESSAGE = (hostName: string) =>
|
||||
i18n.translate('xpack.securitySolution.endpoint.hostIsolation.unisolate.successfulMessage', {
|
||||
defaultMessage: 'Host Unisolation on {hostName} successfully submitted',
|
||||
defaultMessage: 'Release on host {hostName} successfully submitted',
|
||||
values: { hostName },
|
||||
});
|
||||
|
||||
|
@ -41,7 +41,7 @@ export const ISOLATE = i18n.translate('xpack.securitySolution.endpoint.hostisola
|
|||
});
|
||||
|
||||
export const UNISOLATE = i18n.translate('xpack.securitySolution.endpoint.hostisolation.unisolate', {
|
||||
defaultMessage: 'unisolate',
|
||||
defaultMessage: 'release',
|
||||
});
|
||||
|
||||
export const NOT_ISOLATED = i18n.translate(
|
||||
|
|
|
@ -17,7 +17,7 @@ export const ISOLATE_HOST = i18n.translate(
|
|||
export const UNISOLATE_HOST = i18n.translate(
|
||||
'xpack.securitySolution.endpoint.hostIsolation.unisolateHost',
|
||||
{
|
||||
defaultMessage: 'Unisolate host',
|
||||
defaultMessage: 'Release host',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -82,9 +82,7 @@ describe('When using the EndpointAgentStatus component', () => {
|
|||
});
|
||||
|
||||
it('should show host pending action', () => {
|
||||
expect(renderResult.getByTestId('rowIsolationStatus').textContent).toEqual(
|
||||
'Isolating pending'
|
||||
);
|
||||
expect(renderResult.getByTestId('rowIsolationStatus').textContent).toEqual('Isolating');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -76,7 +76,7 @@ export const useEndpointActionItems = (
|
|||
children: (
|
||||
<FormattedMessage
|
||||
id="xpack.securitySolution.endpoint.actions.unIsolateHost"
|
||||
defaultMessage="Unisolate host"
|
||||
defaultMessage="Release host"
|
||||
/>
|
||||
),
|
||||
});
|
||||
|
|
|
@ -272,7 +272,7 @@ export const EndpointList = () => {
|
|||
},
|
||||
{
|
||||
field: 'host_status',
|
||||
width: '9%',
|
||||
width: '14%',
|
||||
name: i18n.translate('xpack.securitySolution.endpoint.list.hostStatus', {
|
||||
defaultMessage: 'Agent Status',
|
||||
}),
|
||||
|
@ -356,7 +356,7 @@ export const EndpointList = () => {
|
|||
},
|
||||
{
|
||||
field: 'metadata.host.os.name',
|
||||
width: '10%',
|
||||
width: '9%',
|
||||
name: i18n.translate('xpack.securitySolution.endpoint.list.os', {
|
||||
defaultMessage: 'Operating System',
|
||||
}),
|
||||
|
|
|
@ -26,7 +26,7 @@ export const ACTIVITY_LOG = {
|
|||
unisolatedAction: i18n.translate(
|
||||
'xpack.securitySolution.endpointDetails.activityLog.logEntry.action.unisolated',
|
||||
{
|
||||
defaultMessage: 'unisolated host',
|
||||
defaultMessage: 'released host',
|
||||
}
|
||||
),
|
||||
},
|
||||
|
@ -46,13 +46,13 @@ export const ACTIVITY_LOG = {
|
|||
unisolationSuccessful: i18n.translate(
|
||||
'xpack.securitySolution.endpointDetails.activityLog.logEntry.response.unisolationSuccessful',
|
||||
{
|
||||
defaultMessage: 'host unisolation successful',
|
||||
defaultMessage: 'host release successful',
|
||||
}
|
||||
),
|
||||
unisolationFailed: i18n.translate(
|
||||
'xpack.securitySolution.endpointDetails.activityLog.logEntry.response.unisolationFailed',
|
||||
{
|
||||
defaultMessage: 'host unisolation failed',
|
||||
defaultMessage: 'host release failed',
|
||||
}
|
||||
),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue