forked from elastic/beats
-
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.
[SIEM] [Filebeat] Fix Cisco FTD/ASA parsing of msg 302021 (elastic#13476
) (elastic#13557) The pattern for ASA message 302021 contained a few errors: - source and destination swapped. - storing ICMP codes as port numbers. - didn't support hostnames in place of IPs. Fixes elastic#13259 (cherry picked from commit b5d8842)
- Loading branch information
Showing
6 changed files
with
43 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Oct 10 2019 10:21:36 localhost: %ASA-6-302021: Teardown ICMP connection for faddr target.destination.hostname.local/10005 gaddr 10.0.55.66/0 laddr Prod-host.name.addr/0 |
29 changes: 29 additions & 0 deletions
29
x-pack/filebeat/module/cisco/asa/test/hostnames.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,29 @@ | ||
[ | ||
{ | ||
"@timestamp": "2019-10-10T10:21:36.000Z", | ||
"cisco.asa.icmp_code": 0, | ||
"cisco.asa.mapped_source_ip": "10.0.55.66", | ||
"cisco.asa.message_id": "302021", | ||
"destination.domain": "target.destination.hostname.local", | ||
"event.action": "flow-expiration", | ||
"event.code": 302021, | ||
"event.dataset": "cisco.asa", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-6-302021: Teardown ICMP connection for faddr target.destination.hostname.local/10005 gaddr 10.0.55.66/0 laddr Prod-host.name.addr/0", | ||
"event.severity": 6, | ||
"event.timezone": "+00:00", | ||
"fileset.name": "asa", | ||
"host.hostname": "localhost", | ||
"input.type": "log", | ||
"log.level": "informational", | ||
"log.offset": 0, | ||
"network.iana_number": 1, | ||
"network.transport": "icmp", | ||
"service.type": "cisco", | ||
"source.domain": "Prod-host.name.addr", | ||
"source.nat.ip": "10.0.55.66", | ||
"tags": [ | ||
"cisco-asa" | ||
] | ||
} | ||
] |
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
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