mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fix: Assume most restrictive role to prevent false-positives
This commit is contained in:
parent
3f4fe5cf18
commit
d09db6635d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue