mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-08 18:23:52 +00:00
21 lines
487 B
YAML
21 lines
487 B
YAML
title: Python SQL Exceptions
|
|
description: Generic rule for SQL exceptions in Python according to PEP 249
|
|
author: Thomas Patzke
|
|
references:
|
|
- 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
|
|
|