bug(software): Bug fix with software detection
Ubuntu.png - Add new Ubuntu checklist icon Database_Baseline.zip - Update software detection tables checklist.inc - Fix software icon detection for IE and SLES, and added detection for Ubuntu software.inc - Fix bug adding extra spaces to software strings parse_stig.php - Formatting and add save for when icon is updated parse_stig_viewer.php - Add scan note when CKL file is missing or has empty <HOST_NAME> tag Fix #87
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* Purpose: Read STIG Viewer checklist files
|
||||
* Created: Apr 10, 2014
|
||||
*
|
||||
* Portions Copyright 2016-2017: Cyber Perspectives, LLC, All rights reserved
|
||||
* Portions Copyright 2016-2019: CyberPerspectives, LLC, All rights reserved
|
||||
* Released under the Apache v2.0 License
|
||||
*
|
||||
* Portions Copyright (c) 2012-2015, Salient Federal Solutions
|
||||
@ -74,6 +74,7 @@ $host_mac = getValue($xml, '//HOST_MAC');
|
||||
|
||||
if (!$host_name) {
|
||||
$db->update_Running_Scan($base_name, ['name' => 'status', 'value' => 'TERMINATED']);
|
||||
$db->update_Running_Scan($base_name, ['name' => 'notes', 'value' => 'File parsing was terminated because <HOST_NAME> was empty or absent']);
|
||||
unset($xml);
|
||||
|
||||
rename($cmd['f'], TMP . "/terminated/{$base_name}");
|
||||
|
Reference in New Issue
Block a user