mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Security Telemetry: Allow env vars through on security telemtery record. (#153000)
## Summary Lets `env_vars` through on security endpoint telemetry alert record. An artifact will be released independently before 8.8. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
0ca0717a29
commit
8746648d1a
2 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,7 @@ const baseAllowlistFields: AllowlistFields = {
|
|||
executable: true,
|
||||
code_signature: true,
|
||||
command_line: true,
|
||||
env_vars: true,
|
||||
hash: true,
|
||||
pid: true,
|
||||
pe: true,
|
||||
|
|
|
@ -178,6 +178,7 @@ describe('TelemetryEventsSender', () => {
|
|||
executable: null, // null fields are never allowlisted
|
||||
working_directory: '/some/usr/dir',
|
||||
entity_id: 'some_entity_id',
|
||||
env_vars: [{ name: 'foo', value: 'bar' }],
|
||||
Ext: {
|
||||
protection: 'PsProtectedSignerAntimalware-Light',
|
||||
relative_file_creation_time: 48628704.4029488,
|
||||
|
@ -355,6 +356,7 @@ describe('TelemetryEventsSender', () => {
|
|||
name: 'foo.exe',
|
||||
working_directory: '/some/usr/dir',
|
||||
entity_id: 'some_entity_id',
|
||||
env_vars: [{ name: 'foo', value: 'bar' }],
|
||||
Ext: {
|
||||
protection: 'PsProtectedSignerAntimalware-Light',
|
||||
relative_file_creation_time: 48628704.4029488,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue