...
Configuring the script for use
You can request the AD script by reaching out to support@zillasecurity.com or speaking to your technical lead.
Copy the files (ADscript.ps1 and config.yaml) to a directory.
cd
or navigate into this directory.Create a copy of
config.yaml
for reference of the original configuration provided as an example
Open config.yaml in a text editor
Identify the distinguished name (DN) for the Domain, and decide if you will be pulling the entirety of the domain to the directory or certain Organization Units (OUs). This will be defined under the DNS section of
config.yaml
.If individual OUs the config yaml will need to have line for the DN of each OU, example:
Code Block - OU=Sales,DC=zillasecurity,DC=com - OU=IT,DC=zillasecurity,DC=com
Alternatively, include a single specifying the DN of the domain, example:
Code Block - DC=zillasecurity,DC=com
On initial use, run with
SftpEnabled = false
this will simplify the first tests to avoid using an SFTP server to ensure the necessary data is collected from AD. A file,directory.csv
, will be created in the current directory.
...