Skip to content

fw: validate scope inheritance in policies and rules v1 - #16122

Closed
lukashino wants to merge 1 commit into
OISF:mainfrom
lukashino:bug/8954-action-scope-verify-v1
Closed

fw: validate scope inheritance in policies and rules v1#16122
lukashino wants to merge 1 commit into
OISF:mainfrom
lukashino:bug/8954-action-scope-verify-v1

Conversation

@lukashino

Copy link
Copy Markdown
Contributor

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

Describe changes:

  • initial work

SV_BRANCH=OISF/suricata-verify#3323

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Validates inherited action scopes in firewall multi-action rules and policies.

Changes:

  • Rejects drop/pass actions inheriting unsupported hook or tx scopes.
  • Permits valid inherited packet and flow scopes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.04%. Comparing base (7c66954) to head (3ce4363).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16122      +/-   ##
==========================================
- Coverage   83.06%   83.04%   -0.02%     
==========================================
  Files        1004     1004              
  Lines      277376   277381       +5     
==========================================
- Hits       230389   230348      -41     
- Misses      46987    47033      +46     
Flag Coverage Δ
fuzzcorpus 61.50% <20.00%> (-0.01%) ⬇️
livemode 18.47% <20.00%> (+0.05%) ⬆️
netns 22.83% <20.00%> (-0.05%) ⬇️
pcap 45.39% <20.00%> (-0.03%) ⬇️
suricata-verify 67.13% <100.00%> (-0.02%) ⬇️
unittests 58.53% <20.00%> (+<0.01%) ⬆️

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
Copy Markdown

Information: QA ran without warnings.

Pipeline = 33378

@lukashino
lukashino marked this pull request as ready for review August 26, 2026 17:11
@lukashino

Copy link
Copy Markdown
Contributor Author

continues in #16132

@lukashino lukashino closed this Aug 27, 2026
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.

3 participants