Skip to content

Commit

Permalink
Merge pull request #307 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dbMundada authored Sep 11, 2023
2 parents 4713e56 + 9c00776 commit 7e70bb8
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/systemConfig/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ systemConfig:
value: (?i).*(?<=map|list|jsonobject|json|array|arrays|jsonnode|objectmapper|objectnode).*(put:|get:).*

- key: apiSinks
value: (?i)(?:url|client|openConnection|request|execute|newCall|load|host|access|usequery|fetch|fetchapi|fetchlegacyxml|createfetch|postform|axios|cors|get|getInputStream|getApod|getForObject|getForEntity|list|set|put|post|proceed|trace|patch|Path|send|sendAsync|remove|delete|write|read|assignment|provider|exchange|postForEntity|call|createCall|createEndpoint|dispatch|invoke|newMessage|getInput|getOutput|getResponse|marshall|unmarshall|send|asyncSend|emit|on)
value: (?i)(?:url|client|openConnection|request|execute|newCall|load|host|access|usequery|fetch|fetchapi|fetchlegacyxml|createfetch|postform|axios|cors|get|getInputStream|getApod|getForObject|getForEntity|list|set|put|post|proceed|trace|patch|Path|send|sendAsync|remove|delete|write|read|assignment|provider|exchange|postForEntity|call|createCall|createEndpoint|dispatch|invoke|newMessage|getInput|getOutput|getResponse|marshall|unmarshall|send|asyncSend|emit|on|track)

- key: apiIdentifier
value: (?i).*((hook|base|auth|prov|endp|install|cloud|host|request|service|gateway|route|resource|upload|api|worker|tracker)(.){0,12}url|(slack|web)(.){0,4}hook|(sentry|segment)(.){0,1}(dsn)|(rest|api|host|cloud|request|service)(.){0,4}(endpoint|gateway|route)).*
value: (?i).*((hook|base|auth|prov|endp|install|cloud|host|request|service|gateway|route|resource|upload|api|worker|tracker|paymentservice)(.){0,12}url|(slack|web)(.){0,4}hook|(sentry|segment)(.){0,1}(dsn)|(rest|api|host|cloud|request|service)(.){0,4}(endpoint|gateway|route)).*

- key: clientCreationBaseUrlPattern
value: (?i)(axios.*create|(@angular\/common\/http.){0,1}HttpRequest<any>[:]clone)
Expand Down
2 changes: 1 addition & 1 deletion rules/sinks/storages/redis/ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ sinks:
domains:
- redis.io
patterns:
- (?i).*(redis).*
- (?i)redis.*
tags:
12 changes: 12 additions & 0 deletions rules/sinks/storages/weaviate/java.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Sink Rules for storage database Vaticle TypeDB - https://vaticle.com/typedb

sinks:

- id: Storages.Weaviate.ReadAndWrite
name: Weaviate VectorDB
domains:
- weaviate.io
patterns:
- "(?i)(io[.]weaviate[.]client[.]).*"
tags:
12 changes: 12 additions & 0 deletions rules/sinks/storages/weaviate/javascript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Sink Rules for storage database Vaticle TypeDB - https://vaticle.com/typedb

sinks:

- id: Storages.Weaviate.ReadAndWrite
name: Weaviate VectorDB
domains:
- weaviate.io
patterns:
- "(?i)(weaviate-ts-client|weaviate).*"
tags:
12 changes: 12 additions & 0 deletions rules/sinks/storages/weaviate/python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Sink Rules for storage database Vaticle TypeDB - https://vaticle.com/typedb

sinks:

- id: Storages.Weaviate.ReadAndWrite
name: Weaviate VectorDB
domains:
- weaviate.io
patterns:
- "(?i)(weaviate).*"
tags:
9 changes: 9 additions & 0 deletions rules/sinks/third_parties/sdk/apnotic/ruby.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sinks:

- id: ThirdParties.SDK.Apnotic
name: Apnotic
domains:
- "apple.com"
patterns:
- ".*Apnotic.*"
tags:
9 changes: 9 additions & 0 deletions rules/sinks/third_parties/sdk/devise/ruby.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sinks:

- id: ThirdParties.SDK.Devise
name: Devise
domains:
- "devise.com"
patterns:
- (?i)(devise).*
tags:
2 changes: 2 additions & 0 deletions rules/sinks/third_parties/sdk/openai/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ sinks:
patterns:
- "(?i)(openai|chronological).*"
- "(?i)langchain[.]llms.*(openai|azureopenai|openllm).*"
- "(?i).*(openai.ChatCompletion).*"
- "(?i)(langchain.chat_models).*(ChatOpenAI).*"
tags:
9 changes: 9 additions & 0 deletions rules/sinks/third_parties/sdk/postmark/ruby.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sinks:

- id: ThirdParties.SDK.Postmark
name: Postmark
domains:
- "postmark.com"
patterns:
- "(?i)(postmark-rails).*"
tags:
4 changes: 2 additions & 2 deletions rules/sources/online_identifiers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sources:
isSensitive: False
sensitivity: medium
patterns:
- "(?i).*(device[^\\s/(;)#|,=!>]{0,5}(?:id|info|details))|imei"
- "(?i).*(device[^\\s/(;)#|,=!>]{0,5}(?:id|info|details|token))|imei"
tags:
law: GDPR

Expand All @@ -25,7 +25,7 @@ sources:
isSensitive: False
sensitivity: medium
patterns:
- "(?i)(?:(?<!(sh|tr)[-_]{0,1})ip|ipv4|ipv6)[^\\s/(;)#|,=!>]{0,10}address|machine[^\\s/(;)#|,=!>]{0,10}ip|ip"
- "(?i)(?:(?<!(sh|tr)[-_]{0,1})ip|ipv4|ipv6)[^\\s/(;)#|,=!>]{0,10}address|machine[^\\s/(;)#|,=!>]{0,10}ip|ip|remoteip"
tags:
law: GDPR

Expand Down

0 comments on commit 7e70bb8

Please sign in to comment.