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-10-14 11:27:55 +00:00
|
|
|
- 'OperationalError'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022079a46e42dc0321daff4fa00b021a299f5f746c2faed50fcba78acb826f35b261022100e777c196aed8119194c365ea967487c6795b47902f0d29873ade5a16fc1125cd:922c64590222798bb761d5b6d8e72950
|