-
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
[Filebeat] Add Cisco ASA message '302023' parsing #23092
Conversation
💚 CLA has been signed |
❕ Build Aborted
Expand to view the summary
Build stats
Steps errorsExpand to view the steps failures
|
/check |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
- dissect: | ||
if: "ctx._temp_.cisco.message_id == '302023'" | ||
field: "message" | ||
pattern: "Teardown stub %{network.transport} connection for %{_temp_.cisco.source_interface}:%{source.address}/%{source.port} to %{_temp_.cisco.destination_interface}:%{destination.address}/%{destination.port} duration %{_temp_.duration_hms} forwarded bytes %{:network.bytes}" |
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.
There's an extra colon in %{:network.bytes}
.
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.
This does not match any of the samples we have
module/cisco//asa/test/additional_messages.log:May 5 19:02:58 dev01: %ASA-6-302023: Teardown stub TCP connection for fw111:10.10.10.10/39210 to net:192.168.2.2/10051 duration 0:00:00 forwarded bytes 0 Cluster flow with CLU closed on owner
module/cisco//asa/test/additional_messages.log:May 5 19:02:58 dev01: %ASA-6-302023: Teardown stub TCP connection for net:10.10.10.10/10051 to unknown:192.168.2.2/39222 duration 0:00:00 forwarded bytes 0 Forwarding or redirect flow removed to create director or backup flow
There's reason string at the end. https://www.cisco.com/c/en/us/td/docs/security/firepower/Syslogs/b_fptd_syslog_guide/syslogs3.html#con_8182943
pattern: "Teardown stub %{network.transport} connection for %{_temp_.cisco.source_interface}:%{source.address}/%{source.port} to %{_temp_.cisco.destination_interface}:%{destination.address}/%{destination.port} duration %{_temp_.duration_hms} forwarded bytes %{:network.bytes}" | |
pattern: "Teardown stub %{network.transport} connection for %{_temp_.cisco.source_interface}:%{source.address}/%{source.port} to %{_temp_.cisco.destination_interface}:%{destination.address}/%{destination.port} duration %{_temp_.duration_hms} forwarded bytes %{network.bytes} %{event.reason}" |
I pushed an update to the dissect pattern. And I updated the golden test files since they are affected by this change. run tests |
@chifu1234 Can you please sign the CLA. https://www.elastic.co/contributor-agreement |
@andrewkroh thxs will sign today |
fcf2df9
to
32ced53
Compare
cisco/add adding message id 302023 Signed-off-by: Kevin Klopfenstein <kk@sudo-i.net>
cisco/add adding message id 302023 Signed-off-by: Kevin Klopfenstein <kk@sudo-i.net> Signed-off-by: kevin <kk@sudo-i.net>
@chifu1234 Hi, checking in to see if you could please sign the CLA. Then I'll get this merged. Thanks. |
@andrewkroh sorry i did sign the CLA now. |
jenkins, run tests |
Enhance message parsing to Cisco ASA message 302023. Signed-off-by: Kevin Klopfenstein <kk@sudo-i.net> Signed-off-by: kevin <kk@sudo-i.net> (cherry picked from commit 47889eb)
Enhance message parsing to Cisco ASA message 302023. Signed-off-by: Kevin Klopfenstein <kk@sudo-i.net> Signed-off-by: kevin <kk@sudo-i.net> (cherry picked from commit 47889eb) Co-authored-by: Kevin Klopfenstein <kk@sudo-i.net>
…pack-when-oss-changes * upstream/master: [DOCS] Add setup content to Kubernetes and Cloud Foundry docs (elastic#23580) [CI] Mandatory windows support for all the versions (elastic#23615) Add check when retrieving the worker process id using performance counters (elastic#23647) Remove 4912 evtx from testing (elastic#23669) Add missing SSL settings (elastic#23632) Update X-Pack Packetbeat config (elastic#23666) Use hostname check from verify.go to handle patterns in TLS certs (elastic#23661) Fix: Dissect Cisco ASA 302013 message usernames (elastic#21196) Add FAQ entry for MADV settings in older versions (elastic#23429) Sync fixes from Integration Package Testing (elastic#23424) [Filebeat] Add Cisco ASA message '302023' parsing (elastic#23092) [Elastic Log Driver] Change hosts config flag (elastic#23628) Audit and Authentication Policy Change Events (elastic#20684)
cisco/add adding message id 302023
What does this PR do?
This PR will add parsing for cisco asa message id 302023.
Why is it important?
This will add a common message for cisco asa clusters
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs
%ASA-6-302022: Built backup stub TCP connection for INTERNET:1.1.1.1/57475 (1.1.1.1/57475) to INTERN:1.2.3.4/443 (1.2.3.4/443)
|