qdegraaf
|
3b323a09cb
|
[flake8-bandit ] Add S504 SslWithNoVersion rule (#9384)
## Summary
Adds `S504` rule for the
[flake8-bandit](https://github.com/tylerwince/flake8-bandit) plugin
port.
Checks for calls to `ssl.wrap_socket` which have no `ssl_version`
argument set. See also
https://bandit.readthedocs.io/en/latest/_modules/bandit/plugins/insecure_ssl_tls.html#ssl_with_no_version
## Test Plan
Fixture added
## Issue Link
Refers: https://github.com/astral-sh/ruff/issues/1646
|
2024-01-03 21:56:41 +00:00 |
|