Files
blue-team-tools/rules/application/app_python_sql_exceptions.yml
T
Thomas Patzke 33b2ff16cf Rule for generic Python SQL exceptuons
according to PEP 249
2017-08-12 00:44:18 +02:00

20 lines
459 B
YAML

title: Python SQL Exceptions
description: Generic rule for SQL exceptions in Python according to PEP 249
author: Thomas Patzke
reference:
- https://www.python.org/dev/peps/pep-0249/#exceptions
logsource:
category: application
product: python
detection:
exceptions:
- DataError
- IntegrityError
- ProgrammingError
condition: exceptions
falsepositives:
- Application bugs
- Penetration testing
level: medium