Track the license expiration date

With a valid license

At startup, the Microgateway runtime container logs the following message, containing the expiration date.

{
   "@timestamp":"2021-06-28T12:42:26.155+0200",
   "priority":"info",
   "pid":"13",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-170",
   "log_cat":"C",
   "message":"License: valid for ethernet addresses : Policy 
              Enforcement on, ICAP off, Kerberos off, Machine Learning 
              off, API  Gateway on, Microgateway on, unlimited 
              authenticated sessions and  unlimited backend 
              applications. Expiry date [...]"
 }

With an expired license

In case the license is expired, the Microgateway runtime container logs the following messages:

{
   "@timestamp":"2021-06-28T12:51:48.799+0200",
   "priority":"warning",
   "pid":"10",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-570",
   "log_cat":"C",
   "message":"License Problem: License has expired on [...]. Running in free license mode."
 }
 
{
   "@timestamp":"2021-06-28T12:51:48.799+0200",
   "priority":"info",
   "pid":"10",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-170",
   "log_cat":"C",
   "message":"License [FREE MODE]: valid for ethernet addresses : 
              Policy Enforcement on, ICAP off, Kerberos off, Machine 
              Learning off, API Gateway on, Microgateway on, unlimited 
              authenticated sessions and unlimited backend applications. 
              Expiry date [...]"
 }

Airlock Microgateway without a valid license acts like the Community Edition. Therefore, many security features are in log only mode.