NinjaOneLogger.psd1

@{
    RootModule           = 'NinjaOneLogger.psm1'
    ModuleVersion        = '0.2.0'
    GUID                 = '59a75d39-a293-437f-b2c3-b3af5ee90ed0'
    Author               = 'Xentek'
    CompanyName          = 'Xentek'
    Copyright            = '(c) Xentek. MIT-licensed.'
    Description          = 'Client logger for RMM scripts: buffer records, write NDJSON, and ship them anywhere. Point it at any HTTP endpoint you already have (storage SAS/presigned URL, webhook, collector) with -UploadUrl, write to local disk with -Path, or use the optional NinjaOneLogger broker with -BrokerUrl for short-lived, write-only upload URLs so no cloud credential is stored on the endpoint. Works standalone; the broker is not required.'
    PowerShellVersion    = '5.1'
    CompatiblePSEditions = @('Desktop', 'Core')
    FunctionsToExport    = @('Initialize-NinjaOneLogger', 'Write-NinjaOneLogRecord', 'Send-NinjaOneLog', 'Send-NinjaOneLogSpool')
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @()
    PrivateData          = @{
        PSData = @{
            Tags         = @('RMM', 'NinjaOne', 'MSP', 'logging', 'telemetry', 'Azure', 'Blob', 'S3', 'NDJSON')
            ProjectUri   = 'https://github.com/xentek-ca/NinjaOneLogger'
            LicenseUri   = 'https://github.com/xentek-ca/NinjaOneLogger/blob/main/LICENSE'
            ReleaseNotes = 'v0.2.0 — the module is now fully independent of the broker. New -UploadUrl (Direct) mode ships NDJSON to any HTTP endpoint you already have, and -Path (File) mode writes to local disk; neither needs any server-side component. {tenant}/{source}/{device}/{run_id}/{date} placeholders are substituted in URLs and paths, and Send-NinjaOneLog -PassThru returns the raw NDJSON. Broker mode (-BrokerUrl/-Token) is unchanged and remains available for the no-standing-credential model. v0.1.0 — initial release: NDJSON envelope, local spooling with retry, Azure Blob (user-delegation SAS) and AWS S3 (presigned PUT) broker backends.'
        }
    }
}