Files
blue-team-tools/rules/application/app_python_sql_exceptions.yml
T

22 lines
528 B
YAML
Raw Normal View History

2017-08-12 00:44:18 +02:00
title: Python SQL Exceptions
2019-11-12 23:12:27 +01:00
id: 19aefed0-ffd4-47dc-a7fc-f8b1425e84f9
2017-08-12 00:44:18 +02:00
description: Generic rule for SQL exceptions in Python according to PEP 249
author: Thomas Patzke
references:
2017-08-12 00:44:18 +02:00
- https://www.python.org/dev/peps/pep-0249/#exceptions
logsource:
category: application
product: python
detection:
exceptions:
- DataError
- IntegrityError
- ProgrammingError
- OperationalError
2017-08-12 00:44:18 +02:00
condition: exceptions
falsepositives:
- Application bugs
- Penetration testing
level: medium