Iterate Through Enum Values
Item | Description |
---|---|
Full Fuzzer Name | IterateThroughEnumValuesFieldsFuzzer |
Log Key | ITEVF |
Description | This fuzzer will iterate through all possible values of enums. The expectation is that APIs will treat the requests as happy paths. |
Enabled by default? | Yes |
Target field types | OpenAPI type string |
Expected result when fuzzed field is required | 2XX |
Expected result when fuzzed field is optional | 2XX |
Expected result when fuzzed value is not matching field pattern | 2XX |
Fuzzing logic | Iteratively replaces string fields that have enums defined with all possible values one by one. |
Conditions when this fuzzer will be skipped | When field is not of type string or field is string , but does not have a defined enum |
HTTP methods that will be skipped | None |
Reporting | Reports error if: 1. response code is 404 ; 2. response code is documented, but not expected; 3. any unexpected exception. Reports warn if: 1. response code is expected and documented, but not matches response schema; 2. response code is expected, but not documented; 3. response code is 501 . Reports success if: 1. response code is expected, documented and matches response schema. |