1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

add badProviderMetadata to rules

This commit is contained in:
JanHoefelmeyer 2023-06-22 13:27:48 +02:00
parent d393a42d61
commit 7dc1a6530e

View file

@ -169,9 +169,7 @@ func (p *processor) eval(requirement int) bool {
case 6:
return len(p.redirects) == 0
case 7:
// TODO: implement me!
return true
return !p.badProviderMetadata.hasErrors()
case 8:
return !p.badSecurity.hasErrors()
case 9: