Security: Follow-up on recent changes. (#11874)
This commit is contained in:
parent
bde6a6bc3e
commit
e9f6c8e8f2
8 changed files with 19 additions and 27 deletions
|
|
@ -39,7 +39,7 @@ func (m Mock) GetDefaultBackend() defaults.Backend {
|
|||
func (m Mock) GetSecurityConfiguration() defaults.SecurityConfiguration {
|
||||
defRisk := m.AnnotationsRiskLevel
|
||||
if defRisk == "" {
|
||||
defRisk = "Critical"
|
||||
defRisk = "High"
|
||||
}
|
||||
return defaults.SecurityConfiguration{
|
||||
AnnotationsRiskLevel: defRisk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue