fix missing template_url for pd signed templates when executed from custom path (#5644)

This commit is contained in:
Ramana Reddy
2024-09-19 18:58:20 +05:30
committed by GitHub
parent 0a536e6ce0
commit 3d2f31a56f
19 changed files with 39 additions and 24 deletions

View File

@@ -348,6 +348,7 @@ func (request *Request) MakeResultEventItem(wrapped *output.InternalWrappedEvent
TemplateID: types.ToString(request.options.TemplateID),
TemplatePath: types.ToString(request.options.TemplatePath),
Info: request.options.TemplateInfo,
TemplateVerifier: request.options.TemplateVerifier,
Type: types.ToString(wrapped.InternalEvent["type"]),
Matched: types.ToString(wrapped.InternalEvent["input"]),
Host: fields.Host,