export-ckl Would Not Export SRGs
Fixed export.ckl.php to export all but Orphan and Benchmark STIGs. It was not exporting SRGs (policy STIGs).
This commit is contained in:
parent
bffd6030bd
commit
dda05116e3
@ -90,7 +90,7 @@ if ($tgt_count = count($tgts)) {
|
||||
print "Target: {$tgt->get_Name()}" . PHP_EOL;
|
||||
|
||||
foreach ($tgt->checklists as $key => $chk) {
|
||||
if ($chk->name == 'Orphan' || $chk->type != 'manual') {
|
||||
if ($chk->name == 'Orphan' || $chk->type == 'benchmark') {
|
||||
unset($tgt->checklists[$key]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user