Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/reporting/secure-data-share/identity-data-dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,24 @@ Contains certification item data sourced from **Certs 2.0**.
| SYNC_DATE | datetime | | When the row is last synced |


### ENTITLEMENT_CONNECTION

One row is one entitlement connection: an identity, an account, and an entitlement on a source. The identity and entitlement on the row line up with IDENTITY_ENTITLEMENTS (`IDENTITY_ID` = `IDENTITY_ENTITLEMENTS.ID`, same `ENTITLEMENT_ID`). The account and entitlement line up with ACCOUNT_ENTITLEMENTS (`ACCOUNT_ID` = `ACCOUNT_ENTITLEMENTS.ID`, same `ENTITLEMENT_ID`). `ID` is the connection id.

| Column | Data Type | Key | Description |
| --- | --- | --- | --- |
| TENANT_ID | text | | Unique Id for an Organization tenant |
| ID | text | PK | Unique Id of the entitlement connection |
| IDENTITY_ID | text | | Identity connected to the entitlement |
| ACCOUNT_ID | text | | Account connected to the entitlement |
| ENTITLEMENT_ID | text | | Entitlement connected to the identity and account |
| SOURCE_ID | text | | Source containing the account and entitlement |
| ATTRIBUTE_NAME | text | | Name of the entitlement attribute in the source system |
| ATTRIBUTE_VALUE | text | | Value of the entitlement attribute in the source system |
| STANDALONE | boolean | | Whether the entitlement was assigned directly rather than through a role |
| SYNC_DATE | datetime | | When the row is last synced |


### CERTIFICATION_CAMPAIGN

Contains certification campaign data sourced from **Certs 1.0**.
Expand Down Expand Up @@ -602,6 +620,10 @@ The following table describes the relationships between the tables in the identi
| ACCOUNT | IDENTITY | Many to One | Owned by |
| ACCOUNT | ACCOUNT_ENTITLEMENTS | One to Zero-or-More | has |
| ENTITLEMENT | ACCOUNT_ENTITLEMENTS | One to Zero-or-More | associated to |
| IDENTITY | ENTITLEMENT_CONNECTION | One to Zero-or-More | associated to |
| ACCOUNT | ENTITLEMENT_CONNECTION | One to Zero-or-More | has |
| ENTITLEMENT | ENTITLEMENT_CONNECTION | One to Zero-or-More | associated to |
| SOURCE | ENTITLEMENT_CONNECTION | One to Zero-or-More | contains |
| CERTIFICATION_CAMPAIGN | CERTIFICATION | One to One-or-More | spawns |
| CERTIFICATION_CAMPAIGN_V2 | CERTIFICATION_V2 | One to One-or-More | spawns |
| CERTIFICATION_V2 | CERTIFICATION_ITEM_V2 | One to One-or-More | contains |
Expand Down
16 changes: 16 additions & 0 deletions docs/reporting/secure-data-share/identity-er-diagram.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,18 @@ import MermaidViewer from '@site/src/components/MermaidViewer';
datetime DELETED_DATE "date when the relationship was deleted"
datetime SYNC_DATE "When the row is last synced"
}
ENTITLEMENT_CONNECTION {
text TENANT_ID "Unique Id for an Organization tenant"
text ID PK "Unique Id of the entitlement connection"
text IDENTITY_ID "Identity connected to the entitlement"
text ACCOUNT_ID "Account connected to the entitlement"
text ENTITLEMENT_ID "Entitlement connected to the identity and account"
text SOURCE_ID "Source containing the account and entitlement"
text ATTRIBUTE_NAME "Name of the entitlement attribute in the source system"
text ATTRIBUTE_VALUE "Value of the entitlement attribute in the source system"
boolean STANDALONE "Whether the entitlement was assigned directly rather than through a role"
datetime SYNC_DATE "When the row is last synced"
}
CERTIFICATION_CAMPAIGN {
text TENANT_ID "Unique Id for an Organization tenant"
text ID PK "Unique Id for the Certification Campaign"
Expand Down Expand Up @@ -410,6 +422,10 @@ import MermaidViewer from '@site/src/components/MermaidViewer';
ACCOUNT }o--|| IDENTITY: "Owned by"
ACCOUNT ||--o{ ACCOUNT_ENTITLEMENTS: "has"
ENTITLEMENT ||--o{ ACCOUNT_ENTITLEMENTS: "associated to"
IDENTITY ||--o{ ENTITLEMENT_CONNECTION: "associated to"
ACCOUNT ||--o{ ENTITLEMENT_CONNECTION: "has"
ENTITLEMENT ||--o{ ENTITLEMENT_CONNECTION: "associated to"
SOURCE ||--o{ ENTITLEMENT_CONNECTION: "contains"
CERTIFICATION_V2 {
text TENANT_ID "Unique Id for an Organization tenant"
text ID PK "Unique Id for the Certification"
Expand Down
Loading