-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit by github action: 10930420404
- Loading branch information
1 parent
977797f
commit a1fa9fa
Showing
10 changed files
with
401 additions
and
371 deletions.
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
38 changes: 38 additions & 0 deletions
38
static/api-specs/idn/v2024/paths/configuration-hub/backup-id.yaml
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
delete: | ||
operationId: deleteBackup | ||
security: | ||
- UserContextAuth: [sp:config-backup:manage] | ||
tags: | ||
- Configuration Hub | ||
summary: Delete a Backup | ||
description: >- | ||
This API deletes an existing backup for the current tenant. | ||
On success, this endpoint will return an empty response. | ||
The backup id can be obtained from the response after a backup was successfully created, or from the list backups endpoint. | ||
parameters: | ||
- in: path | ||
name: id | ||
schema: | ||
type: string | ||
required: true | ||
description: The id of the backup to delete. | ||
example: 07659d7d-2cce-47c0-9e49-185787ee565a | ||
responses: | ||
'204': | ||
$ref: '../../../v3/responses/204.yaml' | ||
'400': | ||
$ref: '../../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../../v3/responses/403.yaml' | ||
'404': | ||
$ref: '../../../v3/responses/404.yaml' | ||
'429': | ||
$ref: '../../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../../v3/responses/500.yaml' |
77 changes: 77 additions & 0 deletions
77
static/api-specs/idn/v2024/paths/configuration-hub/backup.yaml
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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
get: | ||
operationId: listBackups | ||
security: | ||
- UserContextAuth: [sp:config-backup:read, sp:config-backup:manage] | ||
tags: | ||
- Configuration Hub | ||
summary: List Backups | ||
description: >- | ||
This API gets a list of existing backups for the current tenant. | ||
parameters: | ||
- in: query | ||
name: filters | ||
schema: | ||
type: string | ||
description: >- | ||
Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) | ||
Filtering is supported for the following fields and operators: | ||
**status**: *eq* | ||
example: status eq "COMPLETE" | ||
required: false | ||
responses: | ||
'200': | ||
description: >- | ||
List of existing backups. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: '../../schemas/configuration-hub/BackupResponse.yaml' | ||
example: | ||
[ | ||
{ | ||
"jobId": "09491993-9cb6-49a7-8d37-8bef54d33502", | ||
"status": "COMPLETE", | ||
"type": "BACKUP", | ||
"tenant": "tenant-name", | ||
"requesterName": "Requester Name", | ||
"fileExists": true, | ||
"created": "2024-02-19T19:54:15.373Z", | ||
"modified": "2024-02-19T20:39:00.341Z", | ||
"completed": "2024-02-19T19:54:15.605Z", | ||
"name": "Backup name", | ||
"userCanDelete": false, | ||
"isPartial": true, | ||
"backupType": "MANUAL", | ||
"options": { | ||
"includeTypes": [ | ||
"SOURCE" | ||
], | ||
"objectOptions": { | ||
"SOURCE": { | ||
"includedNames": [ | ||
"Source Name" | ||
] | ||
} | ||
} | ||
}, | ||
"hydrationStatus": "HYDRATED", | ||
"totalObjectCount": 2, | ||
"cloudStorageStatus": "SYNCED" | ||
} | ||
] | ||
'400': | ||
$ref: '../../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../../v3/responses/403.yaml' | ||
'429': | ||
$ref: '../../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../../v3/responses/500.yaml' |
45 changes: 45 additions & 0 deletions
45
static/api-specs/idn/v2024/schemas/configuration-hub/BackupOptions.yaml
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
type: object | ||
nullable: true | ||
description: Backup options control what will be included in the backup. | ||
properties: | ||
includeTypes: | ||
type: array | ||
description: Object type names to be included in a Configuration Hub backup command. | ||
items: | ||
type: string | ||
enum: | ||
- ACCESS_PROFILE | ||
- ACCESS_REQUEST_CONFIG | ||
- ATTR_SYNC_SOURCE_CONFIG | ||
- AUTH_ORG | ||
- CAMPAIGN_FILTER | ||
- FORM_DEFINITION | ||
- GOVERNANCE_GROUP | ||
- IDENTITY_OBJECT_CONFIG | ||
- IDENTITY_PROFILE | ||
- LIFECYCLE_STATE | ||
- NOTIFICATION_TEMPLATE | ||
- PASSWORD_POLICY | ||
- PASSWORD_SYNC_GROUP | ||
- PUBLIC_IDENTITIES_CONFIG | ||
- ROLE | ||
- RULE | ||
- SEGMENT | ||
- SERVICE_DESK_INTEGRATION | ||
- SOD_POLICY | ||
- SOURCE | ||
- TAG | ||
- TRANSFORM | ||
- TRIGGER_SUBSCRIPTION | ||
- WORKFLOW | ||
example: TRIGGER_SUBSCRIPTION | ||
objectOptions: | ||
description: Additional options targeting specific objects related to each item in the includeTypes field. | ||
type: object | ||
additionalProperties: | ||
$ref: './ObjectExportImportNames.yaml' | ||
example: { | ||
"TRIGGER_SUBSCRIPTION": { | ||
"includedNames": ["Trigger Subscription name"] | ||
} | ||
} |
103 changes: 103 additions & 0 deletions
103
static/api-specs/idn/v2024/schemas/configuration-hub/BackupResponse.yaml
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 |
---|---|---|
@@ -0,0 +1,103 @@ | ||
type: object | ||
properties: | ||
jobId: | ||
type: string | ||
description: Unique id assigned to this backup. | ||
example: 3469b87d-48ca-439a-868f-2160001da8c1 | ||
status: | ||
type: string | ||
description: Status of the backup. | ||
enum: | ||
- NOT_STARTED | ||
- IN_PROGRESS | ||
- COMPLETE | ||
- CANCELLED | ||
- FAILED | ||
example: COMPLETE | ||
type: | ||
type: string | ||
description: Type of the job, will always be BACKUP for this type of job. | ||
enum: | ||
- BACKUP | ||
example: BACKUP | ||
tenant: | ||
type: string | ||
description: The name of the tenant performing the upload | ||
example: tenant-name | ||
requesterName: | ||
type: string | ||
description: The name of the requester. | ||
example: Requester Name | ||
fileExists: | ||
type: boolean | ||
default: true | ||
description: Whether or not a file was created and stored for this backup. | ||
example: true | ||
created: | ||
type: string | ||
format: date-time | ||
description: The time the job was started. | ||
example: 2021-05-11T22:23:16Z | ||
modified: | ||
type: string | ||
format: date-time | ||
description: The time of the last update to the job. | ||
example: 2021-05-11T22:23:16Z | ||
completed: | ||
type: string | ||
format: date-time | ||
description: The time the job was completed. | ||
example: 2021-05-11T22:23:16Z | ||
name: | ||
type: string | ||
description: The name assigned to the upload file in the request body. | ||
example: Backup Name | ||
userCanDelete: | ||
type: boolean | ||
default: true | ||
description: Whether this backup can be deleted by a regular user. | ||
example: false | ||
isPartial: | ||
type: boolean | ||
default: false | ||
description: Whether this backup contains all supported object types or only some of them. | ||
example: false | ||
backupType: | ||
type: string | ||
description: >- | ||
Denotes how this backup was created. | ||
- MANUAL - The backup was created by a user. | ||
- AUTOMATED - The backup was created by devops. | ||
- AUTOMATED_DRAFT - The backup was created during a draft process. | ||
- UPLOADED - The backup was created by uploading an existing configuration file. | ||
enum: | ||
- UPLOADED | ||
- AUTOMATED | ||
- MANUAL | ||
example: MANUAL | ||
options: | ||
$ref: './BackupOptions.yaml' | ||
hydrationStatus: | ||
type: string | ||
description: Whether the object details of this backup are ready. | ||
enum: | ||
- HYDRATED | ||
- NOT_HYDRATED | ||
example: NOT_HYDRATED | ||
totalObjectCount: | ||
type: integer | ||
format: int64 | ||
description: Number of objects contained in this backup. | ||
example: 10 | ||
cloudStorageStatus: | ||
type: string | ||
description: Whether this backup has been transferred to a customer storage location. | ||
enum: | ||
- SYNCED | ||
- NOT_SYNCED | ||
- SYNC_FAILED | ||
example: SYNCED |
8 changes: 8 additions & 0 deletions
8
static/api-specs/idn/v2024/schemas/configuration-hub/ObjectExportImportNames.yaml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
type: object | ||
properties: | ||
includedNames: | ||
description: Object names to be included in a backup. | ||
type: array | ||
items: | ||
type: string | ||
example: "Test Object name" |
Oops, something went wrong.