Skip to content

Commit

Permalink
1193 saas connector fullstory (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaWaseemOnBench authored Nov 22, 2022
1 parent af6036d commit 0045404
Show file tree
Hide file tree
Showing 10 changed files with 559 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ The types of changes are:
## [Unreleased](https://github.com/ethyca/fides/compare/2.1.0...main)

### Added

* Add authenticated privacy request route. [#1819](https://github.com/ethyca/fides/pull/1819)
* Access and erasure support for Fullstory API [#1821](https://github.com/ethyca/fides/pull/1821)

### Fixed

* Fix error in parent user creation seeding. [#1832](https://github.com/ethyca/fides/issues/1832)

### Docs
Expand Down
53 changes: 53 additions & 0 deletions data/saas/config/fullstory_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
saas_config:
fides_key: <instance_fides_key>
name: Fullstory SaaS Config
type: fullstory
description: A sample schema representing the Fullstory connector for Fides
version: 0.0.1

connector_params:
- name: domain
- name: api_key

external_references:
- name: fullstory_user_id
label: Fullstory User ID
description: Dataset reference to the location of Fullstory user IDs

client_config:
protocol: https
host: <domain>
authentication:
strategy: api_key
configuration:
headers:
- name: Authorization
value: Basic <api_key>

test_request:
method: GET
path: /operations/v1

endpoints:
- name: user
requests:
read:
method: GET
path: /users/v1/individual/<user_id>
param_values:
- name: user_id
references:
- fullstory_user_id
update:
method: POST
path: /users/v1/individual/<user_id>/customvars
body: |
{
<masked_object_fields>
}
param_values:
- name: user_id
references:
- dataset: <instance_fides_key>
field: user.uid
direction: from
36 changes: 36 additions & 0 deletions data/saas/dataset/fullstory_dataset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
dataset:
- fides_key: <instance_fides_key>
name: Fullstory Dataset
description: A sample dataset representing the Fullstory connector for Fides
collections:
- name: user
fields:
- name: uid
data_categories: [user.unique_id]
fidesops_meta:
data_type: string
primary_key: True
- name: displayName
data_categories: [user.name]
fidesops_meta:
data_type: string
- name: email
data_categories: [user.contact.email]
fidesops_meta:
data_type: string
- name: numSessions
data_categories: [system.operations]
fidesops_meta:
data_type: integer
- name: firstSeen
data_categories: [system.operations]
fidesops_meta:
data_type: string
- name: lastSeen
data_categories: [system.operations]
fidesops_meta:
data_type: string
- name: existingOperation
data_categories: [system.operations]
fidesops_meta:
data_type: string
4 changes: 4 additions & 0 deletions docs/fides/docs/getting-started/database_connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,10 @@ To view a list of all available connection types, visit `GET /api/v1/connection_
"identifier": "datadog",
"type": "saas"
},
{
"identifier": "fullstory",
"type": "saas"
},
{
"identifier": "hubspot",
"type": "saas"
Expand Down
5 changes: 5 additions & 0 deletions docs/fides/docs/guides/connection_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ which fidesops can communicate.
"type": "saas",
"human_readable": "Datadog"
},
{
"identifier": "fullstory",
"type": "saas",
"human_readable": "Fullstory"
},
{
"identifier": "hubspot",
"type": "saas",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ markers = [
"integration_datadog",
"integration_domo",
"integration_doordash",
"integration_fullstory",
"integration_segment",
"integration_sendgrid",
"integration_auth0",
Expand Down
1 change: 1 addition & 0 deletions tests/ops/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
from .fixtures.saas.datadog_fixtures import *
from .fixtures.saas.domo_fixtures import *
from .fixtures.saas.doordash_fixtures import *
from .fixtures.saas.fullstory_fixtures import *
from .fixtures.saas.hubspot_fixtures import *
from .fixtures.saas.mailchimp_fixtures import *
from .fixtures.saas.outreach_fixtures import *
Expand Down
7 changes: 7 additions & 0 deletions tests/ops/fixtures/saas/external_datasets/fullstory.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE TABLE public.fullstory_users (
email CHARACTER VARYING(100) PRIMARY KEY,
fullstory_user_id CHARACTER VARYING(100)
);

INSERT INTO public.fullstory_users VALUES
('[email protected]', '1234')
Loading

0 comments on commit 0045404

Please sign in to comment.