forked from Privado-Inc/privado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython.yaml
14 lines (13 loc) · 821 Bytes
/
python.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
sinkSkipList:
- id: SinkSkipList.ThirdParties
name: Skip Third Party Sinks
patterns:
- "(typing.){0,1}(dict|list|str|tuple|int)\\.__.*"
- "(django.*\\.py|selenium).*"
- "\\/.*[.]py.*"
- "(__builtin|cls|ModelClass|assoc|result)\\..*"
- "(?i)(builtins|stringio|operator|functools|pathlib|ast|jwt|cookielib|hashlib|urlparse|hmac|six|glob|json|html2text|yaml|re|copy|argparse|datetime|time|decimal|collections|asyncio|subprocess|pytest|logging|traceback|sys|os|oss2|unittest|base64|dateutil|importlib|socket|urllib3|urllib|io|uuid|gzip|math|bson|random|xmltodict|shutil|tempfile).*"
- id: SinkSkipList.BuiltInLib
name: Skip built in language libraries
patterns:
- "(?i)(<empty>|<operator>\\.|<operators>\\.|<unresolvedNamespace.*>.|dict\\.|list\\.|str\\.|tuple\\.).*"