Commit graph

164 commits

Author SHA1 Message Date
5f7733d064 alarms: targets need to be str 2022-06-17 13:20:07 +01:00
1b8a64725f alarms: reduce state changes that trigger notifications 2022-06-17 12:57:02 +01:00
ac5a604587 lint: tidying up code in block tasks 2022-06-17 12:42:42 +01:00
a0da4d4641 brn: Introduce BRN as a class 2022-06-15 11:50:15 +01:00
8c411e39bc proxy: ensure use of only active proxies for smart proxy 2022-05-27 15:24:34 +01:00
b0fe83b984 automate: add newlines to captured exception 2022-05-27 15:23:46 +01:00
db6f4aef55 automate: add aws smart alarm import 2022-05-27 10:38:40 +01:00
0619fe743b proxy/cloudfront: add smart proxy alarms 2022-05-27 10:32:23 +01:00
c916624414 smart_proxy: asset domain configuration formatting 2022-05-25 15:57:00 +01:00
d99cf88f38 smart_proxy: add asset domains concept 2022-05-25 15:32:17 +01:00
dfb4d66557 smart_proxy: more escaping in the configuration 2022-05-25 11:01:04 +01:00
7bc38d10be smart_proxy: handle links to origin domain without trailing slash 2022-05-25 10:46:48 +01:00
f828d1779b proxy/azure_cdn: needs smart zone 2022-05-25 10:36:34 +01:00
c0a0474fbf proxy/azure_cdn: the origin has the smart requirement 2022-05-25 10:23:25 +01:00
5b503da621 proxy/azure_cdn: HACK! chain the cloudfront smart proxy where needed 2022-05-25 10:07:13 +01:00
dc0bfc8cb5 block/external: backwards comparison 2022-05-25 09:20:57 +01:00
66af6e6550 proxies: add smart proxy support
still to do:

* document new configuration options
* add smart proxies to groups view
* import bandwidth and CPU alarms
2022-05-25 09:07:10 +01:00
9b90101cf4 eotk: use published module 2022-05-23 11:27:35 +01:00
e18aece9b5 list/gitlab: no parallelism to avoid conflicts with multiple files in the same repo 2022-05-23 10:59:26 +01:00
592aa16734 block/external: more sanity checks 2022-05-23 10:55:59 +01:00
f31cb768ea list: add var for picky languages that require it 2022-05-19 12:27:47 +01:00
a1d777a81c alarm/http_status: ensure alarm exists for exception handling 2022-05-19 12:26:16 +01:00
cf027b5c32 list/gitlab: update to tf provider 3.14.0
if there are multiple files in the same repository
this will cause a conflict in previous versions
2022-05-18 16:40:34 +01:00
244fcdb1c8 alarms: always have an initial unknown state 2022-05-18 15:52:46 +01:00
e2ce24bf3b alarms: refactor the alarms subsystem
also include eotk alarms now
2022-05-18 15:49:36 +01:00
a935055083 lists/git: always refresh when updating git repos
looks like errors can occur when the latest commit
isn't what is expected
2022-05-18 12:00:18 +01:00
55d133394d typo: transposed characters 2022-05-17 10:15:00 +01:00
c918138312 portal/list: record encoding on new list 2022-05-17 10:14:12 +01:00
fca84e0fa7 portal: dict_items not subscriptable 2022-05-17 10:12:45 +01:00
23a8a6b8af onions: switch bc2 over to new onion table, drop mirrors table
fixes: #4
2022-05-17 09:44:18 +01:00
fce594bbc4 lint: excuse catching broad exceptions 2022-05-17 09:03:43 +01:00
9797d8d119 lint: remove cyclic imports 2022-05-17 08:32:57 +01:00
8f7f1e96c6 portal/list: remove unnecessary comprehensions 2022-05-17 08:25:32 +01:00
8c9565f284 flake: remove unused import 2022-05-17 08:13:50 +01:00
dbb480a030 auto/lists: remove additional dot in filenames 2022-05-16 17:21:23 +01:00
6fe633bf0a lists: introduce obfuscated formats 2022-05-16 17:09:33 +01:00
827aab6ffb automate: add flash activity to db session 2022-05-16 14:06:07 +01:00
e163c58445 block/roskomsvoboda: skip proxies with no url 2022-05-16 14:01:11 +01:00
b828e2bc99 alarm/http_status: catch generic RequestException 2022-05-16 13:41:17 +01:00
bc559d8fa2 proxy/cloudfront: transposed isinstance arguments 2022-05-16 13:36:20 +01:00
611e3f053d portal: clarify onion services card 2022-05-16 13:34:06 +01:00
71eb0f9c79 lists/bc2: fix up a couple of type issues 2022-05-16 13:32:52 +01:00
dd501a6e4e ci: add flake8 2022-05-16 13:29:48 +01:00
014596d271 security: fix all bandit issues 2022-05-16 12:47:40 +01:00
3665c34961 lots of typing fixes 2022-05-16 11:44:03 +01:00
51f580a304 auto/terraform: typing hints for base terraform module 2022-05-16 10:08:18 +01:00
ccf0ce6a06 cli/automate: fix up errors found with mypy 2022-05-16 09:24:37 +01:00
55a0b19c8c block/ooni: add type hint for origin result 2022-05-15 18:56:15 +01:00
f7e83611f1 auto/base: type hint metadata 2022-05-15 18:56:15 +01:00
f96bbcf49d auto/terraform: straight up return a string for logs 2022-05-15 18:56:15 +01:00