From c752279c33ceb4d02c13ec15230fbe401e45f6f7 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Tue, 9 May 2023 17:21:40 +0000 Subject: [PATCH] Automated commit 'Added sourceName to Account schema (#1274) * Added sourceName to Account schema * Fixed linter errors * Added required property * Reverted back to simpler required property * Reverted required flag again --------- Co-authored-by: colin-mckibben-sp ' by github action: 4928653740 --- idn/beta/schemas/Account.yaml | 48 +++++++++++++++++++++++++++++++++++ idn/v3/schemas/Account.yaml | 24 +++++++++++++++++- 2 files changed, 71 insertions(+), 1 deletion(-) diff --git a/idn/beta/schemas/Account.yaml b/idn/beta/schemas/Account.yaml index dee6fd3..736867a 100644 --- a/idn/beta/schemas/Account.yaml +++ b/idn/beta/schemas/Account.yaml @@ -1,32 +1,80 @@ allOf: - $ref: './BaseCommonDto.yaml' - type: object + required: + - sourceId + - sourceName + - attributes + - authoritative + - disabled + - locked + - nativeIdentity + - systemAccount + - uncorrelated + - manuallyCorrelated + - hasEntitlements properties: sourceId: type: string example: 2c9180835d2e5168015d32f890ca1581 + description: The unique ID of the source this account belongs to + sourceName: + type: string + example: Employees + description: The display name of the source this account belongs to identityId: type: string example: 2c9180835d2e5168015d32f890ca1581 + description: The unique ID of the identity this account is correlated to attributes: type: object + additionalProperties: true + description: The account attributes that are aggregated + example: + firstName: "SailPoint" + lastName: "Support" + displayName: "SailPoint Support" authoritative: type: boolean + description: Indicates if this account is from an authoritative source + example: false description: type: string + description: A description of the account + nullable: true + example: null disabled: type: boolean + description: Indicates if the account is currently disabled + example: false locked: type: boolean + description: Indicates if the account is currently locked + example: false nativeIdentity: type: string + description: The unique ID of the account generated by the source system + example: "552775" systemAccount: type: boolean + example: false + description: If true, this is a user account within IdentityNow. If false, this is an account from a source system. uncorrelated: type: boolean + description: Indicates if this account is not correlated to an identity + example: false uuid: type: string + description: + The unique ID of the account as determined by the account schema + example: "slpt.support" + nullable: true manuallyCorrelated: type: boolean + description: + Indicates if the account has been manually correlated to an identity + example: false hasEntitlements: type: boolean + description: Indicates if the account has entitlements + example: true \ No newline at end of file diff --git a/idn/v3/schemas/Account.yaml b/idn/v3/schemas/Account.yaml index 5a4cb92..b834d68 100644 --- a/idn/v3/schemas/Account.yaml +++ b/idn/v3/schemas/Account.yaml @@ -1,16 +1,35 @@ allOf: - $ref: "./BaseCommonDto.yaml" - type: object + required: + - sourceId + - sourceName + - attributes + - authoritative + - disabled + - locked + - nativeIdentity + - systemAccount + - uncorrelated + - manuallyCorrelated + - hasEntitlements properties: sourceId: type: string example: 2c9180835d2e5168015d32f890ca1581 + description: The unique ID of the source this account belongs to + sourceName: + type: string + example: Employees + description: The display name of the source this account belongs to identityId: type: string example: 2c9180835d2e5168015d32f890ca1581 + description: The unique ID of the identity this account is correlated to attributes: type: object additionalProperties: true + description: The account attributes that are aggregated example: firstName: "SailPoint" lastName: "Support" @@ -34,10 +53,12 @@ allOf: example: false nativeIdentity: type: string + description: The unique ID of the account generated by the source system example: "552775" systemAccount: type: boolean example: false + description: If true, this is a user account within IdentityNow. If false, this is an account from a source system. uncorrelated: type: boolean description: Indicates if this account is not correlated to an identity @@ -47,6 +68,7 @@ allOf: description: The unique ID of the account as determined by the account schema example: "slpt.support" + nullable: true manuallyCorrelated: type: boolean description: @@ -55,4 +77,4 @@ allOf: hasEntitlements: type: boolean description: Indicates if the account has entitlements - example: true + example: true \ No newline at end of file