Snyk Security Plugin via Jamf

MatP
New Contributor

Hey guys, I need to deploy VSCode & Jetbrain Snyk extension via Jamf. VScode is in format .vsix and Jetbrain is looking like a simple folder with one Library and .jar files inside this folder.

Have any of you had to deal with such an installation?

Thank you in advance.

Regards

2 REPLIES 2

MatP
New Contributor

I'm not able to edit my post, so .vsix can be skipped.

Regards

sdagley
Esteemed Contributor II

@MatP This is pretty straightforward in Composer:

  1. Create a folder in /private/var/tmp named SynkSecurityPlugin
  2. Copy the Library and .jar file for the Sync extension into that folder
  3. Use that folder to create a new project in Composer (i.e. drag it to the left sidebar in the Composer window)
  4. Create a postinstall shell script that does the following:
    1. Checks to see if the destination Jetbrains folder already exists, and creates if it does not
    2. Copies the Library and .jar files from /private/var/tmp/SynkSecurityPlugin to the destinations Jetbrains folder (be sure to set the appropriate ownership and file permissions for the files after they're copied
    3. Deletes the /private/var/tmp/SynkSecurityPlugin folder

This does presume you've got some experience with Composer, but if not https://learn.jamf.com/en-US/bundle/composer-user-guide-current/page/Composer_Overview.html is a good place to start.