Skip to content

Commit

Permalink
Merge pull request #3093 from projectdiscovery/output-template-path
Browse files Browse the repository at this point in the history
add template path in json output
  • Loading branch information
ShubhamRasal authored Dec 27, 2022
2 parents def88ba + 1df878f commit f5c6dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f5c6dec

Please sign in to comment.