Devdeer.Caf.psd1

@{
    RootModule            = 'Devdeer.Caf.psm1'
    GUID                  = '44dfd2a4-e738-47a5-a08f-a41aa6124e2b'
    Author                = 'DEVDEER'
    CompanyName           = 'DEVDEER GmbH'
    Copyright             = '(c) 2024 DEVDEER GmbH. All rights reserved.'
    Description           = 'This module contains the functions to manage and prepare Azure Tenants in a CAF conform way.'
    DefaultCommandPrefix  = 'Caf'
    ModuleVersion         = '0.9.8'
    FunctionsToExport     = @(
        'Get-Context',
        'Use-Context',
        'Initialize-Subscriptions',
        'Initialize-Subscription',
        'Set-ServicePrincipal',
        'Initialize-ServicePrincipals',
        'Initialize-DeploymentSpGroup',
        'Use-ServicePrincipal',
        'New-Deployment',
        'Deploy-PolicyAssets',
        'Clear-PolicyAssets',
        'Start-Scoped',
        'Start-PimGroup',
        'Stop-PimGroup',
        'Start-PimRole',
        'Stop-PimRole',
        'Show-NamingConvention',
        'Approve-PimRole',
        'New-SqlFirewallRule',
        'Clear-AllSqlFirewallRules',
        'Restore-Locks',
        'Remove-Locks',
        'Remove-StaleRoleAssignments'
    )
    CmdletsToExport       = @(

    )
    PrivateData           = @{
        PSData = @{
            Tags         = @(
                'DEVDEER',
                'Azure',
                'Az',
                'ARM',
                'Subscription',
                'Tenant',
                'CAF')
            # LicenseUri = ''
            ProjectUri   = 'https://devdeer.com'
            IconUri      = 'https://devdeer.blob.core.windows.net/shared/devdeer/logo_squared_240_bluelight.png'
            ReleaseNotes = @"
- Added new function Remove-CafStaleRoleAssignments.
- Initialize-CafServicePrincipals now automatically calls Remove-CafStaleRoleAssignments also.
- Restore-CafLocks only takes the locks in and uses the resource id of every lock to determine the scope automatically.
- Get-CafContext now comes with default naming conventions pre-filled.
- Naming conventions now support 2 transformers: "uppercase", "lowercase"
- New option "forceAzConfig" in .azcontext will force Get-CafContext to apply defaults to the PowerShell AzConfig.
- New-CafDeployment now sets DeploymentDebugLogLevel to None by default and allows to pass it in.
- New-CafStaleRoleAssignments removes all the stale role assignmetns in the tenant.
- Initialize-CafServicePrincipals now also removes stale role assignments as default.
- Initialize-CafServicePrincipals now has a -whatif switch to show what would be done.
- Set-CafServicePrincipal now has a -whatif switch to show what would be done.
"@

        }
    }
    RequiredModules       = @(

    )
    #PowerShellVersion = '7.1'
    PowerShellHostName    = 'ConsoleHost'
    PowerShellHostVersion = '7.1'
    # DotNetFrameworkVersion = ''
    # CLRVersion = ''
    # ProcessorArchitecture = ''
    # RequiredAssemblies = @()
    # ScriptsToProcess = @()
    # TypesToProcess = @()
    # FormatsToProcess = @()
    # NestedModules = @()
    VariablesToExport     = '*'
    AliasesToExport       = @()
    # DscResourcesToExport = @()
    # ModuleList = @()
    # FileList = @()
    # HelpInfoURI = ''
}