Skip to content

Commit

Permalink
add token and vendor exclusion rule
Browse files Browse the repository at this point in the history
  • Loading branch information
khemrajrathore committed Oct 29, 2024
1 parent cf209ed commit b9f5f9f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/exclusions/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ exclusions:
name: Exclude test source code
patterns:
- '.*_test(s)?.*'

- id: Exclusions.ExternalModules
name: Exclude external modules
patterns:
- '(?i).*vendor(s)?/.*'
10 changes: 10 additions & 0 deletions rules/sources/online_identifiers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,13 @@ sources:
- "(?i)idfa|idfv|aaid|advertising[^\\s/(;)#|,=!>]{0,5}id|gps[^\\s/(;)#|,=!>]{0,5}adid"
tags:
law: GDPR

- id: Data.Sensitive.OnlineIdentifiers.Token
name: Token
category: Online Identifiers
isSensitive: False
sensitivity: medium
patterns:
- "((?i)(auth|session|access|bearer|jwt|recaptcha|user|useraccess)?token[s]?)"
tags:
law: GDPR

0 comments on commit b9f5f9f

Please sign in to comment.