Issue
When working on a SaaS connector (which is awesome btw, we love it) we aren’t seeing the ability to use our enable\disable functions from our SaaS connector in Sailpoint. We have been able to make them available by making calls to the beta api to change feature flags on the source. Is there some way we can include those feature flags in our uploaded connector instead perhaps?
API Call required to turn on Enable\Disable actions.
- url: https://{{env}}.api.identitynow.com/beta/sources/{{sourceId}}
- method: PATCH
- body:
[
{
"op": "replace",
"path": "/features",
"value": [
"PROVISIONING",
"ENABLE"
]
}
]
Here are all of my relevant project files in case they are useful. Also is there some place where we might be able to share connectors?
connector-spec.json
{
"name": "AWS IAM Identity Center (new)",
"commands": [
"std:test-connection",
"std:account:create",
"std:account:read",
"std:account:list",
"std:account:update",
"std:account:disable",
"std:account:delete",
"std:entitlement:list",
"std:entitlement:read"
],
"sourceConfig": [
{
"type": "menu",
"label": "Configuration",
"items": [
{
"type": "section",
"sectionTitle": "Authentication",
"sectionHelpMessage": "An AWS IAM User is needed to connect to your target Identity Store.",
"items": [
{
"key": "accessKeyId",
"label": "Access Key ID",
"type": "text"
},
{
"key": "secretAccessKey",
"label": "Secret Access Key",
"type": "secret"
}
]
},
{
"type": "section",
"sectionTitle": "Identity Store Config",
"sectionHelpMessage": "Information about the Identity Store you are going to be managing.",
"items": [
{
"key": "identityStoreId",
"label": "Identity Store ID",
"type": "text"
},
{
"key": "region",
"label": "AWS Region",
"type": "text"
}
]
}
]
}
],
"accountSchema":{
"displayAttribute": "UserName",
"identityAttribute": "UserName",
"groupAttribute": "entitlements",
"attributes":[
{
"name": "UserName",
"type": "string",
"description": "User Name (upn)"
},
{
"name": "UserId",
"type": "string",
"description": "Unique Identifier (guid)"
},
{
"name": "Formatted",
"type": "string",
"description": "Friendly Formatted Account Name"
},
{
"name": "FamilyName",
"type": "string",
"description": "Last Name"
},
{
"name": "GivenName",
"type": "string",
"description": "First Name"
},
{
"name": "MiddleName",
"type": "string",
"description": "Middle Name"
},
{
"name": "DisplayName",
"type": "string",
"description": "Display Name"
},
{
"name": "NickName",
"type": "string",
"description": "First Name"
},
{
"name": "Email",
"type": "string",
"description": "Primary Email Address"
},
{
"name": "PreferredLanguage",
"type": "string",
"description": "Preferred Language"
},
{
"name": "Locale",
"type": "string",
"description": "Country Code"
},
{
"name": "entitlements",
"type": "string",
"entitlement": true,
"managed": true,
"multi": true,
"description": "The AWS IAM Identity Center SSO groups that the account belongs to"
}
]
},
"entitlementSchemas": [
{
"type": "group",
"displayAttribute": "DisplayName",
"identityAttribute": "GroupId",
"attributes": [
{
"name": "GroupId",
"type": "string",
"description": "Unique Identifier (guid)"
},
{
"name": "displayName",
"type": "string",
"description": "Display Name"
},
{
"name": "description",
"type": "string",
"description": "Description"
}
]
}
],
"accountCreateTemplate": {
"fields": [
{
"key": "UserName",
"label": "UserName",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
}
},
{
"key": "FamilyName",
"label": "FamilyName",
"type": "string",
"required": false,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
}
},
{
"key": "GivenName",
"label": "GivenName",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
}
},
{
"key": "DisplayName",
"label": "DisplayName",
"type": "string",
"required": false,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "displayName"
}
}
},
{
"key": "Email",
"label": "Email",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
}
},
{
"key": "Locale",
"label": "Locale",
"type": "string",
"required": false,
"initialValue": {
"type": "static",
"attributes": {
"value": "en-US"
}
}
}
]
}
}