Skip to content

Commit

Permalink
Merge pull request #207 from Privado-Inc/python-fixes-1
Browse files Browse the repository at this point in the history
Add sftp & prefect rule + Update snowflake rule
  • Loading branch information
dbMundada authored Mar 15, 2023
2 parents c1edf9f + 82876ac commit 194122f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

sinks:

- id: ThirdParties.SDK.Prestodb
- id: Storages.Prestodb
name: Prestodb
domains:
- "prestodb.io"
Expand Down
12 changes: 12 additions & 0 deletions rules/sinks/storages/snowflake/python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Sink Rules for storage database Android SQLite - https://developer.android.com/

sinks:

- id: Storages.Snowflake
name: Snowflake
domains:
- "snowflake.com"
patterns:
- "(?i).*snowflake.*"
tags:
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

sinks:

- id: ThirdParties.SDK.Snowflake
name: Snowflake
- id: ThirdParties.SDK.Prefect
name: Prefect
domains:
- "snowflake.com"
- "prefect.io"
patterns:
- "(?i)(snowflake.*connector|snowflake|airflow.*snowflake).*"
- "(?i)(prefect).*"
tags:
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/sftp/python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

# Sink rule for ThirdParty SDK
# The id follows a format : "ThirdParties.SDK.<THIRD_PARTY_ORGANISATION>.<SUB_ORGANISATION_IF_APPLICABLE>"

sinks:

- id: ThirdParties.SDK.SFTP
name: SFTP
domains:
- "ssh.com"
patterns:
- "(?i)(sftp|airflow.*sftp|.*sftpclient|.*sftpoperator).*"
tags:
2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/stripe/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sinks:
domains:
- "stripe.com"
patterns:
- "(?i)(stripe|tapioca_stripe|collective[.]stripe|types_stripe|grvlms_stripe|aa_stripe|nameko_stripe|drf_stripe|snapflow_stripe|async_stripe|djangoshop_stripe|tornado_stripe).*"
- "(?i)(.*stripe|tapioca_stripe|collective[.]stripe|types_stripe|grvlms_stripe|aa_stripe|nameko_stripe|drf_stripe|snapflow_stripe|async_stripe|djangoshop_stripe|tornado_stripe).*"
tags:

0 comments on commit 194122f

Please sign in to comment.