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'
|
2023-10-14 16:57:55 +05:30
|
|
|
- 'OperationalError'
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 4a0a00473045022100a4a2bbec830dafa490dc85d7af2c22c1ce0571d4b74d83202ff43b825f21b2410220085929cc223ba2985fbe0e0ee276be67667be854a4f37202a602bbb0ed3cba65:922c64590222798bb761d5b6d8e72950
|