Skip to content

Commit 5145ff4

Browse files
Aks-Tiaabbab29
andauthored
Documentation update (#387)
* typo corrections AAM Applications * Update README.md Reformatted some of the explanations (less verbose now) and corrected some typos. * Updates README.md Corrected some typos * Update README.md Corrected some typos, reformatted some parameters' descriptions * Update README.md corrected some typos * Update GetAccounts README Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update Readme.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md corrected some typos * Update README.md Corrected some typos, reformatted some descriptions * Update README.md Corrected some typos, reformatted some descriptions * Update README.md Corrected some typos, reformatted some descriptions * Update README.md Corrected some typos, reformatted some descriptions * Update README.md Corrected some typos, reformatted some descriptions * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) * Update README.md reformatted some descriptions (less verbose) * Update README.md Corrected some typos, reformatted some parameters' descriptions (less verbose) --------- Co-authored-by: bab29 <[email protected]>
1 parent 49dcf00 commit 5145ff4

File tree

28 files changed

+858
-785
lines changed

28 files changed

+858
-785
lines changed

AAM Applications/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
> **General**
2-
> - These scripts Uses REST API and can support v9.10 of PVWA and up
3-
> - The goal for these scripts is to allow easy Export and Import of applications including application authentications
4-
> - In this example script you will find examples of Get applications, get speciifc applications authentication methods and creating applications with thier authentication methods
2+
> - These scripts Uses REST API and can support v9.10 of PVWA and up.
3+
> - The goal for these scripts is to allow easy Export and Import of applications including application authentications.
4+
> - In this example script you will find examples of Get applications, get specific applications authentication methods and creating applications with their authentication methods.
55
66
# Export/Import Applications
77
In order to run the tool you need to run some simple commands in Powershell.
8-
The Tool supports two modes: [*Import*](#import-command) and [*Export*](#export-command)
9-
The export will be done to a CSV file that will contain all information, the import would know to create the applications from the same CSV file.
10-
The CSV file can be adjusted if needed
8+
The tool supports two modes: [*Import*](#import-command) and [*Export*](#export-command)
9+
The export will be done to a CSV file that will contain all the information, the import will be able to create the applications from the same CSV file.
10+
The CSV file can be adjusted if needed.
1111

1212
## Usage
1313
```powershell

Account Onboard Utility/README.md

Lines changed: 65 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# Account Onboard Utility
22

3-
> **Note:** The content of the sample_accounts.csv is for example only and does not represent real accounts
3+
> **Note:** The content of the sample_accounts.csv is for example only and does not represent real accounts.
44
55
## Main capabilities
66
-----------------
7-
- The tool Uses REST API and can support v10.4 of PVWA and up
8-
- The tool supports basic Account and Safe Creation, much like the Password Upload Utility
9-
- The tool supports Template Safe (currently one for all Accounts)
10-
- The tool can take a simple CSV file with only the relevant Account information
11-
- The tool will automatically update it self to the latest version if one exists in this GitHub folder
7+
- The tool uses REST API and can support v10.4 of PVWA and up.
8+
- The tool supports basic Account and Safe Creation, much like the Password Upload Utility.
9+
- The tool supports Template Safe (currently one for all Accounts).
10+
- The tool can take a simple CSV file with only the relevant Account information.
11+
- The tool will automatically update itself to the latest version if one exists in this GitHub folder.
1212

1313
In order to run the tool you need to run some simple commands in Powershell.
14-
The Tool supports three modes: [*Create*](#create-command), [*Update*](#update-command) and [*Delete*](#delete-command)
14+
The tool supports three modes: [*Create*](#create-command), [*Update*](#update-command) and [*Delete*](#delete-command).
1515

16-
The tool will create a log file in the same folder of the script called: _"Account_Onboarding_Utility.log"_
17-
Running the tool with common parameters of Debug and Verbose will add more information to the log
16+
The tool will create a log file in the same folder of the script called: _"Account_Onboarding_Utility.log"_.
17+
Running the tool with common parameters of Debug and Verbose will add more information to the log.
1818

1919
## Additional Platform Properties / File Categories
20-
With the newer version of the REST API's (seen as 2nd gen in the CyberArk documentation), in order to be able to upload accounts that have custom platform properties (file categories) these need to be already enabled/set at the platform level of the platform that the accounts will be linked with. This is also relevant to be able to upload accounts that have linked 'login' and 'reconcile' accounts listed in the CSV file.
20+
With the newer version of the REST APIs (seen as 2nd gen in the CyberArk documentation), in order to be able to upload accounts that have custom platform properties (file categories) these need to be already enabled/set at the platform level of the platform that the accounts will be linked with. This is also relevant to be able to upload accounts that have linked 'login' and 'reconcile' accounts listed in the CSV file.
2121

22-
When accounts are attempted to be onboarded that have custom platform properties listed in the relevant columns in the csv however have not been already added at the platform level, a meaningful error will be seen relating to the fact that the account property has not been account to the platform.
22+
When there is an attempt to onboard accounts that have custom platform properties (listed in the relevant columns in the CSV) which have not been already added at the platform level; a meaningful error will be displayed, related to the fact that the account property has not been added to the platform.
2323

2424
There are six FC's that are required to be added to the platform if an account has a linked 'login' and 'reconcile' account set, three are for the linked 'login' account and three are for the linked 'reconcile' account. Further information on how to do this can be found in this CyberArk KB:
2525
"https://cyberark-customers.force.com/s/article/Add-Reconcile-and-Login-Accounts-to-an-Account-using-V10-REST-API"
@@ -31,59 +31,81 @@ Accounts_Onboard_Utility.ps1 -PVWAURL <string> [-<Create / Update / Delete>] [-A
3131
- PVWAURL
3232
- The URL of the PVWA that you are working with.
3333
- Note that the URL needs to include 'PasswordVault', for example: "https://myPVWA.myDomain.com/PasswordVault"
34-
- When working with PVWA behind a load balancer, note that the session must be defined as sticky session. Alternatively, work with a single node PVWA
34+
- When working with PVWA behind a load balancer, note that the session must be defined as sticky session. Alternatively, work with a single node PVWA.
35+
3536
- LogonToken
36-
- The logon token when using Privilege Cloud Shared Services (ISPSS)
37-
- To generate Token See https://github.com/cyberark/epv-api-scripts/tree/main/Identity%20Authentication
37+
- The logon token when using Privilege Cloud Shared Services (ISPSS).
38+
- To generate Token see https://github.com/cyberark/epv-api-scripts/tree/main/Identity%20Authentication
39+
3840
- DisableSSLVerify
3941
**(NOT RECOMMENDED)**
40-
- In cases when you want to test the script on a PVWA environment that does not include a valid SSL certificate, you can use this parameter
42+
- Disable the SSL verification.
43+
- Use only if the PVWA environment doesn't include a valid SSL certificate.
44+
4145
- AuthType
4246
- Authentication types for logon.
4347
- Available values: _CyberArk, LDAP, RADIUS_
4448
- Default value: _CyberArk_
49+
4550
- OTP
4651
- In cases where RADIUS authentication is used and one-time-password is needed, use this parameter to enter the OTP value
52+
4753
- Create / Update / Delete
48-
The supported actions for onboarding or offboarding of accounts
54+
- The supported actions for onboarding or offboarding the accounts.
55+
4956
- CPM_NAME
50-
- Sets the name of the CPM to be used. Defaults to PasswordManager
57+
- Sets the name of the CPM to be used.
58+
- Default: PasswordManager
59+
5160
- CsvPath
5261
- The CSV Path for the accounts to be onboarded
62+
5363
- CsvDelimiter
5464
- The CSV delimiter to be used.
5565
- Available values: comma, tab
5666
- Default value: _comma delimited_
67+
5768
- TemplateSafe
58-
- The Template safe to copy properties from
59-
- Using this parameter requires that the template safe exists
60-
- The process will create any new safe according to the Template Safe including managing CPM and Safe Members
69+
- The Template Safe to copy properties from.
70+
- Using this parameter requires that the template Safe exists.
71+
- The process will create any new safe according to the Template Safe including managing CPM and Safe Members.
72+
6173
- NoSafeCreation
62-
- In case used, safes that do not exist will not be created
74+
- Safes that don't already exist will not be created.
75+
6376
- DisableAutoUpdate
64-
- By default, the script will automatically update itself to the latest version
65-
- Using this switch will disable this ability and will keep the current version
77+
- Disable the automatic update and keep the current version.
78+
- Default: script will update itself to the latest version.
79+
6680
- CreateOnUpdate
67-
- By default, the script will automatically not create new accounts when in update mode
68-
- Using this switch will automatic create accounts that do not exist when running in update mode
81+
- Enable the creation of non-existing accounts when running in [*Update*](#update-command) mode.
82+
- Default: script will not create new accounts in [*Update*](#update-command) mode.
83+
6984
- WideAccountsSearch
70-
- By default, the script will not search by account object name assuming WideAccountsSearch is set to "no"
71-
- Using this switch when "WideAccountsSearch" is set to "Yes" to greatly increase search speeds
85+
- If set to "Yes": greatly increase search speeds.
86+
- Default: flag is set to "No". The script will not search by account object name.
87+
7288
- NarrowSearch
73-
- By default, the script when "name" is populated searches are done by getting all accounts from a safe, then comparing names in PowerShell
74-
- Using this switch will search the safe by username and address, then do compare of name in PowerShell
89+
- Search the safe by "username" and "address", then do a comparison of "name" in PowerShell.
90+
- Default: when "name" is populated, searches are done by getting all accounts from a Safe, then comparing names in PowerShell.
91+
7592
- ignoreAccountName
76-
- By default, the script will automatically compare the account "name" when searching.
77-
- Using this switch will ignore "name" when searching for accounts to update. Use this if account name could be different
93+
- Ignores "name" when searching for accounts to update. Use this if account name could be different from the one in the Vault.
94+
- Default: the script will compare the account "name" when searching.
95+
7896
- ConcurrentSession
79-
- By default, Any sessions logged into will be disconnected.
80-
- Using this switch will allow for Concurrent Sessions for the user. This includes additional REST API calls (Which must also be set to ConcurrentSession) or allow for connected PVWA user sessions to remain.
97+
- Enables Concurrent Sessions for the user. This includes additional REST API calls (which must also be set to ConcurrentSession) or allows connected PVWA user sessions to remain.
98+
- Default: any sessions logged into will be disconnected.
99+
81100
- BypassSafeSearch
82-
- By default, the script will automatically search to see if the account exists or if it needs to be created
83-
- Using this switch in create/update mode will prevent safe searches, but may result in account operations failures if the safe does not exist. This should only be used when it is known all safes listed already exist. USE WITH EXTREME CAUTION.
101+
- In [*Create*](#create-command) or [*Update*](#update-command) mode: prevent Safe searches, but may result in account operations failure if the Safe does not exist. This should only be used when all Safes listed already exist. USE WITH EXTREME CAUTION.
102+
- Default: the script searches if the account exists or if it needs to be created.
103+
84104
- BypassAccountSearch
85-
- By default, the script will automatically search for requested accounts to determine if they exist. This search is done via "name" property or a combination of "username" and "address" if "name" is not present
86-
- Using this switch in create mode will assume that the account does not exist and will attempt to create them. If the name property is populated only duplicate "name" properties will be detected and will cause a failure. If the "name" property is not populated, there is no checking for duplicate accounts and all other scenarios MAY result in duplicates. USE WITH EXTREME CAUTION.
105+
- In [*Create*](#create-command) mode: account is assumed to **not** exist and the script will attempt to create it.
106+
- If "name" property is populated: only duplicate "name" properties will be detected and will cause a failure.
107+
- If "name" property is not populated: no checking for duplicate accounts and all other scenarios *may* result in duplicates. USE WITH EXTREME CAUTION.
108+
- Default: script will search for requested accounts to determine if they already exist. This search is done via the "name" property *or* combination of "username" and "address" if there is no "name".
87109

88110
### Create Command:
89111
```powershell
@@ -100,12 +122,12 @@ If you want to Create Accounts and Safes according to a Safe Template:
100122
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Create -TemplateSafe “MyTemplateSafe”
101123
```
102124

103-
If you want to Create Accounts but not create the safes:
125+
If you want to Create Accounts but not create the Safes:
104126
```powershell
105127
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Create -NoSafeCreation
106128
```
107129

108-
If you want to Create Accounts and bypass safes searches:
130+
If you want to Create Accounts and bypass Safes searches:
109131
```powershell
110132
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Create -BypassSafeSearch
111133
```
@@ -127,14 +149,14 @@ If you want to Update existing Accounts only (without Safe creation):
127149
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Update -NoSafeCreation
128150
```
129151

130-
If you want to Create and Update Accounts (and safes):
152+
If you want to Create and Update Accounts (and Safes):
131153
```powershell
132154
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Update -CreateOnUpdate
133155
```
134-
For any account that exists, the script will update
135-
For accounts that do not exist, the script will create the account
156+
For accounts that exist, the script will update.
157+
For accounts that don't exist, the script will create them.
136158

137-
If you want to Update Accounts and bypass safes searches:
159+
If you want to Update Accounts and bypass Safes searches:
138160
```powershell
139161
& .\Accounts_Onboard_Utility.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\accounts.csv -Update -BypassSafeSearch
140162
```

AutomaticOnboardingRules/CreateAutomaticOnboardingRules.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ param
4242
[Parameter(ParameterSetName='Create',Mandatory=$false,HelpMessage="Enter the destination Safe name")]
4343
[String]$SafeName,
4444

45-
# User this switch to delete a rule
45+
# Use this switch to delete a rule
4646
[Parameter(ParameterSetName='Delete',Mandatory=$false)][switch]$Delete,
4747
[Parameter(ParameterSetName='Delete',Mandatory=$false,HelpMessage="Enter the Rule ID for deletion")]
4848
[int]$RuleID

CCP Setup/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Configure CCP Tool
1+
# Configure CCP.ps1
22

33

44
## Main capabilities
55
-----------------
6-
- The tool automates the configuration of CCP
6+
- Automates the configuration of CCP.
77

88
## Parameters:
99
```powershell
@@ -14,10 +14,10 @@ Configure CCP.ps1 -PVWAURL <string> [-AuthType] [-OTP] [-DisableSSLVerify]
1414
# CCP via REST.ps1
1515
## Main capabilities
1616
-----------------
17-
- The tool for testing CCP using REST calls
17+
- This tool is for testing CCP using REST calls.
1818

1919
## Parameters:
20-
Update lines 2 thru 8 with correct information
20+
Update lines 2 through 8 with correct information.
2121

2222
```powershell
2323
CCP via REST.ps1
@@ -26,13 +26,13 @@ CCP via REST.ps1
2626
# CCP via REST with client cert.ps1
2727
## Main capabilities
2828
-----------------
29-
- The tool for testing CCP using REST calls using client certificate authenticaiton
30-
- Requires that the client ceritifcate is imported in the localmachine personal store
31-
- The command "Get-ChildItem -path cert:\LocalMachine\My" can be use to list certificates and the thumbprints
29+
- This tool is for testing CCP using REST calls using client certificate authentication.
30+
- Requires that the client certificate is imported in the localmachine personal store.
31+
- The command ``Get-ChildItem -path cert:\LocalMachine\My`` can be used to list certificates and thumbprints.
3232

3333
## Parameters:
34-
Update lines 2 thru 10 with correct information
35-
Line 10 needs to have all spaces removed
34+
Update lines 2 through 10 with correct information.
35+
Line 10 needs to have all spaces removed.
3636

3737
```powershell
3838
CCP via REST with client cert.ps1

CyberArk-Common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Module that will contain funcitons used by multiple scripts
1+
This module contains functions used in multiple scripts.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# Dependent Account Onboard Utility
22

3-
> **Note:** The content of the sample_dependentaccounts.csv is for example only and does not represent real accounts or dependent accounts
3+
> **Note:** The content of the sample_dependentaccounts.csv is for example only and does not represent real accounts or dependent accounts.
44
55
## Main capabilities
6-
- The tool Uses REST API and can support v10.8 of PVWA and up
7-
- The tool supports onboarding account dependencies for existing accounts
8-
- The tool can take a simple CSV file with only the relevant Account information
9-
- The tool can support comma delimited CSV files or tab delimited CSV files (based on machine locale)
6+
- Uses REST API and can support v10.8 of PVWA and up.
7+
- Supports onboarding account dependencies for existing accounts.
8+
- This tool can take a simple CSV file with only the relevant Account information.
9+
- The tool can support comma delimited CSV files or tab delimited CSV files (based on machine locale).
1010

11-
## Paramters
12-
- platformType valid options
13-
- "Windows Server Local, Windows Desktop Local, Windows Domain, Unix, Unix SSH Key, AWS, AWS Access Keys"
11+
## Parameters
12+
- "platformType" valid options:
13+
- "Windows Server Local", "Windows Desktop Local", "Windows Domain", "Unix", "Unix SSH Key", "AWS", "AWS Access Keys".
1414

15-
- dependencyType valid options
16-
- "COM+ Application, IIS Anonymous Authentication, IIS Application Pool, Windows Scheduled Task, Windows Service"
15+
- "dependencyType" valid options:
16+
- "COM+ Application", "IIS Anonymous Authentication", "IIS Application Pool", "Windows Scheduled Task", "Windows Service"
1717

1818
## Usage
1919
```powershell
2020
Onboard-DependentAccountsFromCSV.ps1 -PVWAURL <string> [-AuthType <string> (*"cyberark"*,"ldap","radius")] [-CsvPath <string>] [<CommonParameters>]
2121
```
2222

2323
### Example
24-
Onboarding multiple Dependent Accounts
24+
Onboarding multiple Dependent Accounts:
2525
```powershell
2626
& .\Onboard-DependentAccountsFromCSV.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -CsvPath .\dependentAccounts.csv
2727
```

0 commit comments

Comments
 (0)