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