lazyflat: combined alert + apply behind authenticated web UI
Three isolated services (alert scraper, apply HTTP worker, web UI+DB) with argon2 auth, signed cookies, CSRF, rate-limited login, kill switch, apply circuit breaker, audit log, and strict CSP. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
69f2f1f635
46 changed files with 4183 additions and 0 deletions
6
alert/utils.py
Normal file
6
alert/utils.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import hashlib
|
||||
import pickle
|
||||
|
||||
def hash_any_object(var):
|
||||
byte_stream = pickle.dumps(var)
|
||||
return hashlib.sha256(byte_stream).hexdigest()
|
||||
Loading…
Add table
Add a link
Reference in a new issue