Rule for generic Python SQL exceptuons
according to PEP 249
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user