I wrote this little NSE script that allows you to store the output of Nmap into a SQLite database: [https://codeberg.org/mclemens/nmap-sqlite-output](https://codeberg.org/mclemens/nmap-sqlite-output)
This might come in handy when performing large inventory scans. The SQLite database can be queried and sorted easily or exported as a CSV file. This way you can, for example, easily generate tables for your assessment report.