mirror of https://github.com/CISOfy/lynis.git
Added suggestions for Solaris auditing
This commit is contained in:
parent
fd5c968d16
commit
2b1061ef14
|
@ -344,12 +344,13 @@
|
||||||
Display --indent 4 --text "- Checking Solaris audit location" --result FOUND --color GREEN
|
Display --indent 4 --text "- Checking Solaris audit location" --result FOUND --color GREEN
|
||||||
else
|
else
|
||||||
logtext "Result: location ${FIND} does not exist"
|
logtext "Result: location ${FIND} does not exist"
|
||||||
# YYY perform manual audit
|
Display --indent 4 --text "- Checking Solaris audit location" --result "NOT FOUND" --color YELLOW
|
||||||
Display --indent 4 --text "- Checking Solaris audit location" --result UNKNOWN --color YELLOW
|
ReportSuggestion "${TEST_NO}" "Check if the Solaris audit directory is available"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
logtext "Result: unknown event location"
|
logtext "Result: unknown event location"
|
||||||
Display --indent 4 --text "- Checking Solaris audit location" --result UNKNOWN --color YELLOW
|
Display --indent 4 --text "- Checking Solaris audit location" --result UNKNOWN --color YELLOW
|
||||||
|
ReportSuggestion "${TEST_NO}" "Check if the Solaris audit directory is properly configured"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
logtext "Result: could not find /etc/security/audit_control"
|
logtext "Result: could not find /etc/security/audit_control"
|
||||||
|
|
Loading…
Reference in New Issue