We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc5e843 commit c08201bCopy full SHA for c08201b
1 file changed
src/generate-report.ts
@@ -22,7 +22,7 @@ const parse = (object: reportTypes.zapObject): reportTypes.report => {
22
helpUri: `https://www.zaproxy.org/docs/alerts/${alert.alertRef}`,
23
defaultConfiguration: {level: severity},
24
properties: {
25
- tags: [ `external/cwe/cwe-${alert.cweid}`]
+ tags: [`external/cwe/cwe-${alert.cweid}`]
26
}
27
28
})
@@ -69,6 +69,7 @@ const parse = (object: reportTypes.zapObject): reportTypes.report => {
69
uri: instance.uri
70
.replace(/(^\w+:|^)\/\//, '')
71
.replace(/\/$/, '')
72
+ .replace(/:/g, '')
73
},
74
region: {
75
startLine: 1
0 commit comments