SqlCertForge.Audit.psd1

# =============================================================================
# Script : SqlCertForge.Audit.psd1
# Author : Keith Ramsey
# Created : 2026-06-30
# =============================================================================
# Change Log
# -----------------------------------------------------------------------------
# 2026-06-30 cross-suite meta Claude Read-only (audit) edition of SqlCertForge.
# Exports ONLY the 4 read-only verification/inventory
# functions -- no state-changing cmdlets. This is the
# free "Community / audit" tier and the surface the
# MVP PowerShell MCP exposes. State-changing tools live
# in the full SqlCertForge module (paid tier).
# Derived from SqlCertForge; regenerate from source.
# =============================================================================

@{
    RootModule           = 'SqlCertForge.Audit.psm1'
    ModuleVersion        = '1.0.0'
    GUID                 = 'efc8d2d0-9420-41d4-950c-9fd4b13a0425'
    Author               = 'Keith Ramsey'
    Description          = 'SqlCertForge (audit edition) -- READ-ONLY inventory and verification of SQL Server and Reporting Services (SSRS/PBIRS) TLS certificate bindings and HTTPS endpoints. Reports what is bound and whether endpoints actually serve; makes NO changes. The free/community surface; state-changing provisioning lives in the full SqlCertForge module.'
    PowerShellVersion    = '5.1'
    CompatiblePSEditions = @('Desktop', 'Core')

    # Exactly the four READ-ONLY functions -- no wildcard.
    FunctionsToExport    = @(
        'Get-RsHttpConfig'
        'Test-RsHttpsEndpoint'
        'Test-SqlCertBinding'
        'Test-RsCertBinding'
    )
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @()

    PrivateData = @{
        PSData = @{
            Tags         = @('SQL', 'TLS', 'Certificate', 'ReportingServices', 'PBIRS', 'SSRS', 'Audit', 'ReadOnly', 'MCP')
            ProjectUri   = 'https://detentpoint.com/sqlcertforge/'
            # Canonical MPL-2.0 text rather than a Detent Point URL. A LicenseUri on a
            # published Gallery version can never be corrected -- the version cannot be
            # edited or re-uploaded -- so it points somewhere that will outlive any site
            # restructure. The licence itself ships in the package as LICENSE.
            LicenseUri   = 'https://mozilla.org/MPL/2.0/'
            ReleaseNotes = 'v1.0.0: read-only audit edition -- four commands that inventory and verify SQL Server and Reporting Services certificate configuration, and never change anything. Safe against production. Runs on Windows PowerShell 5.1 and PowerShell 7. Includes a zero-dependency stdio MCP server so an AI assistant can run the checks.'
        }
    }
}