HostBadger.psd1

#
# GENERATED by tools\New-HostBadgerModule.ps1. Do not edit: build it again instead.
#
@{
    RootModule           = 'HostBadger.psm1'
    ModuleVersion        = '3.4'
    GUID                 = 'b70f2e8a-3b7c-4473-86ba-fc3841d7b41d'
    Author               = 'Gabriele Piccini'
    CompanyName          = 'Gabriele Piccini'
    Copyright            = '(c) 2026 Gabriele Piccini. MIT licence.'
    PowerShellVersion    = '5.1'
    CompatiblePSEditions = @('Desktop', 'Core')
    Description          = 'Windows host hardening auditor. Collect once on each host with a read-only snapshot (as SYSTEM through an EDR, an RMM, Intune, a startup script or PowerShell remoting), then analyze anywhere: 236 checks plus about 500 DISA STIG registry rules, mapped to MITRE ATT&CK, the CIS Windows benchmarks, the ASD Essential Eight and NIS2 / ACN. One HTML report for the whole fleet, a findings CSV, JSON Lines for a SIEM, and a generated reversible remediation script. Pure PowerShell, Windows PowerShell 5.1 and PowerShell 7, no agent, and no network unless you ask for a catalog download or the optional AI summary. A check whose data could not be collected is listed as not evaluated, never as clean.'

    FunctionsToExport    = @(
        'Get-HostBadgerPath',
        'Invoke-HostBadger',
        'New-HostSnapshot',
        'New-SyntheticHostSnapshot',
        'Start-HostBadger',
        'Start-HostBadgerGui',
        'Test-HostBadgerSafety'
    )
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @(
        'Collect-HostSnapshot'
    )

    FileList             = @(
        'CHANGELOG.md',
        'Collect-HostSnapshot.ps1',
        'COVERAGE.md',
        'data\acn-nis2-measures.json',
        'data\attack-paths.json',
        'data\cis-map.json',
        'data\malicious-extensions.json',
        'data\recent-attacks.json',
        'data\remediation-profiles.json',
        'data\stig-catalog.json',
        'data\vulnerable-drivers.json',
        'examples\exceptions.example.json',
        'examples\fleet\hostsnapshot_dc.json',
        'examples\fleet\hostsnapshot_hardened.json',
        'examples\fleet\hostsnapshot_laptop.json',
        'examples\fleet\hostsnapshot_partial.json',
        'examples\fleet\hostsnapshot_weak.json',
        'examples\policy.example.json',
        'HostBadger.ps1',
        'HostBadger.psm1',
        'lib\AI.ps1',
        'lib\Checks.ps1',
        'lib\Common.ps1',
        'lib\Remediation.ps1',
        'lib\Reporting.ps1',
        'LICENSE',
        'README.md',
        'SECURITY.md',
        'Start-HostBadger.ps1',
        'Start-HostBadgerGui.ps1',
        'Test-HostBadgerSafety.ps1',
        'tests\New-SyntheticHostSnapshot.ps1'
    )

    PrivateData          = @{
        PSData = @{
            Tags         = @(
                'Security',
                'Hardening',
                'Audit',
                'Compliance',
                'Windows',
                'CIS',
                'STIG',
                'EssentialEight',
                'NIS2',
                'Defender',
                'BlueTeam',
                'IncidentResponse',
                'PSEdition_Desktop',
                'PSEdition_Core'
            )
            LicenseUri   = 'https://github.com/g4bri-3l3/HostBadger/blob/main/LICENSE'
            ProjectUri   = 'https://github.com/g4bri-3l3/HostBadger'
            ReleaseNotes = '## [3.4] - 2026-11-25
### Added
- **HostBadger on the PowerShell Gallery.** `Install-Module HostBadger` installs the
  analyzer, the collector, the libraries and the catalogs, and gives each entry
  point a command: `Invoke-HostBadger`, `New-HostSnapshot` (alias
  `Collect-HostSnapshot`), `Start-HostBadger`, `Start-HostBadgerGui`,
  `Test-HostBadgerSafety`, `New-SyntheticHostSnapshot`, and `Get-HostBadgerPath`
  to reach a file of the module (the collector to copy to a host, the synthetic
  fleet to analyze). The scripts are still the product: each function runs the
  script file itself, in process, so the script keeps its own `$PSScriptRoot` and
  finds `lib\` and `data\` where it always did. A SecureString parameter is easier
  this way than from a command line: `-SnapshotPassword` no longer has to cross a
  new PowerShell.
- `tools\New-HostBadgerModule.ps1` builds that module under `output\module`,
  outside the repository''s own files: anyone cloning the repository still gets a
  set of scripts with no build step and no manifest. The param block, its
  attributes and the comment based help of every function are copied from the
  script''s own source with the PowerShell parser, so the 66 parameters of
  `HostBadger.ps1` are never written down twice and the module cannot drift from
  the scripts. The regression reads the generated module without running it and
  fails if a parameter, an export or the version differs from the scripts.
- The package leaves out what a run does not read (the demo report and its GIF,
  the developer tools in `tools\`) and keeps `examples\fleet`, the synthetic
  snapshots the README analyzes first.'

        }
    }
}