Skip to main content

Detect TLS Version

The following example triggers alarms when the TLS version is detected for applications that contain SSL in their application path.

function Flow_DetectTlsVersion (dpiMsg, ruleEngine)
-- rule content
  if HasApplication(dpiMsg, "ssl") then
    local tlsVersion = GetTlsVersion(dpiMsg);
    if (tlsVersion ~= nil or tlsVersion ~= '') then
      TriggerUserAlarm(dpiMsg, ruleEngine, "low")
    end
  end
end
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.