---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# MID Server Governance

# MID Server Governance {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of MID Server Governance

MID Server Governance enhances security by automatically invalidating and shutting down inactive MID Servers to prevent unauthorized use if a ServiceNow instance is compromised.
This feature, part of the MID Server plugin, is disabled by default and tracks the last activity status of MID Servers to enforce inactivity timeouts.
Show full answer Show less  

## Enable and Configure MID Server Governance

To activate governance for all MID Servers, set the system property **mid.inactivity.timeout.enabled** to true. The inactivity timeout period is defined globally using **mid.inactivity.timeout.days**, which accepts an integer representing days (default is 30 days if unspecified). You can override this timeout on a per-MID Server basis by adding the same property as a configuration parameter, including setting it to 0 to disable governance for that specific MID Server.

No MID Server restart is required after changing these settings. Governance supports both basic and mutual authentication methods.

## Activity Tracking and Auto-Invalidation

MID Servers monitor activity through ECC queue messages and report their last activity hourly. When inactivity exceeds the configured timeout, the MID Server is invalidated and shut down if running, or marked invalid by the instance if down.

Users receive UI notifications on the MID Server page indicating impending auto-invalidation: an informational message 3-7 days before timeout, and an error message less than 3 days prior. After invalidation, an error message shows the auto-invalidation date.

## Clearing Auto-Invalidated Status

Once a MID Server is auto-invalidated, its invalidation must be manually cleared via the **Clear auto invalidated** UI action on the MID Server record before restarting. Restarting without clearing will cause immediate shutdown and log an error.

## Additional Details

The **Purpose** field on the MID Server record allows customers to add descriptive text about its intended use; this is informational only.

This governance feature integrates with broader MID Server security capabilities, including certificate policies, authentication methods, unified key store, and compliance modes like FIPS. It supports practical security tasks such as encryption, mutual authentication, and SSL certificate management.  
Improve MID Server security by setting an automatic timeout
to invalidate and shut down inactive MID Servers. You can
enable this feature and set the inactivity timeout period globally and for each MID Server.

|-|
|   |
[ ]

{#mid-timeout__table_yfh_kv4_nhb}

## Overview of MID Server Governance {#mid-timeout__section_s4g_v22_gsb}

MID Server Governance prevents forgotten MID Servers connected to ServiceNow instances from
being utilized if the instance is compromised. ​MID Server Governance keeps a record of the last
status change of the MID Server validation/invalidation process.

This feature is not enabled by default, and is available out-of-the-box as part of the MID
Server plugin. Once enabled, MID Server authentication is expired after a predetermined period
of inactivity unless explicitly configured to never expire.

## Enable and Configure MID Server Governance {#mid-timeout__section_qn1_w22_gsb}

MID Server Governance is enabled for all MID Servers by setting the following true/false
system property:​ mid.inactivity.timeout.enabled. This property is not
defined by default. The global inactivity timeout is ​specified by setting the following integer
system property: mid.inactivity.timeout.days. The property takes an
integer which specifies the timeout in days. The default timeout is 30 days if unspecified.

You can override the timeout for a particular MID Server by specifying
mid.inactivity.timeout.days as a configuration parameter on that MID
Server. A timeout value of 0 disables MID Server Governance on that MID Server. Therefore, you
can set a global timeout and also change or disable timeouts for certain MID Servers.

You do not need to restart the MID Server after changing the Governance configuration.
Governance works with either basic or mutual authentication.

## Activity Tracking {#mid-timeout__section_ofr_21d_dtb}

The MID Server analyzes activity by tracking incoming and outgoing ECC queue messages​. Once
per hour, the MID Server reports the last activity to instance, which is stored in the ecc_agent
record​​, and checks if the inactivity timeout has been reached. If the inactivity timeout has
been reached and the MID Server is up, the MID Server is invalidated and shuts down. If the
timeout is reached when the MID Server is down, a job on the instance determines if the MID
Server is idle and invalidates it on the instance.  
When MID server is approaching auto-invalidation timeout due to inactivity, the MID Server page will display a message indicating:

* An info message when 3-7 days remain before inactivity timeout.

* An error message when less than 3 days remain before inactivity timeout.

* After a MID has been auto-invalidated, an error message is displayed indicating the date
  the MID was auto-invalidated​.

{#mid-timeout__ul_psy_cf2_gsb}

## Clearing the auto-invalidated state {#mid-timeout__section_sfc_g1d_dtb}

After a MID Server has been auto-invalidated, the auto-invalidated status must be manually
cleared in order to bring the MID back up successfully​. The MID Server shuts down immediately
if it is restarted without clearing this state. In addition, a MID issue will be logged
indicating this occurrence.

The auto-invalidated state of a MID Server can be cleared by selecting the Clear auto invalidated UI action from the MID Server instance page​. After invoking this
UI action, the user should start their MID Server and continue with the usual validation
process.

## Purpose field {#mid-timeout__section_kwn_df2_gsb}

The purpose is a text field that the customer can update at any point to indicate the intended
usage for the MID Server. This field is purely descriptive and has no further interactions.
**Related concepts**   

* [MID Server certificate check policies](https://servicenow-prod.fluidtopics.net/kt_UvWhq81MUejjA6BN9Xg "MID Server uses four kinds of security checks to secure external traffic. The security checks use TLS/SSL certificate validation, hostname validation, Certificate Revocation List (CRL), and Online Certificate Status Protocol (OCSP) validation to improve security. Control these security checks with the MID Server certificate check policies table.")
* [MID Server authentication methods comparison](https://servicenow-prod.fluidtopics.net/PEMk5upii5aIhj3S49hSaQ "The MID Server can authenticate to your instance using basic authentication, mTLS, or IPKI methods. The methods differ in what the MID Server presents, who issues and manages the certificate, and how access is revoked.")
* [MID Server authentication credentials and SOAP requests](https://servicenow-prod.fluidtopics.net/9wvetsJqs56G~Q~aW0Htdg#mid-authentication-soap-requests "Set basic authentication credentials to update the web service invocation data. For added security, you can enforce basic authentication on each incoming SOAP request to the MID Server.")
* [MID Server unified key store](https://servicenow-prod.fluidtopics.net/IIggrAjdtsLOp00Maw5dVg#mid-unified-keystore "The MID Server unified key store allows all products on the MID Server to use common certificates and key pairs. This feature allows applications to use the same secure communication channel to the MID Server that the MID Server uses to connect to the instance.")
* [MID Server Azure Key Vault integration](https://servicenow-prod.fluidtopics.net/M9ieIpTkQhQdg2oNut_JVQ#mid_azure_key_vault_integration "The MID Server supports three authentication methods to retrieve credentials from Azure Key Vault without storing secrets on the instance.")
* [MID Server command audit log](https://servicenow-prod.fluidtopics.net/EMXPRl6CVActj8Gxjhvhsg#mid-audit-log "The command audit log records the commands run by the MID Server for the Discovery application. Review the commands to verify there are no anomalies or errors.")
* [MID Server FIPS Enforced Mode](https://servicenow-prod.fluidtopics.net/30QFWCTwwmrY11lS4oxyEA#mid-fips-enforced "The MID Server supports the National Security Cloud (NSC) IL-5 environment, which requires all utilized cryptography to be FIPS validated. The MID server can be run in FIPS Enforced Mode, where only cryptographic algorithms which are FIPS validated are utilized.")
* [MID Server IPKI authentication](https://servicenow-prod.fluidtopics.net/1Kxkyuj3fB7eWGYCbyyAyA "Instance PKI (IPKI) lets a MID Server authenticate to its instance using a JSON Web Token (JWT) signed by an instance-issued certificate. Use IPKI when you want to authenticate MID Servers with certificates that the instance issues.")  
**Related tasks**   

* [Encrypt or decrypt MID Server configuration file values](https://servicenow-prod.fluidtopics.net/Qxlwv2sniasrS9J61qYxGw "The value of any MID Server parameter in the config.xml file can be encrypted. The attributes for all encrypted values are managed from within the configuration file, including the security attribute of the login password.")
* [Enable MID Server mutual authentication](https://servicenow-prod.fluidtopics.net/lW8fW_WjxbvJ40wq7z3~GA "Configure the MID Server to use a client certificate for authenticating to the instance. This avoids the need to create a basic authentication credentials in the Key Store for the MID Server's configuration.")
* [Rekey a MID Server](https://servicenow-prod.fluidtopics.net/qZQ2XBnDjEoIwy6~F0zOQA "Rekey a MID Server to generate a new private key. Private keys are used to decrypt automation credentials, so that MID Servers can transmit information securely. Key pairs are initially generated when a MID Server is validated, and MID Servers should be rekeyed periodically to meet security requirements.")
* [Add SSL certificates for the MID Server](https://servicenow-prod.fluidtopics.net/QOsQFUZoAYRrFyr2~2UDOg#add-ssl-certificates "Configure the MID Server to connect to a source over SSL.")
* [Attach a script file to a file synchronized MID Server](https://servicenow-prod.fluidtopics.net/zB1jO4DdnnKCNeKatnsLTQ#mid-server-script-attach "You can attach a script file to synchronize to a connected MID Server. Windows Internet Explorer enhanced security blocks downloaded files that it determines are potentially dangerous. However synchronizing the files avoids this security problem.")  
**Related reference**   

* [MID Server configuration file security](https://servicenow-prod.fluidtopics.net/Ei3fFdVw4e11enuKd53FDA "Sensitive MID Server configuration data can be protected using several different schemes, including internal and external data encryption and external data storage.")
* [MID Server SSH cryptographic algorithms](https://servicenow-prod.fluidtopics.net/Dhad9OhghZGQbkbrb43rXA "The MID Server utilizes SSH clients to perform many discovery actions. During the SSH handshake, both the client and server first determine which algorithms both parties support, then client picks the highest priority algorithm. For the Host Key Algorithm, the client picks highest priority algorithm which both parties support that matches the key type.")

