Skip to content

Commit

Permalink
Merge pull request #301 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
khemrajrathore authored Sep 6, 2023
2 parents e28ed62 + c6ea78b commit e5d58e5
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 17 deletions.
14 changes: 13 additions & 1 deletion config/systemConfig/javascript.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions rules/sinks/storages/mongodb/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sinks:
domains:
- mongodb.com
patterns:
- "(?i)mongoose.model"
- "(?:mquery|mpath|mongojs|mongodb[.]net|winston-mongodb|feathers-mongoose|koa2-ratelimit|gridfs-stream|aedes-persistence-mongodb|mockgoose|mubsub|minimongo|uuid-mongodb|@fastify/mongodb|gridfs-promise|feathers-mongodb-fuzzy-search|rus-diff|recachegoose|baqend|@onehilltech/blueprint-mongodb|cachegoose|@treehouses/cli|gridfs-locking-stream|hapi-mongo-models|forerunnerdb|gridfs|payload|@lenne.tech/nest-server|database-cleaner|yams|@firstteam102/connect-mongo|json2mongo|@oguzbey/mongoose-beautiful-unique-validation|node-mongotools|ascoltatori|@casbin/mongo-changestream-watcher|@appveen/swagger-mongoose-crud|tingodb|generator-ng-fullstack|objectid|opentelemetry-instrumentation-mongoose|@immjunaid/create-express-restapis|apollo-passport-mongodb-driver|jsonquery-engine|drop-mongodb-collections|nosqldbm-converter|nedb-lite|promised-mongo|feathers-mongodb|flatten-obj|mongoskin|sift|migrate-mongo|denque|mqemitter-mongodb|to-mongodb-core|graphql-mongodb-projection|jugglingdb|gulp-mongodb-data|thunkify-mongodb|joi-objectid|electron-squirrel-startup|node-express-mongodb-jwt-rest-api-skeleton|@caruuto/api-mongodb|sharedb-mongo|@chrishenderson/mongodb-queue|twitter2mongodb|@lpgroup/feathers-mongodb|@neo9/n9-mongodb-migration|sails-mongo|mongolass|w-orm-mongodb).*"
tags:

Expand Down
14 changes: 0 additions & 14 deletions rules/sinks/third_parties/sdk/apollographql/javascript.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/google/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sinks:
domains:
- "admanager.google.com"
patterns:
- "@carlos.algms\\/react-gpt|gpts|@atmedia\\/react-gpt|react-google-publisher-tag|openai|@tomdracz\\/react-gpt|@ticketmaster\\/react-gpt|@cruisecritic\\/react-gpt|@codingcatdev\\/react-gpt|@flightstats\\/react-gpt|@chatsight\\/gee-pee-tee"
- "@carlos.algms\\/react-gpt|gpts|@atmedia\\/react-gpt|react-google-publisher-tag|@tomdracz\\/react-gpt|@ticketmaster\\/react-gpt|@cruisecritic\\/react-gpt|@codingcatdev\\/react-gpt|@flightstats\\/react-gpt|@chatsight\\/gee-pee-tee"
tags:

- id: ThirdParties.SDK.Google.Admob
Expand Down
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/openai/java.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.OpenAI
name: OpenAI
domains:
- "openai.com"
patterns:
- "(?i)(com.theokanning.openai-gpt3-java).*"
tags:
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/openai/javascript.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.OpenAI
name: OpenAI
domains:
- "openai.com"
patterns:
- "(?i)(openai|chatgpt|gpt3|@tectalic\\/openai|@dalenguyen\\/openai).*"
tags:
3 changes: 2 additions & 1 deletion rules/sinks/third_parties/sdk/openai/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ sinks:
domains:
- "openai.com"
patterns:
- "(?i)(openai).*"
- "(?i)(openai|chronological).*"
- "(?i)langchain[.]llms.*(openai|azureopenai|openllm).*"
tags:
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/openai/ruby.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.OpenAI
name: OpenAI
domains:
- "openai.com"
patterns:
- "(?i)(openai|ruby-openai).*"
tags:

0 comments on commit e5d58e5

Please sign in to comment.