checklist.inc - deleted duplicate BIND 9 checklist icon entry
finding.inc - removed ID property to prevent duplicate findings from being added to the table host_list.inc - deleted unused constructor import.inc - formatting db_schema.json - removed sagacity.findings.id field (making tgt_id and pdi_id new primary keys), and updated references Database_Baseline.zip - updated routines for above change background_results.php - fixed bug #19 export-ckl.php - performance adjustments parse_excel_echecklist.php - performance improvements, ensure duplicate findings are not created, make eChecklist true status, update for removing findings.id field parse_nvd_json_cve.php - convert reading json to array instead of object for reading CPEs (which were updated to CPE 2.3 instead of 2.2) parse_* - remove findings.id field database.inc - formatting, and update for removing findings.id field index.php - ensure user can't import a host list without uploading a host list file Fixed: #65, #51, #28, #27, #10
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
* - May 13, 2017 - Added WindowsFirewall.jpg image for checklist
|
||||
* - May 19, 2017 - Fixed typo for WindowsFirewall
|
||||
* - Aug 23, 2017 - JO, Expanded checklist icons
|
||||
* - Nov 6, 2018 - Deleted duplicate BIND 9 checklist icon entry
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -545,9 +546,6 @@ class checklist
|
||||
case (preg_match("/Mobile Device/i", $this->name) ? true : false):
|
||||
$this->icon = 'mobile-device.jpg';
|
||||
break;
|
||||
case (preg_match("/BIND 9/i", $this->name) ? true : false):
|
||||
$this->icon = 'BIND DNS.jpg';
|
||||
break;
|
||||
case (preg_match("/Remote Access/i", $this->name) ? true : false):
|
||||
$this->icon = 'remote-access.gif';
|
||||
break;
|
||||
|
@ -22,6 +22,7 @@
|
||||
* - May 25, 2017 - Fixed bug of get_Category method returning empty severity (defaults to II if empty)
|
||||
* - Jan 10, 2018 - Formatting
|
||||
* - May 24, 2018 - Simplified get_Finding_Status_ID method
|
||||
* - Nov 6, 2018 - Removed ID property to keep from duplicate findings
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -32,13 +33,6 @@
|
||||
*/
|
||||
class finding {
|
||||
|
||||
/**
|
||||
* Finding ID
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
protected $id = null;
|
||||
|
||||
/**
|
||||
* Target ID
|
||||
*
|
||||
@ -155,7 +149,6 @@ class finding {
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param integer $int_ID
|
||||
* @param integer $int_Tgt_ID
|
||||
* @param integer $int_PDI_ID
|
||||
* @param integer $int_Scan_ID
|
||||
@ -165,8 +158,7 @@ class finding {
|
||||
* @param string $str_Orig_Src
|
||||
* @param integer $int_Finding_Itr
|
||||
*/
|
||||
public function __construct($int_ID, $int_Tgt_ID, $int_PDI_ID, $int_Scan_ID, $Finding_Status, $str_Notes, $int_Change_ID, $str_Orig_Src, $int_Finding_Itr) {
|
||||
$this->id = $int_ID;
|
||||
public function __construct($int_Tgt_ID, $int_PDI_ID, $int_Scan_ID, $Finding_Status, $str_Notes, $int_Change_ID, $str_Orig_Src, $int_Finding_Itr) {
|
||||
$this->tgt_id = $int_Tgt_ID;
|
||||
$this->pdi_id = $int_PDI_ID;
|
||||
$this->scan_id = $int_Scan_ID;
|
||||
@ -182,15 +174,6 @@ class finding {
|
||||
$this->finding_itr = $int_Finding_Itr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter function for Finding ID
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function get_ID() {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter function for target ID
|
||||
*
|
||||
|
@ -13,6 +13,7 @@
|
||||
* Change Log:
|
||||
* - Jan 16, 2018 - File created
|
||||
* - Feb 6, 2018 - Added getter/setter methods
|
||||
* - Nov 6, 2018 - Deleted unused constructor
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -65,14 +66,6 @@ class host_list
|
||||
*/
|
||||
private $_scanNotes = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter function for _targetId
|
||||
*
|
||||
|
1451
classes/import.inc
1451
classes/import.inc
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user