Jamf-Concepts / jamf-compliance-editor

Other
24 stars 0 forks source link

Switching between macOS and iOS JCE files results in blank JCE window #13

Open fitzwater-rowan opened 2 weeks ago

fitzwater-rowan commented 2 weeks ago

If you have a macOS .jce file open and then try and open an iOS .jce file, the later will open a blank JCE window. Below are steps to reproduce:

  1. Open Jamf Compliance Editor (v1.4.0)
  2. Select “macOS “tab
  3. Select “Create new project”
  4. Select “sequoia” a. Create b. Save (~/Security Baselines)
  5. Select “CIS Benchmark – Level 1” from Security Benchmark list a. OK
  6. Make a change (e.g.: deselect checkbox next to rule 2.3.1.1 Disable AirDrop)
  7. Click “Create Guidance” button
  8. Click Save Settings a. Change Save As: to “Sequoia.jce” b. Save (~/Security Baselines)
  9. Close Jamf Compliance Editor
  10. Open Jamf Compliance Editor (v1.4.0)
  11. Select “iOS/iPadOS “tab
  12. Select “Create new project”
  13. Select “iOS 18” a. Create b. Save (~/Security Baselines)
  14. Select “CIS Benchmark – Level 1 Enterprise” from Security Benchmark list a. OK
  15. Make a change (e.g.: deselect checkbox next to rule 3.2.1.6 Disable iCloud Keychain Sync)
  16. Click “Create Guidance” button
  17. Click Save Settings a. Change Save As: to “iOS18.jce” b. Save (~/Security Baselines)
  18. Close Jamf Compliance Editor
  19. Double-click iOS18.jce a. Should open as expected with all rules and modifications
  20. Close Jamf Compliance Editor
  21. Double-click sequoia.jce a. Should open as expected with all rules and modifications, but it opens to a blank JCE window.

@golbiga recommended this command as a quick workaround. Can swap back and forth depending on which OS baselines .jce you are trying to open. defaults write com.jamf.complianceeditor mscpBaseURL "WHEREYOURFOLDERIS"