It seems like using Jamf Protect's Custom Prevention Lists feature is a better way to block/restrict applications than Jamf Pro's 'restricted processes'.
Restricted Processes only goes off of the name, which could be changed to evade the blocks in place.
But with Custom Prevention Lists, you can choose Team ID or bundle/signing ID which is more effective.
The problem is, in my initial testing, it's only blocking 1 of 3 apps. I've tried both Team ID's and Bundle ID's with the same behavior. All three apps download as .dmg's with .app's inside of them.
I'm using codesign -dv /Path/To/.app to get Team and Bundle ID's.
ProtonVPN.app works as expected. I get a 'ProtonVPN Has Been Blocked' Jamf Protect message.
However, mirroring the same exact steps, neither Epic Games Launcher.app or Steam.app get blocked. They're both launching just fine still.
Again I've tried Team ID's and Bundle ID's with the same behavior.
I've ran a sudo protectctl checkin, still same behavior.
Because it is working for one app, but not the others, when all three are setup the same way, I'm not sure what I'm doing wrong. I've recreated the behavior on multiple computers.
There are certain, common apps I'm trying to block by either Team or Bundle ID's.
I know about Google's Santa app but that looks like a lot more setup compared to this.
I also just tested adding Jamf's 'Sample App.app' by TeamIdentifier - CLQKFNPCCP - and it still opens. So 1/4 apps that are currently added by Team ID, are actually being blocked.
Ultimately I'm trying to understand why some apps are getting blocked, but not others.