Skip to main content

In the 114 release, we are excited to introduce a new type of content for Netskope SSPM: template-based rules. These rule templates are designed to assist deploying environment-specific detections for known threats, noteworthy anomalies and address misconfigurations. Using templates makes it easier to establish a more expedient and proactive defense strategy for your SaaS ecosystem.

Each template is composed  with the same Netskope Governance Language (NGL) rule logic which is also used in the hundreds of built-in detections bundled within Netskope SSPM. 

 

Kindly refer below steps

ZYfmV3it4yOICgWCEYmEMuBepyCqUVqAc6gbnZ8SfGk5aeFfHUBOGmIYQtfUvcEMyBpMgGJQyzVvs6ge2uRmem1-jBcM0XD_N6fxvUTXP7sMH3vOHsXtTORNzfCE-E72yH6sFcGCSAkk35zsbYLMzGo

 

Template based rules are predefined detection rules, which contain placeholders intended to be filled by the user. By simply populating the placeholders within the rule, users can effortlessly generate rules tailored to their specific business requirements and constraints.

 

For example, you might want to ensure every user account in a SaaS application is registered with a company provided email-address? Or create an alert if a user is assigned a custom role your organization has considered high risk? As traditional predefined rules are not aware of the structure of the company email addresses or organization hierarchy, deploying such detection would require the user to teach the SSPM of what kind of email addresses or role descriptions should trigger detection. These types of detections are easy to build using templates.

 

Furthermore, the rules generated by these templates seamlessly integrate into your existing findings workflow as custom rules.

 

Let’s see how they work in practice.

 

To list all predefined templates we introduced a new filter called Template in Rule type filters under Policy -> Security Posture -> SaaS -> Rules


 

QlnDtASzxgk-zEhCgQmmjOmtlhfCH-EioJGtcnPpcjTT1eTrTnl1wE4dv5oRGgWJo14hST3pmwae8OMMpGUNvosqAXBx_xHb4v1XQezL5zbundCbHA-r2jtF20mXAzH1GlVaGaw-jlJm7wEQ47GnR6w


 

Once listed it is possible to see the details by clicking on the template

 

qC7pTD92pNC7ouaxHeHC4KE8EMduEzfrvxn-emVohxz5jiJbjCzd6WL7Lt3Bzsp05Pl28ynZ7mmdbkzFmYYP5hqGEZZ7SS3txgexNy-tTfDUb3I7Q4M066WU6VE_q_Itz6KedZYIR7LYykfny22UMW4

 

The Rule is an NGL code with a placeholder that needs to be replaced with needed string, integer or list arguments. The placeholder can be identified as the string contained in two curly brackets like “{{ .CompanyDomainString }}”

 

Once we select the template that we want to use to build a rule and click on IMPORT TO RULE, the workflow follows the custom rule creation tool. The definition, categorization and descriptions will be pre-filled on users behalf, waiting for any modifications.

 

N4dpGci7jfDxqR0JqW-69Hk8SZgjFn7bpn-WEjxFkWjftTQSOCc4_un40TGzZ8_HI15uezKScN-opn04HYnBxGA9pu1cphxPazO2qIZegcyvD_r7m3jb0ivTDPxDNE9oLpLj3LBuGSsjmrBbpxq2Y4w

 

Rule logic, Category and Description are all predefined.

 

Tip: Under the Description tab we provide a full working rule example to make the placeholder replacement easy for the end user.

 

MIgzpeS8MQMYQDRBYbFwkM-D7lLFSSSPJWt--hsuozgOWmdgdTCIx-QAogivwLGEzcsd6Bm_xH4LT-_HsTvPKZC4paUK4O9IaLlpNVU35gQd8xKbJ-jA4KrO5JWAdsl80WWwSYTVhnp9UBKsTnlWQ7M

 

And this is how it looks once placeholder is filled with the preferable value

 

BkJTwj0wKACYOPj7RneYyCx5nitk5ZGY_S3MuVWeVCgLKvl2gv_nbs0sSqkjBhKb8aGI6o3daBdTwVOjtydiXDV2KjV2yAiiKRLLVuVI5gniGqX_R6HqxqtPbyVkjSTMgK07KgnVrYf_N5-dZ5VNStY

Once the rule code is completed and the Rule name is set, the rule is ready to be saved and inserted in the preferable Policy.

The alert workflow for template based rule is the same of builtin or custom rules, they are visible under the Findings page

WrkUUZL4UbnfWn3n168_N9BD7tPGQH_Enma8lpEJsENSM-ylGzrOA_j2d_UqdN2aD6cU3nO0k2Pp_dpWWC2BFq6b-ukm7ucLMhVyRELF9LXx3qfNyL8djPX-jNCl1Purn1stCC2g7E_1GxYIMgxfFI4
 

The template based rule content is continuously updated with new templates to make the SSPM more powerful for all customer needs.