-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a for loop with script processor to add values from cisco.umbr…
…ella.identities to related.user field (#25776) * adding users from cisco.umbrella.identities to related.user field Co-authored-by: Lee E. Hinman <[email protected]> (cherry picked from commit cec5906)
- Loading branch information
1 parent
5e60010
commit 831755c
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
x-pack/filebeat/module/cisco/umbrella/test/umbrella-dnslogs.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"2020-07-23 23:49:54","elasticuser","elasticuser2","some other identity","192.168.1.1","8.8.8.8","Allowed","1 (A)","NOERROR","elastic.co.","Software/Technology,Business Services,Application","Test Policy Name","SomeIdentityType","" | ||
"2020-07-23 23:50:25","elasticuser","elasticuser2","some other identity","192.168.1.1","4.4.4.4","Blocked","1 (A)","NOERROR","elastic.co/something.","Chat,Instant Messaging,Block List,Application","Test Policy Name","SomeIdentityType","BlockedCategories" | ||
"2021-05-14 19:39:58","elastic_machine","elastic_machine,Elastic User ([email protected])","1.1.1.1","2.2.2.2","Allowed","1 (A)","NOERROR","elastic.co.","Infrastructure","Roaming Computers","Roaming Computers,AD Users","" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,5 +88,52 @@ | |
"source.address": "some other identity", | ||
"source.domain": "some other identity", | ||
"source.user.name": "elasticuser" | ||
}, | ||
{ | ||
"@timestamp": "2021-05-14T19:39:58.000Z", | ||
"cisco.umbrella.categories": "Infrastructure", | ||
"cisco.umbrella.identities": [ | ||
"Elastic User ([email protected])", | ||
"elastic_machine" | ||
], | ||
"cisco.umbrella.identity_types": "Roaming Computers,AD Users", | ||
"cisco.umbrella.policy_identity_type": "Roaming Computers", | ||
"destination.address": "2.2.2.2", | ||
"destination.domain": "elastic.co.", | ||
"destination.ip": "2.2.2.2", | ||
"dns.question.type": "1 (A)", | ||
"dns.response_code": "NOERROR", | ||
"dns.type": "query", | ||
"event.action": "dns-request-Allowed", | ||
"event.category": "network", | ||
"event.dataset": "cisco.umbrella", | ||
"event.module": "cisco", | ||
"event.original": "\\\"2021-05-14 19:39:58\\\",\\\"elastic_machine\\\",\\\"elastic_machine,Elastic User ([email protected])\\\",\\\"1.1.1.1\\\",\\\"2.2.2.2\\\",\\\"Allowed\\\",\\\"1 (A)\\\",\\\"NOERROR\\\",\\\"elastic.co.\\\",\\\"Infrastructure\\\",\\\"Roaming Computers\\\",\\\"Roaming Computers,AD Users\\\",\\\"\\\"", | ||
"event.type": [ | ||
"allowed", | ||
"connection" | ||
], | ||
"fileset.name": "umbrella", | ||
"input.type": "log", | ||
"log.offset": 487, | ||
"message": "\"2021-05-14 19:39:58\",\"elastic_machine\",\"elastic_machine,Elastic User ([email protected])\",\"1.1.1.1\",\"2.2.2.2\",\"Allowed\",\"1 (A)\",\"NOERROR\",\"elastic.co.\",\"Infrastructure\",\"Roaming Computers\",\"Roaming Computers,AD Users\",\"\"", | ||
"observer.product": "Umbrella", | ||
"observer.type": "dns", | ||
"observer.vendor": "Cisco", | ||
"related.hosts": [ | ||
"elastic.co." | ||
], | ||
"related.ip": [ | ||
"1.1.1.1", | ||
"2.2.2.2" | ||
], | ||
"related.user": [ | ||
"Elastic User ([email protected])", | ||
"elastic_machine" | ||
], | ||
"service.type": "cisco", | ||
"source.address": "1.1.1.1", | ||
"source.ip": "1.1.1.1", | ||
"source.user.name": "elastic_machine" | ||
} | ||
] |