MantraBlockSenders.psd1

@{
    RootModule = 'MantraBlockSenders.psm1'
    ModuleVersion = '1.0.1'
    CompatiblePSEditions = @('Desktop', 'Core')
    GUID = 'f8a1b2c3-d4e5-4f67-8901-234567890abc'
    Author = 'Mantra'
    CompanyName = 'Mantra'
    Copyright = '(c) 2026 Mantra. All rights reserved.'

    Description = @'
Mantra Threats Block - Automated email protection for Microsoft 365

This PowerShell module simplifies the onboarding process for Mantra Threats Block,
allowing administrators to quickly configure sender and domain blocking capabilities
on their Microsoft 365 tenant.

Features:
- Automatic configuration of Exchange Online permissions
- RBAC role creation with least privilege (blocking only)
- Easy setup with a single command
- Compatible with all Microsoft 365 licenses (Business Basic to E5)

Get your configuration parameters by authorizing at https://app.mantra.ms
'@


    PowerShellVersion = '5.1'

    RequiredModules = @(
        @{
            ModuleName='ExchangeOnlineManagement'
            ModuleVersion='3.0.0'
        }
    )

    FunctionsToExport = @(
        'Connect-MantraBlockSenders',
        'Test-MantraBlockSendersConnection',
        'Get-MantraBlockSendersHelp'
    )

    CmdletsToExport = @()
    VariablesToExport = @()

    AliasesToExport = @(
        'Setup-MantraBlockSenders',
        'Test-MantraBlockSenders'
    )

    PrivateData = @{
        PSData = @{
            Tags = @(
                'Mantra',
                'ThreatManagement',
                'Email',
                'Security',
                'Exchange',
                'Microsoft365',
                'Phishing',
                'Spam',
                'Blocking',
                'O365',
                'ExchangeOnline'
            )

            LicenseUri = 'https://gitlab.com/mantrams/mantra-gallery-module/blob/main/LICENSE'
            ProjectUri = 'https://gitlab.com/mantrams/mantra-gallery-module'
            IconUri = 'https://app.mantra.ms/assets/icon.png'

            ReleaseNotes = @'
## Version 1.0.0 (2026-03-23)

Initial release of MantraBlockSenders PowerShell module.

### Features
- Connect-MantraBlockSenders: Simplified tenant onboarding
- Test-MantraBlockSendersConnection: Configuration validation
- Get-MantraBlockSendersHelp: Built-in help

### Requirements
- Microsoft 365 tenant
- Global Administrator or Exchange Administrator role
- ExchangeOnlineManagement module v3.0.0+

### Quick Start
1. Authorize at https://app.mantra.ms
2. Copy the displayed command and run in PowerShell

Full documentation: https://app.mantra.ms/docs
'@

        }
    }

    HelpInfoURI = 'https://app.mantra.ms/docs/powershell'
}