mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 12:27:47 +00:00
2.0 KiB
2.0 KiB
id, title, pagination_label, sidebar_label, keywords, description, slug, tags
| id | title | pagination_label | sidebar_label | keywords | description | slug | tags | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| account-list-customizer | Account List | Account List | Account List |
|
Intercept the account list command. | /connectivity/saas-connectivity/customizers/commands/account-list |
|
Overview
Use these commands to intercept the account-list command.
| Input/Output | Data Type |
|---|---|
| Input | StdAccountListInput |
| Output | StdAccountListOutput |
Example StdAccountListInput
"state": {"date": "1686341338871"},
"stateful": true
Example StdAccountListOutput
{
"identity": "john.doe",
"key": {
"simple": {
"id": "john.doe"
}
},
"disabled": false,
"locked": false,
"attributes": {
"id": "john.doe",
"displayName": "John Doe",
"email": "example@sailpoint.com",
"entitlements": [
"administrator",
"sailpoint"
]
}
}
Implementation
Before account-list command
Use this logic to implement the command:
.beforeStdAccountList(async (context: Context, input: StdAccountListInput) => {
logger.info(`Running before account list for account. State: ${input.state}`)
return input
})
The input object can be mutated and returned, but the same data type must still be returned.
After account-list command
Use this logic to implement the command:
.afterStdAccountList(async (context: Context, output: StdAccountListOutput) => {
logger.info(`Running after account list for account ${output.identity}`)
return output
})
The output object can be mutated and returned, but the same data type must still be returned.
:::caution CAUTION There will be delay in the aggregation process due to this customization process that involves additional processing. :::