Rename security levels

This commit is contained in:
Daniel
2020-04-09 16:40:10 +02:00
parent bd7d08960e
commit a425cb63d8
6 changed files with 37 additions and 37 deletions

View File

@@ -61,7 +61,7 @@ func (s *SystemStatus) updateThreatMitigationLevel() {
var mitigationLevel uint8
for _, threat := range s.Threats {
switch threat.MitigationLevel {
case SecurityLevelDynamic, SecurityLevelSecure, SecurityLevelFortress:
case SecurityLevelNormal, SecurityLevelHigh, SecurityLevelExtreme:
if threat.MitigationLevel > mitigationLevel {
mitigationLevel = threat.MitigationLevel
}