2021-11-01 18:20:06 +00:00
|
|
|
id: python-app-sql-exceptions
|
|
|
|
|
|
|
|
info:
|
2022-10-10 19:22:59 +00:00
|
|
|
name: Python App - SQL Exception
|
2021-11-01 18:20:06 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: medium
|
2022-10-10 19:22:59 +00:00
|
|
|
description: A generic SQL exception was discovered in Python according to PEP 249.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.python.org/dev
|
2022-10-10 19:22:59 +00:00
|
|
|
- https://peps.python.org/pep-0249/
|
2021-11-01 18:20:06 +00:00
|
|
|
tags: file,logs,python,sql
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: exception
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'DataError'
|
|
|
|
- 'IntegrityError'
|
|
|
|
- 'ProgrammingError'
|
2023-07-06 05:54:47 +00:00
|
|
|
- 'OperationalError'
|