Skip to content

Commit

Permalink
Amplitude Connector (#2569)
Browse files Browse the repository at this point in the history
Co-authored-by: Kelsey Thomas <[email protected]>
Co-authored-by: vivek <[email protected]>
Co-authored-by: Adrian Galvan <[email protected]>
  • Loading branch information
4 people authored May 2, 2023
1 parent b944491 commit 46c7f54
Show file tree
Hide file tree
Showing 6 changed files with 884 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.12.0...main)


### Added
- Access and erasure support for Amplitude [#2569](https://github.com/ethyca/fides/pull/2569)

## [2.12.0](https://github.com/ethyca/fides/compare/2.11.0...2.12.0)

Expand Down
91 changes: 91 additions & 0 deletions data/saas/config/amplitude_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
saas_config:
fides_key: <instance_fides_key>
name: Amplitude
type: amplitude
description: A sample schema representing the Amplitude connector for Fides
version: 0.1.0

connector_params:
- name: domain
default_value: amplitude.com
- name: api_key
- name: secret_key

client_config:
protocol: https
host: <domain>
authentication:
strategy: basic
configuration:
username: <api_key>
password: <secret_key>

test_request:
method: GET
path: /api/2/usersearch
query_params:
- name: user
value: [email protected]

endpoints:
- name: user
requests:
read:
method: GET
path: /api/2/usersearch
query_params:
- name: user
value: <email>
param_values:
- name: email
identity: email
data_path: matches
delete:
method: POST
path: /api/2/deletions/users
body: |
{
"user_ids": ["<email>"]
}
param_values:
- name: email
identity: email
- name: user_details
requests:
read:
method: GET
path: /api/2/useractivity
query_params:
- name: user
value: <amplitude_id>
- name: offset
value: 0
param_values:
- name: amplitude_id
references:
- dataset: <instance_fides_key>
field: user.amplitude_id
direction: from
data_path: userData
- name: events
requests:
read:
method: GET
path: /api/2/useractivity
query_params:
- name: user
value: <amplitude_id>
- name: offset
value: 0
param_values:
- name: amplitude_id
references:
- dataset: <instance_fides_key>
field: user.amplitude_id
direction: from
data_path: events
pagination:
strategy: offset
configuration:
incremental_param: offset
increment_by: 1000
Loading

0 comments on commit 46c7f54

Please sign in to comment.