Util.AuditEvidenceGatherer 1.0.9

dotnet add package Util.AuditEvidenceGatherer --version 1.0.9
                    
NuGet\Install-Package Util.AuditEvidenceGatherer -Version 1.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Util.AuditEvidenceGatherer" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Util.AuditEvidenceGatherer" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Util.AuditEvidenceGatherer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Util.AuditEvidenceGatherer --version 1.0.9
                    
#r "nuget: Util.AuditEvidenceGatherer, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Util.AuditEvidenceGatherer&version=1.0.9
                    
Install Util.AuditEvidenceGatherer as a Cake Addin
#tool nuget:?package=Util.AuditEvidenceGatherer&version=1.0.9
                    
Install Util.AuditEvidenceGatherer as a Cake Tool

Audit Evidence Gatherer

Set up

  • Make sure you have PowerShell version 5.1+ with command $PSVersionTable
  • AppSettings can be modified in appSettings.yaml.
  • Targeted for .NET 6 runtime.

Use

Evidence Gathering

The program takes in command line arguments create-text or create-pdf, or both, and outputPath.

For example, .\AuditEvidenceGatherer.exe create-text create-pdf --outputPath C:\\Users\\adamday\\AppData\\Local\\AuditEvG

Note: Be aware of escape characters in folder path

The outputPath flag is the directory that the .txt files will be output to for create-text. For create-pdf, it should be the directory where the .txt files are located, and it will be the directory where the PDFs are output to.

You must make sure that the work item titles that you are planning to upload to Azure DevOps match exactly with configuration. This means that workItemTitleWithoutEnvironment in appSettings.yaml should match with the work item title (without the environment), e.g. "AC-02 (02) - On Box User Accounts." matches to "[MT/GCC] AC-02 (02) - On Box User Accounts" work item title.

Text files of the output of the PowerShell commands will be created. Those text files will be converted into PDFs.

Errors are recorded in the output/logging/errors.txt file.

To run, execute the .exe file in a terminal with command line arguments.

Program outputs to relative path ./output/ if debug command line argument is passed and absolute path specified in command line arguments.

You can specify the output path with command line flag --outputPath, i.e. --outputPath C:\Users\adamday\AppData\Local\AuditEvG

Outputs are saved to files directed by logEventId in appSettings.yaml file.

PDFs will be created from the most recent text files.

If you are getting Unknown command errors, try formatting commands like powershell -command "& {&'some-command' someParam}"; reference

Uploading Evidence

Uploading can be triggered with upload command line argument.

You must include the inputPath flag directory that contains the zip file you want to upload, e.g. upload --inputPath C:\\Users\\adamday\\AppData\\Local\\AuditEvG

You must save the work item query in Azure DevOps and use that GUID. This is not the temporary query ID. The GUID can be found in the URL, for example in https://o365trustcompliance.visualstudio.com/Trust/_queries/query/24f64b9a-5b7e-40a4-8053-5c7b80859aa8/ 24f64b9a-5b7e-40a4-8053-5c7b80859aa8 is the query ID. This GUID goes in workItemsQueryId in appSettings.yaml.

Zip file should be named output.zip.

The most recent PDF in each control folder will be uploaded.

environmentNameInWorkItemsTitle in appSettings.yaml is the environment the audit is happening in, for example "[MT/GCC]".

orgName and projectName is the org and project that the items are being uploaded to, e.g. "o365trustcompliance" and "Trust"

You must make sure that the work item titles that you are planning to upload to Azure DevOps match exactly with configuration. This means that workItemTitleWithoutEnvironment in appSettings.yaml should match with the work item title (without the environment) and environmentNameInWorkItemsTitle should match the environment, e.g. "AC-02 (02) - On Box User Accounts" and "[MT/GCC]" matches to "[MT/GCC] AC-02 (02) - On Box User Accounts" work item title.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 636 2 months ago
1.0.8 563 2 months ago
1.0.7 1,440 2/7/2024
1.0.6 1,454 8/16/2023
1.0.5 1,494 8/3/2023
1.0.4 181 8/3/2023
1.0.3 172 8/3/2023
1.0.2 171 7/27/2023
1.0.1 163 7/27/2023
1.0.0 168 7/27/2023