Skip to content
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

Smb log configurable 7620 v2 #12797

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

catenacyber
Copy link
Contributor

@catenacyber catenacyber commented Mar 20, 2025

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7620

Describe changes:

  • smb: add options to configure logging and making it less verbose

SV_BRANCH=OISF/suricata-verify#2352

#12795 with leak fixed by LogSmbLogDeInitCtxSub

Will allow rust to list the values of an array such as
dns.types for outputs
suricata.yaml output section for smb now parses a types list
and will restrict logging of transactions to these types.

By default, everything still gets logged

Remove unused rs_smb_log_json_request on the way

Ticket: 7620
Copy link

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 81.95489% with 24 lines in your changes missing coverage. Please review.

Project coverage is 80.84%. Comparing base (749ffbd) to head (07a0e07).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12797      +/-   ##
==========================================
- Coverage   80.85%   80.84%   -0.01%     
==========================================
  Files         936      936              
  Lines      259870   259987     +117     
==========================================
+ Hits       210120   210197      +77     
- Misses      49750    49790      +40     
Flag Coverage Δ
fuzzcorpus 57.25% <37.69%> (-0.02%) ⬇️
livemode 19.43% <30.00%> (+<0.01%) ⬆️
pcap 44.09% <43.84%> (-0.03%) ⬇️
suricata-verify 63.62% <82.57%> (+0.02%) ⬆️
unittests 58.10% <0.76%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 25277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants