Files
Umbraco-CMS/src/Umbraco.Core/Constants-HealthChecks.cs
Mole bf41c2eeaa Netcore: Align namespaces (#9801)
* Rename Umbraco.Core namespace to Umbraco.Cms.Core

* Move extension methods in core project to Umbraco.Extensions

* Move extension methods in core project to Umbraco.Extensions

* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine

* Move examine extensions to Umbraco.Extensions namespace

* Reflect changed namespaces in Builder and fix unit tests

* Adjust namespace in Umbraco.ModelsBuilder.Embedded

* Adjust namespace in Umbraco.Persistence.SqlCe

* Adjust namespace in Umbraco.PublishedCache.NuCache

* Align namespaces in Umbraco.Web.BackOffice

* Align namespaces in Umbraco.Web.Common

* Ensure that SqlCeSupport is still enabled after changing the namespace

* Align namespaces in Umbraco.Web.Website

* Align namespaces in Umbraco.Web.UI.NetCore

* Align namespaces in Umbraco.Tests.Common

* Align namespaces in Umbraco.Tests.UnitTests

* Align namespaces in Umbraco.Tests.Integration

* Fix errors caused by changed namespaces

* Fix integration tests

* Undo the Umbraco.Examine.Lucene namespace change

This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.

* Fix merge

* Fix Merge
2021-02-18 11:06:02 +01:00

59 lines
2.7 KiB
C#

namespace Umbraco.Cms.Core
{
/// <summary>
/// Defines constants.
/// </summary>
public static partial class Constants
{
/// <summary>
/// Defines constants for ModelsBuilder.
/// </summary>
public static class HealthChecks
{
public static class DocumentationLinks
{
public const string SmtpCheck = "https://umbra.co/healthchecks-smtp";
public static class LiveEnvironment
{
public const string CompilationDebugCheck = "https://umbra.co/healthchecks-compilation-debug";
}
public static class Configuration
{
public const string MacroErrorsCheck = "https://umbra.co/healthchecks-macro-errors";
public const string TrySkipIisCustomErrorsCheck = "https://umbra.co/healthchecks-skip-iis-custom-errors";
public const string NotificationEmailCheck = "https://umbra.co/healthchecks-notification-email";
}
public static class FolderAndFilePermissionsCheck
{
public const string FileWriting = "https://umbra.co/healthchecks-file-writing";
public const string FolderCreation = "https://umbra.co/healthchecks-folder-creation";
public const string FileWritingForPackages = "https://umbra.co/healthchecks-file-writing-for-packages";
public const string MediaFolderCreation = "https://umbra.co/healthchecks-media-folder-creation";
}
public static class Security
{
public const string ClickJackingCheck = "https://umbra.co/healthchecks-click-jacking";
public const string HstsCheck = "https://umbra.co/healthchecks-hsts";
public const string NoSniffCheck = "https://umbra.co/healthchecks-no-sniff";
public const string XssProtectionCheck = "https://umbra.co/healthchecks-xss-protection";
public const string ExcessiveHeadersCheck = "https://umbra.co/healthchecks-excessive-headers";
public static class HttpsCheck
{
public const string CheckIfCurrentSchemeIsHttps = "https://umbra.co/healthchecks-https-request";
public const string CheckHttpsConfigurationSetting = "https://umbra.co/healthchecks-https-config";
public const string CheckForValidCertificate = "https://umbra.co/healthchecks-valid-certificate";
}
}
}
}
}
}