Skip to content

Commit

Permalink
Merge pull request #126 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
pandurangpatil authored Jan 25, 2023
2 parents b2f6204 + fbeae09 commit bb0352e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/exclusions/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ exclusions:
name: Exclude test source code
patterns:
- "(.*/src/test/.*)|/Test[A-Z]|Test[.]"

- id: Exclusions.Invalid.Properties
name: Exclude invalid properties file
patterns:
- ".*/WEB-INF/.*properties"

- id: Exclusions.Empty
name: Exclude file which cannot be read
Expand Down
2 changes: 1 addition & 1 deletion rules/sinks/leakages/logs/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sinks:
- id: Leakages.Log.Error
name: Log Error
patterns:
- "(?i)(?:org.slf4j.Logger|org.apache.logging.log4j|org.tinylog.Logger|ch.qos.logback|java.util.logging|timber.log.Timber|android.util.Log).*(?:error|severe|fatal|[.]e[:]).*"
- "(?i)(?:org.slf4j.Logger|org.apache.logging.log4j|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
Expand Down

0 comments on commit bb0352e

Please sign in to comment.