g1t/services/security/migrations/0003_g1t_name.sql

4 lines284 bytesCodeBlame
1-- g1t's agent is shown as g1t, the name g1t itself goes by: what it did
2-- under its old name, g1t-agent, is shown under the new one.
3UPDATE alert_activity SET actor = 'g1t' WHERE actor = 'g1t-agent';
4UPDATE vulnerabilities SET dismissed_by = 'g1t' WHERE dismissed_by = 'g1t-agent';