mirror of https://github.com/CISOfy/lynis.git
Updated ReportDetails call with service name
This commit is contained in:
parent
0783b2fd4b
commit
1af95edd8a
|
@ -54,7 +54,7 @@
|
||||||
AddHP 0 ${tFINDhp}
|
AddHP 0 ${tFINDhp}
|
||||||
FOUND=1
|
FOUND=1
|
||||||
N=`expr ${N} + 1`
|
N=`expr ${N} + 1`
|
||||||
ReportDetails --test "${TEST_NO}" --key "-" --field "${tFINDkey}" --value "${tFINDcurvalue}" --preferredvalue "${tFINDexpvalue}" --description "${tFINDdesc}"
|
ReportDetails --test "${TEST_NO}" --service "sysctl" --field "${tFINDkey}" --value "${tFINDcurvalue}" --preferredvalue "${tFINDexpvalue}" --description "${tFINDdesc}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
LogText "Result: key ${tFINDkey} does not exist on this machine"
|
LogText "Result: key ${tFINDkey} does not exist on this machine"
|
||||||
|
|
Loading…
Reference in New Issue