This commit is contained in:
2025-09-17 12:14:53 -04:00
parent e3a5efe56f
commit 640c2a5e58
7 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ edition = "2021"
description = "Detect and Act on unauthorized access of any kind from any source." description = "Detect and Act on unauthorized access of any kind from any source."
authors = ["jkoontsiii@gmail.com"] authors = ["jkoontsiii@gmail.com"]
license = "MIT" license = "MIT"
repository = "https://github.com/helloimalemur/fortiwatch" repository = "https://github.com/helloimalemur/watchman"
keywords = ["file-integrity", "filesystem-integirty", "change-detection", "watchman"] keywords = ["file-integrity", "filesystem-integirty", "change-detection", "watchman"]
readme = "README.md" readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -1,10 +1,10 @@
use std::env::consts::OS; use std::env::consts::OS;
use clap::Parser; use clap::Parser;
use crate::arguments::Arguments; use crate::arguments::Arguments;
use crate::fortiwatch::AppState; use crate::watchman::AppState;
use crate::prometheus::Prometheus; use crate::prometheus::Prometheus;
mod fortiwatch; mod watchman;
mod monitors; mod monitors;
mod prometheus; mod prometheus;
mod arguments; mod arguments;

View File

@@ -3,7 +3,7 @@ use std::process::Command;
use std::time::{Duration, SystemTime}; use std::time::{Duration, SystemTime};
use std::env::consts::OS; use std::env::consts::OS;
use crate::fortiwatch::EventMonitor; use crate::watchman::EventMonitor;
use crate::monitors::actions::reboot_system; use crate::monitors::actions::reboot_system;
use crate::monitors::notify::send_discord; use crate::monitors::notify::send_discord;
use anyhow::anyhow; use anyhow::anyhow;

View File

@@ -1,5 +1,5 @@
use std::env::consts::OS; use std::env::consts::OS;
use crate::fortiwatch::EventMonitor; use crate::watchman::EventMonitor;
use crate::monitors::actions::reboot_system; use crate::monitors::actions::reboot_system;
use crate::monitors::notify::send_discord; use crate::monitors::notify::send_discord;
use chrono::Local; use chrono::Local;

View File

@@ -1,4 +1,4 @@
use crate::fortiwatch::EventMonitor; use crate::watchman::EventMonitor;
use crate::monitors::notify::send_discord; use crate::monitors::notify::send_discord;
use chrono::Local; use chrono::Local;
use config::Config; use config::Config;

View File

@@ -1,5 +1,5 @@
use std::sync::Arc; use std::sync::Arc;
use crate::fortiwatch::EventMonitor; use crate::watchman::EventMonitor;
use crate::monitors::actions::reboot_system; use crate::monitors::actions::reboot_system;
use chrono::Local; use chrono::Local;
use config::Config; use config::Config;

View File

@@ -1,4 +1,4 @@
use crate::fortiwatch::EventMonitor; use crate::watchman::EventMonitor;
use crate::monitors::actions::unmount_encrypted_volumes; use crate::monitors::actions::unmount_encrypted_volumes;
use chrono::{DateTime, Utc}; use chrono::{DateTime, Utc};
use config::Config; use config::Config;