-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPowerStigConvert.psm1
27 lines (26 loc) · 980 Bytes
/
PowerStigConvert.psm1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#Requires -Version 5.0
#region Public
<#
A funny note if you have OCD. The order of the dot sourced files is important due to the way
that PowerShell processes the files (Top/Down). The Classes in the moduel depend on the
enumerations, so if you want to alphabetize this list, don't. PowerShell with throw an error
indicating that the enumerations can't be found, if you try to load the classes before the
enumerations.
#>
Import-Module $PSScriptRoot\private\Main.psm1
. $PSScriptRoot\public\common\main.dscXml.ps1
. $PSScriptRoot\public\common\main.report.ps1
. $PSScriptRoot\public\common\main.xccdfXml.ps1
#endregion
# Region Private
. $PSScriptRoot\private\common\main.dscXml.ps1
. $PSScriptRoot\private\common\main.report.ps1
. $PSScriptRoot\private\common\main.xccdfXml.ps1
#endregion
Export-ModuleMember -Function @(
'ConvertFrom-StigXccdf',
'ConvertTo-DscStigXml',
'Compare-DscStigXml',
'Get-ConversionReport',
'Split-StigXccdf'
)