# Risk parameters
Risk parameters are sent to the Encap SCA server and passed on to you to make risk assessment possible.
The risk parameters are enabled
and disabled
in the application configuration. See the configuration for ENABLE_RISK_DATA
for details.
You can get the information about what risk parameters are sent to the server by calling riskparameterServerConfig
in the
EncapController
. This will return an EncapRiskParameterServerConfig
object.
With the function setRiskParameter
on the EncapController
, you can set risk parameters. Only EncapRiskParameter.jailbreakDetected
is available for the app to set currently.
There is no default value for this parameter, so if the app does not call this function, the rooting status will not be passed on to the server.
The app is free to implement the rooting detection as desired; either by its own implementation, or with a 3rd party library like Promon Shield.