The target application that i am tetsing via ZAP consist of 2 different domains as below:
Hence, I have imported a Context which consist of below regex:
Now I want to initiate an ascan using following API:
But I receive below error, which mentions url_not_found. Which means url is required. I have 2 questions:
1. As per the documentation, url is not a mandatory field and hence it should trigger an ascan with contextID. If I supply the URL, only one domain would be tested.
2. How do I achieve the use case, of triggering an active scan for the 2 domains which is part f my application in one go?
Regards,
Sweta M