-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'ISCCOMPLI-300: beta to v3 api doc of Create campaig…
…n template (#1419) * ISCCOMPLI-300: beta to v3 api doc of Create campaign template' by github action: 6315206402
- Loading branch information
1 parent
ea4049d
commit 69001e5
Showing
13 changed files
with
396 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
post: | ||
operationId: createCampaignTemplate | ||
tags: | ||
- Certification Campaigns | ||
summary: Create a Campaign Template | ||
description: >- | ||
Create a campaign Template based on campaign. | ||
security: | ||
- UserContextAuth: [ idn:campaign-template:create ] | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/CampaignTemplate.yaml' | ||
examples: | ||
Manager: | ||
$ref: '../schemas/campaign/examples/CreateCampaignTemplateManager.yaml' | ||
Search: | ||
$ref: '../schemas/campaign/examples/CreateCampaignTemplateSearch.yaml' | ||
Source Owner: | ||
$ref: '../schemas/campaign/examples/CreateCampaignTemplateSourceOwner.yaml' | ||
RoleComposition: | ||
$ref: '../schemas/campaign/examples/CreateCampaignTemplateRoleComposition.yaml' | ||
responses: | ||
'200': | ||
description: Created successfully. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/CampaignTemplate.yaml' | ||
examples: | ||
Manager: | ||
$ref: '../schemas/campaign/examples/CampaignTemplateManager.yaml' | ||
Search: | ||
$ref: '../schemas/campaign/examples/CampaignTemplateSearch.yaml' | ||
Source Owner: | ||
$ref: '../schemas/campaign/examples/CampaignTemplateSourceOwner.yaml' | ||
RoleComposition: | ||
$ref: '../schemas/campaign/examples/CampaignTemplateRoleComposition.yaml' | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.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,76 @@ | ||
type: object | ||
description: Campaign Template | ||
properties: | ||
id: | ||
type: string | ||
description: Id of the campaign template | ||
example: 2c9079b270a266a60170a277bb960008 | ||
name: | ||
type: string | ||
description: This template's name. Has no bearing on generated campaigns' names. | ||
example: Manager Campaign Template | ||
description: | ||
type: string | ||
description: This template's description. Has no bearing on generated campaigns' descriptions. | ||
example: Template for the annual manager campaign. | ||
created: | ||
type: string | ||
description: Creation date of Campaign Template | ||
readOnly: true | ||
format: date-time | ||
example: '2020-03-05T22:44:00.364Z' | ||
modified: | ||
type: string | ||
description: Modification date of Campaign Template | ||
readOnly: true | ||
format: date-time | ||
example: '2020-03-05T22:52:09.969Z' | ||
scheduled: | ||
type: boolean | ||
readOnly: true | ||
description: Indicates if this campaign template has been scheduled. | ||
example: false | ||
default: false | ||
ownerRef: | ||
type : object | ||
description: >- | ||
The owner of this template, and the owner of campaigns generated from this template via a schedule. This field | ||
is automatically populated at creation time with the current user. | ||
properties: | ||
id: | ||
type: string | ||
description: Id of the owner | ||
example: 2c918086676d3e0601677611dbde220f | ||
type: | ||
type: string | ||
enum: | ||
- IDENTITY | ||
description: Type of the owner | ||
example: IDENTITY | ||
name: | ||
type: string | ||
description: Name of the owner | ||
example: Mister Manager | ||
email: | ||
type: string | ||
description: Email of the owner | ||
example: [email protected] | ||
deadlineDuration: | ||
type: string | ||
description: >- | ||
The time period during which the campaign should be completed, formatted as an ISO-8601 Duration. When this template | ||
generates a campaign, the campaign's deadline will be the current date plus this duration. For example, if generation | ||
occurred on 2020-01-01 and this field was "P2W" (two weeks), the resulting campaign's deadline would be 2020-01-15 | ||
(the current date plus 14 days). | ||
example: P2W | ||
campaign: | ||
type : object | ||
description: >- | ||
This will hold campaign related information like name, description etc. | ||
$ref: './Campaign.yaml' | ||
required: | ||
- name | ||
- description | ||
- created | ||
- modified | ||
- campaign |
39 changes: 39 additions & 0 deletions
39
idn/v3/schemas/campaign/examples/CampaignTemplateManager.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,39 @@ | ||
value: | ||
id: e7dbec99d49349c8951bd84f58a05120 | ||
name: Manager Review | ||
created: 2022-08-02T19:16:42.632Z | ||
modified: null | ||
description: A review of everyone's access by their manager. | ||
deadlineDuration: P14D | ||
ownerRef: | ||
email: [email protected] | ||
type: IDENTITY | ||
id: 7ec252acbd4245548bc25df22348cb75 | ||
name: SailPoint Support | ||
scheduled: false | ||
campaign: | ||
created: null | ||
modified: null | ||
filter: | ||
type: CAMPAIGN_FILTER | ||
id: e0adaae69852e8fe8b8a3d48e5ce757c | ||
name: Test Manager Filter | ||
sunsetCommentsRequired: true | ||
sourceOwnerCampaignInfo: null | ||
searchCampaignInfo: null | ||
roleCompositionCampaignInfo: null | ||
alerts: null | ||
totalCertifications: null | ||
completedCertifications: null | ||
sourcesWithOrphanEntitlements: null | ||
id: null | ||
name: Manager Review | ||
description: Review everyone's access. | ||
deadline: null | ||
type: MANAGER | ||
status: null | ||
emailNotificationEnabled: true | ||
autoRevokeAllowed: false | ||
recommendationsEnabled: false | ||
correlatedStatus: CORRELATED | ||
mandatoryCommentRequirement: NO_DECISIONS |
46 changes: 46 additions & 0 deletions
46
idn/v3/schemas/campaign/examples/CampaignTemplateRoleComposition.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,46 @@ | ||
value: | ||
id: b9f41bc69e7a4291b9de0630396d030d | ||
name: Campaign With Admin Role | ||
created: 2022-08-02T13:40:36.857Z | ||
modified: null | ||
description: Campaign With Admin Role | ||
deadlineDuration: null | ||
ownerRef: | ||
email: [email protected] | ||
type: IDENTITY | ||
id: 7ec252acbd4245548bc25df22348cb75 | ||
name: SailPoint Support | ||
scheduled: false | ||
campaign: | ||
created: null | ||
modified: null | ||
filter: null | ||
sunsetCommentsRequired: true | ||
sourceOwnerCampaignInfo: null | ||
searchCampaignInfo: null | ||
roleCompositionCampaignInfo: | ||
remediatorRef: | ||
type: IDENTITY | ||
id: 7ec252acbd4245548bc25df22348cb75 | ||
name: SailPoint Support | ||
reviewerId: null | ||
reviewer: null | ||
roleIds: | ||
- b15d609fc5c8434b865fe552315fda8f | ||
query: null | ||
description: null | ||
alerts: null | ||
totalCertifications: null | ||
completedCertifications: null | ||
sourcesWithOrphanEntitlements: null | ||
id: null | ||
name: Campaign With Admin Role | ||
description: Campaign With Admin Role | ||
deadline: null | ||
type: ROLE_COMPOSITION | ||
status: null | ||
emailNotificationEnabled: false | ||
autoRevokeAllowed: false | ||
recommendationsEnabled: false | ||
correlatedStatus: CORRELATED | ||
mandatoryCommentRequirement: NO_DECISIONS |
46 changes: 46 additions & 0 deletions
46
idn/v3/schemas/campaign/examples/CampaignTemplateSearch.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,46 @@ | ||
value: | ||
id: b7e6459eed5247ac8b98a5fed81fe27f | ||
name: Reporting Access Review | ||
created: 2022-07-28T19:19:40.035Z | ||
modified: null | ||
description: A review of everyone's access to the reporting system. | ||
deadlineDuration: P14D | ||
ownerRef: | ||
email: [email protected] | ||
type: IDENTITY | ||
id: 7ec252acbd4245548bc25df22348cb75 | ||
name: SailPoint Support | ||
scheduled: false | ||
campaign: | ||
created: null | ||
modified: null | ||
filter: | ||
type: CAMPAIGN_FILTER | ||
id: e0adaae69852e8fe8b8a3d48e5ce757c | ||
name: Test Search Filter | ||
sunsetCommentsRequired: true | ||
sourceOwnerCampaignInfo: null | ||
searchCampaignInfo: | ||
type: ACCESS | ||
description: Identities with reporting abilities | ||
reviewerId: null | ||
reviewer: null | ||
query: "@access(name: (\"reporter\"))" | ||
identityIds: null | ||
accessConstraints: [ ] | ||
roleCompositionCampaignInfo: null | ||
alerts: null | ||
totalCertifications: null | ||
completedCertifications: null | ||
sourcesWithOrphanEntitlements: null | ||
id: null | ||
name: Search Campaign Review | ||
description: Review everyone's access to the reporting system. | ||
deadline: null | ||
type: SEARCH | ||
status: null | ||
emailNotificationEnabled: true | ||
autoRevokeAllowed: false | ||
recommendationsEnabled: false | ||
correlatedStatus: CORRELATED | ||
mandatoryCommentRequirement: NO_DECISIONS |
41 changes: 41 additions & 0 deletions
41
idn/v3/schemas/campaign/examples/CampaignTemplateSourceOwner.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,41 @@ | ||
value: | ||
id: b9f41bc69e7a4291b9de0630396d030d | ||
name: AD Source Review | ||
created: 2022-08-02T13:40:36.857Z | ||
modified: null | ||
description: A review of our AD source. | ||
deadlineDuration: P1M | ||
ownerRef: | ||
email: [email protected] | ||
type: IDENTITY | ||
id: 7ec252acbd4245548bc25df22348cb75 | ||
name: SailPoint Support | ||
scheduled: false | ||
campaign: | ||
created: null | ||
modified: null | ||
filter: | ||
type: CAMPAIGN_FILTER | ||
id: e0adaae69852e8fe8b8a3d48e5ce757c | ||
name: Test Source Owner Filter | ||
sunsetCommentsRequired: true | ||
sourceOwnerCampaignInfo: | ||
sourceIds: | ||
- 2c918084707deba501709d45ce4e5569 | ||
searchCampaignInfo: null | ||
roleCompositionCampaignInfo: null | ||
alerts: null | ||
totalCertifications: null | ||
completedCertifications: null | ||
sourcesWithOrphanEntitlements: null | ||
id: null | ||
name: AD Source Review | ||
description: Review everyone's access. | ||
deadline: null | ||
type: SOURCE_OWNER | ||
status: null | ||
emailNotificationEnabled: true | ||
autoRevokeAllowed: false | ||
recommendationsEnabled: false | ||
correlatedStatus: CORRELATED | ||
mandatoryCommentRequirement: NO_DECISIONS |
19 changes: 19 additions & 0 deletions
19
idn/v3/schemas/campaign/examples/CreateCampaignTemplateManager.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,19 @@ | ||
description: >- | ||
This creates a template that can be used to generate manager campaigns. The campaigns will have a due date | ||
that is two weeks after their creation date, and will be named "{current date} Manager Review" (e.g. | ||
"2020-03-16 Manager Review"). | ||
value: | ||
name: Manager Review | ||
description: A review of everyone's access by their manager. | ||
deadlineDuration: P2W | ||
campaign: | ||
name: Manager Review | ||
description: Review everyone's access. | ||
type: MANAGER | ||
filter: | ||
type: CAMPAIGN_FILTER | ||
id: e0adaae69852e8fe8b8a3d48e5ce757c | ||
emailNotificationEnabled: true | ||
autoRevokeAllowed: false | ||
recommendationsEnabled: false | ||
mandatoryCommentRequirement: NO_DECISIONS |
Oops, something went wrong.