Network Configuration (network)
The network subcommand allows you to define the method for generating IP addresses to be inventoried by Watchman Agent. Depending on your network structure, several modes are available.
🧩 Available Modes
cidr: Generates IP addresses from a CIDR block.ip_list: Uses a manually defined list of IP addresses (via an option or a file).range: Generates addresses from a range (start-addresstoend-address).ldap: Retrieves addresses via a group or domain in Active Directory.
✅ Usage
watchman-agent configure network [OPTIONS]
⚙️ Options
--mode IP address generation mode (cidr, ip_list, range, ldap)
--cidr CIDR block to use in cidr mode
--start-address Start address for range mode
--end-address End address for range mode
--network-address Base network address
--inclusions List of IP addresses to include (comma separated)
--inclusions-file Path to a .txt or .csv file containing IPs to include (ip_list mode only)
--ip-column Name of the column containing IPs in CSV file (optional)
--exclusions List of IP addresses to exclude, all modes combined