diff --git a/parse_nessus_xml.v24.pl b/parse_nessus_xml.v24.pl index 056f839..3b02adb 100644 --- a/parse_nessus_xml.v24.pl +++ b/parse_nessus_xml.v24.pl @@ -891,6 +891,7 @@ sub normalizeHostData { my @port_scan; my @WindowsUserManagement; my @IncidentResponse; + my @ArtificialIntelligence; #### END OF NEW ARRAYS if(ref ($host->{host_report}) eq "ARRAY"){@HostReport = @{$host->{host_report}};} @@ -1217,6 +1218,7 @@ sub normalizeHostData { elsif($h_report->{'-pluginFamily'} =~ /Windows : User management/){push @windows_user_management, $h_report;} elsif($h_report->{'-pluginFamily'} =~ /Windows/){push @windows, $h_report;} elsif($h_report->{'-pluginFamily'} =~ /Incident Response/){push @IncidentResponse, $h_report;} + elsif($h_report->{'-pluginFamily'} =~ /Artificial Intelligence/){push @ArtificialIntelligence, $h_report;} elsif($h_report->{'-pluginFamily'} eq ""){push @port_scan, $h_report;} else{ print "\nThere is a new plugin family added, it is $h_report->{'-pluginFamily'}\n";exit;}