-
Notifications
You must be signed in to change notification settings - Fork 7
DevCDR customizing
This Page documents all the options to customize DevCDR without code modifications.
When customizing the Server, it's important that all modifications will survive an update of the instance. The following options will not be modified during update.
You can customize the Instance Title and Name.
Application settings:
- INSTANCETITLE = "Default Environment"
- INSTANCENAME = "Default"
Hostname filtering allows to specify a Rule (Regex) on Computernames so that only valid names will be able to send inventory and run compliance checks. Application settings:
- ComputernameRegex = (.*?)
Note: This is not a security feature. The goal is reduce inventory from clients that will change the name (e.g. during setup)
Inventory will be collected by running a PowerShell script hosted on the Server. You can change the name of the PowerShell file that is triggerred by the Agents. The PowerShell File must be copied into the same path as the default inventory.ps1 (wwwroot\jaindb). Do not replace or modify inventory.ps1 as this file will be replaced with the next server update. Application settings:
- ScriptInventory = inventory.ps1
Note: It's highly recommended to sign this PowerShell script.
Every DevCDR Agents is running a PowerShell script at a schedule (default every 30min). This script is hosted on the server in wwwroot\jaindb\compliance_default.ps1. If you want to have a customized version, do not change this file, create a new File and set the FileName in the ScriptCompliance variable.
Application settings:
- ScriptCompliance = compliance_default.ps1
Note: It's highly recommended to sign this PowerShell script.
additional File: wwwroot\plugin_ContextMenu.cshtml
Application settings:
- Log-SharedKey =
- Log-WorkspaceID =
Application settings:
- REPORTUSER =
- REPORTPASSWORD =
- IP2LocationURL = { IPLocationLookup WebService }
Only set the following variables if you are using Azure SignalR Service !
- Azure:SignalR:ConnectionString =
- DevCDRUrl = { your DevCDRUrl e.g. https://mydevcdr.azurewebsites.net, only in combination with Azure SignalR ! }
- fnDevCDR = URL to Enterprise REST API
- CUSTOMERID = Default Customer Key