mirror of
https://github.com/bitwarden/server.git
synced 2025-05-08 13:12:16 -05:00

* Initial stubbing out of the phishing service * Add the phishing domain controller * Add changes for the phishing domain get * Add distributed cache to the phishing domain Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Rename the variable name Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Removed IPhishingDomainService * Feature/phishing detection cronjob (#5512) * Added caching to EF implementation. Added error handling and logging * Refactored update method to use sqlbulkcopy instead of performing a round trip for each new insert * Initial implementation for quartz job to get list of phishing domains * Updated phishing domain settings to be its own interface * Add phishing domain detection with checksum-based updates * Updated auth for phishing domain endpoints to either require api, or licensing claims to support both web and browser clients, and selfhost api clients * [Innovation Sprint] Updated Phishing domains to rely on blob storage (#5517) * Updated phishing detection data layer to rely on azure blob storage instead of sql server * dotnet format * Took rider refactors * Ensuring phishing.testcategory.com exists to test against * Added redis to dev's docker-compose * Removed redis from cloud profile * Remove the Authorize attribute * error whitespace fix whitespace formatting * error WHITESPACE: Fix whitespace formatting * Wrapped phishing detection feature behind feature flag (#5532) * Increased timeout for fetching source list a bunch * Removed PhishingDomains policy --------- Signed-off-by: Cy Okeke <cokeke@bitwarden.com> Co-authored-by: Cy Okeke <cokeke@bitwarden.com>
34 lines
1.4 KiB
C#
34 lines
1.4 KiB
C#
using Bit.Core.Auth.Settings;
|
|
|
|
namespace Bit.Core.Settings;
|
|
|
|
public interface IGlobalSettings
|
|
{
|
|
// This interface exists for testing. Add settings here as needed for testing
|
|
bool SelfHosted { get; set; }
|
|
bool UnifiedDeployment { get; set; }
|
|
string KnownProxies { get; set; }
|
|
string ProjectName { get; set; }
|
|
bool EnableCloudCommunication { get; set; }
|
|
string LicenseDirectory { get; set; }
|
|
string LicenseCertificatePassword { get; set; }
|
|
int OrganizationInviteExpirationHours { get; set; }
|
|
bool DisableUserRegistration { get; set; }
|
|
bool EnableNewDeviceVerification { get; set; }
|
|
IInstallationSettings Installation { get; set; }
|
|
IFileStorageSettings Attachment { get; set; }
|
|
IConnectionStringSettings Storage { get; set; }
|
|
IBaseServiceUriSettings BaseServiceUri { get; set; }
|
|
ISsoSettings Sso { get; set; }
|
|
ILogLevelSettings MinLogLevel { get; set; }
|
|
IPasswordlessAuthSettings PasswordlessAuth { get; set; }
|
|
IDomainVerificationSettings DomainVerification { get; set; }
|
|
ILaunchDarklySettings LaunchDarkly { get; set; }
|
|
string DatabaseProvider { get; set; }
|
|
GlobalSettings.SqlSettings SqlServer { get; set; }
|
|
string DevelopmentDirectory { get; set; }
|
|
IWebPushSettings WebPush { get; set; }
|
|
GlobalSettings.EventLoggingSettings EventLogging { get; set; }
|
|
IPhishingDomainSettings PhishingDomain { get; set; }
|
|
}
|