mirror of https://github.com/daffainfo/nuclei.git
Remove prefix v from Sarif exporters (#4976)
because: In config.Version there is already a `v`` prefix, such as `v3.2.2``. Prior to this commit the versions were being tagged as `vv3.2.2` this commit: Removes the 'v' prefix from the Sarif exporter in the ToolDetails for both FullName and SemanticVersion.dev
parent
3907e20bde
commit
143f179e7b
|
@ -53,8 +53,8 @@ func (exporter *Exporter) addToolDetails() {
|
|||
FullDescription: &sarif.MultiformatMessageString{
|
||||
Text: "Fast and customizable vulnerability scanner based on simple YAML based DSL",
|
||||
},
|
||||
FullName: "Nuclei v" + config.Version,
|
||||
SemanticVersion: "v" + config.Version,
|
||||
FullName: "Nuclei " + config.Version,
|
||||
SemanticVersion: config.Version,
|
||||
DownloadURI: "https://github.com/projectdiscovery/nuclei/releases",
|
||||
Rules: exporter.rules,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue