How to determine the Python module name for the FlexResponse Python Plugin parameter in FlexReponse respone rule
search cancel

How to determine the Python module name for the FlexResponse Python Plugin parameter in FlexReponse respone rule

book

Article ID: 280336

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Prevent

Issue/Introduction

You are integrating a 3rd party product with the DLP Agent. You are following the FlexReponse implementation guide from the DLP documentation and you are at the step where you have already received the a python script from the appropriate vendor and you are now configuring the FlexReponse response rule.

About Endpoint FlexResponse (broadcom.com)

The guide requires to enter the script module name into the FlexResponse Python Plugin parameter of the response rule as described in the below part of the guide and you are unsure what to enter:

Configuring the Endpoint: FlexResponse action (broadcom.com)

Environment

DLP 15.8 or later.

Resolution

As per definition Python script module name is the name of the script file without the .py extension. This means that you need to enter the script name, without the extension, in the response rule Python Plugin parameter.

In the below example the script file name received from the vendor is PythonScript.py, the value to be entered into the Python Plugin entry box in this situation will be PythonScript.

 

Additional Information

The definition of the Python script module can be found in the Python documentation:

Python modules (docs.python.org)