CyCLI.psm1

. $PSScriptRoot\CyHelper.ps1
. $PSScriptRoot\CyCrypto.ps1
. $PSScriptRoot\CyTDR.ps1
. $PSScriptRoot\CyAPI.ps1
. $PSScriptRoot\CyDevices.ps1
. $PSScriptRoot\CyThreats.ps1
. $PSScriptRoot\CyZones.ps1
. $PSScriptRoot\CyPolicies.ps1
. $PSScriptRoot\CyInstallers.ps1
. $PSScriptRoot\CyGlobalLists.ps1
. $PSScriptRoot\CyUsers.ps1
. $PSScriptRoot\CyOptics.ps1

# API module
Export-ModuleMember Get-CyAPI
Export-ModuleMember Get-CyJwtToken
Export-ModuleMember Get-CyClaimsFromJwtToken
Export-ModuleMember Get-CyGlobalSettings
Export-ModuleMember Set-CyGlobalSettings
Export-ModuleMember Invoke-CyRestMethod
Export-ModuleMember Get-CyConsoleArgumentAutoCompleter
Export-ModuleMember Get-CyDateFromString

Export-ModuleMember Get-CyZoneList

# Devices
Export-ModuleMember Get-CyDeviceList
Export-ModuleMember Get-CyDeviceDetail

Export-ModuleMember Get-CyZone
Export-ModuleMember Get-CyThreatDetail
Export-ModuleMember New-CyZone
Export-ModuleMember Add-CyDeviceToZone

Export-ModuleMember Get-CyAPIHandle
Export-ModuleMember Clear-CyAPIHandle

# Threats
Export-ModuleMember Get-CyDeviceThreatList
Export-ModuleMember Update-CyDeviceThreat
Export-ModuleMember Add-CyHashToGlobalList
Export-ModuleMember Get-CyGlobalList
Export-ModuleMember Remove-CyHashFromGlobalList

Export-ModuleMember -Variable CyAPIHandle
Export-ModuleMember Read-CyData
Export-ModuleMember Remove-CyZone
Export-ModuleMember Remove-CyDeviceFromZone
Export-ModuleMember Set-CyPolicyForDevice
Export-ModuleMember Get-CyAgentInstallerLink
Export-ModuleMember Remove-CyDevice
Export-ModuleMember Get-CyThreatDownloadLink
Export-ModuleMember Get-CyThreatDeviceList
Export-ModuleMember Get-CyDeviceDetailByMac

Export-ModuleMember Get-CyUserList
Export-ModuleMember Get-CyUserDetail

# Policies
Export-ModuleMember Get-CyPolicy
Export-ModuleMember Get-CyPolicyList
Export-ModuleMember New-CyPolicy
Export-ModuleMember Remove-CyPolicy
Export-ModuleMember Add-CyPolicyListSetting
Export-ModuleMember Copy-CyPolicy
Export-ModuleMember Update-CyPolicy
Export-ModuleMember New-CyPolicy
Export-ModuleMember Get-CyPolicyScaffold

# TDR module
Export-ModuleMember Get-CyTDRs
Export-ModuleMember Convert-CyTDRsToXLSX

# Helper
Export-ModuleMember Get-CyConsoleArgumentAutoCompleter
Export-ModuleMember Get-CyConsoleConfig
Export-ModuleMember New-CyConsoleConfig
Export-ModuleMember Remove-CyConsoleConfig

# Optics
Export-ModuleMember Get-CyDetectionList
Export-ModuleMember Get-CyDetectionDetail
Export-ModuleMember Remove-CyDetection
Export-ModuleMember Update-CyDetection