It would be very useful for users to be able to clear out messages + alerts on a site/url basis as you mentioned in your last post.
The reasoning is that it helps to manage what is in the site tree, the message(s) and alerts stored in the session and to basically clear
out information that we don't need after performing a passive + active scan on sites + specific urls. So yes, an API method that allows
us to do that would be very cool to have and in that way i create just one instance of ZAP, have only one session in which i do all my
tests for various projects and clear the results + messages once the tests are done. No need for me to create a separate instance for each
project i need to handle.
I guess i am looking at ZAP down the road to become more like a server that could handle multiple independent sessions and manage the information
in that manner. It defintely suffices what we need today and is awesome for automation via the api etc.
Many Thanks,
Usman