QNAP bandit follow up

Adds correct rule to nosec in QNAP driver
Follow up to change I171c90a281c7b62c2601131293f9f00a926641e2

Change-Id: Ice0621cd20345cea04539588bdadc93ad6a15a15
This commit is contained in:
Ashley Rodriguez 2024-05-09 12:27:05 -04:00
parent 433e99519f
commit 33034100ed
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class QnapAPIExecutor(object):
def _prepare_connection(self, isSSL, ip, port):
if isSSL:
if hasattr(ssl, '_create_unverified_context'):
context = ssl._create_unverified_context() # nosec B314
context = ssl._create_unverified_context() # nosec B323
connection = http_client.HTTPSConnection(ip,
port=port,
context=context)