Files
git.stella-ops.org/src/__Libraries/StellaOps.Configuration/AuthorityVulnerabilityExplorerOptions.cs

24 lines
686 B
C#

namespace StellaOps.Configuration;
/// <summary>
/// Options controlling vulnerability explorer specific features exposed by Authority.
/// </summary>
public sealed class AuthorityVulnerabilityExplorerOptions
{
/// <summary>
/// Workflow-oriented configuration (anti-forgery tokens, CSRF enforcement helpers).
/// </summary>
public AuthorityVulnWorkflowOptions Workflow { get; } = new();
/// <summary>
/// Attachment handling configuration (signed access tokens).
/// </summary>
public AuthorityVulnAttachmentOptions Attachments { get; } = new();
internal void Validate()
{
Workflow.Validate();
Attachments.Validate();
}
}