esnet-security / SCRAM

Security Catch and Release Automation Manager
Other
5 stars 0 forks source link

Do some event data validation in translator.py #44

Open samoehlert opened 2 months ago

samoehlert commented 2 months ago

Now that we're pulling data from django via websocket messages model, we should validate that data. It also seems to make sense to do it in translator.py instead of the gobgp module because:

1) translator is backend agnostic 2) no reason to reach out to gobgp if we have bad data