Owasp Zap Testing rest api

12,233

The short answer is yes. The long answer - it's complicated :)

Testing REST API is a bit harder than testing web API - you'll have to give Zap information about your API - which endpoints it has, parameters, etc. Can you share more about you're API? Does it have OpenAPI/Swagger document? Do you have existing tests? You can use either one of those for this task.

I gave a talk about how this can be achieved - you can find the recording here.

Share:
12,233
Сергей
Author by

Сергей

Изобретатель велосипедов, строитель костылей.

Updated on June 04, 2022

Comments

  • Сергей
    Сергей almost 2 years

    Is that possible to testing rest-api via OWASP ZAP ? Url to attack worked just for GET requests.

    enter image description here

    For example, my api controllers work with only token. I have TokenController and this controller require POST data via JSON data include password and login. Can I someway testing this controller via OWASP ?