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; }
}