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; } = [];
/// Time zone for display, e.g. Europe/Copenhagen. Defaults to the server's local time zone.
public string? TimeZone { get; set; }
///
/// Tokens for /api/ and /metrics (name → "sha256:<hex>"). Create one with SQLInsight.Web new-api-token <name>.
///
public IDictionary ApiTokens { get; } = new Dictionary();
/// 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");
}