Skip to content

Commit

Permalink
Sources/click stream ddhq (#284)
Browse files Browse the repository at this point in the history
* add datadog initialization params which default track click behaviour

* Add IndexedDB storage rule

---------

Co-authored-by: Datta Mundada <dbmundada333@gmail.com>
  • Loading branch information
HiteshMah-Jan and dbMundada authored Jul 29, 2023
1 parent 35ef43e commit 27ed015
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions rules/sinks/storages/cookiemanager/javascript.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
sinks:

- id: Storages.Web.Sql
name: Web Sql Database
patterns:
- "(?i)(window.*opendatabase.*)(transaction|executesql)"
tags:

- id: Storages.Web.Cookie.Write
name: Web Storage Cookie(Write)
patterns:
Expand Down
17 changes: 17 additions & 0 deletions rules/sinks/storages/indexedDB/javascript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sinks:

- id: Storages.IndexedDB.Write
name: IndexedDB(Write)
domains:
- "w3.org/TR/IndexedDB"
patterns:
- "(?i)(idb).*(deletedb|transaction|createObjectStore|put|delete|clear|add)"
tags:

- id: Storages.IndexedDB.Read
name: IndexedDB(Read)
domains:
- "w3.org/TR/IndexedDB"
patterns:
- "(?i)(idb).*(opendb|unwrap|wrap|get|getall)"
tags:
2 changes: 1 addition & 1 deletion rules/sources/usage_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sources:
isSensitive: False
sensitivity: medium
patterns:
- "(?i).*(click(stream|track|log)|track{0,2}click|number[^\\s/(;)#|,=!>]{0,10}of[^\\s/(;)#|,=!>]{0,10}(?:clicks|click)|count[^\\s/(;)#|,=!>]{0,10}(?:clicks|click)).*"
- "(?i).*(click(stream|track|log)|track{0,2}click|number[^\\s/(;)#|,=!>]{0,10}of[^\\s/(;)#|,=!>]{0,10}(?:clicks|click)|count[^\\s/(;)#|,=!>]{0,10}(?:clicks|click)).*|trackInteractions|trackFrustrations"
tags:
law: GDPR

Expand Down

0 comments on commit 27ed015

Please sign in to comment.