LibreDevOpsHelpers.psd1
|
# # Module manifest for module 'LibreDevOpsHelpers' # # Generated by: Craig Thacker # # Generated on: 23/03/2024 # @{ # Script module or binary module file associated with this manifest. RootModule = '.\LibreDevOpsHelpers.psm1' # Version number of this module. ModuleVersion = '2.2.6' # Supported PSEditions # CompatiblePSEditions = @() # ID used to uniquely identify this module GUID = '62141f8c-60b9-4bea-9a20-fee75504039c' # Author of this module Author = 'Craig Thacker' # Company or vendor of this module CompanyName = 'Libre DevOps' # Copyright statement for this module Copyright = '(c) Craig Thacker. All rights reserved.' # Description of the functionality provided by this module Description = 'Enterprise grade PowerShell helpers for Azure, Terraform, Microsoft Graph, and DevOps tooling. All commands use the Ldo prefix.' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '7.2' # 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 # RequiredModules = @() # 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 = @( 'LibreDevOpsHelpers.AzureCli/LibreDevOpsHelpers.AzureClilogin.psm1', 'LibreDevOpsHelpers.AzureDevOps/LibreDevOpsHelpers.AzureDevOps.psm1', 'LibreDevOpsHelpers.AzureFunctionApps/LibreDevOpsHelpers.AzureFunctionApps.psm1', 'LibreDevOpsHelpers.AzureKeyVault/LibreDevOpsHelpers.AzureKeyVault.psm1', 'LibreDevOpsHelpers.AzureNsg/LibreDevOpsHelpers.AzureNsg.psm1', 'LibreDevOpsHelpers.AzurePowerShell/LibreDevOpsHelpers.AzurePowerShell.psm1', 'LibreDevOpsHelpers.AzureStorage/LibreDevOpsHelpers.AzureStorage.psm1', 'LibreDevOpsHelpers.Checkov/LibreDevOpsHelpers.Checkov.psm1', 'LibreDevOpsHelpers.Choco/LibreDevOpsHelpers.Choco.psm1', 'LibreDevOpsHelpers.Defender/LibreDevOpsHelpers.Defender.psm1', 'LibreDevOpsHelpers.Docker/LibreDevOpsHelpers.Docker.psm1', 'LibreDevOpsHelpers.Github/LibreDevOpsHelpers.Github.psm1', 'LibreDevOpsHelpers.GitLab/LibreDevOpsHelpers.GitLab.psm1', 'LibreDevOpsHelpers.Graph/LibreDevOpsHelpers.Graph.psm1', 'LibreDevOpsHelpers.Homebrew/LibreDevOpsHelpers.Homebrew.psm1', 'LibreDevOpsHelpers.Logger/LibreDevOpsHelpers.Logger.psm1', 'LibreDevOpsHelpers.Packer/LibreDevOpsHelpers.Packer.psm1', 'LibreDevOpsHelpers.Pester/LibreDevOpsHelpers.Pester.psm1', 'LibreDevOpsHelpers.Python/LibreDevOpsHelpers.Python.psm1', 'LibreDevOpsHelpers.Tenv/LibreDevOpsHelpers.Tenv.psm1', 'LibreDevOpsHelpers.Terraform/LibreDevOpsHelpers.Terraform.psm1', 'LibreDevOpsHelpers.Terraform.AzureImport/LibreDevOpsHelpers.Terraform.AzureImport.psm1', 'LibreDevOpsHelpers.TerraformDocs/LibreDevOpsHelpers.TerraformDocs.psm1', 'LibreDevOpsHelpers.TfLint/LibreDevOpsHelpers.TfLint.psm1', 'LibreDevOpsHelpers.Trivy/LibreDevOpsHelpers.Trivy.psm1', 'LibreDevOpsHelpers.Utils/LibreDevOpsHelpers.Utils.psm1', 'LibreDevOpsHelpers.Uv/LibreDevOpsHelpers.Uv.psm1' ) # 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 = @( 'Add-LdoDefenderAvExclusion', 'Add-LdoFunctionAppCurrentIpRule', 'Add-LdoKeyVaultCurrentIpRule', 'Add-LdoMdatpExclusion', 'Add-LdoNsgCurrentIpRule', 'Add-LdoStorageCurrentIpRule', 'Add-LdoUvPackage', 'Assert-LdoChocoPath', 'Assert-LdoCommand', 'Assert-LdoDockerExists', 'Assert-LdoEnvironmentVariable', 'Assert-LdoHomebrewPath', 'Assert-LdoLastExitCode', 'Build-LdoDockerImage', 'Clear-LdoGraphTokenCache', 'Clear-LdoTraceContext', 'Clear-LdoVenv', 'Compress-LdoFunctionAppSource', 'Connect-LdoAzureCli', 'Connect-LdoAzureCliClientSecret', 'Connect-LdoAzureCliDeviceCode', 'Connect-LdoAzureCliManagedIdentity', 'Connect-LdoAzureCliOidc', 'Connect-LdoAzurePowerShell', 'Connect-LdoAzurePowerShellClientSecret', 'Connect-LdoAzurePowerShellDeviceCode', 'Connect-LdoAzurePowerShellManagedIdentity', 'Connect-LdoGlab', 'Convert-LdoTerraformPlanToJson', 'ConvertTo-LdoBoolean', 'ConvertTo-LdoNull', 'Disconnect-LdoAzureCli', 'Disconnect-LdoAzurePowerShell', 'Format-LdoTerraform', 'Format-LdoTerraformCode', 'Format-LdoTerraformOutputs', 'Format-LdoTerraformVariables', 'Get-LdoAzureDevOpsOrgId', 'Get-LdoDefenderAlert', 'Get-LdoDefenderAvStatus', 'Get-LdoDefenderPlan', 'Get-LdoDefenderRecommendation', 'Get-LdoDefenderSecureScore', 'Get-LdoFunctionAppDefaultUrl', 'Get-LdoGitHubActionsInput', 'Get-LdoGitLabCiVariable', 'Get-LdoGlabCiVariable', 'Get-LdoGlabPipeline', 'Get-LdoGraphErrorDetail', 'Get-LdoGraphToken', 'Get-LdoLogFormat', 'Get-LdoLogLevel', 'Get-LdoMdatpHealth', 'Get-LdoOperatingSystem', 'Get-LdoPublicIpAddress', 'Get-LdoTerraformFileContent', 'Get-LdoTerraformImportResourceId', 'Get-LdoTerraformStackFolders', 'Get-LdoTraceContext', 'Get-LdoUvPython', 'Initialize-LdoVenv', 'Install-LdoAzureCli', 'Install-LdoCheckov', 'Install-LdoGlab', 'Install-LdoTenv', 'Install-LdoTfLint', 'Install-LdoTrivy', 'Install-LdoUv', 'Install-LdoUvPython', 'Invoke-LdoAzureDevOpsTokenReplacement', 'Invoke-LdoAzureDevOpsTokenReplacementRevert', 'Invoke-LdoCheckov', 'Invoke-LdoDefenderAvScan', 'Invoke-LdoDefenderDeviceIsolation', 'Invoke-LdoDefenderHuntingQuery', 'Invoke-LdoFunctionAppZipDeploy', 'Invoke-LdoGlabPipeline', 'Invoke-LdoGraphRequest', 'Invoke-LdoPackerBuild', 'Invoke-LdoPackerInit', 'Invoke-LdoPackerValidate', 'Invoke-LdoPackerWorkflow', 'Invoke-LdoPesterTest', 'Invoke-LdoPytestRun', 'Invoke-LdoPythonInstallRequirements', 'Invoke-LdoTenvTerraformInstall', 'Invoke-LdoTerraformApply', 'Invoke-LdoTerraformDestroy', 'Invoke-LdoTerraformFmtCheck', 'Invoke-LdoTerraformImportFromPlan', 'Invoke-LdoTerraformInit', 'Invoke-LdoTerraformPlan', 'Invoke-LdoTerraformPlanDestroy', 'Invoke-LdoTerraformValidate', 'Invoke-LdoTerraformWorkspaceSelect', 'Invoke-LdoTfLint', 'Invoke-LdoTrivy', 'Invoke-LdoUvLock', 'Invoke-LdoUvPipInstall', 'Invoke-LdoUvPipUninstall', 'Invoke-LdoUvRun', 'Invoke-LdoUvSync', 'Invoke-LdoWithRetry', 'New-LdoCorrelationId', 'New-LdoGlabMergeRequest', 'New-LdoGlabRelease', 'New-LdoHexId', 'New-LdoPassword', 'New-LdoRandomSequence', 'New-LdoSpanId', 'New-LdoTraceId', 'New-LdoUvVenv', 'New-LdoVenv', 'Push-LdoDockerImage', 'Register-LdoPesterAssertion', 'Remove-LdoFunctionAppCurrentIpRule', 'Remove-LdoKeyVaultCurrentIpRule', 'Remove-LdoNsgRule', 'Remove-LdoPythonPackages', 'Remove-LdoStorageCurrentIpRule', 'Remove-LdoUvPackage', 'Remove-LdoVenv', 'Set-LdoDefenderPlan', 'Set-LdoFunctionAppSetting', 'Set-LdoGitLabCiOutput', 'Set-LdoGlabCiVariable', 'Set-LdoLogFormat', 'Set-LdoLogLevel', 'Set-LdoReadmeHeader', 'Set-LdoTerraformFileContent', 'Set-LdoTraceContext', 'Set-LdoUvPythonPin', 'Start-LdoDefenderAvScan', 'Start-LdoMdatpScan', 'Test-LdoAzureCliConnection', 'Test-LdoAzurePowerShellConnection', 'Test-LdoCommandOutputMatch', 'Test-LdoGlab', 'Test-LdoPath', 'Test-LdoTenv', 'Test-LdoUv', 'Test-LdoZeroExitCode', 'Update-LdoDefenderAvSignature', 'Update-LdoMdatpDefinition', 'Update-LdoReadmeWithTerraformDocs', 'Use-LdoVenv', 'Wait-LdoGlabPipeline', 'Write-LdoGitLabCiSection', 'Write-LdoLog' ) # 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 = @{ ReadmeFile = 'https://raw.githubusercontent.com/libre-devops/powershell-helpers/refs/heads/main/README.md' LicenseUri = 'https://raw.githubusercontent.com/libre-devops/powershell-helpers/main/LICENSE' ProjectUri = 'https://github.com/libre-devops/powershell-helpers' IconUri = 'https://libredevops.org/favicon.ico' Tags = 'terraform', 'devops', 'azure', 'checkov', 'trivy', 'tflint', 'helpers' ReleaseNotes = 'v2.2.6: Invoke-LdoTrivy now picks up a committed ignore file in the code path (.trivyignore.yaml, .trivyignore.yml, or .trivyignore) and passes it with --ignorefile (Trivy does not auto-discover .trivyignore.yaml), adds an -IgnoreFile parameter to point at one explicitly, and falls back to -TrivySkipChecks only when no ignore file is present. This is the Libre DevOps convention for recording scan waivers with a justification. v2.2.5: Format-LdoTerraformVariables and Format-LdoTerraformOutputs now keep a comment block sitting directly above a variable or output with that block when sorting (previously such comments were dropped), and anchor the declaration at line start so the word variable or output inside a description string is not mistaken for a new block. v2.2.4: Invoke-LdoTrivy guards TrivySkipChecks.Count against a null value (a splatted empty array). v2.2.3: Install-LdoTfLint downloads the official release binary, resolving latest at runtime (the install script is being retired). v2.2.2: fix Install-LdoTfLint on Linux (tflint is not a Homebrew formula; use the official install script). v2.2.1: fix Invoke-LdoTrivy for trivy 0.71+ (drop the removed --no-progress flag; gate on --severity HIGH,CRITICAL with --exit-code 1; skip checks via a temporary .trivyignore). v2.2.0: add the TfLint module (Install-LdoTfLint, Invoke-LdoTfLint); upgrade Write-LdoLog to the full OpenTelemetry log record (severity_number, service.name, trace_id/span_id/correlation_id) with TRACE and FATAL levels and a Set-LdoTraceContext trace context; add New-LdoTraceId/New-LdoSpanId/New-LdoCorrelationId/New-LdoHexId; rework Update-LdoReadmeWithTerraformDocs to use a HEADER.md and terraform-docs inject markers, with a new Set-LdoReadmeHeader. See README.md.' } } } |