mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 10:45:26 +00:00
add template path in json output
This commit is contained in:
parent
def88ba119
commit
1df878fdd2
@ -82,7 +82,7 @@ type ResultEvent struct {
|
||||
// TemplateID is the ID of the template for the result.
|
||||
TemplateID string `json:"template-id"`
|
||||
// TemplatePath is the path of template
|
||||
TemplatePath string `json:"-"`
|
||||
TemplatePath string `json:"template-path,omitempty"`
|
||||
// Info contains information block of the template for the result.
|
||||
Info model.Info `json:"info,inline"`
|
||||
// MatcherName is the name of the matcher matched if any.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user