Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several significant updates across the codebase, focusing on eBPF syscall monitoring, alerting enhancements, improved notification configuration (especially for email), and database schema changes. It also includes some infrastructure and configuration improvements.
Key highlights:
ip_offensestable and improve indexing for alerts and offenses.eBPF Syscall Monitoring
execve,connect,openat, andptrace, including event data structures and a ring buffer for event delivery inebpf/src/maps.rsandebpf/src/syscalls.rs. [1] [2]Alerting System Enhancements
FromStrimplementations forAlertType,AlertSeverity, andAlertStatus, enabling parsing from strings and simplifying conversions. [1] [2] [3]AlertTypeto beCopyfor efficiency and updated usage accordingly. [1] [2]AlertRule. [1] [2]Notification Configuration Improvements
NotificationConfigto support SMTP/email notifications, including new builder and accessor methods for SMTP credentials and recipients. [1] [2] [3] [4]Database Schema and Migrations
ip_offensestable with indexes for tracking offending IP addresses and their status. [1] [2]container_idin alerts for improved query performance.Infrastructure, Versioning, and Configuration
Cargo.toml,README.md, andVERSION.mdto0.2.1. [1] [2] [3]docker-compose.ymlfrom 8080 to 5000.lettre,actix-test,awc). [1] [2]These changes collectively improve the observability, configurability, and extensibility of the Stackdog platform, especially around security event monitoring and alerting.