Update output_http.go

dev
Charles Holtzkampf 2020-07-08 19:56:18 +01:00 committed by GitHub
parent 9476b72b2e
commit 73068f5fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ func (e *HTTPExecutor) writeOutputHTTP(req *requests.CompiledHTTP, matcher *matc
Matched: URL, Matched: URL,
Severity: e.template.Info.Severity, Severity: e.template.Info.Severity,
Author: e.template.Info.Author, Author: e.template.Info.Author,
Description: e.template.Info.Description,
} }
if matcher != nil && len(matcher.Name) > 0 { if matcher != nil && len(matcher.Name) > 0 {
output.MatcherName = matcher.Name output.MatcherName = matcher.Name