Skip to content

Commit

Permalink
Update sink skip list for probable sink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dattaprasad Mundada authored and Dattaprasad Mundada committed Feb 15, 2023
1 parent 858b3f7 commit 7c5a368
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/sinkSkipList/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ sinkSkipList:
patterns:
- "(dict|list|str|tuple|int)\\.__.*"
- "(django.*\\.py).*"
- "\\/[.]py.*"
- "(?i)(builtins|operator|ast|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)\\.py.*"
- "\\/.*[.]py.*"
- "(?i)(builtins|operator|ast|jwt|hashlib|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)\\.py.*"

- id: SinkSkipList.BuiltInLib
name: Skip built in language libraries
Expand Down
8 changes: 8 additions & 0 deletions rules/sinks/third_parties/sdk/microsoft/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ sinks:
patterns:
- "(?i)(k4a|msal_extensions|msgraph_core|dapr|onedrivesdk|applicationinsights|asposecellscloud|adal|msoffcrypto_tool|office365.).*"
tags:

- id: ThirdParties.SDK.Microsoft.Authentication
name: Microsoft Authentication
domains:
- "authentication.microsoft.com"
patterns:
- "(?i)(msal.*(ConfidentialClientApplication|PublicClientApplication)).*"
tags:

- id: ThirdParties.SDK.Microsoft.Azure
name: Microsoft Azure
Expand Down
1 change: 1 addition & 0 deletions rules/sinks/third_parties/sdk/slack/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ sinks:
patterns:
- "(?i)(slack_discovery_sdk|slack_sdk|slackclient|slackeventsapi|airflow.*providers.*slack|slack_webhook).*"
- "(?i)((slack_sdk|django_slack).*message|slack[_]webhook.*post)"
- "(?i).*slack_hook.*"
tags:

0 comments on commit 7c5a368

Please sign in to comment.