Security Zen

FAQ: Retrieving System Permissions

Why don't I see all System Permissions?

Only System Permissions that are true for at least one of the retrieved Profiles or Permission Sets are retrieved.  If you want to retrieve all System Permissions, you should retrieve an Admin Profile that contains all System Permissions.