feat: Restrict alerts to a defined time window

- Add a function to check if the current time is within the alerting window (9am - 12am).
- Modify the alerting logic to only send alerts during this window.
- Update PROGRESS.md to reflect the completion of the task.
This commit is contained in:
2025-08-21 12:28:08 -05:00
parent d03018de9b
commit 7e24379fa1
2 changed files with 11 additions and 5 deletions

View File

@@ -71,7 +71,8 @@
- [x] Change baseline calculations to only use integers instead of floats.
- [x] Add a log file that only keeps records for the past 24 hours.
- [x] Log all LLM responses to the console.
- [ ] Reduce alerts to only happen between 9am and 12am.
- [x] Reduce alerts to only happen between 9am and 12am.
- [ ] Get hostnames of devices in Nmap scan.
- [ ] Filter out RTT fluctuations below 10 seconds.
- [ ] Filter out temperature fluctuations with differences less than 5 degrees.
- [ ] Filter out temperature fluctuations with differences less than 5 degrees.
- [ ] Create a list of known port numbers and their applications for the LLM to check against to see if an open port is a threat