PingOne
PingIdentity Pack.#
This Integration is part of theSupported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
Integrates with the PingOne Management API to unlock, create, delete and update users.
#
Configure PingOne in CortexParameter | Description | Required |
---|---|---|
Your PingOne Environment ID | Environment ID is available under the PingOne Dashboard->Environment Properties. | True |
PingOne Region | PingOne has 3 regions, US, EU and Asia. | True |
Client ID | True | |
Client Secret | True | |
Trust any certificate (not secure) | Trust any certificate (not secure). | False |
Use system proxy settings | Use system proxy settings. | False |
#
CommandsYou can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
pingone-unlock-userUnlock a user's account.
#
Base Commandpingone-unlock-user
#
InputArgument Name | Description | Required |
---|---|---|
username | Username to unlock. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-unlock-user username=emma.sharp
#
Human Readable Output#
emma.sharp unlocked
#
pingone-deactivate-userDeactivate a user's account.
#
Base Commandpingone-deactivate-user
#
InputArgument Name | Description | Required |
---|---|---|
username | A username to deactivate. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-deactivate-user username=emma.sharp
#
Human Readable Output#
User emma.sharp deactivated
#
pingone-activate-userActivate a user's account.
#
Base Commandpingone-activate-user
#
InputArgument Name | Description | Required |
---|---|---|
username | A username to activate. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-activate-user username=emma.sharp
#
Human Readable Output#
emma.sharp is active now
#
pingone-set-passwordSets a user's password. Further password details available here: https://apidocs.pingidentity.com/pingone/platform/v1/api/#put-update-password-self
#
Base Commandpingone-set-password
#
InputArgument Name | Description | Required |
---|---|---|
username | The username to change the password for. | Required |
password | The new password. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-set-password username=emma.sharp password=OnePing123!
#
Human Readable Outputemma.sharp password was updated.
#
pingone-add-to-groupAdd user to the group. One of the following has to be given username or userId and groupName or groupId.
#
Base Commandpingone-add-to-group
#
InputArgument Name | Description | Required |
---|---|---|
username | Username . | Optional |
groupName | Group Name. | Optional |
groupId | Group ID. | Optional |
userId | User ID. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-add-to-group username=richard.smith groupName=Sales
#
Human Readable OutputUser: 9bc53389-f806-47b6-9480-ab1e3c6269b5 added to group: Sales successfully
#
pingone-remove-from-groupRemove user from the group. One of the following has to be given username or userId and groupName or groupId.
#
Base Commandpingone-remove-from-group
#
InputArgument Name | Description | Required |
---|---|---|
username | Username. | Optional |
groupName | Group Name. | Optional |
userId | User ID. | Optional |
groupId | Group ID. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-remove-from-group username=richard.smith groupName=Sales
#
Human Readable OutputUser: 9bc53389-f806-47b6-9480-ab1e3c6269b5 was removed from group: Sales successfully
#
pingone-get-groupsReturns user's group memberships.
#
Base Commandpingone-get-groups
#
InputArgument Name | Description | Required |
---|---|---|
username | Username. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
PingOne.Account.Group | string | PingOne groups of the user. |
PingOne.Account.ID | string | PingOne account ID. |
PingOne.Account.Type | string | PingOne account type. |
PingOne.Account.Group.ID | string | Group unique ID. |
PingOne.Account.Group.Name | string | Group name. |
#
Command Example!pingone-get-groups username=emma.sharp
#
Context Example#
Human Readable OutputPingOne groups for user: emma.sharp
#
Groups
ID Name a5ec8d61-6291-4ebf-8630-135c2ecf1d10 Marketing 115458a4-5460-4514-802c-df153a6dcd47 Standard
#
pingone-get-userReturns a PingOne user. One of the following has to be given username or userId.
#
Base Commandpingone-get-user
#
InputArgument Name | Description | Required |
---|---|---|
username | Username. | Optional |
userId | User ID. | Optional |
detailed | PingOne user details. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
PingOne.Account.ID | string | PingOne account ID. |
PingOne.Account.Username | string | PingOne account username. |
PingOne.Account.DisplayName | string | PingOne account display name. |
PingOne.Account.Email | string | PingOne account email. |
PingOne.Account.Enabled | boolean | PingOne account enabled status. |
PingOne.Account.CreatedAt | date | PingOne account create date. |
PingOne.Account.UpdatedAt | date | PingOne account updated date. |
#
Command Example!pingone-get-user username=emma.sharp
#
Context Example#
Human Readable Output#
User:emma.sharp
AccountStatus CreatedAt Enabled Environment First Name ID Last Name PopulationID UpdatedAt Username OK 2021-09-03T18:04:03.916Z emma.sharp@example.com true b4f5e266-a946-4f77-9cc5-5dc91b046431 Emma a8890eb9-38ea-469a-bc00-b64be7903633 Sharp 4cd45bdb-0eb2-42fe-8475-4bcd908269f1 2021-09-23T17:18:11.747Z emma.sharp
#
pingone-create-userCreate a PingOne user.
#
Base Commandpingone-create-user
#
InputArgument Name | Description | Required |
---|---|---|
username | The username to create. | Required |
populationId | PingOne population ID where the new user will be created. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
PingOne.Account.ID | string | PingOne account ID. |
PingOne.Account.Username | string | PingOne account username. |
PingOne.Account.DisplayName | string | PingOne account display name. |
PingOne.Account.Email | string | PingOne account email. |
PingOne.Account.Enabled | boolean | PingOne account enabled status. |
PingOne.Account.CreatedAt | date | PingOne account create date. |
PingOne.Account.UpdatedAt | date | PingOne account updated date. |
#
Command Example!pingone-create-user username=richard.smith populationId=4cd45bdb-0eb2-42fe-8475-4bcd908269f1
#
Context Example#
Human Readable Output#
PingOne user created: richard.smith
AccountStatus CreatedAt Enabled Environment First Name ID Last Name PopulationID UpdatedAt Username OK 2021-09-23T17:18:18.292Z true b4f5e266-a946-4f77-9cc5-5dc91b046431 9bc53389-f806-47b6-9480-ab1e3c6269b5 4cd45bdb-0eb2-42fe-8475-4bcd908269f1 2021-09-23T17:18:18.292Z richard.smith
#
pingone-update-userUpdate a PingOne user.
#
Base Commandpingone-update-user
#
InputArgument Name | Description | Required |
---|---|---|
username | The username to be updated. | Required |
formatted | Formatted PingOne name. | Optional |
given | Given name. | Optional |
middle | Middle name. | Optional |
family | Family name. | Optional |
nickname | Nickname. | Optional |
title | Title. | Optional |
locale | Locale. | Optional |
Email. | Optional | |
primaryPhone | Primary phone number. | Optional |
mobilePhone | Mobile phone number. | Optional |
streetAddress | Street address. | Optional |
locality | Locality. | Optional |
region | Region. | Optional |
postalCode | Zip code. | Optional |
countryCode | Country code. | Optional |
Type | Account type. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-update-user username=richard.smith phoneNumber=604-998-7766
#
Human Readable Output#
PingOne user updated: richard.smithNo entries.
#
pingone-delete-userDelete a PingOne user. One of the following has to be given username or userId.
#
Base Commandpingone-delete-user
#
InputArgument Name | Description | Required |
---|---|---|
username | Username. | Optional |
userId | User ID. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Example!pingone-delete-user username=richard.smith
#
Human Readable OutputUser: 9bc53389-f806-47b6-9480-ab1e3c6269b5 was Deleted successfully