Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

2.5.1.2 Remediation #8

Open
MorningstarZero opened this issue Aug 19, 2020 · 0 comments
Open

2.5.1.2 Remediation #8

MorningstarZero opened this issue Aug 19, 2020 · 0 comments

Comments

@MorningstarZero
Copy link

In 2_Security_Audit_Compliance.sh:
When the script runs on our systems (which have encrypted APFS volumes) this check was failing even though the volumes were encrypted. I tracked the issue to line 528:

ENCRYPTION=$(echo "$APVOLINFO" | awk '/FileVault/ {print $3;exit}')

This is returning the value "(Unlocked)"

I changed the script to the following:
ENCRYPTION=$(echo "$APVOLINFO" | awk '/FileVault/ {print $2;exit}')

It now returns "Yes" and the check passes properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant