HostBadger.psd1

#
# GENERATED by tools\New-HostBadgerModule.ps1. Do not edit: build it again instead.
#
@{
    RootModule           = 'HostBadger.psm1'
    ModuleVersion        = '3.6'
    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: 248 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.6] - 2026-12-04
### Added
- **Bloatware and telemetry in the report.** A "Bloatware and telemetry" panel in the
  dashboard lists, per host, the preinstalled apps and trials found (installed, provisioned
  or program) and whether Windows diagnostic data is sent beyond the required level. A host
  where the check could not run, was turned off by the policy or whose snapshot predates the
  field says "not judged", never "none found". The overview JSON of the report gains
  `privacy` per host; the JSON Lines host summary gains `bloatware_state`, `bloatware_count`,
  `telemetry_state` and `telemetry_level`.
- New check `telemetry_active` (248 checks in all, Low, category Privacy): the DiagTrack
  service is not disabled and no policy keeps `AllowTelemetry` at 0 or 1. The collector reads
  the policy value into `hardening.allowTelemetry` (read-only registry); the service comes from
  the existing `services` section. The remediation profiles already carry the setting
  (`-RemediationPrivacy`).

### Fixed
- `bloatware_installed` listed apps that were already removed. The per-user records of the
  Store (`AppxAllUserStore`) outlive the removal of an app, so the collector now leaves out a
  record whose `Path` is gone, or, when it has none, whose app is in the `Deprovisioned` list.
  An app updated since its record was written (an older version in the key) is kept.'

        }
    }
}