Conversation
📝 WalkthroughWalkthroughA rule's uniqueness expression was changed to use only Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In
`@pkg/rules/r0008-read-environment-variables-procfs/read-environment-variables-procfs.yaml`:
- Around line 15-16: The current dedup key uses only event.comm which can
collapse alerts; change the rule's uniqueId to include event.comm plus
event.path and/or event.containerId (e.g., combine event.comm + '|' + event.path
+ '|' + event.containerId) so alerts are deduped per process+target-file and
container context; update the uniqueId field and adjust any dependent message
formatting to reference the same fields (message, uniqueId, event.comm,
event.path, event.containerId).
pkg/rules/r0008-read-environment-variables-procfs/read-environment-variables-procfs.yaml
Show resolved
Hide resolved
Signed-off-by: Yakir Oren <yakiroren@gmail.com>
f740e42 to
f85acd9
Compare
Signed-off-by: Yakir Oren <yakiroren@gmail.com>
Summary by CodeRabbit
Updates
Tests