Nmap... working?

This commit is contained in:
2025-08-20 12:51:11 -05:00
parent f6cbe1da8f
commit dd673829d2
6 changed files with 110 additions and 21 deletions

View File

@@ -49,16 +49,16 @@
## Network Scanning (Nmap Integration)
1. [ ] Add `python-nmap` to `requirements.txt` and install.
2. [ ] Define `NMAP_TARGETS` and `NMAP_SCAN_OPTIONS` in `config.py`.
3. [ ] Create a new function `get_nmap_scan_results()` in `monitor_agent.py`:
* [ ] Use `python-nmap` to perform a scan on the defined targets with the specified options.
* [ ] Return the parsed results.
4. [ ] Integrate `get_nmap_scan_results()` into the main monitoring loop:
* [ ] Call this function periodically (e.g., less frequently than other metrics).
* [ ] Add the `nmap` results to the `combined_data` dictionary.
5. [ ] Update `data_storage.py` to store `nmap` results.
6. [ ] Extend `calculate_baselines()` in `data_storage.py` to include `nmap` baselines:
* [ ] Compare current `nmap` results with historical data to identify changes.
7. [ ] Modify `analyze_data_with_llm()` prompt to include `nmap` scan results for analysis.
8. [ ] Consider how to handle `nmap` permissions.
1. [x] Add `python-nmap` to `requirements.txt` and install.
2. [x] Define `NMAP_TARGETS` and `NMAP_SCAN_OPTIONS` in `config.py`.
3. [x] Create a new function `get_nmap_scan_results()` in `monitor_agent.py`:
* [x] Use `python-nmap` to perform a scan on the defined targets with the specified options.
* [x] Return the parsed results.
4. [x] Integrate `get_nmap_scan_results()` into the main monitoring loop:
* [x] Call this function periodically (e.g., less frequently than other metrics).
* [x] Add the `nmap` results to the `combined_data` dictionary.
5. [x] Update `data_storage.py` to store `nmap` results.
6. [x] Extend `calculate_baselines()` in `data_storage.py` to include `nmap` baselines:
* [x] Compare current `nmap` results with historical data to identify changes.
7. [x] Modify `analyze_data_with_llm()` prompt to include `nmap` scan results for analysis.
8. [x] Consider how to handle `nmap` permissions.