Skip to content

Commit

Permalink
Merge pull request #491 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
khemrajrathore authored Jul 22, 2024
2 parents 7f1004c + 3fed4bf commit ab0fedd
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 12 deletions.
6 changes: 0 additions & 6 deletions config/systemConfig/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ systemConfig:

- key: maxCharLimit
value: "1000"

- key: dataflowElementInPathLimit
value: "-1"

- key: dataflowSourceSinkPairPathLimit
value: "-1"
8 changes: 4 additions & 4 deletions rules/sinks/leakages/logs/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ sinks:
- id: Leakages.Log.Error
name: Log Error
patterns:
- "(?i)(?:org.slf4j.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(?:wtf|error|severe|fatal|[.]e[:]).*"
- "(?i)(?:org.slf4j.Logger|org.blueshift.logger.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(?:wtf|error|severe|fatal|[.]e[:]).*"
tags:

- id: Leakages.Log.Warn
name: Log Warn
patterns:
- "(?i)(?:org.slf4j.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(warn|warning|[.]w[:]).*"
- "(?i)(?:org.slf4j.Logger|org.blueshift.logger.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(warn|warning|[.]w[:]).*"
tags:

- id: Leakages.Log.Debug
name: Log Debug
patterns:
- "(?i)(?:org.slf4j.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(debug|trace|[.](log|d|v|t)[:]).*"
- "(?i)(?:org.slf4j.Logger|org.blueshift.logger.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(debug|trace|[.](log|d|v|t)[:]).*"
tags:

- id: Leakages.Log.Info
name: Log Info
patterns:
- "(?i)(?:org.slf4j.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|java.util.logging|ch.qos.logback|timber.log.Timber|android.util.Log).*(info|[.]i[:]).*"
- "(?i)(?:org.slf4j.Logger|org.blueshift.logger.Logger|org.apache.(logging.log4j|commons.logging.Log)|org.tinylog.Logger|java.util.logging|ch.qos.logback|timber.log.Timber|android.util.Log).*(info|[.]i[:]).*"
tags:

- id: Leakages.Log.Console
Expand Down
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/intuit/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.Intuit.Quickbooks
name: Intuit QuickBooks
domains:
- "intuit.com"
patterns:
- "(?i)(node-quickbooks).*"
tags:
12 changes: 12 additions & 0 deletions rules/sinks/third_parties/sdk/taxjar/java.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Sink rule for ThirdParty SDK
# The id follows a format : "ThirdParties.SDK.<THIRD_PARTY_ORGANISATION>.<SUB_ORGANISATION_IF_APPLICABLE>"

sinks:

- id: ThirdParties.SDK.Taxjar
name: Taxjar
domains:
- "taxjar.com"
patterns:
- "(?i)(com.taxjar.*)"
tags:
2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/twilio/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sinks:
domains:
- "twilio.com"
patterns:
- "(?i)(com[.]twilio.*(sdk|http|rest|base|security|twiml|Twilio|connect|disconnect|release|initialize|getState|createDevice))|(com[.]authy).*"
- "(?i)(com[.]twilio.*(sdk|http|rest|base|security|twiml|Twilio|connect|disconnect|release|initialize|getState|createDevice).*)|(com[.]authy).*"
tags:
2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/twilio/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sinks:
domains:
- "twilio.com"
patterns:
- "@sendgrid\\/design-primitives"
- "@sendgrid\\/design-primitives|twilio"
tags:
13 changes: 13 additions & 0 deletions rules/sinks/third_parties/sdk/xero/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.Xero
name: Xero
domains:
- "xero.com"
patterns:
- "(?i)(xero-node).*"
tags:

0 comments on commit ab0fedd

Please sign in to comment.