Skip to content

Commit

Permalink
Initial commit in ruleset declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed Apr 22, 2024
1 parent 49db90c commit eb5c68e
Show file tree
Hide file tree
Showing 11 changed files with 1,034 additions and 364 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ time = { version = "0.3.17", default-features = false }
ctrlc = { version = "3.3.1", default-features = false, features = ["termination"] }
log-panics = { version = "2.1.0", features = ["with-backtrace"]}

[dependencies.regex]
version = "1.3"
default-features = false
features = ["std"]

[target.'cfg(windows)'.dependencies]
windows-service = "0.6.0"
zip = "0.6.6"
Expand Down
6 changes: 6 additions & 0 deletions config/windows/rules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
monitor:
- path: C:\tmp\
id: 7
rule: '\.php$'
message: "This is a test"
labels: ["windows", "test"]
Loading

0 comments on commit eb5c68e

Please sign in to comment.