forked from elastic/integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cisco_ftd] Fix grok failure with username with spaces on ftd message…
…ID. (elastic#11198) * [cisco_ftd] Fix grok failure with username with spaces on ftd messageID. * Update changelog PR number * Fix test files names * Change the pipeline grok per code review feedback
- Loading branch information
Showing
5 changed files
with
72 additions
and
7 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
1 change: 1 addition & 0 deletions
1
packages/cisco_ftd/data_stream/log/_dev/test/pipeline/test-ftd-username-with-spaces.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<166>: 2024 Aug 07 10:29:42 UTC ccafa9b4-b48a-4156-b3af-de2d35e5f432 : %FTD-auth-6-113039: Group <GroupPolicy_XXX> User <MacBook Pro belonging to bob.dylan.xyz.local> IP <10.10.4.100> AnyConnect parent session started. |
59 changes: 59 additions & 0 deletions
59
...co_ftd/data_stream/log/_dev/test/pipeline/test-ftd-username-with-spaces.log-expected.json
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"expected": [ | ||
{ | ||
"cisco": { | ||
"ftd": { | ||
"suffix": "auth" | ||
} | ||
}, | ||
"ecs": { | ||
"version": "8.11.0" | ||
}, | ||
"event": { | ||
"action": "client-vpn-connected", | ||
"code": "113039", | ||
"original": "<166>: 2024 Aug 07 10:29:42 UTC ccafa9b4-b48a-4156-b3af-de2d35e5f432 : %FTD-auth-6-113039: Group <GroupPolicy_XXX> User <MacBook Pro belonging to bob.dylan.xyz.local> IP <10.10.4.100> AnyConnect parent session started.", | ||
"severity": 6, | ||
"timezone": "UTC" | ||
}, | ||
"log": { | ||
"level": "informational", | ||
"syslog": { | ||
"facility": { | ||
"code": 20 | ||
}, | ||
"priority": 166, | ||
"severity": { | ||
"code": 6 | ||
} | ||
} | ||
}, | ||
"observer": { | ||
"product": "ftd", | ||
"type": "idps", | ||
"vendor": "Cisco" | ||
}, | ||
"related": { | ||
"ip": [ | ||
"10.10.4.100" | ||
], | ||
"user": [ | ||
"MacBook Pro belonging to bob.dylan.xyz.local" | ||
] | ||
}, | ||
"source": { | ||
"address": "10.10.4.100", | ||
"ip": "10.10.4.100", | ||
"user": { | ||
"group": { | ||
"name": "GroupPolicy_XXX" | ||
}, | ||
"name": "MacBook Pro belonging to bob.dylan.xyz.local" | ||
} | ||
}, | ||
"tags": [ | ||
"preserve_original_event" | ||
] | ||
} | ||
] | ||
} |
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