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

userguide: explain rule types and categorization - v5 #12112

Closed

Conversation

jufajardini
Copy link
Contributor

@jufajardini jufajardini commented Nov 12, 2024

Add documentation about the rule types introduced by 2696fda.

Add doc tags around code definitions that are referenced in the docs.

Task #https://redmine.openinfosecfoundation.org/issues/7031

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
I guess this covers https://redmine.openinfosecfoundation.org/issues/7031

Built docs: https://suri-rtd-test.readthedocs.io/en/doc-sigtypes-et-properties-v5/rules/intro.html#rule-types-and-categorization

Previous PR: #12111

Describe changes: (tried to) address feedback:

  • add another rule with negated IP address
  • change Decode Events rule type to Decoder Events, since that's how they're defined in the original commit message
  • fix clang format error
  • s/Scope/Action Scope
  • s/starts with/startswith

Add documentation about the rule types introduced by 2696fda.

Add doc tags around code definitions that are referenced in the docs.

Task #https://redmine.openinfosecfoundation.org/issues/7031
@jufajardini jufajardini added the typo/doc update No code change : only doc or typo fixes label Nov 12, 2024
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.

2 more things I missed previously, sorry

- Per transaction update
- On buffer keywords
- Application layer protocol-related, e.g. `http.host`, `rfb.secresult`,
dcerpc_stub_data
Copy link
Member

Choose a reason for hiding this comment

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

dce_stub_data or dcerpc.stub_data (last is newer, so use that)


.. note:: Scope: `Flow, if stateful`

(**) Apply to the flow. If a segment isn't accepted into a stream for any
Copy link
Member

Choose a reason for hiding this comment

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

should this be directly under the (*) note?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will move it back there.

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.28%. Comparing base (278dc24) to head (8123018).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12112      +/-   ##
==========================================
+ Coverage   83.23%   83.28%   +0.05%     
==========================================
  Files         906      906              
  Lines      257647   257647              
==========================================
+ Hits       214458   214588     +130     
+ Misses      43189    43059     -130     
Flag Coverage Δ
fuzzcorpus 61.32% <ø> (+0.11%) ⬆️
livemode 19.42% <ø> (ø)
pcap 44.43% <ø> (+<0.01%) ⬆️
suricata-verify 62.71% <ø> (+<0.01%) ⬆️
unittests 59.28% <ø> (ø)

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

@jufajardini
Copy link
Contributor Author

Feedback incorporated: #12113

@jufajardini jufajardini deleted the doc-sigtypes-et-properties/v5 branch January 28, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typo/doc update No code change : only doc or typo fixes
Development

Successfully merging this pull request may close these issues.

2 participants