aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_json_post.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-dev/snort_json_post.php')
-rw-r--r--config/snort-dev/snort_json_post.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/snort-dev/snort_json_post.php b/config/snort-dev/snort_json_post.php
index 359dd23a..ee9d9ead 100644
--- a/config/snort-dev/snort_json_post.php
+++ b/config/snort-dev/snort_json_post.php
@@ -62,6 +62,19 @@ function snortJsonReturnCode($returnStatus)
}
}
+// snortsam save settings
+if ($_POST['snortSamSaveSettings'] == 1) {
+
+ unset($_POST['snortSamSaveSettings']);
+
+ function snortSamSaveFunc()
+ {
+ print_r($_POST[snortsam][db]);
+ }
+ snortSamSaveFunc();
+
+}
+
// row from db by uuid
if ($_POST['snortSidRuleEdit'] == 1) {