-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry-pick #17964 to 7.8: [Filebeat] Fix Cisco ASA 3020** and 106023 messages #19236
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,5 @@ | ||
Apr 17 2020 14:08:08 SNL-ASA-VPN-A01 : %ASA-6-302016: Teardown UDP connection 110577675 for Outside:10.123.123.123/53723(LOCAL\Elastic) to Inside:10.233.123.123/53 duration 0:00:00 bytes 148 (zzzzzz) | ||
Apr 17 2020 14:00:31 SNL-ASA-VPN-A01 : %ASA-4-106023: Deny icmp src Inside:10.123.123.123 dst Outside:10.123.123.123 (type 11, code 0) by access-group "Inside_access_in" [0x0, 0x0] | ||
Apr 15 2013 09:36:50: %ASA-4-106023: Deny tcp src dmz:10.123.123.123/6316 dst outside:10.123.123.123/53 type 3, code 0, by access-group "acl_dmz" [0xe3afb522, 0x0] | ||
Apr 17 2020 14:16:20 SNL-ASA-VPN-A01 : %ASA-4-106023: Deny udp src Inside:10.123.123.123/57621(LOCAL\Elastic) dst Outside:10.123.123.123/57621 by access-group "Inside_access_in" [0x0, 0x0] | ||
Apr 17 2020 14:15:07 SNL-ASA-VPN-A01 : %ASA-2-106017: Deny IP due to Land Attack from 10.123.123.123 to 10.123.123.123 |
152 changes: 152 additions & 0 deletions
152
x-pack/filebeat/module/cisco/asa/test/asa-fix.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,152 @@ | ||
[ | ||
{ | ||
"cisco.asa.connection_id": "110577675", | ||
"cisco.asa.destination_interface": "Inside", | ||
"cisco.asa.message_id": "302016", | ||
"cisco.asa.source_interface": "Outside", | ||
"cisco.asa.source_username": "(LOCAL\\Elastic)", | ||
"destination.address": "10.233.123.123", | ||
"destination.ip": "10.233.123.123", | ||
"destination.port": 53, | ||
"event.action": "flow-expiration", | ||
"event.code": 302016, | ||
"event.dataset": "cisco.asa", | ||
"event.duration": 0, | ||
"event.end": "2020-04-17T14:08:08.000-02:00", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-6-302016: Teardown UDP connection 110577675 for Outside:10.123.123.123/53723(LOCAL\\Elastic) to Inside:10.233.123.123/53 duration 0:00:00 bytes 148 (zzzzzz)", | ||
"event.severity": 6, | ||
"event.start": "2020-04-17T16:08:08.000Z", | ||
"event.timezone": "-02:00", | ||
"fileset.name": "asa", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "informational", | ||
"log.offset": 0, | ||
"network.bytes": 148, | ||
"network.iana_number": 17, | ||
"network.transport": "udp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 53723, | ||
"tags": [ | ||
"cisco-asa" | ||
] | ||
}, | ||
{ | ||
"cisco.asa.destination_interface": "Outside", | ||
"cisco.asa.message_id": "106023", | ||
"cisco.asa.rule_name": "Inside_access_in", | ||
"cisco.asa.source_interface": "Inside", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.asa", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny icmp src Inside:10.123.123.123 dst Outside:10.123.123.123 (type 11, code 0) by access-group \"Inside_access_in\" [0x0, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "asa", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 200, | ||
"network.iana_number": 1, | ||
"network.transport": "icmp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"tags": [ | ||
"cisco-asa" | ||
] | ||
}, | ||
{ | ||
"cisco.asa.destination_interface": "outside", | ||
"cisco.asa.message_id": "106023", | ||
"cisco.asa.rule_name": "acl_dmz", | ||
"cisco.asa.source_interface": "dmz", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"destination.port": 53, | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.asa", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny tcp src dmz:10.123.123.123/6316 dst outside:10.123.123.123/53 type 3, code 0, by access-group \"acl_dmz\" [0xe3afb522, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "asa", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 381, | ||
"network.iana_number": 6, | ||
"network.transport": "tcp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 6316, | ||
"tags": [ | ||
"cisco-asa" | ||
] | ||
}, | ||
{ | ||
"cisco.asa.destination_interface": "Outside", | ||
"cisco.asa.message_id": "106023", | ||
"cisco.asa.rule_name": "Inside_access_in", | ||
"cisco.asa.source_interface": "Inside", | ||
"cisco.asa.source_username": "(LOCAL\\Elastic)", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"destination.port": 57621, | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.asa", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny udp src Inside:10.123.123.123/57621(LOCAL\\Elastic) dst Outside:10.123.123.123/57621 by access-group \"Inside_access_in\" [0x0, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "asa", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 545, | ||
"network.iana_number": 17, | ||
"network.transport": "udp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 57621, | ||
"tags": [ | ||
"cisco-asa" | ||
] | ||
}, | ||
{ | ||
"cisco.asa.message_id": "106017", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"event.action": "firewall-rule", | ||
"event.code": 106017, | ||
"event.dataset": "cisco.asa", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-2-106017: Deny IP due to Land Attack from 10.123.123.123 to 10.123.123.123", | ||
"event.outcome": "deny", | ||
"event.severity": 2, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "asa", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "critical", | ||
"log.offset": 734, | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Apr 17 2020 14:08:08 SNL-ASA-VPN-A01 : %ASA-6-302016: Teardown UDP connection 110577675 for Outside:10.123.123.123/53723(LOCAL\Elastic) to Inside:10.233.123.123/53 duration 0:00:00 bytes 148 (zzzzzz) | ||
Apr 17 2020 14:00:31 SNL-ASA-VPN-A01 : %ASA-4-106023: Deny icmp src Inside:10.123.123.123 dst Outside:10.123.123.123 (type 11, code 0) by access-group "Inside_access_in" [0x0, 0x0] | ||
Apr 15 2013 09:36:50: %ASA-4-106023: Deny tcp src dmz:10.123.123.123/6316 dst outside:10.123.123.123/53 type 3, code 0, by access-group "acl_dmz" [0xe3afb522, 0x0] | ||
Apr 17 2020 14:16:20 SNL-ASA-VPN-A01 : %ASA-4-106023: Deny udp src Inside:10.123.123.123/57621(LOCAL\Elastic) dst Outside:10.123.123.123/57621 by access-group "Inside_access_in" [0x0, 0x0] | ||
Apr 17 2020 14:15:07 SNL-ASA-VPN-A01 : %ASA-2-106017: Deny IP due to Land Attack from 10.123.123.123 to 10.123.123.123 |
157 changes: 157 additions & 0 deletions
157
x-pack/filebeat/module/cisco/ftd/test/asa-fix.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,157 @@ | ||
[ | ||
{ | ||
"@timestamp": "2020-04-17T14:08:08.000-02:00", | ||
"cisco.ftd.connection_id": "110577675", | ||
"cisco.ftd.destination_interface": "Inside", | ||
"cisco.ftd.message_id": "302016", | ||
"cisco.ftd.source_interface": "Outside", | ||
"cisco.ftd.source_username": "(LOCAL\\Elastic)", | ||
"destination.address": "10.233.123.123", | ||
"destination.ip": "10.233.123.123", | ||
"destination.port": 53, | ||
"event.action": "flow-expiration", | ||
"event.code": 302016, | ||
"event.dataset": "cisco.ftd", | ||
"event.duration": 0, | ||
"event.end": "2020-04-17T14:08:08.000-02:00", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-6-302016: Teardown UDP connection 110577675 for Outside:10.123.123.123/53723(LOCAL\\Elastic) to Inside:10.233.123.123/53 duration 0:00:00 bytes 148 (zzzzzz)", | ||
"event.severity": 6, | ||
"event.start": "2020-04-17T16:08:08.000Z", | ||
"event.timezone": "-02:00", | ||
"fileset.name": "ftd", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "informational", | ||
"log.offset": 0, | ||
"network.bytes": 148, | ||
"network.iana_number": 17, | ||
"network.transport": "udp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 53723, | ||
"tags": [ | ||
"cisco-ftd" | ||
] | ||
}, | ||
{ | ||
"@timestamp": "2020-04-17T14:00:31.000-02:00", | ||
"cisco.ftd.destination_interface": "Outside", | ||
"cisco.ftd.message_id": "106023", | ||
"cisco.ftd.rule_name": "Inside_access_in", | ||
"cisco.ftd.source_interface": "Inside", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.ftd", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny icmp src Inside:10.123.123.123 dst Outside:10.123.123.123 (type 11, code 0) by access-group \"Inside_access_in\" [0x0, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "ftd", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 200, | ||
"network.iana_number": 1, | ||
"network.transport": "icmp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"tags": [ | ||
"cisco-ftd" | ||
] | ||
}, | ||
{ | ||
"@timestamp": "2013-04-15T09:36:50.000-02:00", | ||
"cisco.ftd.destination_interface": "outside", | ||
"cisco.ftd.message_id": "106023", | ||
"cisco.ftd.rule_name": "acl_dmz", | ||
"cisco.ftd.source_interface": "dmz", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"destination.port": 53, | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.ftd", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny tcp src dmz:10.123.123.123/6316 dst outside:10.123.123.123/53 type 3, code 0, by access-group \"acl_dmz\" [0xe3afb522, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "ftd", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 381, | ||
"network.iana_number": 6, | ||
"network.transport": "tcp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 6316, | ||
"tags": [ | ||
"cisco-ftd" | ||
] | ||
}, | ||
{ | ||
"@timestamp": "2020-04-17T14:16:20.000-02:00", | ||
"cisco.ftd.destination_interface": "Outside", | ||
"cisco.ftd.message_id": "106023", | ||
"cisco.ftd.rule_name": "Inside_access_in", | ||
"cisco.ftd.source_interface": "Inside", | ||
"cisco.ftd.source_username": "(LOCAL\\Elastic)", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"destination.port": 57621, | ||
"event.action": "firewall-rule", | ||
"event.code": 106023, | ||
"event.dataset": "cisco.ftd", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-4-106023: Deny udp src Inside:10.123.123.123/57621(LOCAL\\Elastic) dst Outside:10.123.123.123/57621 by access-group \"Inside_access_in\" [0x0, 0x0]", | ||
"event.outcome": "deny", | ||
"event.severity": 4, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "ftd", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "warning", | ||
"log.offset": 545, | ||
"network.iana_number": 17, | ||
"network.transport": "udp", | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"source.port": 57621, | ||
"tags": [ | ||
"cisco-ftd" | ||
] | ||
}, | ||
{ | ||
"@timestamp": "2020-04-17T14:15:07.000-02:00", | ||
"cisco.ftd.message_id": "106017", | ||
"destination.address": "10.123.123.123", | ||
"destination.ip": "10.123.123.123", | ||
"event.action": "firewall-rule", | ||
"event.code": 106017, | ||
"event.dataset": "cisco.ftd", | ||
"event.module": "cisco", | ||
"event.original": "%ASA-2-106017: Deny IP due to Land Attack from 10.123.123.123 to 10.123.123.123", | ||
"event.outcome": "deny", | ||
"event.severity": 2, | ||
"event.timezone": "-02:00", | ||
"fileset.name": "ftd", | ||
"host.hostname": "SNL-ASA-VPN-A01", | ||
"input.type": "log", | ||
"log.level": "critical", | ||
"log.offset": 734, | ||
"service.type": "cisco", | ||
"source.address": "10.123.123.123", | ||
"source.ip": "10.123.123.123", | ||
"tags": [ | ||
"cisco-ftd" | ||
] | ||
} | ||
] |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra entries in the changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed