Commit Graph

229 Commits

Author SHA1 Message Date
thomashaw
04cb14cf02 enable post requests + fix encoding bug 2022-11-13 13:09:21 +00:00
thomashaw
d2fc9f917c fixing duplicate alerts in db 2022-10-28 19:47:31 +01:00
thomashaw
6132007ab3 sleep value + disabling web_actioner for demo 2022-10-19 21:18:54 +01:00
thomashaw
a80e458644 Disable elasticsearch geoip update 2022-10-16 18:44:40 +01:00
thomashaw
2c224e4f44 Fixing unescaped ' characters breaking strings in message actioner command generation 2022-10-15 13:54:50 +01:00
thomashaw
e846660a34 wip 2022-08-30 23:21:20 +01:00
thomashaw
293c993acc wip 2022-08-30 22:39:04 +01:00
thomashaw
afa7b3a23f alert_router.rb: added test_actions(alert_name) command. runs all actions associated w/ alert_name, even if already actioned. 2022-08-30 21:25:23 +01:00
thomashaw
9eeffbbd7f web_actioner.rb: Removing testing code. Commented out the request until merge. 2022-08-29 20:46:41 +01:00
thomashaw
7b1b9eec65 web_actioner.rb: adding post data (wip2) 2022-08-29 17:57:18 +01:00
thomashaw
67cb0b5525 web actioner update: form data correctly set 2022-08-29 17:55:54 +01:00
thomashaw
91e2f70d03 web_actioner.rb: adding post data (wip) 2022-08-29 17:40:04 +01:00
thomashaw
04b837d84b WebActioner: Improved logging 2022-08-25 16:26:41 +01:00
thomashaw
15e9ddfd91 GCI -> CGI typo fix 2022-08-23 12:56:33 +01:00
thomashaw
99a60b1f36 fix 2022-08-17 17:57:00 +01:00
thomashaw
7486691694 install gci gem deps 2022-08-17 17:13:15 +01:00
thomashaw
29a486871a install gci gem 2022-08-17 16:08:35 +01:00
thomashaw
c5f29cc821 fixed duplicate &amp in output 2022-08-17 14:41:05 +01:00
thomashaw
c2ddcd2309 web actioner update: wip 2022-07-13 12:10:33 +01:00
thomashaw
be74b59867 web actioner update: kind-of working but getting pushed back with 500 server error from Hacktivity. Due to CSP? 2022-07-13 12:03:35 +01:00
thomashaw
0aed5f61ad web actioner wip: updated the parsing so the url pulls through correctly. WIP code for testing post req, currently not working. 2022-07-10 22:00:56 +01:00
thomashaw
a9042addcf testing: proxy env var set in post too 2022-07-10 20:08:41 +01:00
thomashaw
b5a9faaf32 testing: removing command_actioner perform_action for now 2022-07-10 20:07:09 +01:00
thomashaw
7f9106f9f4 adding logger to web actioner 2022-07-10 20:06:15 +01:00
thomashaw
e8d4362164 adding google as test url 2022-07-10 19:16:55 +01:00
thomashaw
0573f60623 dynamic ip service file + requires changes 2022-07-10 18:58:18 +01:00
thomashaw
9f70a6d805 web_actioner: test whether this works by default 2022-07-10 17:52:19 +01:00
thomashaw
dfc73ba2ca web_test -- test if it works w/ proxy or not 2022-07-10 17:27:04 +01:00
thomashaw
b54e4d581e even cleaner 2022-07-10 16:13:34 +01:00
thomashaw
bf0131faa2 cleaner 2022-07-10 16:12:57 +01:00
thomashaw
d8b2537b50 added db id to alert actioners 2022-07-10 16:12:04 +01:00
thomashaw
4eca9b9530 added delete_db command 2022-07-08 00:24:01 +01:00
thomashaw
6b20a805fc wip 2022-07-08 00:17:45 +01:00
thomashaw
3ee1519278 print 2022-06-30 21:16:34 +01:00
thomashaw
ebb7cab445 actioner respects resets from external db changes 2022-06-30 21:14:44 +01:00
thomashaw
60570610c6 Update reset actioners (wip - test on laptop) 2022-06-30 17:26:08 +01:00
thomashaw
af89fc988d testing the actions - uncommented! 2022-04-23 21:28:02 +01:00
thomashaw
6dbba54d6f wip fix 2022-04-19 20:07:25 +01:00
thomashaw
42b8cc7b34 updated logging 2022-04-19 19:34:10 +01:00
thomashaw
8a7c80498f updated owner and group for /opt/alert_router so service runs as aaa_admin rather than root 2022-04-19 15:47:40 +01:00
thomashaw
7d0e2fd69b added psql dev packages 2022-04-14 10:31:13 +01:00
thomashaw
c20f28689c alert_router service update 2022-03-24 16:27:28 +00:00
thomashaw
c4453887dd aaa db initialisation updates 2022-03-24 14:04:55 +00:00
thomashaw
bde1b417bf aaa fix service file 2022-03-23 20:46:24 +00:00
thomashaw
095667a1a3 add db user cont. 2022-03-23 20:09:53 +00:00
thomashaw
2207dbcf11 add db user 2022-03-23 19:42:12 +00:00
thomashaw
220279922c .pp fix 2022-03-23 17:10:33 +00:00
thomashaw
15702b24ba .pp fix 2022-03-23 15:58:50 +00:00
thomashaw
348da72153 AAA updates: runs as a service w/ alert_events db 2022-03-08 21:20:37 +00:00
thomashaw
d1d81667ac AAA DB SQL file 2022-03-03 17:05:35 +00:00