Hi.
> This does look incorrect to me. ZAP shows the response as a 200 OK,
when in
> actual fact the response is a 302 Moved Temporarily. It looks like
> redirects are being automatically followed, and the response of the last
> request *GET /v1/trees* is being applied to the first request *GET /*.
Right, that's the problem.
Thanks for reporting.
Best regards.
On 04/04/2020 01:23, 'Cameron Swords' via OWASP ZAP User Group wrote:
>
>
>> what starts the process an API get? Post? Is the CC param passed along in
>> the requests, if so how?
>
>
> The URLs */* and */v1* are defined in the OpenAPI specification to return
> 302 responses. When the specification is imported, ZAP parses the file and
> extracts URLs. After import, the URLs are passively scanned, and the ZAP
> alerts are created.
>
> The URLs are GETs in the specification, and this is the kind of request ZAP
> makes. I'm not sure what you mean by CC param?
>
>
>
> hit up the marketplace ... for the beta and alpha packages.
>
>
> Cheers, I did this, and reproduced what happened in the GUI. I got this
> working by running Steps 1, 2 and 3 in my first message, and then importing
> an OpenAPI definition from my local file system. I used
> http://[my-ip-address] as the target.
>
> This does look incorrect to me. ZAP shows the response as a 200 OK, when in
> actual fact the response is a 302 Moved Temporarily. It looks like
> redirects are being automatically followed, and the response of the last
> request *GET /v1/trees* is being applied to the first request *GET /*.
>
>
> [image: Screenshot 2020-04-04 11.15.36.png][image: Screenshot 2020-04-04
> 11.15.57.png] <about:invalid#zClosurez>