This commit is contained in:
Raskaro 2019-08-20 12:02:09 +02:00
parent 26c307b7a0
commit f35659de19

View file

@ -14,6 +14,7 @@ type Threat struct {
MitigationLevel uint8 // Recommended Security Level to switch to for mitigation MitigationLevel uint8 // Recommended Security Level to switch to for mitigation
Started int64 Started int64
Ended int64 Ended int64
// TODO: add locking
} }
// AddOrUpdateThreat adds or updates a new threat in the system status. // AddOrUpdateThreat adds or updates a new threat in the system status.