get_Target_Details($_REQUEST['ste'], $_REQUEST['tgt'])[0]; $findings = $db->get_Finding($tgt, null, null, true); set_time_limit(0); ?>
Orphan ID | VMS ID | Cat | IA Controls | Short Title | Possible Matches |
---|---|---|---|---|---|
" . $stigs->get_ID() . " " . nl2br($finding->get_Notes()) . " | " . PHP_EOL .
"" . (!is_null($gd) ? $gd->get_ID() : '') . " | " . PHP_EOL . "" . $pdi->get_Category_Level_String() . " | " . PHP_EOL . "" . " | " . PHP_EOL . "" . $pdi->get_Short_Title() . " | " . PHP_EOL; if (preg_match('/\d{5,6}/', $stigs->get_ID())) { $nessus = $db->get_Nessus($stigs->get_ID()); } elseif (preg_match('/CVE\-\d{4}\-\d{4}/', $stigs->get_ID())) { $cve = $db->get_CVE($stigs->get_ID()); } elseif (preg_match('/\d{4}\-[ABT]\-\d{4}/', $stigs->get_ID())) { $iavm = $db->get_IAVM($stigs->get_ID()); } else { } $matches = $db->get_Matching_PDIs($pdi, $nessus, $cve, $iavm); print "";
foreach ($matches as $key => $match) {
$short_desc = nl2br(htmlentities(substr($match['desc'], 0, 500)));
$short_cont = nl2br(htmlentities(substr($match['check_content'], 0, 1000)));
print " " .
$short_desc .
(strlen($match['desc']) > 500 ? " (truncated)" : "") . " ";
print "get_ID() . "\");'>" .
$match['pdi_id'] .
" (" . $match['score'] . ") " . $match['title'] . "" . $short_cont . (strlen($match['check_content']) > 1000 ? " (truncated)" : "") . " "; } print " | ";
print "