using AIStudio.AIOperations.PluginAudit; using AIStudio.Provider; namespace AIStudio.Settings.DataModel.PreviousModels; /// /// The settings for auditing assistant plugins, as settings files up to version V6 store them. /// public sealed class DataAssistantPluginAuditV6 { /// /// Should assistant plugins be audited before they can be activated? /// public bool RequireAuditBeforeActivation { get; set; } = true; /// /// Which provider should be used for the assistant plugin audit? /// public string PreselectedAgentProvider { get; set; } = string.Empty; /// /// The minimum confidence level of the provider which audits the plugins. /// public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE; /// /// The minimum audit level assistant plugins should meet. /// public PluginAuditLevel MinimumLevel { get; set; } = PluginAuditLevel.CAUTION; /// /// Should activation be blocked when the audit result is below the minimum level? /// public bool BlockActivationBelowMinimum { get; set; } = true; /// /// If true, the security audit will be hidden from the user and done in the background. /// public bool AutomaticallyAuditAssistants { get; set; } /// /// Enterprise-managed assistant plugin hashes that are approved without requiring a user audit. /// public IList EnterpriseApprovedPlugins { get; set; } = []; }