Commit Graph

145 Commits

Author SHA1 Message Date
Mark Veidemanis 2dd9efcc6f
Fix window/interval validation and make aggs optional in parse_results 2023-01-15 20:27:19 +00:00
Mark Veidemanis eb2486afba
Allow using webhooks for notifications 2023-01-15 18:40:17 +00:00
Mark Veidemanis 6bfa0aa73b
Implement running scheduled rules and check aggregations 2023-01-15 17:59:12 +00:00
Mark Veidemanis 435d9b5571
Implement running scheduled tasks 2023-01-14 17:24:54 +00:00
Mark Veidemanis 2a1e6b3292
Allow scheduling notification rules 2023-01-14 16:36:22 +00:00
Mark Veidemanis 9ee9c7abde
Fix insights 2023-01-14 16:36:00 +00:00
Mark Veidemanis dbf581245b
Validate interval and window fields in form 2023-01-14 14:45:19 +00:00
Mark Veidemanis 158fffed99
Show which fields matched 2023-01-13 07:20:31 +00:00
Mark Veidemanis dd4b2ddd3a
Log NTFY errors 2023-01-12 19:00:06 +00:00
Mark Veidemanis 9aacc2cc51
Lowercase msg before matching 2023-01-12 07:20:48 +00:00
Mark Veidemanis 031995d4b9
Allow partial matching on msg field 2023-01-12 07:20:48 +00:00
Mark Veidemanis 4f55ffeaf7
Allow overriding topic 2023-01-12 07:20:48 +00:00
Mark Veidemanis 0b840d227b
Add priority to notification rules 2023-01-12 07:20:48 +00:00
Mark Veidemanis e01aea7712
Properly check tokens in notification rules 2023-01-12 07:20:48 +00:00
Mark Veidemanis b68d7606f8
Clean up debug statements 2023-01-12 07:20:48 +00:00
Mark Veidemanis 4dd8224a77
Finish implementing notification rules 2023-01-12 07:20:48 +00:00
Mark Veidemanis f93d37d1c0
Implement notification rules and settings 2023-01-12 07:20:43 +00:00
Mark Veidemanis 61f93390d9
Replace OpenSearch with Elasticsearch 2022-11-21 07:20:29 +00:00
Mark Veidemanis 45b8483366
Remove unnecessary import in Threshold handler 2022-09-30 07:22:22 +01:00
Mark Veidemanis 202a13cccb
Begin implementing DB framework 2022-09-27 15:15:08 +01:00
Mark Veidemanis 0c60413e5b
Don't print DB responses 2022-09-12 08:43:29 +01:00
Mark Veidemanis 816ed2665b
Reformat 2022-09-07 07:20:30 +01:00
Mark Veidemanis f1cb539ca6
Switch to requests due to bug in Manticore client 2022-09-07 07:20:30 +01:00
Mark Veidemanis f35eb51aaf
Update internal index name 2022-09-05 07:20:30 +01:00
Mark Veidemanis 0882d3f0da
Maximise results on load 2022-09-07 11:30:45 +01:00
Mark Veidemanis c2d78dc482
Switch to ujson and remove debugging statements 2022-09-05 07:20:30 +01:00
Mark Veidemanis 753c168940
Make cache configurable 2022-09-05 07:20:30 +01:00
Mark Veidemanis 5be02807e3
Add cache indicator, time the fetch from Redis and round it 2022-09-05 07:20:30 +01:00
Mark Veidemanis 02e1b4698d
Don't add sources to query if we are allowed to see them all 2022-09-05 07:20:30 +01:00
Mark Veidemanis 667e4c475f
Add defaults to context and pass them before they are removed 2022-09-05 07:20:30 +01:00
Mark Veidemanis 11dbe3e094
Reformat and don't pass back default parameters to URL 2022-09-05 07:20:30 +01:00
Mark Veidemanis 9774da0d00
Remove some debugging code 2022-09-06 12:18:58 +01:00
Mark Veidemanis 87324de666
Fix some Manticore queries 2022-09-06 11:53:32 +01:00
Mark Veidemanis 3b8735be72
Fix source queries 2022-09-06 09:41:07 +01:00
Mark Veidemanis 017a05880b
Add manticore client 2022-09-05 22:57:20 +01:00
Mark Veidemanis 79a8e5f6e4
Add the unique variable sooner to the Drilldown context 2022-09-02 07:20:30 +01:00
Mark Veidemanis c597af5523
Fix restricted source handling 2022-08-26 07:20:30 +01:00
Mark Veidemanis bdee5a2aae
Remove redaction stuff 2022-08-26 07:20:30 +01:00
Mark Veidemanis 0d58a3b082
Fix src/source issue 2022-08-30 11:50:52 +01:00
Mark Veidemanis bcf3ad708a
Don't filter 4chan for blacklist 2022-08-30 10:52:43 +01:00
Mark Veidemanis 18060ddc75
Default to 4chan 2022-08-30 10:48:21 +01:00
Mark Veidemanis ba3124bd69
Bypass obfuscation for safe sources 2022-08-30 10:30:17 +01:00
Mark Veidemanis 38b712ac9a
Fix hashing with 4chan 2022-08-30 10:00:26 +01:00
Mark Veidemanis 65140f70ac
Fix results delay and add nicer icons 2022-08-27 17:31:39 +01:00
Mark Veidemanis ba41a0b26b
Implement integer field randomisation 2022-08-27 13:18:24 +01:00
Mark Veidemanis a2d572baf4
Delay results 2022-08-27 12:53:37 +01:00
Mark Veidemanis 0eda404732
Improve denied output 2022-08-27 12:25:54 +01:00
Mark Veidemanis c4f17dd5fb
Add extra checks on hash lookups 2022-08-27 12:20:36 +01:00
Mark Veidemanis de42dcee03
Fix insights search 2022-08-26 21:03:21 +01:00
Mark Veidemanis ae25e1980e
Implement obfuscation 2022-08-26 20:44:39 +01:00