Please tell me the OS specific logic at that discovery run.
Can I do this, just by customizing the nmap option command?
My consideration is to customize, the discovery_subnet scripts (in / open-audit / other).
I asked a question before modifying the script, because it seems to take time to modify this script.
There is no specific logic in the discovery scritp(s) regarding the target device OS.
We detect all Nmap ports and also flag if SSH, WMI and SNMP are available. That is all. The rest occurs in the Open-AudIT application code, once the result has been submitted.
Take a look at /open-audit/code_igniter/application/controllers/include_input_discoveries.php and also /open-audit/code_igniter/application/helpers/*.php