2. "name" can be common for plugin 90004: Insufficient Site Isolation Against Spectre Vulnerability. But "alert" should be based on "alertRef" and specific to each instance. For example, for "alertRef: 90004-1", "alert: Cross-Origin-Resource-Policy Header Missing or Invalid" as mentioned in
https://www.zaproxy.org/docs/alerts/90004-1/.
{
"pluginid": "90004",
"alertRef": "90004-1",
"alert": "Insufficient Site Isolation Against Spectre Vulnerability",
"name": "Insufficient Site Isolation Against Spectre Vulnerability",
"riskcode": "1",
"confidence": "2",
"riskdesc": "Low (Medium)",
"desc": "<p>Cross-Origin-Resource-Policy header is an opt-in header designed to counter side-channels attacks like Spectre. Resource should be specifically set as shareable amongst different origins.</p>",
"instances": [
{
"id": "47",
"uri": "http://<masked>/WebGoat/login",
"nodeName": "<masked>/WebGoat/login",
"method": "GET",
"param": "Cross-Origin-Resource-Policy",
"attack": "",
"evidence": "",
"otherinfo": "",
"request-header": "G..",
"request-body": "",
"response-header": ".."
},
{
"id": "87",
"uri": "http://<masked>/WebGoat/service/labels.mvc",
"nodeName": "http://<masked>/WebGoat/service/labels.mvc",
"method": "GET",
"param": "Cross-Origin-Resource-Policy",
"attack": "",
"evidence": "",
"otherinfo": "",
"request-header": "...",
"request-body": "",
"request-body": "",
"response-header": ".."
}
..
"count": "15",
"systemic": true,
"solution": "<..",
"otherinfo": "",
"reference": "<p>
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy</p>",
"cweid": "693",
"wascid": "14",
"sourceid": "10",
"tags": [
{
"tag": "OWASP_2017_A03",
"link": "
https://owasp.org/www-project-top-ten/2017/A3_2017-Sensitive_Data_Exposure.html"
},
{
"tag": "OWASP_2021_A04",
"link": "
https://owasp.org/Top10/A04_2021-Insecure_Design/"
},
{
"tag": "CWE-693",
"link": "
https://cwe.mitre.org/data/definitions/693.html"
},
{
"tag": "POLICY_QA_STD",
"link": ""
},
{
"tag": "POLICY_PENTEST",
"link": ""
},
{
"tag": "SYSTEMIC",
"link": "
https://www.zaproxy.org/docs/desktop/addons/common-library/alerttags/#systemic"
}
]
},
As we generate ZAP reports in our own dashboard based on json reports, this discrepancy loses information about alertRef and alert title.
Thanks,
Kamalpreet