This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Create a Saas Connector from a Template [#814] #1076
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
51c33cb
Starting point for SaaS connector templates
galvana 407b702
Merge remote-tracking branch 'ethyca/main' into 814-saas-connector-te…
pattisdr 36c98a0
Fix imports from restructuring.
pattisdr e69c94a
Get happy path working for instantiate connector from template endpoint.
pattisdr 5f37820
Remove updating connector instances for now - out of scope.
pattisdr 2f10957
Test nonexistent templates, secrets validation, instance key / fides …
pattisdr ea306d4
Create DatasetConfigs and ConnectionConfigs instead of create_or_upda…
pattisdr c50f59f
Add the other saas connectors to the registry and update their config…
pattisdr 7d59388
Update the fides_keys in the existing saas configs and dataset yamls …
pattisdr 70d6404
Fix a side effect on a separate endpoint that returns the types of se…
pattisdr f30c701
Merge remote-tracking branch 'ethyca/main' into 814-saas-connector-te…
pattisdr 6239ccc
- Update CHANGELOG
pattisdr 8acd9a0
Replace the <instance_fides_key> with a properly formatted fides_key …
pattisdr 96c4990
If DatasetConfig creation fails, delete the recently created Connecti…
pattisdr d8f7d21
Address some of the saas integration tests where I've changed the fid…
pattisdr 23cde59
Fix typos.
pattisdr 33c85b2
Fix typo.
pattisdr a4b2dd7
Fix unrelated bug where hubspot dataset has new datacategories with u…
pattisdr cec0d02
Respond to CR.
pattisdr e604ac2
Merge remote-tracking branch 'ethyca/main' into 814-saas-connector-te…
pattisdr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
saas_config: | ||
- fides_key: datadog_connector_example | ||
name: Datadog SaaS Config | ||
type: datadog | ||
description: A sample schema representing the Datadog connector for Fidesops | ||
version: 0.0.1 | ||
fides_key: <instance_fides_key> | ||
name: Datadog SaaS Config | ||
type: datadog | ||
description: A sample schema representing the Datadog connector for Fidesops | ||
version: 0.0.1 | ||
|
||
connector_params: | ||
- name: domain | ||
- name: api_key | ||
- name: app_key | ||
- name: page_size | ||
connector_params: | ||
- name: domain | ||
- name: api_key | ||
- name: app_key | ||
- name: page_size | ||
|
||
client_config: | ||
protocol: https | ||
host: <domain> | ||
client_config: | ||
protocol: https | ||
host: <domain> | ||
|
||
test_request: | ||
method: GET | ||
path: /api/v2/logs/events | ||
headers: | ||
- name: DD-APPLICATION-KEY | ||
value: <app_key> | ||
- name: DD-API-KEY | ||
value: <api_key> | ||
test_request: | ||
method: GET | ||
path: /api/v2/logs/events | ||
headers: | ||
- name: DD-APPLICATION-KEY | ||
value: <app_key> | ||
- name: DD-API-KEY | ||
value: <api_key> | ||
|
||
endpoints: | ||
- name: events | ||
requests: | ||
read: | ||
method: GET | ||
path: /api/v2/logs/events | ||
headers: | ||
- name: DD-APPLICATION-KEY | ||
value: <app_key> | ||
- name: DD-API-KEY | ||
value: <api_key> | ||
query_params: | ||
- name: filter[query] | ||
value: <email> | ||
- name: filter[from] | ||
value: 0 | ||
- name: filter[to] | ||
value: now | ||
- name: page[limit] | ||
value: <page_size> | ||
param_values: | ||
- name: app_key | ||
connector_param: app_key | ||
- name: api_key | ||
connector_param: api_key | ||
- name: email | ||
identity: email | ||
data_path: data | ||
pagination: | ||
strategy: link | ||
configuration: | ||
source: body | ||
path: links.next | ||
endpoints: | ||
- name: events | ||
requests: | ||
read: | ||
method: GET | ||
path: /api/v2/logs/events | ||
headers: | ||
- name: DD-APPLICATION-KEY | ||
value: <app_key> | ||
- name: DD-API-KEY | ||
value: <api_key> | ||
query_params: | ||
- name: filter[query] | ||
value: <email> | ||
- name: filter[from] | ||
value: 0 | ||
- name: filter[to] | ||
value: now | ||
- name: page[limit] | ||
value: <page_size> | ||
param_values: | ||
- name: app_key | ||
connector_param: app_key | ||
- name: api_key | ||
connector_param: api_key | ||
- name: email | ||
identity: email | ||
data_path: data | ||
pagination: | ||
strategy: link | ||
configuration: | ||
source: body | ||
path: links.next |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was an error in the datadog yamls which showed up when we validate the saas connector templates that are defined in the registry on startup.