-
Notifications
You must be signed in to change notification settings - Fork 2
Project Overview
This project is composed of multiple files, each designed to perform specific tasks. Below is a breakdown of their functionality:
Configuration
- var.ini
Contains your NetBox URL and TOKEN for authentication.
Scripts
- netbox_connection.py
Manages connectivity with the NetBox API.
- netbox_retrieve.py
Retrieves all prefixes from NetBox, including their details such as Prefix, Status, Tags, and Tenant.
- nmap_scan_multi_dns.py
Executes an Nmap scan on all Active prefixes, excluding those tagged with 'Disable Automatic Scanning'.
- nmap_compare.py
Compares the latest two scans to identify changes:
Updates the status of unreachable IPs to "Deprecated." Saves the comparison results in a separate file.
- netbox_push.py
Uploads comparison results to NetBox: Updates the status of existing IPs if necessary. Creates new IP entries in NetBox if they do not already exist.