forked from Privado-Inc/privado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Javascript rule enhancement 2 (Privado-Inc#236)
* Python GA support * updated mac address rule (Privado-Inc#225) * updated mac address rule * removed workforce dir --------- Co-authored-by: “Hitesh <[email protected]> * Improve the javascript rules 1. Add the exlusion rules for Javascript 2. Add the sinkSkiplist for probablesink for Javascript 3. Add support for multiple logging frameworks in javascript * Update Jira rules & remove invalid rules for Javascript * Segragate Google rules and remove unwated rules Privado-Inc#1 * Update amplitude & segregate amplify rule * Add snapchat & liftoff rules for python * Update api http libraries --------- Co-authored-by: hiteshbedre <[email protected]> Co-authored-by: KhemrajSingh Rathore <[email protected]> Co-authored-by: “Hitesh <[email protected]> Co-authored-by: Pandurang Patil <[email protected]>
- Loading branch information
1 parent
7a2b8d5
commit 4d1d187
Showing
4 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
systemConfig: | ||
- key: apiHttpLibraries | ||
value: (?i)(request|fetch|axios|urllib|http|client|socketio|xmlhttprequest|got|apollo|superagent|wretch|.*(HttpClient)).* | ||
value: (?i)(request|fetch|axios|urllib|http|client|socketio|xmlhttprequest|node.http|cors|got|apollo|superagent|wretch|.*(HttpClient)).* | ||
|
||
- key: ignoredSinks | ||
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|fetch|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) | ||
value: (?i)(?:url|client|openConnection|request|execute|newCall|load|host|access|fetch|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) | ||
|
||
- key: apiIdentifier | ||
value: (?i).*((hook|base|auth|prov|endp|install|cloud|host|request|service|gateway|route|resource|upload)(.){0,12}url|(slack|web)(.){0,4}hook|(rest|api|host|cloud|request|service)(.){0,4}(endpoint|gateway|route)).* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Liftoff | ||
name: Liftoff | ||
domains: | ||
- "liftoff.com" | ||
patterns: | ||
- "(?i).*(liftoff).*" | ||
tags: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Snapchat | ||
name: Snapchat | ||
domains: | ||
- "snapchat.com" | ||
patterns: | ||
- "(?i).*(snapchat).*" | ||
tags: |