feat: Add bandit ci pipeline (#1200)

* feat: Add bandit ci pipeline

* feat: add useforsecurty false for bandit pipeline

* feat: Add report only for High severity issues
This commit is contained in:
Eduardo Chiarotti
2024-08-15 18:19:57 -03:00
committed by GitHub
parent 92a77e5cac
commit d0707fac91
5 changed files with 29 additions and 3 deletions

View File

@@ -185,7 +185,7 @@ class Task(BaseModel):
expected_output = self._original_expected_output or self.expected_output
source = [description, expected_output]
return md5("|".join(source).encode()).hexdigest()
return md5("|".join(source).encode(), usedforsecurity=False).hexdigest()
def execute_async(
self,