Command to open Privacy & Security page in System Settings on Security section

Hello,

I'm trying to add a working shortcut to my app that will open a Privacy & Security page in System Settings under Security section where prompts to allow system extension appears.

Typically open x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension from the Terminal only open the Privacy & Security page.

I want to emulate the button from this system window.

Lemme start you out with Supported URL Schemes.

If you come up with a URL that’s actually supported, you can emulate the open command by calling the open(_:configuration:completionHandler:) method on NSWorkspace.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Command to open Privacy & Security page in System Settings on Security section
 
 
Q