Skip to content

Commit

Permalink
adding missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Souza committed Feb 19, 2021
1 parent 6d441e3 commit 0b8809c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ describe('TelemetryEventsSender', () => {
name: 'test',
},
rule: {
id: 'X',
name: 'Y',
ruleset: 'Z',
},
file: {
Expand All @@ -50,6 +52,9 @@ describe('TelemetryEventsSender', () => {
malware_classification: {
key1: 'X',
},
malware_signature: {
key1: 'X',
},
quarantine_result: true,
quarantine_message: 'this file is bad',
something_else: 'nope',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ const allowlistEventFields: AllowlistFields = {
elastic: true,
event: true,
rule: {
id: true,
name: true,
ruleset: true,
},
file: {
Expand All @@ -322,6 +324,7 @@ const allowlistEventFields: AllowlistFields = {
Ext: {
code_signature: true,
malware_classification: true,
malware_signature: true,
quarantine_result: true,
quarantine_message: true,
},
Expand Down

0 comments on commit 0b8809c

Please sign in to comment.