---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:15:40
   |
14 | # Errors
15 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy)
   |                                        ^^^^^^^^^^^^^^^^^^^^
16 | ssh_client.set_missing_host_key_policy(client.WarningPolicy)
17 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy())
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:16:40
   |
14 | # Errors
15 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy)
16 | ssh_client.set_missing_host_key_policy(client.WarningPolicy)
   |                                        ^^^^^^^^^^^^^^^^^^^^
17 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy())
18 | ssh_client.set_missing_host_key_policy(AutoAddPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:17:40
   |
15 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy)
16 | ssh_client.set_missing_host_key_policy(client.WarningPolicy)
17 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy())
   |                                        ^^^^^^^^^^^^^^^^^^^^^^
18 | ssh_client.set_missing_host_key_policy(AutoAddPolicy)
19 | ssh_client.set_missing_host_key_policy(policy=client.AutoAddPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:18:40
   |
16 | ssh_client.set_missing_host_key_policy(client.WarningPolicy)
17 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy())
18 | ssh_client.set_missing_host_key_policy(AutoAddPolicy)
   |                                        ^^^^^^^^^^^^^
19 | ssh_client.set_missing_host_key_policy(policy=client.AutoAddPolicy)
20 | ssh_client.set_missing_host_key_policy(policy=client.WarningPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:19:47
   |
17 | ssh_client.set_missing_host_key_policy(client.AutoAddPolicy())
18 | ssh_client.set_missing_host_key_policy(AutoAddPolicy)
19 | ssh_client.set_missing_host_key_policy(policy=client.AutoAddPolicy)
   |                                               ^^^^^^^^^^^^^^^^^^^^
20 | ssh_client.set_missing_host_key_policy(policy=client.WarningPolicy)
21 | ssh_client.set_missing_host_key_policy(policy=WarningPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:20:47
   |
18 | ssh_client.set_missing_host_key_policy(AutoAddPolicy)
19 | ssh_client.set_missing_host_key_policy(policy=client.AutoAddPolicy)
20 | ssh_client.set_missing_host_key_policy(policy=client.WarningPolicy)
   |                                               ^^^^^^^^^^^^^^^^^^^^
21 | ssh_client.set_missing_host_key_policy(policy=WarningPolicy)
22 | ssh_client_from_paramiko.set_missing_host_key_policy(paramiko.AutoAddPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:21:47
   |
19 | ssh_client.set_missing_host_key_policy(policy=client.AutoAddPolicy)
20 | ssh_client.set_missing_host_key_policy(policy=client.WarningPolicy)
21 | ssh_client.set_missing_host_key_policy(policy=WarningPolicy)
   |                                               ^^^^^^^^^^^^^
22 | ssh_client_from_paramiko.set_missing_host_key_policy(paramiko.AutoAddPolicy)
   |

S507 Paramiko call with policy set to automatically trust the unknown host key
  --> S507.py:22:54
   |
20 | ssh_client.set_missing_host_key_policy(policy=client.WarningPolicy)
21 | ssh_client.set_missing_host_key_policy(policy=WarningPolicy)
22 | ssh_client_from_paramiko.set_missing_host_key_policy(paramiko.AutoAddPolicy)
   |                                                      ^^^^^^^^^^^^^^^^^^^^^^
23 |
24 | # Unrelated
   |
