summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorEnderByEndera <[email protected]>2020-12-31 09:41:44 +0800
committerEnderByEndera <[email protected]>2020-12-31 09:41:44 +0800
commit4e3b06977dc710414cfcf22c2acc3cf9966d7c6e (patch)
tree43fc50ddc5eb28d696436153f3e8d6e231795e80 /static
parentbae0222801a305ead7914683c961f53a20fa78c4 (diff)
test Jenkins build
Diffstat (limited to 'static')
-rw-r--r--static/rules/commrules.json2
-rw-r--r--static/rules/pathrules.json2
-rw-r--r--static/rules/rules.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/static/rules/commrules.json b/static/rules/commrules.json
index 519cba1..959b475 100644
--- a/static/rules/commrules.json
+++ b/static/rules/commrules.json
@@ -1 +1 @@
-[{"command":"wget","coefficient":0.8},{"command":"apt","coefficient":1}] \ No newline at end of file
+[{"command":"sudo","coefficient":0.1},{"command":"wget","coefficient":0.8},{"command":"apt","coefficient":0.2}] \ No newline at end of file
diff --git a/static/rules/pathrules.json b/static/rules/pathrules.json
index 6e2e93d..4f8c9f0 100644
--- a/static/rules/pathrules.json
+++ b/static/rules/pathrules.json
@@ -1 +1 @@
-[{"Path":"/root/go/src/commdetection/rules","Coefficient":0.7}] \ No newline at end of file
+[{"Path":"/root/go/src/commdetection","Coefficient":0.5}] \ No newline at end of file
diff --git a/static/rules/rules.json b/static/rules/rules.json
index 3a3c234..3339112 100644
--- a/static/rules/rules.json
+++ b/static/rules/rules.json
@@ -1 +1 @@
-[{"name":"RuleA","rulefunc":"EvaluateCommandRule"}] \ No newline at end of file
+[{"name":"pathrule","rulefunc":"EvaluatePathRule"}] \ No newline at end of file