feature: Bootstrapper secure server discovery

This commit is contained in:
Gary Sharp
2026-01-22 15:26:23 +11:00
parent 71fa53bfb2
commit e1f1973520
40 changed files with 2094 additions and 460 deletions
+1
View File
@@ -62,6 +62,7 @@
<Compile Include="Repository\FlagType.cs" />
<Compile Include="Repository\User\UserComment.cs" />
<Compile Include="Repository\FlagPermission.cs" />
<Compile Include="Services\Devices\DeviceEnrolmentServerDiscoveryMethod.cs" />
<Compile Include="Services\Devices\DeviceFlags\DeviceFlagExportOptions.cs" />
<Compile Include="Services\Devices\DeviceFlags\DeviceFlagExportRecord.cs" />
<Compile Include="Services\Documents\DocumentExportOptions.cs" />
@@ -0,0 +1,13 @@
namespace Disco.Models.Services.Devices
{
public enum DeviceEnrolmentServerDiscoveryMethod
{
Unknown = 0,
Manual = 1,
SRV = 2,
VicSmart = 3,
Legacy = 4,
Mac = 50,
MacSecure = 51,
}
}
@@ -24,6 +24,7 @@ namespace Disco.Models.Services.Interop.DiscoServices
public List<StatisticIntPair> Stat_JobIdentifiers { get; set; }
public List<StatisticJob> Stat_Jobs { get; set; }
public List<StatisticInt> Stat_EnrollmentDiscovery { get; set; }
public class StatisticIntPair
{
@@ -1,8 +1,17 @@
namespace Disco.Models.UI.Config.Enrolment
using System;
namespace Disco.Models.UI.Config.Enrolment
{
public interface ConfigEnrolmentIndexModel : BaseUIModel
{
string MacSshUsername { get; set; }
int PendingTimeoutMinutes { get; set; }
Uri MacEnrolUrl { get; set; }
bool HostingPluginInstalled { get; set; }
bool IsVicSmartDeployment { get; set; }
bool IsServicesEducationVicGovAuDomain { get; set; }
string DnsSrvRecordName { get; set; }
string DnsSrvRecordValue { get; set; }
bool LegacyDiscoveryEnabled { get; set; }
}
}