id: python-app-sql-exceptions info: name: Python App - SQL Exception author: geeknik severity: medium description: A generic SQL exception was discovered in Python according to PEP 249. reference: - https://www.python.org/dev - https://peps.python.org/pep-0249/ tags: file,logs,python,sql file: - extensions: - all extractors: - type: regex name: exception part: body regex: - 'DataError' - 'IntegrityError' - 'ProgrammingError' - 'OperationalError' # digest: 4a0a00473045022100a4a2bbec830dafa490dc85d7af2c22c1ce0571d4b74d83202ff43b825f21b2410220085929cc223ba2985fbe0e0ee276be67667be854a4f37202a602bbb0ed3cba65:922c64590222798bb761d5b6d8e72950