securityRisk property

String? securityRisk
getter/setter pair

A specific security risk that negatively affects the security posture of the device. Possible string values are:

  • "SECURITY_RISK_UNSPECIFIED" : Unspecified.
  • "UNKNOWN_OS" : Play Integrity API detects that the device is running an unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails).
  • "COMPROMISED_OS" : Play Integrity API detects that the device is running a compromised OS (basicIntegrity check fails).
  • "HARDWARE_BACKED_EVALUATION_FAILED" : Play Integrity API detects that the device does not have a strong guarantee of system integrity, if the MEETS_STRONG_INTEGRITY label doesn't show in the device integrity field (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field).

Implementation

core.String? securityRisk;