QID 580555
QID 580555: String Fields Format Match Schema
In this scenario string fields with format defined are tested. Values for string fields that do not match the format defined are sent to the server for the endpoint being tested.The expectation is that APIs will reject the request as invalid for fields with recognized formats. Some of the known formats are: date, date-time, password, uuid, email, hostname, ip, uri, byte, binary
Based on testing done using requests with values not matching formats defined it is determined that the strings format as defined in the swagger file are enforced successfully. The response code received for the request with invalid format values for string fields is expected and matches the response documented in the swagger file schema.
Enforcing value for string field based on format defined in swagger file will help provide clarity to the API users and avoid abuse of the API by hackers.
CVEs related to QID 580555
| Advisory ID | Software | Component | Link |
|---|