Instance in Developer Mode

Description

Developer Mode in Relativity is a specialized setting that allows technical teams to build and test custom solutions within the platform. It is typically used in non-production environments and is not needed for standard casework or everyday user tasks. This alert is triggered when any of the following instance settings are enabled (True), regardless of the machine name specified:

  • kCura.Service.ServiceHost/TestMode
  • Relativity.Core/DeveloperMode
  • Relativity.Core/DeveloperMachine

Resolution Guidance

Impact When Active

Enabling Developer Mode can impact the security and functionality of your environment. When active, it disables certain security protections, such as cross-site request forgery (CSRF) protection in API requests, making the system more vulnerable to unauthorized access. Additionally, it allows the system to display detailed error messages, including stack traces, which can be -useful for debugging but may expose sensitive system information. This setting is designed for development environments only and should not be enabled in production, as it can introduce security risks and expose critical application details. To maintain a secure and stable environment, it is recommended to keep Developer Mode disabled in production.

How To Resolve

Update the following instance settings to ensure proper configuration:

SectionNameValue
kCura.Service.ServiceHostTestModeFalse
Relativity.CoreDeveloperModeFalse
Relativity.CoreDeveloperModeFalse

To update:

  • Log into Relativity
  • Go to the Relativity Instance Settings tab
  • Filter for Instance settings listed above.
  • Update the values to False is they are currently set to True.

Alert Details

Alert Condition Details

NameValueDescription
Rule TypeElastic Query
Data Viewmetrics-*
Filter Queryrelsvr.instance.developer_mode : 1
GroupCount
Threshold> = 1Count greater than or equal to 1, alert triggers
Time Window2 minVerified data for last 2 minute
Frequency1 minChecks for every 1 min

Alert Metric Details

Metric Name: relsvr.instance.developer_mode

Metric Attributes:

Attribute NameDescriptionValue
labels.nameName of the instance settingTestMode/DeveloperMode/DeveloperMachine
relsvr.instance.developer_modeDeveloper mode settings1-If value is set to True
Return to top of the page
Feedback