mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Exclude Malwarescore + Ransomware EP alerts from DRule telemetry. (#130233)
* Exclude malwarescore + ransomware endpoint alerts from sec telemetry. * Remove endpoint module negation from query.
This commit is contained in:
parent
9c8440af1b
commit
4f6239da70
1 changed files with 63 additions and 12 deletions
|
@ -533,8 +533,63 @@ export class TelemetryReceiver implements ITelemetryReceiver {
|
|||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.parameters.immutable': 'true',
|
||||
bool: {
|
||||
must_not: {
|
||||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.name': 'Malware Prevention Alert',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
bool: {
|
||||
must_not: {
|
||||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.name': 'Malware Detection Alert',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
bool: {
|
||||
must_not: {
|
||||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.name': 'Ransomware Prevention Alert',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
bool: {
|
||||
must_not: {
|
||||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.name': 'Ransomware Detection Alert',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -542,17 +597,13 @@ export class TelemetryReceiver implements ITelemetryReceiver {
|
|||
},
|
||||
{
|
||||
bool: {
|
||||
must_not: {
|
||||
bool: {
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'event.module': 'endpoint',
|
||||
},
|
||||
},
|
||||
],
|
||||
should: [
|
||||
{
|
||||
match_phrase: {
|
||||
'kibana.alert.rule.parameters.immutable': 'true',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue