mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
This enables quick checks of malware signatures for the new vulnerable driver protection we're shipping in 8.4
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4e853e028d
)
Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
This commit is contained in:
parent
863ae32239
commit
f085a9d39a
3 changed files with 8 additions and 1 deletions
|
@ -653,6 +653,12 @@ export const generateAlertDetailsDataMock = () => [
|
|||
values: ['dummy.exe'],
|
||||
originalValue: ['dummy.exe'],
|
||||
},
|
||||
{
|
||||
category: 'rule',
|
||||
field: 'rule.name',
|
||||
values: ['Test Rule Name'],
|
||||
originalValue: ['Test Rule Name'],
|
||||
},
|
||||
];
|
||||
|
||||
export const mockAlertDetailsData = generateAlertDetailsDataMock();
|
||||
|
|
|
@ -74,7 +74,7 @@ describe('AlertSummaryView', () => {
|
|||
</TestProviders>
|
||||
);
|
||||
|
||||
['host.name', 'user.name', i18n.RULE_TYPE, 'query'].forEach((fieldId) => {
|
||||
['host.name', 'user.name', i18n.RULE_TYPE, 'query', 'rule.name'].forEach((fieldId) => {
|
||||
expect(getByText(fieldId));
|
||||
});
|
||||
});
|
||||
|
|
|
@ -38,6 +38,7 @@ const alwaysDisplayedFields: EventSummaryField[] = [
|
|||
{ id: 'host.name' },
|
||||
{ id: 'agent.id', overrideField: AGENT_STATUS_FIELD_NAME, label: i18n.AGENT_STATUS },
|
||||
{ id: 'user.name' },
|
||||
{ id: 'rule.name' },
|
||||
{ id: ALERT_RULE_TYPE, label: i18n.RULE_TYPE },
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue