OWASP ruleset doesn't seem to work with swagger 2 appspecs as of v0.7.0
#525
Labels
documentation
Improvements or additions to documentation
v0.7.0
#525
The out-of-the-box OWASP ruleset doesn't seem to flag anything up in swagger 2 specs as of
v0.7.0
. For example, the following swagger 2 spec yields no findings (when I run a spectral report, vacuum just writes outnull
):Swagger 2 specification
However, if I convert it to OpenAPI 3.0.1 at editor.swagger.io:
OpenAPI 3.0.1 equivalent
Then I get all these findings:
Spectral report from the OpenAPI 3.1.0 specification
The diff between v0.6.3 and v0.7.0 shows a lot of rewriting of the OWASP ruleset. There are no test cases for swagger 2 specifications. Has support for swagger 2 been dropped in this ruleset or is it lacking implementation?
The text was updated successfully, but these errors were encountered: