auto-commit while locked
3 files changed
tree: 2a02511c1143f661c18da2f2144140ee93fe6cde
  1. scripts/
  2. .env.example
  3. .gitignore
  4. gmail_gcloud.py
  5. gmail_gcloud_subscriber.py
  6. gmail_label_cache.py
  7. pipservice-dashboard-backend-refresh-watch.service
  8. pipservice-dashboard-backend-watch-changes.service
  9. pipservice-dashboard-backend-watch-label-renames.service
  10. pyproject.toml
  11. README.md
  12. security-dashboard-backend-refresh-watch.py
  13. security-dashboard-backend-watch-changes.py
  14. security-dashboard-backend-watch-label-renames.py
  15. target_lock.py
README.md

Apache Security Dashboard - Backend

This is the ‘backend’ of a small web API and UI to expose an overview of the issues the Security Team is tracking for ASF PMCs. It watches our GMail inbox and keeps an index similar to the email-classification branch of this repo up-to-date with the last state. A separate front-end will selectively expose this to PMCs.

Running

Copy .env.example to .env and populate it with actual secrets.

Run 2 jobs:

python3 ./security-dashboard-backend-watch-changes.py
python3 ./security-dashboard-backend-watch-label-renames.py

If a label is out-of-date for some reason, you can also manually trigger it to be updated:

python3 ./security-dashboard-backend-watch-changes.py -s single-label