mozilla / bedrock

Making mozilla.org awesome, one pebble at a time
https://www.mozilla.org
Mozilla Public License 2.0
1.17k stars 913 forks source link

Create sync management command to pull breaches and logos into db #13612

Open robhudson opened 1 year ago

robhudson commented 1 year ago

Description

Sub-task of issue #13553 Depends on #13611

The breach data comes from the JSON API endpoint at HIBP. The breach icons are fetched from DDG, the current code for which is here: https://github.com/mozilla/blurts-server/blob/1382f301f0b8c6eb34b5010ce7526cf7c87dcc8a/src/scripts/syncBreaches.js#L36-L75

The management command should load breaches into the data model and fetch the logos and store them in the static assets bucket. See the existing code for guidance.

janbrasna commented 3 months ago

This seems like wontfix as the parent issues along with PRs were closed as "not planned".