namespace SQLInsight.Web;
public sealed class WebOptions
{
public const string SectionName = "SQLInsight:Web";
/// Windows (Negotiate/Kerberos) or None. None is for development only.
public string Authentication { get; set; } = "Windows";
/// Windows groups allowed to use the UI (e.g. DOMAIN\SQL-Admins). Empty: any authenticated user.
public IList AllowedGroups { get; } = [];
///
/// Windows groups that may change which servers and databases are monitored (Konfiguration og sikkerhed → Servere
/// og databaser), e.g. DOMAIN\SQL-Admins. Empty: nobody can change it in the UI; everyone with access can see it.
///
public IList AdminGroups { get; } = [];
/// Time zone for display, e.g. Europe/Copenhagen. Defaults to the server's local time zone.
public string? TimeZone { get; set; }
/// Include evidence marked sensitive (query text, logins, host names) in /api/v1/findings. Off by default.
public bool ApiIncludesSensitiveEvidence { get; set; }
/// Name shown on reports, e.g. the company or department.
public string Organization { get; set; } = "SQL Server-miljøet";
/// The SQLInsight Pro website (documentation, downloads, support plans), linked from the menu.
public Uri CommunityUrl { get; set; } = new("https://sqlinsight.seosoft.dk/");
/// The community forum, linked from the menu.
public Uri ForumUrl { get; set; } = new("https://forum.seosoft.dk/c/sqlinsight");
}