.
This commit is contained in:
@@ -5,7 +5,7 @@ edition = "2021"
|
||||
description = "Detect and Act on unauthorized access of any kind from any source."
|
||||
authors = ["jkoontsiii@gmail.com"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/helloimalemur/fortiwatch"
|
||||
repository = "https://github.com/helloimalemur/watchman"
|
||||
keywords = ["file-integrity", "filesystem-integirty", "change-detection", "watchman"]
|
||||
readme = "README.md"
|
||||
# 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 clap::Parser;
|
||||
use crate::arguments::Arguments;
|
||||
use crate::fortiwatch::AppState;
|
||||
use crate::watchman::AppState;
|
||||
use crate::prometheus::Prometheus;
|
||||
|
||||
mod fortiwatch;
|
||||
mod watchman;
|
||||
mod monitors;
|
||||
mod prometheus;
|
||||
mod arguments;
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::process::Command;
|
||||
use std::time::{Duration, SystemTime};
|
||||
use std::env::consts::OS;
|
||||
|
||||
use crate::fortiwatch::EventMonitor;
|
||||
use crate::watchman::EventMonitor;
|
||||
use crate::monitors::actions::reboot_system;
|
||||
use crate::monitors::notify::send_discord;
|
||||
use anyhow::anyhow;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use std::env::consts::OS;
|
||||
use crate::fortiwatch::EventMonitor;
|
||||
use crate::watchman::EventMonitor;
|
||||
use crate::monitors::actions::reboot_system;
|
||||
use crate::monitors::notify::send_discord;
|
||||
use chrono::Local;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::fortiwatch::EventMonitor;
|
||||
use crate::watchman::EventMonitor;
|
||||
use crate::monitors::notify::send_discord;
|
||||
use chrono::Local;
|
||||
use config::Config;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
use crate::fortiwatch::EventMonitor;
|
||||
use crate::watchman::EventMonitor;
|
||||
use crate::monitors::actions::reboot_system;
|
||||
use chrono::Local;
|
||||
use config::Config;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::fortiwatch::EventMonitor;
|
||||
use crate::watchman::EventMonitor;
|
||||
use crate::monitors::actions::unmount_encrypted_volumes;
|
||||
use chrono::{DateTime, Utc};
|
||||
use config::Config;
|
||||
|
||||
Reference in New Issue
Block a user