libopenapi
libopenapi copied to clipboard
Make the timeout in `FindNodesWithoutDeserializing` configurable
This timeout for reference https://github.com/pb33f/libopenapi/blob/main/utils/utils.go#L118
Will submit a PR to bump it to 500ms for now if that is okay
This timeout exists to prevent run-away lookups. This does not happen with any of the built in vacuum rules anymore, but it used to with the OWASP rules, which means any built-in functions have the potential to run-away into an endless loop.
The timeout should be configurable.