NewProtectionEventID returns a fresh random screening-event id.
()
| 49 | |
| 50 | // NewProtectionEventID returns a fresh random screening-event id. |
| 51 | func NewProtectionEventID() string { return "scr_" + generateID() } |
| 52 | |
| 53 | // DeterministicProtectionEventID derives a stable id from the dedupe key |
| 54 | // (message + source + reason + detector) so that re-screening the same message — e.g. |
no test coverage detected