Hi Eric,
Sorry about the delay. I checked my regex using Tools -> Regular Expression Tester and I have removed the single quotes around it.
My main problem with this url (this example is dummy one):
globalexcludeurl.url_list.url(0).regex='^.*bla\.blabla\.blabla-bla\.co\.uk.*$'
globalexcludeurl.url_list.url(0).enabled=true
because that url is a thirdparty url which I do not want the ZAP proxy to scan at all.
I run a python test via ZAP proxy which tests api endpoints (with simple requests to the my api endpoints via ZAP proxy) and some of endpoints have redirects to the url that is in the global exclude url, but I see this in the ZAP proxy log:
I do not know it means ZAP would like to scan that thirdparty url or not.
When I get the report by this command: "zap-cli report -o ulpreport.html -f html", the report does not include any information about that thirdparty url just about my api endpoints/urls.
Thanky,
Orsolya