DLP Agent FlexResponse does not work after upgrade from 15.7 to 15.8.
The same FlexResponse Python plugin script works in 15.7 but does not work in 15.8 Agent.
We observe below errors in the agent finest logs during the execution of the FlexResponse plugin.
08/22/2022 10:11:54 | 9044 | INFO | ResponseRules.FlexResponseHost | Plugin loaded successfully. Plugin name: Test
08/22/2022 10:11:54 | 9044 | INFO | ResponseRules.FlexResponseHost | Plugin vendor: Test
08/22/2022 10:11:54 | 9044 | INFO | ResponseRules.FlexResponseHost | Plugin version: 1.1
08/22/2022 10:11:54 | 9044 | INFO | ResponseRules.FlexResponseHost | Plugin description: Test
08/22/2022 10:11:54 | 9044 | WARNING | ResponseRules.FlexResponseHost | Failure executing plugin's Execute function
08/22/2022 10:11:54 | 9044 | FINER | ResponseRules.FlexResponsePluginProxy | IPC OnPlginExecutionRsult() message
08/22/2022 10:11:54 | 9620 | FINEST | AgentServices.ThreadPool | Task submitted to ThreadPool: FlexProxy.MsgResultTask
08/22/2022 10:11:54 | 9652 | FINEST | ResponseRules.FlexResponsePluginProxy | <PluginExecutionResultMarshallable>
<errorCode type=int>0</errorCode>
<invocationResults type="MarshallableCollection<PluginInvocationResultsPerIncidentMarshallable>">
<PluginInvocationResultsPerIncidentMarshallable>
<invocationResults type="MarshallableCollection<PluginInvocationResultMarshallable>">
<PluginInvocationResultMarshallable>
<pluginName type=String>DIPI</pluginName>
<policyId type=int>241</policyId>
<pluginDescription type=String></pluginDescription>
<errorCode type=int>6</errorCode>
<startTime type=Date>Date: 8/22/2022 10:11:54.908</startTime>
<endTime type=Date>Date: 8/22/2022 10:11:54.936</endTime>
<remediationStatus type=int>0</remediationStatus>
<remediationDetailResult type=String></remediationDetailResult>
<remediationLocation type=String></remediationLocation>
</PluginInvocationResultMarshallable>
</invocationResults>
</PluginInvocationResultsPerIncidentMarshallable>
</invocationResults>
</PluginExecutionResultMarshallable>
DLP Endpoint Agent 15.8.x
The FlexResponse Python script should be updated by the developer to work with the latest 3.8 version as the python encoding format has changed from 2.7 to 3.8.
The Python library versions for both the DLP the agent versions are different. The library was updated in DLP 15.8.
DLP Agent 15.7 has Python library version 2.7 and 15.8 has Python library version 3.8.