The default context is not workable when users export the report.

28 views
Skip to first unread message

sunny shi

unread,
Dec 18, 2025, 11:39:03 PM12/18/25
to ZAP User Group
Hi Team,

I chose the Default Context to export the report. But it will export all alerts, including some URLs that are not included in the Default Context. Please help me check it. Thanks.

Snipaste_2025-12-19_12-35-56.pngSnipaste_2025-12-19_12-36-36.png

thc202

unread,
Dec 19, 2025, 2:37:03 AM12/19/25
to zaprox...@googlegroups.com
Hi,

What ZAP version are you using?

It's unclear from the information provided if the problem is related to
the context or the fact that the report includes alerts that were
flagged as false positive. Can you confirm which?

Best regards.

sunny shi

unread,
Dec 21, 2025, 8:40:29 PM12/21/25
to ZAP User Group
Thanks for your support. I use the ZAP Version 2.17.0.

Let me clarify my problem. Previously, when we manually scanned our website, it would extract five websites in the site tree.  We only have two websites that we want to scan, and then we added two URLs to the Default context to scan.  After finishing the scan, it will show all alerts, including three websites that we don't want to show in the report.  And when we choose the default context, the number of alerts will show 1,0,6,6
Snipaste_2025-12-22_09-28-37.png
However, when we export the report after choosing the default context. It will export all alerts(1,2,7,6), including other websites that we don't add to the default context. We want it can show 1,0,6,6 when we choose the default context to export the report. It was workable in the previous version, but now it is not workable for the latest version.



Snipaste_2025-12-22_09-32-20.png

Simon Bennetts

unread,
Jan 5, 2026, 11:57:18 AM (5 days ago) Jan 5
to ZAP User Group
Thanks for letting us know - its a bug which will be fixed by this PR https://github.com/zaproxy/zap-extensions/pull/7040

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages