Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/10/2024 03:06 AM
Hi Everyone! Im trying to filter accounts based on its name. In postman, this URL works:
Https://cyberark123/PasswordVault/api/Accounts?filter=safename eq P-US-*
However, I am not sure how to put in connection under import JSON. It has some spaces and a wildcard to get the response. Please help.
09/10/2024 03:14 AM
@jezzanuena instead of space add %20 and for wildcard .. use blackslash to escape it.
09/10/2024 06:21 AM
Please share JSON
Https://cyberark123/PasswordVault/api/Accounts?filter=safename%20eq%20P-US-%2A%E2%81%A0
09/10/2024 02:10 PM - edited 09/10/2024 02:16 PM
Thank you, @rushikeshvartak I used filter=safename%20eq%20P-US-%2A%E2%81%A0 , however all accounts has been marked as suspended even though I am getting results in Postman. I can import all the accounts with the filter but the requirement is to get specific safe names only.
Here's my actual URL: /PasswordVault/api/Accounts?offset=0&limit=1000&filter=safename%20eq%20P-US-%2A%E2%81%A0
Hi @NM like this? Https://cyberark123/PasswordVault/api/Accounts?filter=safename%20eq%20P-US-\ I am getting error saving the connection with this one. 😞
09/10/2024 07:58 PM
@jezzanuena
Make sure you have the status config present in the import and mapped in the
Account import Config
"statusConfig": {
"active": "true",
"inactive": "false"
},
STATUS_THRESHOLD_CONFIG: Status Config
{
"statusAndThresholdConfig": {
"accountThresholdValue": 100,
"inactivateAccountsNotInFile": true,
"statusColumn": "customproperty30",
"activeStatus": [
"true",
"1"
],
"inactivateEntsNotInFeed": true,
"entThresholdValue": {
"entType": {
"Group": {
"ent": 100
},
"Role": {
"ent": 100
}
}
}
}
}
09/10/2024 09:12 PM
Please share logs in text format
09/11/2024 01:24 AM
hi @rushikeshvartak and @stalluri, I can't find the logs of import:
2024-09-11T16:07:35+08:00-ecm-domain.FlatViewJobcontrolController-http-nio-8080-exec-12-cdlz8-DEBUG-Inside fireJobAction params = [triggername:CyberArkSafesAcctImp, triggergroup:GRAILS_JOBS, jobname:ApplicationDataImportJob, jobgroup:DATA, actn:6, job_name:, job_group:, controller:flatViewJobcontrol, action:fireJobAction]
2024-09-11T16:07:26+08:00-ecm-certificatemgmt.CertificateManagementService-http-nio-8080-exec-5-cdlz8-DEBUG-sslCert = CyberArk UAT
2024-09-11T16:07:26+08:00-ecm-integration.ExternalConnectionCallService-http-nio-8080-exec-12-cdlz8-DEBUG-in testExternalConnection for External Connection : CyberArk Safe US
Here is the accountparams that I am using. statusAndThresholdConfig is also in the STATUS_THRESHOLD_CONFIG, still not working.
09/11/2024 05:40 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️