AzureScout.psd1

#
# Module manifest for module 'AzureScout'
#
# Author: Kristopher Turner
#
# Created: 2026-02-22
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'AzureScout.psm1'

# Version number of this module.
ModuleVersion = '3.18.6'

# Supported PSEditions
CompatiblePSEditions = @('Core')

# ID used to uniquely identify this module
GUID = 'a0785538-fd96-4960-bf93-c733f88519e0'

# Author of this module
Author = 'Kristopher Turner'

# Company or vendor of this module
CompanyName = 'Hybrid Cloud Solutions'

# Copyright statement for this module
Copyright = '(c) 2026 Hybrid Cloud Solutions. All rights reserved.'

# Description of the functionality provided by this module
Description = 'AzureScout — discover, inventory, and assess everything in your Azure environment from one command. Run Invoke-AzureScout with no parameters for a guided wizard, or drive it with switches: by default it inventories tenant-wide Azure ARM resources and produces the live React, Json, and JsonEvidence outputs; opt into Entra ID collection with -Scope All; add -Assessment to run a read-only CAF/WAF assessment. Detailed run logs capture debug and verbose diagnostics without adding console noise. See everything. Own your cloud. (Requires PowerShell 7 on PowerShell Core.)'

# Minimum version of the PowerShell engine required by this module
# AzureScout requires PowerShell 7+. Declaring this here makes Import-Module reject
# Windows PowerShell 5.1 (Desktop) cleanly and immediately, instead of the module
# loading and later crashing deep inside a strict-mode-sensitive code path (e.g. the
# Entra/Graph permission audit — see Invoke-AZTIPermissionAudit.ps1).
PowerShellVersion = '7.0'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module.
# Keep optional feature dependencies (for example Az.CostManagement) out of this list.
# Declaring the core dependencies here lets Install-Module resolve them and makes a
# source-tree Import-Module fail cleanly instead of installing software as a side effect.
# The live progress renderer is built into AzureScout and has no external module dependency.
RequiredModules = @(
    'ImportExcel'
    'Az.Accounts'
    'Az.ResourceGraph'
    'Az.Storage'
    'Az.Compute'
    'Az.Resources'
    'Az.Advisor'
    'Microsoft.Graph.Authentication'
    'powershell-yaml'
)

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
            #Public Jobs
            'Start-AZSCAdvisoryJob',
            'Start-AZSCPolicyJob',
            'Start-AZSCSecCenterJob',
            'Start-AZSCSubscriptionJob',

            #Public output maintenance
            'Clear-AZSCCacheFolder',

            #Public Diagram Functions
            'Build-AZSCDiagramSubnet',
            'Set-AZSCDiagramFile',
            'Start-AZSCDiagramJob',
            'Start-AZSCDiagramNetwork',
            'Start-AZSCDiagramOrganization',
            'Start-AZSCDiagramSubscription',
            'Start-AZSCDrawIODiagram',

            #Main Functions
            'Invoke-AzureScout',
            'Test-AZSCPermissions',

            #Guided setup wizard (AB#5541) -- what a bare Invoke-AzureScout opens
            'Start-AZSCWizard',

            #Assessment platform entry points (Epics AB#5023 / AB#5056, AB#5024)
            # Invoke-AzureScout is the supported assessment entry point.
            'Test-ScoutPermission',

            #Unattended pipeline entry point (AB#5050)
            'Invoke-ScoutPipeline',

            #Analysis functions -- offline, never call Azure (AB#324/AB#325/AB#326)
            'Get-ScoutInventoryDrift',
            'Get-ScoutCostAnomaly',
            'Get-ScoutIacGap',

            #Assessment config load/save (AB#373/AB#374)
            'Import-ScoutConfig',
            'Export-ScoutConfig'
)

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = @('Azure','AzureScout','Discovery','Inventory','Assessment','CAF','WAF','WellArchitected','CloudAdoptionFramework','LandingZone','Governance','AZSC','EntraID','Resources','ARM','Graph','Reporting','React','Json','JsonEvidence')

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/Hybrid-Solutions-Cloud/azure-scout/blob/main/LICENSE'

        # A URL to the main website for this project.
        ProjectUri = 'https://labs.hybridsolutions.cloud/azure-scout/'

        # A URL to an icon representing this module.
        IconUri = 'https://raw.githubusercontent.com/Hybrid-Solutions-Cloud/azure-scout/main/docs/public/images/azurescout-icon.svg'

        # ReleaseNotes of this module
        ReleaseNotes = 'v3.18.6 - Everything deployed is discovered. Discovery read 3 of the 63 Azure Resource Graph tables, so resources that live only in another table were never found. A full inventory now also reads every other table that holds deployed resources. That brings in role assignments and custom roles, policy assignments, exemptions and custom definitions, Lighthouse delegations, machine-configuration and maintenance assignments, Kubernetes extensions, DNS record sets, Defender plans and connectors, backup and replication policies, VM scale set instances and more (live: 12 resources to 488 in an eight-subscription tenant). Tables of events, state and telemetry are excluded, each with its reason. A test fails if a Resource Graph table is neither read nor excluded. A cross-check against each subscription''s Azure Resource Manager resource list adds any resource Resource Graph did not return. Five assessment queries that read the wrong Resource Graph table and always came back empty (Lighthouse delegations, Advisor scores, backup policies, AVD session hosts, Edge orders) now read the right one (live: 38 delegations, 143 scores, 17 policies, 2 session hosts that had been missed). v3.18.5 - Cost reads that wait out the throttle. When Cost Management throttled a VM or Arc server cost query (HTTP 429), the retries waited half a second and then one second, so the cost was lost and the tenant was marked Partial (live: one VM cost in a nine-subscription tenant). A throttled request now waits as long as Azure asks, read from Cost Management''s own rate-limit headers as well as Retry-After, or otherwise 5, 10, 20 and 40 seconds, and a cost query gets five attempts instead of three. The permissions page now lists the optional roles for reservation, savings-plan and billing-account data, which Reader cannot reach at any scope, and a refusal on those reads is reported as not assessed with the role named instead of marking the run Partial. v3.18.4 - A scan that does not stall on a dropped connection. The API Inventory step waited without limit on a stalled connection: live, each dropped connection held one read for about five minutes, so 20 subscriptions took 49 minutes instead of about 3 and the data from those reads was lost. Each read now stops after 120 seconds, and a dropped or timed-out connection is retried up to three times. The management-group pre-check takes about a second instead of over a minute and counts every group (10 instead of 1), sub-resource reads retry a dropped connection, a throttle or a server error, and the cost step logs each subscription''s rows and time. v3.18.3 - Faster security reads and provider check. The policy-state speed-up from 3.18.2 now actually runs (it skipped itself on Az.PolicyInsights 2.x), the rest of the security sweep and the -CheckResourceProviders check read concurrently (live: provider check 367 s to 75 s on 42 subscriptions; security sweep 158 s to 108 s on nine, identical data), provider details with case-colliding JSON keys are kept instead of lost, and a NIC on a stopped VM is not applicable instead of a warning. v3.18.2 - A menu without the pause, one log for every run. The guided menu no longer pauses for about a minute before the assessment list, and assessment-only runs (including every child of an assessment-only multi-tenant run) write scout-run.log from the start. A multi-tenant run stopped with Ctrl+C is marked Interrupted at once instead of staying Running. Every run writes one log file, scout-run.log (a multi-tenant run writes one at its root with a section per tenant), and a multi-tenant assessment-only run no longer fails every tenant after the first with an empty subscription list. Resource detail reads and policy-state reads run concurrently (a 42-subscription tenant spent about 10 minutes waiting on them one at a time), and a combined run makes no Azure or Graph calls of its own for the assessment. v3.18.1 - A full scan without the waits. Assessment rules run in about a millisecond each instead of about half a second, so the rule phase drops from almost 8 minutes to about 12 seconds with identical findings. -CheckResourceProviders reads each subscription with one listing, and a temporary Defender error is retried. Okta, on-premises identity and Azure DevOps report "not assessed" with the reason when they were not read, free-tier Defender gaps carry their reason, denied billing reads name the role that grants them, and a run is Partial only for real gaps. AB#9300. See CHANGELOG.md.'

        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update/save
        # RequireLicenseAcceptance = $false

    } # End of PSData hashtable

} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}