mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
reporters.go update (#211)
* updates phrasing of error message if processor does not check security.txt due to an earlier error * Fixes typo in error message Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
This commit is contained in:
parent
ff2eee39e5
commit
73e216eccc
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (r *providerMetadataReport) report(p *processor, domain *Domain) {
|
||||||
func (r *securityReporter) report(p *processor, domain *Domain) {
|
func (r *securityReporter) report(p *processor, domain *Domain) {
|
||||||
req := r.requirement(domain)
|
req := r.requirement(domain)
|
||||||
if !p.badSecurity.used() {
|
if !p.badSecurity.used() {
|
||||||
req.message(InfoType, "No security.txt checked.")
|
req.message(InfoType, "Performed no in-depth test of security.txt.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(p.badSecurity) == 0 {
|
if len(p.badSecurity) == 0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue