Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added CRYP-7932 to determine if the system has enabled macOS FileVault. #1458

Merged
merged 2 commits into from May 14, 2024

Conversation

florian-sonnenschein-gcx
Copy link
Contributor

This code will check if macOS FileVault is enabled.

Copy link
Member

@mboelen mboelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good start! A few suggestions to make it better:

  • Move the "filevault_status" directory into the case, as nothing is done with the variable
  • Do a check if fdesetup exists. Maybe it does exist on macOS now, but that might change in the future.
  • Add some hardening points (AddHP). I would suggest 3 of 3 when enabled, 0 of 3, when not.

- Now checks if "fdesetup" exists
- Add some hardening points (AddHP): 3 of 3 when enabled, 0 of 3, when not.
@mboelen mboelen merged commit c8c7eeb into CISOfy:master May 14, 2024
@mboelen mboelen self-assigned this May 14, 2024
@mboelen
Copy link
Member

mboelen commented May 14, 2024

Merged, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants