diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 21caf7c89f..972474d994 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -32,7 +32,7 @@ jobs: - name: Perform Bandit Analysis uses: PyCQA/bandit-action@v1 with: - configfile: 'pre_commit.toml' + configfile: 'DEFAULT' profile: 'DEFAULT' tests: 'DEFAULT' skips: 'DEFAULT' diff --git a/pre_commit.toml b/pre_commit.toml deleted file mode 100644 index 161f03af57..0000000000 --- a/pre_commit.toml +++ /dev/null @@ -1,17 +0,0 @@ -[tool.bandit] -# Exclude specific directories or files from the scan -exclude = ["docs/"] - -# Specify the test IDs to be skipped -skips = [ - "B323", # _create_unverified_context - "B314", # xml.etree.ElementTree.parse - "B404", # subprocess module - "B405", # xml.etree.ElementTree - "B311", # Standard pseudo-random generators - "B403" # pickle module -] - -# Set the severity and confidence levels -severity = "LOW" -confidence = "HIGH" \ No newline at end of file