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

Fix: Assume most restrictive role to prevent false-positives
Some checks are pending
Go / build (push) Waiting to run
Go / run_modver (push) Blocked by required conditions

This commit is contained in:
JanHoefelmeyer 2025-06-24 17:24:08 +02:00
parent 3f4fe5cf18
commit d09db6635d

View file

@ -267,8 +267,8 @@ func (p *processor) run(domains []string) (*Report, error) {
if domain.Role == nil {
log.Printf("No role found in meta data for domain %q\n", d)
// Assume provider to continue report generation
role := csaf.MetadataRolePublisher
// Assume trusted provider to continue report generation
role := csaf.MetadataRoleTrustedProvider
domain.Role = &role
}