Takes a SAST scan log file or a Checkmarx One Scan ID as an input and opens an Excel document with parsed details from the SAST log file.
When a Scan ID is used additional details will be sourced from Checkmarx One including preset, branch name, origin and other data
Has seperate tabs for
- General Details
- Engine Configuration
- Predefined File Exclusions
- Phases
- Files Processed
- Results Summary
- General Queries
- Errors
- The CXOneAPIModule folder needs to be placed into the same location as the script in order to use the Scan ID function
- Excel created is not saved and must be manually saved if required
.\ScanLogParser.ps1 -help [<CommonParameters>]
.\ScanLogParser.ps1 [-logPath <string>] [<CommonParameters>]
.\ScanLogParser.ps1 -scanId <string> [-silentLogin -apiKey <string] [<CommonParameters>]
PARAMETER help
Display help
PARAMETER logPath
The file path for the Scan Log to be processed. Use when parsing a downloaded log file
PARAMETER scanId
A Checkmarx One Scan ID which will be used to retrieve the SAST log
PARAMETER silentLogin
Log into Checkmarx One using a provided API Key. Is optional and if not used a prompt will appear for the key
PARAMETER apiKey
The API Key used to log into Checkamrx One. Is mandatory with silentLogin