Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 775 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 775 Bytes

Netwrix Search API Module

Build Status

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)