wip: doctor/cli/docs/api to vector db consolidation; api hardening for descriptions, tenant, and scopes; migrations and conversions of all DALs to EF v10
This commit is contained in:
@@ -17,6 +17,12 @@ public sealed class TriageCaseCurrent
|
||||
[Column("case_id")]
|
||||
public Guid CaseId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Tenant owning this case.
|
||||
/// </summary>
|
||||
[Column("tenant_id")]
|
||||
public string TenantId { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The asset ID.
|
||||
/// </summary>
|
||||
|
||||
@@ -18,6 +18,13 @@ public sealed class TriageFinding
|
||||
[Column("id")]
|
||||
public required Guid Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Tenant that owns this finding.
|
||||
/// </summary>
|
||||
[Required]
|
||||
[Column("tenant_id")]
|
||||
public required string TenantId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The asset this finding applies to.
|
||||
/// </summary>
|
||||
|
||||
@@ -16,6 +16,13 @@ public sealed class TriageScan
|
||||
[Column("id")]
|
||||
public required Guid Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Tenant that owns this scan.
|
||||
/// </summary>
|
||||
[Required]
|
||||
[Column("tenant_id")]
|
||||
public required string TenantId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Image reference that was scanned.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user