-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
96 changed files
with
2,238 additions
and
1,936 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
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
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
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
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,25 @@ | ||
# Badge Swipe Data | ||
|
||
Psoxy can pseudonymize badge swipe data for ingestion into Worklytics. | ||
|
||
See [https://docs.worklytics.co/knowledge-base/connectors/bulk-data/badge](https://docs.worklytics.co/knowledge-base/connectors/bulk-data/badge) | ||
|
||
The default proxy rules for `badge` will pseudonymize `EMPLOYEE_ID`. If your data set does not match | ||
the schema expected by Worklytics, you can adapt it by specifying some custom transforms within | ||
the proxy itself: | ||
|
||
```hcl | ||
custom_bulk_connector_rules = { | ||
badge = { | ||
columnsToPseudonymize = [ | ||
"EMPLOYEE_ID" | ||
], | ||
columnsToRename = { | ||
"employeeId" = "EMPLOYEE_ID", | ||
"timestamp" = "SWIPE_DATE", | ||
"location" = "BUILDING_ID" | ||
"homeOffice" = "BUILDING_ASSIGNED" | ||
} | ||
} | ||
} | ||
``` |
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,2 @@ | ||
columnsToPseudonymize: | ||
- "EMPLOYEE_ID" |
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
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,25 @@ | ||
# Metrics Data | ||
|
||
- [Example data](metrics-example.csv) | ||
- [Example sanitized data](metrics-example-sanitized.csv) | ||
- [Example rules](metrics.yaml) | ||
|
||
The default `metrics` proxy rules pseudonymize the `EMPLOYEE_ID` column. If your metrics data does | ||
not match the expected schema above, you can customize the proxy rules to perform some basic ETL-like | ||
transforms along the lines of the following: | ||
|
||
```hcl | ||
custom_bulk_connector_rules = { | ||
metrics = { | ||
columnsToPseudonymize = [ | ||
"EMPLOYEE_ID" | ||
], | ||
columnsToRename = { | ||
"employeeId" = "EMPLOYEE_ID", | ||
"metricName" = "KEY", | ||
"metricValue" = "VALUE" | ||
} | ||
} | ||
} | ||
``` |
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,2 @@ | ||
EMPLOYEE_ID,WEEK,KEY,VALUE | ||
"{""hash"":""dULNJL3EY9ZyndC2NkYH_Hi1qmZAuPmSZYwJhfMmj3g""}",2024-09-02,Time in Meetings,3.25 |
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,2 @@ | ||
EMPLOYEE_ID,WEEK,KEY,VALUE | ||
1,2024-09-02,Time in Meetings,3.25 |
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,2 @@ | ||
columnsToPseudonymize: | ||
- "EMPLOYEE_ID" |
Oops, something went wrong.