From bf11347b5717ef8023b181871bfd52775fb115d6 Mon Sep 17 00:00:00 2001 From: tleloglu <60000782+tleloglu@users.noreply.github.com> Date: Thu, 18 Mar 2021 13:11:28 +0300 Subject: [PATCH] Update README.md --- README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee879d3..a9039e5 100644 --- a/README.md +++ b/README.md @@ -57,15 +57,68 @@ CAList -type SafeMembers -SafeUrlId Safe1 # L ### CACreatePermissionTable -Just create a permission table template for permissions. Tested for Cyberark PAS 11.2 +Just create a permission table template for permissions. Tested for Cyberark PAS 11.2. + +#### Switches + +**type :** Specify table type to be created. Acceptable values are 'Permission','AccountActivity'. Required. + +#### Example + +CAGetPermissionsTable -type AccountActivity # Creates AccountActivity table template. ### CAGetPermissionsTable Creates a table, which lists permissions for safe users. -### CAGetPermissionsTableCSV (under development) +#### Switches + +**Export2CSV :** After the switch specify the path of the csv file. + +#### Example + +CAGetPermissionsTable -Export2CSV c:\test\perms.csv + +### CAInfo2HashTable + +This function converts Activities' moreInfo string value to hash table. + +#### Switches + +**Infos :** After the switch you can specify the csv file path to be exported. + +#### Example + +CAInfo2HashTable -Infos $Activity.moreInfo + +### CAGetAccountUseDetails + +Lists the activities of CyberArk Accounts like who logged in,when logged in and logged out, duration etc. + +#### Switches + +**Export2CSV :** After the switch specify the path of the csv file. Optional. + +**id :** id of the Account. You can get it ids from 'CAList -type Accounts'. Required. + +#### Example + +CAGetAccountUseDetails -id 33_2 # Lists activities on account with id. + +### CAGetUserUseDetails + +Lists the activities of users like who logged in,when logged in and logged out, duration etc. + +#### Switches + +**Export2CSV :** After the switch specify the path of the csv file. Optional. + +**user :** id of the Account. You can get it ids from 'CAList -type Accounts'. Required. + +#### Example + +CAGetAccountUseDetails -id john.doe # Lists activities on account with username. + -Creates a CSV file in the same directory with named as test.csv. -![Screenshot](https://user-images.githubusercontent.com/60000782/110939894-22852580-8347-11eb-859e-d4693714b4a0.png)