mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
commit
d779a3fd7e
7 changed files with 256 additions and 34 deletions
|
|
@ -186,10 +186,17 @@ func (r *changesReporter) report(p *processor, domain *Domain) {
|
|||
req.Messages = p.badChanges
|
||||
}
|
||||
|
||||
func (r *directoryListingsReporter) report(_ *processor, domain *Domain) {
|
||||
// TODO: Implement me!
|
||||
func (r *directoryListingsReporter) report(p *processor, domain *Domain) {
|
||||
req := r.requirement(domain)
|
||||
_ = req
|
||||
if !p.badDirListings.used() {
|
||||
req.message("No directory listings checked.")
|
||||
return
|
||||
}
|
||||
if len(p.badDirListings) == 0 {
|
||||
req.message("All directory listings are valid.")
|
||||
return
|
||||
}
|
||||
req.Messages = p.badDirListings
|
||||
}
|
||||
|
||||
func (r *integrityReporter) report(p *processor, domain *Domain) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue