.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user