This is a python3 library to interact with Netwrix Auditor
For parameters in in the filter_data dictionary, see this link
pip install netwrix-api
Example:
from netwrix_api import NetwrixAPI
filter_data = {
"what": {"Contains": "GroupTest"},
"datasource": "Active Directory",
"objecttype": {"Contains": "Group"}
}
netwrix_host = "netwrixsv01.contoso.com"
username = "Username"
passwd = "ENTERPASSOWRD"
api = NetwrixAPI(netwrix_host, username, passwd)
results = api.queryDB(filter_data)