Rule for generic Python SQL exceptuons

according to PEP 249
This commit is contained in:
Thomas Patzke
2017-08-12 00:44:18 +02:00
parent 7ba62b791c
commit 33b2ff16cf
@@ -0,0 +1,19 @@
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