Thycotic (Deprecated)
Thycotic Secret Server (Deprecated) Pack.#
This Integration is part of theDeprecated
Use DelineaSS instead.
Secret Server is the only fully featured Privileged Account Management (PAM) solution available both on premise and in the cloud. It empowers security and IT ops teams to secure and manage all types of privileged accounts and offers the fastest time to value of any PAM solution. This integration was integrated and tested with version 5.0 of Thycotic
#
Configure Thycotic on Cortex XSOAR- Navigate to Settings > Integrations > Servers & Services.
- Search for Thycotic.
- Click Add instance to create and configure a new integration instance.
Parameter | Description | Required |
---|---|---|
url | Server URL (e.g. https://example.net\) | True |
credentials | Username | True |
insecure | Trust any certificate (not secure) | False |
proxy | Use system proxy settings | False |
isFetchCredentials | Fetches credentials | False |
credentialobjects | List secret name for fetch credentials (separated by commas) | False |
- Click Test to validate the URLs, token, and connection.
#
CommandsYou can execute these commands from the Cortex XSOAR 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.
#
thycotic-secret-password-getRetrieved password from secret
#
Base Commandthycotic-secret-password-get
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | ID secret | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Password | String | Retrieved password from secret |
#
Command Example!thycotic-secret-password-get secret_id=2
#
Context Example#
Human Readable OutputRetrieved password by ID 2 1234567890
#
thycotic-secret-username-getRetrieved username from secret
#
Base Commandthycotic-secret-username-get
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | ID secret | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Username | String | Retrieved username from secret. |
#
Command Example!thycotic-secret-username-get secret_id=2
#
Context Example#
Human Readable OutputRetrieved username by ID 2 w2\w2
#
thycotic-secret-search-nameSearch ID secret by field name
#
Base Commandthycotic-secret-search-name
#
InputArgument Name | Description | Required |
---|---|---|
search_name | Search name secret. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Id | String | Retrieved list ID for find secret by field secret name |
#
Command Example!thycotic-secret-search-name search_name=xsoarSecret
#
Context Example#
Human Readable OutputRetrieved list ID for search by secret name = xsoarSecret List ID: 5
#
thycotic-secret-password-updateUpdate password for secret
#
Base Commandthycotic-secret-password-update
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | ID secret for update password | Required |
newpassword | Value new password for secret | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Newpassword | String | New password changed for secret |
#
Command Example!thycotic-secret-password-update secret_id=2 newpassword=12345
#
Context Example#
Human Readable OutputSet new password for secret ID 2, set 12345
#
thycotic-secret-checkoutCheck Out a secret
#
Base Commandthycotic-secret-checkout
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | ID secret for check out command | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Checkout | String | Return call command Check Out |
#
Command Example!thycotic-secret-checkout secret_id=2
#
Context Example#
Human Readable OutputCheck Out for secret ID 2, ResponseCode - None
#
thycotic-secret-checkinCheck In a secret
#
Base Commandthycotic-secret-checkin
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | Secret ID. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Checkin | String | Secret object |
#
Command Example!thycotic-secret-checkin secret_id=13
#
Context Example#
Human Readable OutputCheck In for secret ID=13. CheckOut = False
#
thycotic-folder-createCreate a new secret folder
#
Base Commandthycotic-folder-create
#
InputArgument Name | Description | Required |
---|---|---|
foldername | Folder name | Required |
foldertypeid | Folder type ID(1=< ID =< 3 | Required |
parentfolderid | Parent folder ID | Required |
inheritPermissions | Whether the folder should inherit permissions from its parent (default: true) | Optional |
inheritSecretPolicy | Whether the folder should inherit the secret policy. Defaults to true unless creating a root folder. | Optional |
secretPolicyId | Secret policy ID | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Folder.Create | Unknown | New object folder |
#
Command Example!thycotic-folder-create foldername="xsoarFolderTest" foldertypeid="1" parentfolderid="3"
#
Context Example#
Human Readable OutputCreate new folder - xsoarFolderTest
#
thycotic-folder-searchSearch folder by name folder
#
Base Commandthycotic-folder-search
#
InputArgument Name | Description | Required |
---|---|---|
foldername | Search name folder | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Folder.Id | String | Retrieved folder ID from search query |
#
Command Example!thycotic-folder-search foldername="xsoarFolderTest"
#
Context Example#
Human Readable OutputRetrieved list ID for folder by folder name = xsoarFolderTest List ID: 5
#
Command Example!thycotic-folder-delete folder_id="18"
#
Context Example#
Human Readable OutputDeleted folder ID: 18
#
thycotic-secret-getGet secret object by ID secret
#
Base Commandthycotic-secret-get
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | ID for secret | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret | String | Secret object |
#
Command Example!thycotic-secret-get secret_id=2
#
Context Example#
Human Readable OutputSecret object by ID 2 {'id': 2, 'name': 'test-w2', 'secretTemplateId': 6003, 'folderId': 3, 'active': True, 'items': [{'itemId': 5, 'fileAttachmentId': None, 'filename': None, 'itemValue': '192.168.100.1', 'fieldId': 83, 'fieldName': 'Machine', 'slug': 'machine', 'fieldDescription': 'The Server or Location of the Windows Machine.', 'isFile': False, 'isNotes': False, 'isPassword': False}, {'itemId': 6, 'fileAttachmentId': None, 'filename': None, 'itemValue': 'w2\w2', 'fieldId': 86, 'fieldName': 'Username', 'slug': 'username', 'fieldDescription': 'The Username of the Windows User.', 'isFile': False, 'isNotes': False, 'isPassword': False}, {'itemId': 7, 'fileAttachmentId': None, 'filename': None, 'itemValue': '1234567890', 'fieldId': 85, 'fieldName': 'Password', 'slug': 'password', 'fieldDescription': 'The password of the Windows User.', 'isFile': False, 'isNotes': False, 'isPassword': True}, {'itemId': 8, 'fileAttachmentId': None, 'filename': None, 'itemValue': '', 'fieldId': 84, 'fieldName': 'Notes', 'slug': 'notes', 'fieldDescription': 'Any additional notes.', 'isFile': False, 'isNotes': True, 'isPassword': False}], 'launcherConnectAsSecretId': -1, 'checkOutMinutesRemaining': 30, 'checkedOut': True, 'checkOutUserDisplayName': 'XSOAR integration', 'checkOutUserId': 3, 'isRestricted': True, 'isOutOfSync': False, 'outOfSyncReason': '', 'autoChangeEnabled': False, 'autoChangeNextPassword': '2$C$7vl8*SN@', 'requiresApprovalForAccess': False, 'requiresComment': False, 'checkOutEnabled': True, 'checkOutIntervalMinutes': -1, 'checkOutChangePasswordEnabled': False, 'accessRequestWorkflowMapId': -1, 'proxyEnabled': False, 'sessionRecordingEnabled': False, 'restrictSshCommands': False, 'allowOwnersUnrestrictedSshCommands': False, 'isDoubleLock': False, 'doubleLockId': -1, 'enableInheritPermissions': True, 'passwordTypeWebScriptId': -1, 'siteId': 1, 'enableInheritSecretPolicy': True, 'secretPolicyId': -1, 'lastHeartBeatStatus': 'Pending', 'lastHeartBeatCheck': '0001-01-01T00:00:00', 'failedPasswordChangeAttempts': 0, 'lastPasswordChangeAttempt': '0001-01-01T00:00:00', 'secretTemplateName': 'Windows Account', 'responseCodes': []}
#
thycotic-secret-searchSearch secret ID by multiply params
#
Base Commandthycotic-secret-search
#
InputArgument Name | Description | Required |
---|---|---|
filter.allowDoubleLocks | Whether to allow DoubleLocks as part of the search. True by default | Optional |
filter.doNotCalculateTotal | Whether to return the total number of secrets matching the filters. False by default | Optional |
filter.doubleLockId | Only include Secrets with this DoubleLock ID assigned in the search results | Optional |
filter.extendedFields | Names of Secret Template fields to return. Only exposed fields can be returned. | Optional |
filter.extendedTypeId | Return only secrets matching a certain extended type | Optional |
filter.folderId | Return only secrets within a certain folder | Optional |
filter.heartbeatStatus | Return only secrets with a certain heartbeat status | Optional |
filter.includeActive | Whether to include active secrets in results (when excluded equals true) | Optional |
filter.includeInactive | Whether to include inactive secrets in results | Optional |
filter.includeRestricted | Whether to include restricted secrets in results | Optional |
filter.isExactMatch | Whether to do an exact match of the search text or a partial match | Optional |
filter.onlyRPCEnabled | Whether to only include secrets whose template has Remote Password Changing enabled | Optional |
filter.onlySharedWithMe | When true only Secrets where you are not the owner and the Secret was shared explicitly with your user id will be returned. | Optional |
filter.passwordTypeIds | Return only secrets matching certain password types | Optional |
filter.permissionRequired | Specify whether to filter by List, View, Edit, or Owner permission. Default is List. (List = 1, View = 2, Edit = 3, Owner = 4 | Optional |
filter.scope | Specify whether to search AllSecrets, Recent, or Favorites (All = 1, Recent = 2,Favorites = 3 | Optional |
filter.searchField | Field to search | Optional |
filter.searchFieldSlug | Field-slug to search. This will override SearchField. | Optional |
filter.searchText | Search text | Optional |
filter.secretTemplateId | Return only secrets matching a certain template | Optional |
filter.siteId | Return only secrets within a certain site | Optional |
skip | Number of records to skip before taking results | Optional |
sortBy[0].direction | Sort direction | Optional |
sortBy[0].name | Sort field name | Optional |
sortBy[0].priority | Priority index. Sorts with lower values are executed earlier | Optional |
take | Maximum number of records to include in results | Optional |
filter.includeSubFolders | Whether to include secrets in subfolders of the specified folder | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Secret | String | Search secret object |
#
Command Example!thycotic-secret-search filter.folderId=3 filter.includeSubFolders=true filter.searchField=name filter.searchText=xsoar
#
Context Example#
Human Readable OutputSearch secret [5]
#
thycotic-folder-updateUpdate a single secret folder by ID
#
Base Commandthycotic-folder-update
#
InputArgument Name | Description | Required |
---|---|---|
folderName | Folder name | Optional |
folderTypeId | Folder type ID | Optional |
id | Folder ID. Must match ID in path | Required |
inheritPermissions | Whether the folder inherits permissions from its parent | Optional |
inheritSecretPolicy | Whether the folder inherits the secret policy | Optional |
parentFolderId | ID parent folder | Optional |
secretPolicyId | Secret Policy ID | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Folder.Update | String | Retrieved return operation update folder |
#
Command Example!thycotic-folder-update id=4 folderName="SafexsoarTest"
#
Context Example#
Human Readable Output{'id': 4, 'folderName': 'SafexsoarTest', 'folderPath': '\Personal Folders\XSOAR integration\SafexsoarTest', 'parentFolderId': 3, 'folderTypeId': 1, 'secretPolicyId': -1, 'inheritSecretPolicy': False, 'inheritPermissions': False, 'childFolders': None, 'secretTemplates': None}
#
thycotic-secret-createCreate new object Secret
#
Base Commandthycotic-secret-create
#
InputArgument Name | Description | Required |
---|---|---|
autoChangeEnabled | AutoChangeEnabled options | Optional |
checkOutChangePasswordEnabled | CheckOutChangePasswordEnabled options | Optional |
checkOutEnabled | Whether secret checkout is enabled | Optional |
checkOutIntervalMinutes | Checkout interval, in minutes (integer) | Optional |
enableInheritPermissions | Whether the secret inherits permissions from the containing folder | Optional |
enableInheritSecretPolicy | Whether the secret policy is inherited from the containing folder | Optional |
folderId | Secret folder ID. May be null unless secrets are required to be in folders.(integer) | Optional |
launcherConnectAsSecretId | LauncherConnectAsSecretId(integer) | Optional |
name | Secret name | Required |
passwordTypeWebScriptId | passwordTypeWebScriptId options(integer) | Optional |
proxyEnabled | proxyEnabled options | Optional |
requiresCommen | requiresCommen options | Optional |
secretPolicyId | secretPolicyId options(integer) | Optional |
secretTemplateId | Secret Template ID (integer) | Required |
sessionRecordingEnabled | sessionRecordingEnabled options | Optional |
siteId | siteId options (integer) | Required |
sshKeyArgs | sshKeyArgs options(list args) | Optional |
domain_item | Item Domain for secret. If need to select template. | Optional |
machine_item | Item Machine for secret. If need to select template. | Optional |
username_item | Item Username for secret.If need to select template. | Optional |
password_item | Item Password for secret.If need to select template. | Optional |
notes_item | Item Notes for secret.IF need to select template. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Create | String | Secret Model |
#
Command Example!thycotic-secret-create name="xsoarSecret" secretTemplateId="6003" siteId="1" checkOutEnabled=true folderId=3 machine_item="my-machine" username_item="my-username" password_item="XXXXXX@@@@@####"
#
Context Example#
Human Readable OutputCreate new secret with xsoarSecret, object - {'id': 5, 'name': 'xsoarSecret', 'secretTemplateId': 6003, 'folderId': 3, 'active': True, 'items': [{'itemId': 19, 'fileAttachmentId': None, 'filename': None, 'itemValue': 'my-machine', 'fieldId': 83, 'fieldName': 'Machine', 'slug': 'machine', 'fieldDescription': 'The Server or Location of the Windows Machine.', 'isFile': False, 'isNotes': False, 'isPassword': False}, {'itemId': 20, 'fileAttachmentId': None, 'filename': None, 'itemValue': 'my-username', 'fieldId': 86, 'fieldName': 'Username', 'slug': 'username', 'fieldDescription': 'The Username of the Windows User.', 'isFile': False, 'isNotes': False, 'isPassword': False}, {'itemId': 21, 'fileAttachmentId': None, 'filename': None, 'itemValue': 'XXXXXX@@@@@####', 'fieldId': 85, 'fieldName': 'Password', 'slug': 'password', 'fieldDescription': 'The password of the Windows User.', 'isFile': False, 'isNotes': False, 'isPassword': True}, {'itemId': 22, 'fileAttachmentId': None, 'filename': None, 'itemValue': '', 'fieldId': 84, 'fieldName': 'Notes', 'slug': 'notes', 'fieldDescription': 'Any additional notes.', 'isFile': False, 'isNotes': True, 'isPassword': False}], 'launcherConnectAsSecretId': -1, 'checkOutMinutesRemaining': 0, 'checkedOut': False, 'checkOutUserDisplayName': '', 'checkOutUserId': 0, 'isRestricted': True, 'isOutOfSync': False, 'outOfSyncReason': '', 'autoChangeEnabled': False, 'autoChangeNextPassword': None, 'requiresApprovalForAccess': False, 'requiresComment': False, 'checkOutEnabled': True, 'checkOutIntervalMinutes': -1, 'checkOutChangePasswordEnabled': False, 'accessRequestWorkflowMapId': -1, 'proxyEnabled': False, 'sessionRecordingEnabled': False, 'restrictSshCommands': False, 'allowOwnersUnrestrictedSshCommands': False, 'isDoubleLock': False, 'doubleLockId': 0, 'enableInheritPermissions': True, 'passwordTypeWebScriptId': -1, 'siteId': 1, 'enableInheritSecretPolicy': False, 'secretPolicyId': -1, 'lastHeartBeatStatus': 'Pending', 'lastHeartBeatCheck': '0001-01-01T00:00:00', 'failedPasswordChangeAttempts': 0, 'lastPasswordChangeAttempt': '0001-01-01T00:00:00', 'secretTemplateName': 'Windows Account', 'responseCodes': []}
#
thycotic-secret-deleteDelete secret
#
Base Commandthycotic-secret-delete
#
InputArgument Name | Description | Required |
---|---|---|
id | ID secret for delete | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.Delete | String | Information about an object that was deleted |
#
Command Example!thycotic-secret-delete id=2
#
Context Example#
Human Readable OutputDeleted secret ID:2
#
thycotic-user-createCreate a new user
#
Base Commandthycotic-user-create
#
InputArgument Name | Description | Required |
---|---|---|
displayName | User display name | Required |
password | Password for new user | Required |
userName | Username | Required |
adGuid | Active Directory unique identifier | Optional |
domainId | Active Directory domain ID | Optional |
duoTwoFactor | Whether Duo two-factor authentication is enabled | Optional |
emailAddress | User email address | Optional |
enabled | Whether the user account is enabled | Optional |
fido2TwoFactor | Whether Duo two-factor authentication is enabled | Optional |
isApplicationAccount | IsApplicationAccount | Optional |
oathTwoFactor | Whether OATH two-factor authentication is enabled | Optional |
radiusTwoFactor | Whether RADIUS two-factor authentication is enabled | Optional |
radiusUserName | RADIUS username | Optional |
twoFactor | Whether two-factor authentication is enabled | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.User.Create | String | User Model |
#
Command Example
#
Human Readable Output#
thycotic-user-searchSearch, filter, sort, and page users
#
Base Commandthycotic-user-search
#
InputArgument Name | Description | Required |
---|---|---|
filter.domainId | Filter users by Active Directory domain (integer) | Optional |
filter.includeInactive | Whether to include inactive users in the results | Optional |
filter.searchFields | Fields to search | Optional |
filter.searchText | Search text | Optional |
skip | Number of records to skip before taking results | Optional |
sortBy[0].direction | Sort direction | Optional |
sortBy[0].name | Sort field name | Optional |
sortBy[0].priority | Priority index. Sorts with lower values are executed earlier (integer) | Optional |
take | Maximum number of records to include in results(integer) | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.User.Search | String | Specify paging and sorting options for querying records and returning results |
#
Command Example!thycotic-user-search filter.searchFields="userName" filter.searchText="xsoarUser"
#
Context Example#
Human Readable Output[]
#
thycotic-user-updateUpdate a single user by ID
#
Base Commandthycotic-user-update
#
InputArgument Name | Description | Required |
---|---|---|
id | User ID | Required |
dateOptionId | DateOptionId(integer) | Optional |
displayName | Display name | Optional |
duoTwoFactor | Whether Duo two-factor authentication is enabled | Optional |
emailAddress | Optional | |
enabled | Whether the user account is enabled | Optional |
fido2TwoFactor | Whether FIDO2 two-factor authentication is enabled | Optional |
groupOwners | GroupOwners(integer) | Optional |
isApplicationAccount | IsApplicationAccount | Optional |
isGroupOwnerUpdate | isGroupOwnerUpdate | Optional |
isLockedOut | Whether the user is locked out | Optional |
loginFailures | Number of login failures | Optional |
oathTwoFactor | Whether OATH two-factor authentication is enabled | Optional |
password | Password | Optional |
radiusTwoFactor | Whether RADIUS two-factor authentication is enabled | Optional |
radiusUserName | RADIUS username | Optional |
timeOptionId | timeOptionId (integer) | Optional |
twoFactor | Whether two-factor authentication is enabled | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.User.Update | String | User Model |
#
Command Example
#
Human Readable Output#
thycotic-user-deleteDelete a user by ID
#
Base Commandthycotic-user-delete
#
InputArgument Name | Description | Required |
---|---|---|
id | User ID | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.User.Delete | String | Information about an object that was deleted |
#
Command Example
#
Human Readable Output#
thycotic-secret-rpc-changepasswordChange a secret's password
#
Base Commandthycotic-secret-rpc-changepassword
#
InputArgument Name | Description | Required |
---|---|---|
secret_id | Secret ID | Required |
newPassword | New secret password | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Thycotic.Secret.ChangePassword | String | Secret summary object |
#
Command Example!thycotic-secret-rpc-changepassword secret_id=4 newPassword="Test000"
#
Context Example#
Human Readable Output{'id': 4, 'name': 'g1-machine', 'secretTemplateId': 6007, 'secretTemplateName': 'Unix Account (SSH)', 'folderId': -1, 'siteId': 1, 'active': True, 'checkedOut': False, 'isRestricted': False, 'isOutOfSync': False, 'outOfSyncReason': '', 'lastHeartBeatStatus': 'Success', 'lastPasswordChangeAttempt': '0001-01-01T00:00:00', 'responseCodes': None, 'lastAccessed': None, 'extendedFields': None, 'checkOutEnabled': False, 'autoChangeEnabled': False, 'doubleLockEnabled': False, 'requiresApproval': False, 'requiresComment': False, 'inheritsPermissions': False, 'hidePassword': False, 'createDate': '2020-11-02T18:06:07.357', 'daysUntilExpiration': None}