Files
blue-team-tools/rules/application/app_python_sql_exceptions.yml
T
2017-08-13 00:10:00 +02:00

21 lines
486 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
- OperationalError
condition: exceptions
falsepositives:
- Application bugs
- Penetration testing
level: medium