Terminal command to show FileVault and Firewall settings
You get the FileVault status with:

fdesetup status


You get the Application Firewall status with:

/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate


You get a verbose pf status with:

sudo pfctl -sa


Further readings: man fdesetup|pfctl and /usr/libexec/ApplicationFirewall/socketfilterfw -h.