Skip to main content

AD_4nXfSak6rolGN4JBIo10bpiJqJnYlQfhCvPTVLVSUyfixa3J1UlNaUu7SBwdxnumsSO6qGtINHjoyaNXpizA8O96r1LkZl99MfrYkDHUHro2VRUiYEi_B-rWaWzwRdM8Q7yf4_wB5DYpgWmX5ksZmDvQP0ezSfJXSklxvGbQCSGvazPT8qIJ9ldI?key=yI6JCwyQivSQYwmvZ2OyDA

Netskope Global Technical Success (GTS)

How To - Limit Jetbrains Plugin download

 

Netskope Cloud Version - 125

Objective

 

This article aims to explain how to allow the download of some specific Jetbrains plugins and block all the others.

 

Prerequisite

 

Netskope CASB Inline/SWG and DLP Standard licenses are required

 

Context

 

Customers that have Netskope would like to control the plugins for the Jetbrains IDE. This document provides a comprehensive guide on how to control and limit the usage of the only trusted plugins. Jetbrains plugins have the .zip extension.

 

💡Do You Know? #1

 

ℹ️By default the DLP file size limit is set to 16MB.

 

AD_4nXcFNP8tontIQB3kpnwYh7wIVWWCObAT5XuvDO15M5xmfT8ab11_X1QY6MfP3n4eDoQO29ox-LhyDOB4wx00vTJ6f3UyRd89lUUGAmJ5viYx7ffUVRNYrDA6WU3PJ0S13QmcKpOrSbbw53vc0wkR6zFpSZsZ3IF6k7fSD4_UKw?key=yI6JCwyQivSQYwmvZ2OyDA

 

Ensure to enable the “Advanced File Scanning” feature on  the “Settings >>> Manage >>> Advanced File Scanning” menu to increase the file size limit and to select the desired Fallback action “Alert/Block”.

 

(Ref. https://docs.netskope.com/en/advanced-file-scanning/)

 

Advanced File Scanning feature doesn’t require any additional entitlement

 

 

💡Do You Know? #2

 

ℹ️With R122 we’ve added the “Infile File constraint” feature (Ref. here) which allows to apply constraints on the policy based on the file name or extension.

This feature can be used to avoid the creation of File Profiles.

 

AD_4nXdrYKmul9R4xLmY5n67g2VMFdnC8Rn5SyvreEHOcG-roI-T4S05IBtf1faN-EGT7KaznfDojwTHsYH0WVCRgPnAB_MuV0poKhF13IiP8u6acqnIQBDEZ5CpJvUxutNT9AGIKaydfHhjsybp_BALLg?key=yI6JCwyQivSQYwmvZ2OyDA

 

AD_4nXevA5-MzViCgJov63C-4WxpJmnAI1k4oRfN8rwAfHdvgwCKVHf_Z0aiF4NCv1w_v1DowKi40romLpeYkFrSH8cmntrwhQ2VKoTBDhwSlXps0ND6qWCsoE3YvNBzf9IrS-INBapSCByE9cqmr6kqSHA?key=yI6JCwyQivSQYwmvZ2OyDA

 

*Open an “How-to Question” case to request the feature’s activation

 

 

Procedure

Step #1. On the “Policies >>> Profiles >>> URL Lists” menu define a Url list to get all files that the Jetbrains IDE downloads

AD_4nXeOem1ADDjRIvIKiYDFoZXFhkYtrCjwYhBMXPHYxpU64cCG5xuQ-0P9zABMGVODVVr3yQjz0TIWrm88kDS9yq8S4-Ef5oevpaeGHn5jrT0xQxmdrLF0Gu_rT2ztNrFa-jOvO0f11vmPajkVVohMU4VvFG4aDa59dKfRTFD4CQ?key=yI6JCwyQivSQYwmvZ2OyDA

As url use: “downloads.marketplace.jetbrains.com/files

 

Step #2. Add the urllist just created into a custom category as shown below:


AD_4nXfwmgNDLkFlmcetK2tGEfwy27zak4P6ySeV-CDFizmEejs6SAt9m9Xf-MvmovxHzvlraF2NGSK7t6elG6dxSt5R_jKFe-t-svgbeX5IcS3Fh7n1HcQCZOA0XCtdGeDJC5qcRvWwDt8ghC_WTHPr05JQvKoMn_iST4hEGUuX?key=yI6JCwyQivSQYwmvZ2OyDA

Step #3. Create a Real-time protection policy to block all Jetbrains download activities for all the .zip filesAD_4nXdN9vfKW9tKdE1z2CVETv-frCOIwjQUIvWOKR66PZ5dsTkAG6SuViS9kk2ZGIL_dPMbeKEjDHcx_LzrOJ31iQBfrS7DIjbnV-uAe_20mKmJm_9hzD2sFQn2WhFZjzJ7pnh04veV4G2-VmiI46QtLg?key=yI6JCwyQivSQYwmvZ2OyDA


 

The policy’s parameters are:

  • Source Criteria: Any sOptional]
  • Destination category: “Jetbrain ZIP download Block” custom category (see Step #2)
  • Activities: Download
  • File Name or Extension: *.zip
  • Action: Block
  • Template: lOptional]

 

Step #4. On the “Policies >>> Profiles >>> File Profile” menu define a FIle Profile to match all allowed Plugins files. As said above all Plugins files have the .zip extensionAD_4nXeNXIhr2c2h6LC4vpxXhaTpIxYLKWUkyand7vyiSSgcKULBfTzk174wFG1Uj69P78ppIIaIxkQogBEoyr0EZOQn0Q_9Gdu43Lg_7B5TtxNqM0jz2zT2jbaEzFi291SQ-AxzGIz_eyEJogG9rxC82Tcu86U37-wbC4f_-rolLw?key=yI6JCwyQivSQYwmvZ2OyDA

In the above example we’ve used the * on the File Name eg. “bigdatatools-kafka-*.zip” to match all versions. We can either work on the exact File Name like “bigdatatools-kafka-242.20224.159.zip”

 

Step #5. On the “Policies >>> Profiles >>> DLP” menu Define a DLP Profile with the File Profile Just created. Click on “NEW PROFILE” Button and then select the file profile as shown below. Don’t select any DLP rule and assign a name like “Jetbrain Allowed PluginsAD_4nXdRpITO8W7cOiEeENfEdkchS1T-IsgyoHIR1q7UU8zN1FSNQHhMclhnVODcTgHgd9-KFp3r-xcst09-Bxle5xLCgLry58qdmwvjcU-zoH9muWrpOzBvx-ajDlY-731SpyoteqEUEd9_g3wJrv7wjej0BE_FcIrnsa6GVX_usw?key=yI6JCwyQivSQYwmvZ2OyDA


 

Step #6. Define another Real-Time protection policy with the DLP Profile just created to allow only the download of specific files. The allowed files are matched with their name.
This policy has to be positioned above the blocking one previously defined

AD_4nXe7eS_eqQu6Jhj1gT8hPlbR0UEHZCBMrlNZkV_htGhOBV49exhHCtoutDeBvMrklN9kp9uJCQCMQOEqkFRfFGrcpEKGeW-Nt-oiuiJpIRfeiAuxx2t3DUAePGp0x8CalSD2FO6yc1TLeFij_tFTuyNJIoSX0EmlKvC0DSTaIQ?key=yI6JCwyQivSQYwmvZ2OyDA

The policy’s parameters are:

  • Source Criteria: Any uOptional]
  • Destination category: “Jetbrain ZIP download Block” custom category (see Step #2)
  • Activities: Download
  • DLP Profile: “Jetbrain Allowed Plugins” (see Step #5)
  • Action: Allow

 

Terms and Conditions

  • All documented information undergoes testing and verification to ensure accuracy.
  • In the future, it is possible that the application's functionality may be altered by the vendor. If any such changes are brought to our attention, we will promptly update the documentation to reflect them.

Notes

  • This article is authored by Netskope Global Technical Success (GTS).
  • For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.
Be the first to reply!