Errata - 4.0.0

Unfortunately Cloud Discovery has an issue in 4.0.0. If you need Cloud Discovery and cannot wait for 4.0.1, please perform the below.


Linux

mysql -u openaudit -popenauditpassword openaudit -e "ALTER TABLE networks CHANGE gateways gateways VARCHAR(200) NOT NULL DEFAULT '';"

 
Windows

c:\xampp\mysql\bin\mysql.exe -u openaudit -popenauditpassword openaudit -e "ALTER TABLE networks CHANGE gateways gateways VARCHAR(200) NOT NULL DEFAULT '';"


Then patch the file open-audit/code_igniter/application/models/m_discoveries.php
In the "create" function, at about line 78, find the below lines

        if ($data->type !== 'subnet' && $data->type !== 'active directory') {
            $data->type = '';
        }


and change them to

        if ($data->type !== 'subnet' && $data->type !== 'active directory' && $data->type !== 'cloud') {
            $data->type = '';
        } 


Apologies for the inconvenience.