namespace SharepointToolbox.Core.Models;

/// <summary>
/// Immutable scan configuration value object.
/// Controls which SharePoint objects are included in the permission scan.
/// </summary>
public record ScanOptions(
    bool IncludeInherited = false,  // When false: only objects with unique permissions are returned
    bool ScanFolders      = true,   // Include folder-level permission entries
    int  FolderDepth      = 1,      // Max folder depth to scan (999 = unlimited)
    bool IncludeSubsites  = false   // Whether to recursively scan subsites
);
