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

fpr: lots of false positive reduction #450

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Conversation

mattlorimor
Copy link
Contributor

No description provided.

Comment on lines -67 to +68
AND file.path NOT LIKE '/var/tmp/IN_PROGRESS_sysdiagnose_%.tmp/mddiagnose.mdsdiagnostic/diagnostic.log'
-- These mddiagnose ones could maybe be squashed to '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/%.log'
AND file.path NOT LIKE '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/corespotlight%.log'
AND file.path NOT LIKE '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/diagnostic.log'
AND file.path NOT LIKE '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/general.log'
AND file.path NOT LIKE '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/importer_diag.log'
AND file.path NOT LIKE '/var/tmp/IN_PROGRESS_sysdiagnose_%.tmp/mddiagnose.mdsdiagnostic/%.log'
AND file.path NOT LIKE '/var/tmp/sysdiagnose_%/mddiagnose.mdsdiagnostic/%.log'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Compressed this

Comment on lines +238 to +242
AND NOT (
signature.authority = 'Developer ID Application: Tailscale Inc. (W5364U7YZB)'
AND lp.port > 5000
AND lp.protocol = 6
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ripped out the too-specific tailscale checks up top and squashed it here.

Comment on lines +90 to +96
AND NOT (
(
cgroup_path LIKE '/user.slice/user-1000.slice/[email protected]/app.slice/app-org.gnome.Terminal.slice/vte-spawn-%.scope'
OR cgroup_path LIKE '/user.slice/user-1000.slice/[email protected]/user.slice/docker-%.scope'
)
AND path LIKE '/usr/share/nvm/versions/node/v%/bin/node'
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does this do what I think it does: not fire if cgroup_path is either of those AND when path matches?

Copy link
Member

Choose a reason for hiding this comment

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

That makes sense to me. If either of the two items are true and the third item is true, then the alert won't fire.

@mattlorimor mattlorimor merged commit 9193870 into main Jan 24, 2025
3 checks passed
@mattlorimor mattlorimor deleted the lorimor/FPs20250123 branch January 24, 2025 00:45
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.

3 participants