Skip to content

V3 to v4 crs#9

Merged
jsrobinson3 merged 4 commits intomainfrom
v3-to-v4-crs
Mar 5, 2026
Merged

V3 to v4 crs#9
jsrobinson3 merged 4 commits intomainfrom
v3-to-v4-crs

Conversation

@jsrobinson3
Copy link
Copy Markdown
Owner

No description provided.

jsrobinson3 and others added 4 commits March 4, 2026 22:10
- Create insight/sshLogin.json: SSH login monitor dashboard with
  failed/successful login stats, unique logins (user+IP pairs),
  login trends, top offending IPs, targeted usernames, and auth log stream
- Fix security2.conf template: move netsapiens-exclusions.conf include
  to after CRS rules so SecRuleUpdateTargetById directives can find
  the rules they modify (fixes 932270 cookie false positives)
- Update README with sshLogin.json in iNSight Templates list
- Delete rules/crs/ and rules/netsapiens/ (now Jinja2 templates in config.py)
- Refactor waf_commands, restrict, and status modules
- Replace Optional[X]/Union[X,Y] with X | None / X | Y across codebase
- Fix ambiguous variable names and unused assignments in tests
- Add WAF iNSight dashboard screenshot
Resolve conflicts preferring branch formatting:
- Keep modern type annotations (str | None vs Optional[str])
- Keep NS_EXCLUSIONS_VERSION = "3" (newer template)
- Keep consistent line formatting for with statements and f-strings
@jsrobinson3 jsrobinson3 merged commit 0f10c4d into main Mar 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant