ComplianceDiagnosticDataClassification.psm1

Import-Module "$PSScriptRoot\ComplianceDiagnosticUtils.psm1"


#region Classification
function Confirm-ClassificationCommandsPresent {
    # Check if Classification Commands are present
    $command = Get-Command Get-DlpSensitiveInformationType -ErrorAction SilentlyContinue
    if ($command -eq $null) {
        return $false
    }
    
    $command = Get-Command Get-DlpSensitiveInformationTypeRulePackage -ErrorAction SilentlyContinue
    if ($command -eq $null) {
        return $false
    }
    
    $command = Get-Command Get-DlpKeywordDictionary -ErrorAction SilentlyContinue
    if ($command -eq $null) {
        return $false
    }
    
    return $true
}

function Initialize-ClassificationTab{
    $global:ClassificationControlVariables.ClassificationFiddlerFiles = $null
    $global:ClassificationControlVariables.ClassificationReproFiles = $null
}

function Initialize-EdmTab{
    $global:ClassificationControlVariables.ClassificationEdmReproFiles = $null
    $global:ClassificationControlVariables.ClassificationEdmSchemaFiles = $null
    $global:ClassificationControlVariables.ClassificationEdmTraceFiles = $null
    $global:ClassificationControlVariables.ClassificationEdmConfigFiles = $null
    $global:ClassificationControlVariables.ClassificationEdmFiddlerFiles = $null
}

function Initialize-LATab{
    $global:ClassificationControlVariables.ClassificationLAFiddlerFiles = $null
}


function Get-ClassificationTabContent($TabObject){
    [Parameter(Mandatory=$true)]
    [Windows.Controls.TabItem] $TabObject
    
    GetGlobalTenantSits

        # Collect diagnostic data from user
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent = New-Object Windows.Controls.StackPanel
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.HorizontalAlignment = [Windows.HorizontalAlignment]::Center
    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate = Get-TemplateGrid
    
    $ClassificationPanelGrid = New-Object Windows.Controls.Grid
    $ClassificationTopTabControl = Get-TopTabControl
    $ClassificationPanelGrid.Children.Add($ClassificationTopTabControl.TopTabControl) > $null

    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate = Get-TemplateGrid


    $clsDiagscrollViewer = New-Object Windows.Controls.ScrollViewer
    $clsDiagscrollViewer.VerticalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $clsDiagscrollViewer.HorizontalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $clsDiagscrollViewer.Content = $global:ClassificationControlVariables.ClassificationSupportPanelTemplate.Grid
    $ClassificationTopTabControl.GatherSupportDataTabItem.Content = $clsDiagscrollViewer

    $ClassificationSupportButton = Get-Button -ButtonName "Classification" -Margin '10,50,10,10' -width 200 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate.Column1.Children.Add($ClassificationSupportButton) > $null

    $EDMSupportButton = Get-Button -ButtonName "EDM" -Margin '10,50,10,10' -width 200 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate.Column1.Children.Add($EDMSupportButton) > $null

    $LabelAnalyticsSupportButton = Get-Button -ButtonName "Activity/Content Explorer" -Margin '10,50,10,10' -width 200 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate.Column1.Children.Add($LabelAnalyticsSupportButton) > $null

    $ClassificationSupportButton.Add_Click({    
        Initialize-ClassificationTab
        Get-ClassificationSupportTemplate
    })

    $EDMSupportButton.Add_Click({
        Initialize-EdmTab
        Get-EDMSupportTemplate
    })

    $LabelAnalyticsSupportButton.Add_Click({
        Initialize-LATab
        Get-LabelAnalyticsSupportTemplate
    })

    $global:ClassificationControlVariables.ClassificationSupportPanelTemplate.Column2.Children.Add($global:ClassificationControlVariables.ClassificationSupportDataTabContent ) > $null

    $TabObject.Content = $ClassificationPanelGrid
}

function Get-LabelAnalyticsSupportTemplate(){
    $blueColor = [System.Windows.Media.Color]::FromRgb(63, 119, 206)
    $supportDataHeader = Show-Text -Text "Activity/Content Explorer Support Data collection" -Color $blueColor -fontSize 20

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Clear()
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($supportDataHeader) > $null

    $tableGrid = Get-Table -columns 4 -rows 6  

    ###
    $impactedItemLabel = Show-Text -Text "Impacted Item Identifier" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 1 -Control $impactedItemLabel

    $global:ClassificationControlVariables.impactedItemIdentifier = Get-TextBox -Width 400 -Margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 2 -Control $global:ClassificationControlVariables.impactedItemIdentifier

    $idHelpText = "Identifier guide:`nEmail: Message id eg: <PH0PR00MB099ASDAASDFBFD99@PH0PR00MB0999.namprd00.prod.outlook.com>`nSharepoint/OD4B: Unique Id GUID or Path of document`nTeams: MessageId of the message or Exact time in UTC`nEndpoint: Document Path eg: C:\Test data\IDEA Data\Dadrdag\SAMPLE.docx"
    $impactedItemHelpLabel = Show-Text -Text $idHelpText -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 1 -column 2 -Control $impactedItemHelpLabel
    
    $dateTimeLabel = Show-Text -Text "Date & Time of issue (UTC)" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 1 -Control $dateTimeLabel

    $dateTimeButton = Get-Button -ButtonName "Select date & Time" -Margin "0,0,10,0" -HorizontalAlignment "Left" -height 30 -width 220
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 2 -Control $dateTimeButton

    $global:ContextScopeVariables["LADateTimeLabel"] = Show-Text -Text "UTC Date Time" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 3 -Control $global:ContextScopeVariables["LADateTimeLabel"]
    
    $dateTimeButton.Add_Click({
        $global:ContextScopeVariables.DateTimeProp = "LADateTime"
        $global:ContextScopeVariables["LADateTime"] = ""
        Get-DateTimePickerDialog 
    })
    
    $impactedUserLabel = Show-Text -Text "User Id" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 1 -Control $impactedUserLabel

    $global:ClassificationControlVariables.impactedUserIdentifier = Get-TextBox -Width 400 -Margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 2 -Control $global:ClassificationControlVariables.impactedUserIdentifier

    $ClassificationLAFiddlerFilesbel = Show-Text -Text "Fiddler or har trace file" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 4 -column 1 -Control $ClassificationLAFiddlerFilesbel

    $FiddlerFileButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationLAFiddlerLabel" `
        -GlobalFileListName "ClassificationLAFiddlerFiles" `
        -ButtonName "Browse Supporting Files" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
    Add-ControlToTableAt -TableObj $tableGrid -row 4 -column 2 -Control $FiddlerFileButton  
    
    $global:ClassificationControlVariables.ClassificationLAFiddlerLabel = Show-Text -Text "Attached Traces" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 5 -column 2 -Control $global:ClassificationControlVariables.ClassificationLAFiddlerLabel

    $tableGrid.Margin = New-Object System.Windows.Thickness(10,30,10,10)
    $tableGrid.HorizontalAlignment = "Center"

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($tableGrid) > $null

    $ClassificationExport = Get-Button -ButtonName "Export Support Data" 
    $ClassificationExport.Margin = New-Object System.Windows.Thickness(10,50,10,10)
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($ClassificationExport) > $null

    $ClassificationExport.Add_Click({
    
        $Folder = Get-ExportFolder("ExportedExplorerData")
        if (!$Folder) {
            return
        }
        $filePath = $Folder + "\"+"LAExplorerExport.Json"
            
        $supportData=@{}
        $supportData["ImpactedItem"] = $global:ClassificationControlVariables.impactedItemIdentifier.Text
        $supportData["UserId"] = $global:ClassificationControlVariables.impactedUserIdentifier.Text
        # $supportData["Forests"] = Get-ForestInfo
        $supportData["DateTime"] = $global:ContextScopeVariables["LADateTime"]

        try {
            # Copy the files to the destination folder
            $supportData["SupportingFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationLAFiddlerFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationLAFiddlerFiles) {
                # $destinationFile = Join-Path $zipFilePath (Split-Path $file -Leaf)
                Copy-Item $file $Folder -Force
            }

            CleanAndShowFolder -Folder $Folder -supportData $supportData -filePath $filePath
        }
        catch {
            [System.Windows.MessageBox]::Show("Failed to create zip file. Error message: $_", "Error", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Error)
        }
    })
}

function Get-EDMSupportTemplate(){

    $redColor = [System.Windows.Media.Color]::FromRgb(200, 10, 10)
    $blueColor = [System.Windows.Media.Color]::FromRgb(63, 119, 206)
    $supportDataHeader = Show-Text -Text "EDM Support Data Template" -Color $blueColor -fontSize 20

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Clear()
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($supportDataHeader) > $null

    $tableGrid = Get-Table -columns 4 -rows 15

    ###
    $impactedSITLabel = Show-Text -Text "Impacted EDM SIT" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 1 -Control $impactedSITLabel

    $global:ClassificationControlVariables.ImpactedEDM = Get-ComboBox  -Margin "0,5,10,5" -Width 400 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.ImpactedEDM.ItemsSource = $global:ContextScopeVariables.edmsitsDropDown
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 2 -Control $global:ClassificationControlVariables.ImpactedEDM
    
    ###
    $EDMBaseSITLabel = Show-Text -Text "Base SIT" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 1 -column 1 -Control $EDMBaseSITLabel

    $global:ClassificationControlVariables.BaseSITEDMCombobox = Get-ComboBox  -Margin "0,5,10,5" -Width 400 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.BaseSITEDMCombobox.ItemsSource = $global:ContextScopeVariables.sitsDropDown
    Add-ControlToTableAt -TableObj $tableGrid -row 1 -column 2 -Control $global:ClassificationControlVariables.BaseSITEDMCombobox
    
    $dateTimeLabel = Show-Text -Text "Date & Time of issue (UTC)" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 1 -Control $dateTimeLabel

    $dateTimeButton = Get-Button -ButtonName "Select date & Time" -Margin "0,0,10,0" -HorizontalAlignment "Left" -height 30 -width 220
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 2 -Control $dateTimeButton

    $global:ContextScopeVariables["EDMDateTimeLabel"] = Show-Text -Text "UTC Date Time" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 3 -Control $global:ContextScopeVariables["EDMDateTimeLabel"]
    
    $dateTimeButton.Add_Click({
        $global:ContextScopeVariables.DateTimeProp = "EDMDateTime"
        $global:ContextScopeVariables["EDMDateTime"] = ""
        Get-DateTimePickerDialog 
    })

    ###
    $EDMUploaderVersion = Show-Text -Text "EDM Uploader Version" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left" -ShowHelp $true
    $EDMUploaderVersion.ToolTip = Get-ToolTip -Text "Navigate to EdmUploadAgent.exe file in explorer`nRight Click and select Properties`nSelect Details tab and get the ProductVersion"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 1 -Control $EDMUploaderVersion

    $global:ClassificationControlVariables.EDMUploaderVersion = Get-TextBox -Width 400 -Margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 2 -Control $global:ClassificationControlVariables.EDMUploaderVersion

    ###
    $EDMUploaderError = Show-Text -Text "EDM Uploader Error (If any)" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 4 -column 1 -Control $EDMUploaderError

    $global:ClassificationControlVariables.EDMUploaderErrorMsg = Get-TextBox -Width 400 -height 150 -Margin "0,0,10,0" -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.EDMUploaderErrorMsg.AcceptsReturn = $true
    $global:ClassificationControlVariables.EDMUploaderErrorMsg.TextWrapping = "Wrap"
    Add-ControlToTableAt -TableObj $tableGrid -row 4 -column 2 -Control $global:ClassificationControlVariables.EDMUploaderErrorMsg
    
    ###
    $SampleFileLabel = Show-Text -Text "Sample Repro file" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 5 -column 1 -Control $SampleFileLabel

    $SampleFileButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationEdmReproLabel" `
        -GlobalFileListName "ClassificationEdmReproFiles" `
        -ButtonName "Browse Repro File" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center" `
        -Multiselect $false
    
    Add-ControlToTableAt -TableObj $tableGrid -row 5 -column 2 -Control $SampleFileButton  
    
    $global:ClassificationControlVariables.ClassificationEdmReproLabel = Show-Text -Text "Attached File" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 6 -column 2 -Control $global:ClassificationControlVariables.ClassificationEdmReproLabel

    ###
    $EDMSchemaLabel = Show-Text -Text "EDM Schema XML" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 7 -column 1 -Control $EDMSchemaLabel

    $EDMSchemaButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationEdmSchemaLabel" `
        -GlobalFileListName "ClassificationEdmSchemaFiles" `
        -ButtonName "Browse Schema File" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
        
    Add-ControlToTableAt -TableObj $tableGrid -row 7 -column 2 -Control $EDMSchemaButton

    $global:ClassificationControlVariables.ClassificationEdmSchemaLabel = Show-Text -Text "Attached File" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 8 -column 2 -Control $global:ClassificationControlVariables.ClassificationEdmSchemaLabel

    ###
    $EDMSTraceLogsLabel = Show-Text -Text "Upload Agent Trace logs" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 9 -column 1 -Control $EDMSTraceLogsLabel

    $TaceLogsButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationEdmTraceLabel" `
        -GlobalFileListName "ClassificationEdmTraceFiles" `
        -ButtonName "Browse Agent Logs" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
    Add-ControlToTableAt -TableObj $tableGrid -row 9 -column 2 -Control $TaceLogsButton

    $TraceHelperText = Show-Text -Text "Navigate to the folder containing EdmUploadAgent.exe`nTrace logs could be found inside the TraceLogs folder inside the EdmUploadAgent folder(installed location)" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 9 -column 3 -Control $TraceHelperText

    $global:ClassificationControlVariables.ClassificationEdmTraceLabel = Show-Text -Text "Attached Files" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    $ClassificationFilesScrollViewer = New-Object Windows.Controls.ScrollViewer
    $ClassificationFilesScrollViewer.VerticalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $ClassificationFilesScrollViewer.HorizontalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $ClassificationFilesScrollViewer.Content = $global:ClassificationControlVariables.ClassificationEdmTraceLabel
    Add-ControlToTableAt -TableObj $tableGrid -row 10 -column 2 -Control $ClassificationFilesScrollViewer
    
    ###
    $UploadAgentConfigLabel = Show-Text -Text "Upload Agent Config File" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 11 -column 1 -Control $UploadAgentConfigLabel

    $ConfigButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationEdmConfigLabel" `
        -GlobalFileListName "ClassificationEdmConfigFiles" `
        -ButtonName "Browse Config File" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
    Add-ControlToTableAt -TableObj $tableGrid -row 11 -column 2 -Control $ConfigButton

    $ConfigHelperText = Show-Text -Text "Navigate to the folder containing EdmUploadAgent.exe and attach the EdmUploadAgent.exe.config file from that folder `nC:\Program Files\Microsoft\EdmUploadAgent\EdmUploadAgent.exe.config" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 11 -column 3 -Control $ConfigHelperText

    $global:ClassificationControlVariables.ClassificationEdmConfigLabel = Show-Text -Text "Attached File" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 12 -column 2 -Control $global:ClassificationControlVariables.ClassificationEdmConfigLabel
    
    ###
    $EDMBrowseAttachLabel = Show-Text -Text "File Attachment/ Screenshot/ Fiddler /HAR / Other info?" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 13 -column 1 -Control $EDMBrowseAttachLabel

    $EDMBrowseAttachButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationEdmFiddlerLabel" `
        -GlobalFileListName "ClassificationEdmFiddlerFiles" `
        -ButtonName "Browse Supporting Files" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
    Add-ControlToTableAt -TableObj $tableGrid -row 13 -column 2 -Control $EDMBrowseAttachButton

    $global:ClassificationControlVariables.ClassificationEdmFiddlerLabel = Show-Text -Text "Attached Files" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    $FilesScrollViewer = New-Object Windows.Controls.ScrollViewer
    $FilesScrollViewer.VerticalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $FilesScrollViewer.HorizontalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $FilesScrollViewer.Content = $global:ClassificationControlVariables.ClassificationEdmFiddlerLabel
    Add-ControlToTableAt -TableObj $tableGrid -row 14 -column 2 -Control $FilesScrollViewer
   
    ###
    $tableGrid.Margin = New-Object System.Windows.Thickness(10,30,10,10)
    $tableGrid.HorizontalAlignment = "Center"

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($tableGrid) > $null

    $ClassificationExport = Get-Button -ButtonName "Export Support Data" 
    $ClassificationExport.Margin = New-Object System.Windows.Thickness(10,50,10,10)
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($ClassificationExport) > $null

    $ClassificationDisclaimer = Show-Text -Text "*Exporting data would run Test-TextExtraction and Test-DataClassification" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" -Color $redColor
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($ClassificationDisclaimer) > $null
    
    $ClassificationExport.Add_Click({        
        if ($global:ClassificationControlVariables.ClassificationEdmReproFiles -eq $null)
        {
            [System.Windows.MessageBox]::Show("Please select sample file before exporting","Error",0,0)
            return
        }
    
        # Create a new SaveFileDialog object
        $Folder = Get-ExportFolder("ExportedEDMData")
        if (!$Folder) {
            return
        }
        $filePath = $Folder + "\"+"EDMExport.Json"
        
        $supportData=@{}
        $supportData["ImpactedEDM"] = $global:ClassificationControlVariables.ImpactedEDM.Text
        $supportData["BaseSIT"] = $global:ClassificationControlVariables.BaseSITEDMCombobox.Text
        $supportData["EDMUploaderVersion"] = $global:ClassificationControlVariables.EDMUploaderVersion.Text
        $supportData["EDMUploaderErrorMsg"] = $global:ClassificationControlVariables.EDMUploaderErrorMsg.Text
        $supportData["Forests"] = Get-ForestInfo
        $supportData["DateTime"] = $global:ContextScopeVariables["AlpSPODateTime"]
        
        # Run Test-TextExtraction on exo shell.
        $content = Get-Content $global:ClassificationControlVariables.ClassificationEdmReproFiles -Encoding byte -ReadCount 0
        $scriptBlock = {
            param($content)
            $classificationData = @{}
            $classificationData.TTE = Test-TextExtraction -FileData $content
            $classificationData.exoRuleCollection = Get-ClassificationRuleCollection
            return $classificationData
        }
        $ps = [powershell]::Create().AddScript($scriptBlock)
        $ps.AddArgument($content)

        $cRes = Get-ExoCmdletResult -ps $ps
        $ter = $cRes.TTE

        if($global:ClassificationControlVariables.ImpactedEDM.Text){
            $tdr = Test-DataClassification -TestTextExtractionResults $ter.ExtractedResults  -ClassificationNames $global:ClassificationControlVariables.ImpactedEDM.Text
        }else {
            $tdr = Test-DataClassification -TestTextExtractionResults $ter.ExtractedResults
        }

        if($global:ClassificationControlVariables.BaseSITEDMCombobox.Text){
            $tdrBase = Test-DataClassification -TestTextExtractionResults $ter.ExtractedResults  -ClassificationNames $global:ClassificationControlVariables.BaseSITEDMCombobox.Text
        }

        $supportData["TestTextExtractionResults"] = $ter
        $supportData["EDMTestDataClassificationResults"] = $tdr
        $supportData["BaseSitTestDataClassificationResults"] = $tdrBase
        $supportData["EopRulePackage"] = $global:ContextScopeVariables.sips
        $supportData["ExoRuleCollection"] = $cRes.exoRuleCollection
        $supportData["EopKeywordDict"] = $global:ContextScopeVariables.kwd

        try {
            # Copy the files to the destination folder
            $supportData["ReproFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationEdmReproFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationEdmReproFiles) {
                Copy-Item $file $Folder -Force
            }

            $supportData["SchemaFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationEdmSchemaFiles)
            # Copy the files to the destination folder
            foreach ($file in $global:ClassificationControlVariables.ClassificationEdmSchemaFiles) {
                Copy-Item $file $Folder -Force
            }

            # Copy the files to the destination folder
            $supportData["UserAgentTraceFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationEdmTraceFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationEdmTraceFiles) {
                Copy-Item $file $Folder -Force
            }

            # Copy the files to the destination folder
            $supportData["EDMConfigFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationEdmConfigFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationEdmConfigFiles) {
                Copy-Item $file $Folder -Force
            }

            # Copy the files to the destination folder
            $supportData["SupportingFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationEdmFiddlerFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationEdmFiddlerFiles) {
                Copy-Item $file $Folder -Force
            }

            CleanAndShowFolder -Folder $Folder -supportData $supportData -filePath $filePath
        }
        catch {
            [System.Windows.MessageBox]::Show("Failed to create zip file. Error message: $_", "Error", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Error)
        }
    })
}

function Get-ClassificationSupportTemplate(){

    $redColor = [System.Windows.Media.Color]::FromRgb(200, 10, 10)
    $blueColor = [System.Windows.Media.Color]::FromRgb(63, 119, 206)
    $supportDataHeader = Show-Text -Text "Classification Support Data Template" -Color $blueColor -fontSize 20

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Clear()

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($supportDataHeader) > $null

    # Define Gather Support data in a table format and pinning all the Controlds to Table Grid$tableGrid = New-Object System.Windows.Controls.Grid
    $tableGrid = Get-Table -columns 3 -rows 5

    #Row 0
    $impactedSITLabel = Show-Text -Text "Impacted SIT" -IsBold $false -margin "0,0,10,0" -VerticalAlignment "Center" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 1 -Control $impactedSITLabel

    $global:ClassificationControlVariables.AffectedClientComboboxClassification = Get-ComboBox  -Margin "0,5,10,5" -Width 400 -HorizontalAlignment "Left"
    $global:ClassificationControlVariables.AffectedClientComboboxClassification.ItemsSource = $global:ContextScopeVariables.sitsDropDown
    Add-ControlToTableAt -TableObj $tableGrid -row 0 -column 2 -Control $global:ClassificationControlVariables.AffectedClientComboboxClassification

    $SampleFileLabel = Show-Text -Text "Sample Repro file" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 1 -column 1 -Control $SampleFileLabel

    $SampleFileButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationReproLabel" `
        -GlobalFileListName "ClassificationReproFiles" `
        -ButtonName "Browse Repro File" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center" `
        -Multiselect $false
    Add-ControlToTableAt -TableObj $tableGrid -row 1 -column 2 -Control $SampleFileButton

    $global:ClassificationControlVariables.ClassificationReproLabel = Show-Text -Text "Attached File" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    Add-ControlToTableAt -TableObj $tableGrid -row 2 -column 2 -Control $global:ClassificationControlVariables.ClassificationReproLabel

    $ClsBrowseAttachLabel = Show-Text -Text "File Attachment/ Screenshot/ Fiddler /HAR / Other info?" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 1 -Control $ClsBrowseAttachLabel

    $ClsBrowseAttachButton = Get-FileButton `
        -GlobalScopeName "ClassificationControlVariables" `
        -GlobalVariableName "ClassificationFiddlerLabel" `
        -GlobalFileListName "ClassificationFiddlerFiles" `
        -ButtonName "Browse Supporting Files" `
        -Margin "0,0,10,0" `
        -HorizontalAlignment "Left" `
        -height 30 `
        -width 220 `
        -VerticalAlignment "Center"
    Add-ControlToTableAt -TableObj $tableGrid -row 3 -column 2 -Control $ClsBrowseAttachButton

    $global:ClassificationControlVariables.ClassificationFiddlerLabel = Show-Text -Text "Attached Files" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" 
    $FilesScrollViewer = New-Object Windows.Controls.ScrollViewer
    $FilesScrollViewer.VerticalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $FilesScrollViewer.HorizontalScrollBarVisibility = [Windows.Controls.ScrollBarVisibility]::Auto
    $FilesScrollViewer.Content = $global:ClassificationControlVariables.ClassificationFiddlerLabel
    Add-ControlToTableAt -TableObj $tableGrid -row 4 -column 2 -Control $FilesScrollViewer
   
    $tableGrid.Margin = New-Object System.Windows.Thickness(10,30,10,10)
    $tableGrid.HorizontalAlignment = "Center"

    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($tableGrid) > $null

    $ClassificationExport = Get-Button -ButtonName "Export Support Data" 
    $ClassificationExport.Margin = New-Object System.Windows.Thickness(10,50,10,10)
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($ClassificationExport) > $null

    $ClassificationDisclaimer = Show-Text -Text "*Exporting data would run Test-TextExtraction and Test-DataClassification" -IsBold $false -margin "0,0,10,0" -HorizontalAlignment "Left" -Color $redColor
    $global:ClassificationControlVariables.ClassificationSupportDataTabContent.Children.Add($ClassificationDisclaimer) > $null

    
    $ClassificationExport.Add_Click({        
        if ($global:ClassificationControlVariables.ClassificationReproFiles -eq $null)
        {
            [System.Windows.MessageBox]::Show("Please select sample file before exporting","Error",0,0)
            return
        }
    
        # Create a new SaveFileDialog object
        $Folder = Get-ExportFolder("ExportedClassificationData")
        if (!$Folder) {
            return
        }
        $filePath = $Folder + "\"+"ClassificationExport.Json"
            
        $supportData=@{}
        $supportData["ImpactedSIT"] = $global:ClassificationControlVariables.AffectedClientComboboxClassification.Text
                
        # Run Test-TextExtraction on exo shell.
        $content = Get-Content $global:ClassificationControlVariables.ClassificationReproFiles -Encoding byte -ReadCount 0
        $scriptBlock = {
            param($content)
            $classificationData = @{}
            $classificationData.TTE = Test-TextExtraction -FileData $content
            $classificationData.exoRuleCollection = Get-ClassificationRuleCollection
            return $classificationData
        }
        $ps = [powershell]::Create().AddScript($scriptBlock)
        $ps.AddArgument($content)

        $cRes = Get-ExoCmdletResult -ps $ps
        $ter = $cRes.TTE
        
        if($global:ClassificationControlVariables.AffectedClientComboboxClassification.Text){
            $tdr = Test-DataClassification -TestTextExtractionResults $ter.ExtractedResults  -ClassificationNames $global:ClassificationControlVariables.AffectedClientComboboxClassification.Text
        }else {
            $tdr = Test-DataClassification -TestTextExtractionResults $ter.ExtractedResults
        }
        $supportData["TestTextExtractionResults"] = $ter
        $supportData["TestDataClassificationResults"] = $tdr
        $supportData["EopRulePackage"] = Get-DlpSensitiveInformationTypeRulePackage
        $supportData["ExoRuleCollection"] = $cRes.exoRuleCollection
        $supportData["EopKeywordDict"] = Get-DlpKeywordDictionary    

        try {
            # Copy the files to the destination folder
            $supportData["SupportingFiles"] = Get-FileName($global:ClassificationControlVariables.ClassificationFiddlerFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationFiddlerFiles) {
                # $destinationFile = Join-Path $zipFilePath (Split-Path $file -Leaf)
                Copy-Item $file $Folder -Force
            }

            # Copy the files to the destination
            $supportData["ReproFileName"] = Get-FileName($global:ClassificationControlVariables.ClassificationReproFiles)
            foreach ($file in $global:ClassificationControlVariables.ClassificationReproFiles) {
                # $destinationFile = Join-Path $zipFilePath (Split-Path $file -Leaf)
                Copy-Item $file $Folder -Force
            }

            CleanAndShowFolder -Folder $Folder -supportData $supportData -filePath $filePath
        }
        catch {
            [System.Windows.MessageBox]::Show("Failed to create zip file. Error message: $_", "Error", [System.Windows.MessageBoxButton]::OK, [System.Windows.MessageBoxImage]::Error)
        }
    })
}

function GetGlobalTenantSits {
    [System.Windows.Input.Mouse]::SetCursor([System.Windows.Input.Cursors]::Wait)
    Write-Host "Getting Sensitive information types in your organization."
    $global:ContextScopeVariables.sits = Get-DlpSensitiveInformationType
    
    if ($global:ContextScopeVariables.sits.GetType().Name -eq "PSObject")
    {
        $global:ContextScopeVariables.sitsDropDown = @( $global:ContextScopeVariables.sits.Name )
    }
    else
    {
        $global:ContextScopeVariables.sitsDropDown = $global:ContextScopeVariables.sits.Name
    }
    
    $edmSits = $global:ContextScopeVariables.sits| ? {$_.Type -eq "ExactMatch"}
    if ($edmSits -ne $null)
    {
        if ($edmSits.GetType().Name -eq "PSObject")
        {
            $global:ContextScopeVariables.edmsitsDropDown = @( $edmSits.Name )
        }
        else
        {
            $global:ContextScopeVariables.edmsitsDropDown = $edmSits.Name
        }
    }
    
    Write-Host "Getting Sensitive information rule packages in your organization."
    $global:ContextScopeVariables.sips = Get-DlpSensitiveInformationTypeRulePackage
    
    if ($global:ContextScopeVariables.sips.GetType().Name -eq "PSObject")
    {
        $global:ContextScopeVariables.sipsDropDown = @( $global:ContextScopeVariables.sips.Name )
    }
    else
    {
        $global:ContextScopeVariables.sipsDropDown = $global:ContextScopeVariables.sips.Name
    }
    
    Write-Host "Getting Keyword dictionaries in your organization."
    $global:ContextScopeVariables.kwd = Get-DlpKeywordDictionary
    [System.Windows.Input.Mouse]::SetCursor([System.Windows.Input.Cursors]::Arrow)
}

Export-ModuleMember -Function *
# SIG # Begin signature block
# MIInwQYJKoZIhvcNAQcCoIInsjCCJ64CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI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