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

Changes phrasing of output from csaf_checker if security.txt was found (#196)

Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
This commit is contained in:
JanHoefelmeyer 2022-06-23 11:07:02 +02:00 committed by GitHub
parent 1a6829c9ea
commit 640ef64df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ func (r *securityReporter) report(p *processor, domain *Domain) {
return return
} }
if len(p.badSecurity) == 0 { if len(p.badSecurity) == 0 {
req.message(InfoType, "Found good security.txt.") req.message(InfoType, "Found CSAF entry in security.txt.")
return return
} }
req.Messages = p.badSecurity req.Messages = p.badSecurity