Skip to content

Conversation

@jufajardini
Copy link
Contributor

Continuation of #14334

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7858
https://redmine.openinfosecfoundation.org/issues/7434

Describe changes:

  • make capture.errors generic, instead of AF_PACKET only
  • remove typo
  • add capture.afpacket within its own properties

SV_BRANCH=OISF/suricata-verify#2761

These were removed with a5587fe but these mentions went under the
radar.
The schema accounts for a stats counters group that is a subgroup of the
flows stats counters. Remove `flow_mgr`, thus.
While the counters exist, they're not present in the schema, causing
validation to fail if stats.stream-events is enabled.

Task OISF#7858
Part of the schema documentation effort.

Related to
Task OISF#6434
The `stats.capture` object may have different properties based on the
capture method used.

This adds the ones pertaining to AF_PACKET capture.

Related to
Task OISF#6434
For FTP, Host, IP Pair and HTTP.

Related to
Task OISF#6434
@suricata-qa
Copy link

Information: QA skipped due to no C or rust code changed detected. Set to force a run.

Pipeline = code

@victorjulien victorjulien added this to the 9.0 milestone Nov 15, 2025
@victorjulien victorjulien self-requested a review November 15, 2025 08:46
Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

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

This failed in staging. @jasonish we should probably make sure these checks run for just schema updating PRs as well.

Image

@jasonish
Copy link
Member

This failed in staging. @jasonish we should probably make sure these checks run for just schema updating PRs as well.

Image

Will add to the doc job.

@jufajardini
Copy link
Contributor Author

This failed in staging. @jasonish we should probably make sure these checks run for just schema updating PRs as well.
Image

Argh.
And I should make sure that I ran this test locally when I make such changes to the schema. Apologies.

@jufajardini
Copy link
Contributor Author

ordering fixed with #14338

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.

4 participants