Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 2, 2023 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/ec7615a5a56f64229809f1916375a3db to your computer and use it in GitHub Desktop.
Save choco-bot/ec7615a5a56f64229809f1916375a3db to your computer and use it in GitHub Desktop.
trivy v0.42.0 - Passed - Package Tests Results

trivy v0.42.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/trivy/0.42.0
  • Tested 02 Jun 2023 15:21:09 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg" checksum="544415744C8F1E93BD915EC67735D6E0" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec" checksum="83316F48FA78840751A980022FB83BB3" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt" checksum="A3CA560218C49BFBF92CA1A7F631B347" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1" checksum="F9A5656026CB38D53079A7CB0CEF0FAB" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE" checksum="86D3F3A95C324C9479BD8986968F4327" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\README.md" checksum="25C3BDC1324285B04451BC7FE0899D0D" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe" checksum="4B1A6D1E631BC90F6BEEF2882ECCE15B" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl" checksum="58D5118E531BB074F68602885D3699B5" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl" checksum="92E17D83741AAC1B5A100ADEFFEE8419" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl" checksum="F01E06EDEDEB4ACAACFA800870C75A1B" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl" checksum="431808CCEE71E41317E1D51B4C52E620" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl" checksum="A7D1BAF7DFD49393D2B4FE6839D309E2" />
</files>
</fileSnapshot>
2023-06-02 15:20:19,030 1748 [DEBUG] - XmlConfiguration is now operational
2023-06-02 15:20:19,172 1748 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:19,187 1748 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:19,187 1748 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:19,202 1748 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:19,202 1748 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:19,218 1748 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-02 15:20:19,594 1748 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-02 15:20:19,609 1748 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-02 15:20:19,609 1748 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-02 15:20:19,609 1748 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-02 15:20:19,624 1748 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-02 15:20:19,624 1748 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-02 15:20:19,624 1748 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-02 15:20:19,624 1748 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-02 15:20:19,640 1748 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-02 15:20:19,640 1748 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-02 15:20:19,859 1748 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-02 15:20:19,859 1748 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-02 15:20:19,874 1748 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-02 15:20:19,874 1748 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-02 15:20:19,874 1748 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-02 15:20:19,874 1748 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-02 15:20:19,890 1748 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-02 15:20:19,890 1748 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-02 15:20:20,203 1748 [INFO ] - ============================================================
2023-06-02 15:20:20,531 1748 [INFO ] - Chocolatey v1.3.0
2023-06-02 15:20:20,609 1748 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-02 15:20:20,609 1748 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-02 15:20:20,624 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-02 15:20:20,656 1748 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install trivy --version 0.42.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-02 15:20:20,656 1748 [DEBUG] - Received arguments: install trivy --version 0.42.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-02 15:20:20,812 1748 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-02 15:20:20,844 1748 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-02 15:20:20,859 1748 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-02 15:20:21,000 1748 [DEBUG] - Performing validation checks.
2023-06-02 15:20:21,016 1748 [DEBUG] - Global Configuration Validation Checks:
2023-06-02 15:20:21,016 1748 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-02 15:20:21,031 1748 [DEBUG] - System State Validation Checks:
2023-06-02 15:20:21,046 1748 [DEBUG] - Reboot Requirement Checks:
2023-06-02 15:20:21,046 1748 [DEBUG] - - Pending Computer Rename = Checked
2023-06-02 15:20:21,062 1748 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-02 15:20:21,062 1748 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-02 15:20:21,078 1748 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-02 15:20:21,078 1748 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-02 15:20:21,093 1748 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-02 15:20:21,093 1748 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-02 15:20:21,172 1748 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-02 15:20:21,187 1748 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-02 15:20:21,218 1748 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='trivy'|
Version='0.42.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='trivy'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-H3LJOQTIB0A'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-02 15:20:21,233 1748 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-02 15:20:21,249 1748 [INFO ] - Installing the following packages:
2023-06-02 15:20:21,265 1748 [INFO ] - trivy
2023-06-02 15:20:21,265 1748 [INFO ] - By installing, you accept licenses for the packages.
2023-06-02 15:20:21,281 1748 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-02 15:20:21,281 1748 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-02 15:20:21,296 1748 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 15:20:21,296 1748 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 15:20:21,296 1748 [DEBUG] - * 'ChocolateyLastPathUpdate'='133301830958462881' ('User')
2023-06-02 15:20:21,312 1748 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-02 15:20:21,312 1748 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-02 15:20:21,327 1748 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-02 15:20:21,327 1748 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-02 15:20:21,327 1748 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-02 15:20:21,343 1748 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-02 15:20:21,358 1748 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-02 15:20:21,358 1748 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 15:20:21,358 1748 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 15:20:21,375 1748 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-02 15:20:21,375 1748 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-02 15:20:21,390 1748 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-02 15:20:21,390 1748 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-02 15:20:21,390 1748 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-02 15:20:21,405 1748 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-02 15:20:21,421 1748 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-02 15:20:23,906 1748 [INFO ] - [NuGet] Installing 'trivy 0.42.0'.
2023-06-02 15:20:23,921 1748 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'trivy\tools'.
2023-06-02 15:20:23,952 1748 [DEBUG] - [NuGet] Added file 'trivy.nupkg' to folder 'trivy'.
2023-06-02 15:20:24,313 1748 [DEBUG] - [NuGet] Added file 'trivy.nuspec' to folder 'trivy'.
2023-06-02 15:20:24,328 1748 [INFO ] - [NuGet] Successfully installed 'trivy 0.42.0'.
2023-06-02 15:20:24,328 1748 [INFO ] -
trivy v0.42.0 (forced)
2023-06-02 15:20:24,374 1748 [INFO ] - trivy package files install completed. Performing other installation steps.
2023-06-02 15:20:24,453 1748 [DEBUG] - Setting installer args for trivy
2023-06-02 15:20:24,453 1748 [DEBUG] - Setting package parameters for trivy
2023-06-02 15:20:24,468 1748 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1':
2023-06-02 15:20:24,484 1748 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageName = 'trivy'
$version = '0.42.0'
$url64 = "https://github.com/aquasecurity/trivy/releases/download/v"+$version+"/trivy_"+$version+"_Windows-64bit.zip"
$checksum64 = 'b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d'
$bindir = Join-Path $env:ChocolateyInstall "lib\trivy\tools\trivy.exe"
[regex]$downloaddatabaseonly = “(?i)^(Yes|No)$”
$pp=Get-PackageParameters
if (!$pp['DownloadDatabaseOnly']) {$pp['DownloadDatabaseOnly']='No'}
else {
if ($pp['DownloadDatabaseOnly'] -notmatch $downloaddatabaseonly) {
Write-Output "Wrong value $($pp.DownloadDatabaseOnly) for parameter DownloadDatabaseOnly"
exit (1)
}
}
$packageArgs = @{
packageName = $packageName
fileType = 'msi'
url64bit = $url64
UnzipLocation = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
checksumType64 = 'sha256'
checksum64 = $checksum64
}
Install-ChocolateyZipPackage @packageArgs
# Write-Output $bindir
try {
if ($($pp.DownloadDatabaseOnly) -eq "Yes") {
Write-Output "Updating Trivy databases - it can take a while"
& $bindir 'image --download-db-only'
}
else {
Write-Output "No db update selected"
}
}
catch {
# We don't care about updates, if they'll fail, do not fail package
exit (0)
}
2023-06-02 15:20:25,187 1748 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-02 15:20:25,218 1748 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-02 15:20:25,875 1748 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-02 15:20:26,359 1748 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-02 15:20:26,359 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-02 15:20:26,374 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-02 15:20:26,390 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-02 15:20:26,405 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-02 15:20:26,405 1748 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-02 15:20:26,421 1748 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-02 15:20:26,437 1748 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-02 15:20:26,437 1748 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-02 15:20:26,452 1748 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-02 15:20:26,468 1748 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-02 15:20:26,468 1748 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-02 15:20:26,484 1748 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-02 15:20:26,500 1748 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-02 15:20:26,516 1748 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-02 15:20:26,516 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-02 15:20:26,530 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-02 15:20:26,546 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-02 15:20:26,562 1748 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-02 15:20:26,562 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:26,562 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 15:20:26,577 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-02 15:20:26,593 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-02 15:20:26,593 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-02 15:20:26,609 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-02 15:20:26,609 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 15:20:26,624 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-02 15:20:26,624 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-02 15:20:26,640 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-02 15:20:26,640 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-02 15:20:26,640 1748 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-02 15:20:26,656 1748 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-02 15:20:26,656 1748 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-02 15:20:26,671 1748 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 15:20:26,687 1748 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-02 15:20:26,687 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-02 15:20:26,702 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:26,718 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-02 15:20:26,718 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 15:20:26,733 1748 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-02 15:20:26,733 1748 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-02 15:20:26,749 1748 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-02 15:20:26,765 1748 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-02 15:20:26,811 1748 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-02 15:20:26,827 1748 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-02 15:20:26,843 1748 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-02 15:20:26,843 1748 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-02 15:20:26,843 1748 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-02 15:20:26,858 1748 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-02 15:20:26,858 1748 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-02 15:20:26,906 1748 [DEBUG] - Loading community extensions
2023-06-02 15:20:26,937 1748 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-02 15:20:26,937 1748 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-02 15:20:27,047 1748 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-02 15:20:27,062 1748 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-02 15:20:27,062 1748 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-02 15:20:27,078 1748 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-02 15:20:27,093 1748 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-02 15:20:27,093 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-02 15:20:27,109 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-02 15:20:27,109 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-02 15:20:27,124 1748 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-02 15:20:27,124 1748 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-02 15:20:27,140 1748 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-02 15:20:27,140 1748 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-02 15:20:27,155 1748 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-02 15:20:27,155 1748 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-02 15:20:27,171 1748 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-02 15:20:27,171 1748 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-02 15:20:27,187 1748 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-02 15:20:27,187 1748 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-02 15:20:27,202 1748 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-02 15:20:27,202 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-02 15:20:27,218 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-02 15:20:27,218 1748 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-02 15:20:27,218 1748 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-02 15:20:27,233 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:27,233 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 15:20:27,249 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-02 15:20:27,249 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-02 15:20:27,249 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-02 15:20:27,265 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-02 15:20:27,265 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 15:20:27,280 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-02 15:20:27,280 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-02 15:20:27,296 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-02 15:20:27,296 1748 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-02 15:20:27,296 1748 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-02 15:20:27,311 1748 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-02 15:20:27,328 1748 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-02 15:20:27,328 1748 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 15:20:27,343 1748 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-02 15:20:27,343 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-02 15:20:27,358 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:27,358 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-02 15:20:27,374 1748 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 15:20:27,374 1748 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-02 15:20:27,390 1748 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-02 15:20:27,390 1748 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-02 15:20:27,405 1748 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-02 15:20:27,405 1748 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-02 15:20:27,421 1748 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-02 15:20:27,421 1748 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-02 15:20:27,437 1748 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-02 15:20:27,452 1748 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-02 15:20:27,452 1748 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-02 15:20:27,452 1748 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-02 15:20:27,468 1748 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-02 15:20:27,484 1748 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-02 15:20:27,484 1748 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-02 15:20:27,501 1748 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-02 15:20:27,515 1748 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-02 15:20:27,515 1748 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-02 15:20:27,531 1748 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-02 15:20:27,531 1748 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-02 15:20:27,546 1748 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-02 15:20:27,546 1748 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-02 15:20:27,562 1748 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-02 15:20:27,562 1748 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-02 15:20:27,578 1748 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-02 15:20:27,578 1748 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-02 15:20:27,593 1748 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-02 15:20:27,593 1748 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-02 15:20:27,609 1748 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-02 15:20:27,624 1748 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-02 15:20:27,624 1748 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-02 15:20:27,640 1748 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-02 15:20:27,657 1748 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-02 15:20:27,671 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:27,671 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 15:20:27,687 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-02 15:20:27,705 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-02 15:20:27,718 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-02 15:20:27,718 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-02 15:20:27,755 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 15:20:27,765 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-02 15:20:27,781 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-02 15:20:27,781 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-02 15:20:27,796 1748 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-02 15:20:27,812 1748 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-02 15:20:27,827 1748 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-02 15:20:27,827 1748 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-02 15:20:27,843 1748 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-02 15:20:27,859 1748 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 15:20:27,874 1748 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-02 15:20:27,891 1748 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-02 15:20:27,891 1748 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-02 15:20:27,906 1748 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 15:20:27,922 1748 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-02 15:20:27,938 1748 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 15:20:27,954 1748 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-02 15:20:27,969 1748 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-02 15:20:27,984 1748 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-02 15:20:28,000 1748 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-02 15:20:28,015 1748 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-02 15:20:28,030 1748 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-02 15:20:28,030 1748 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-02 15:20:28,047 1748 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-02 15:20:28,062 1748 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-02 15:20:28,062 1748 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-02 15:20:28,078 1748 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-02 15:20:28,329 1748 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-02 15:20:28,345 1748 [DEBUG] - Running 'ChocolateyScriptRunner' for trivy v0.42.0 with packageScript 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\trivy', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-02 15:20:28,422 1748 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
2023-06-02 15:20:28,547 1748 [DEBUG] - Running Get-PackageParameters
2023-06-02 15:20:28,562 1748 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-06-02 15:20:28,687 1748 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\trivy\tools' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip' -checksumType64 'sha256' -checksum64 'b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d' -packageName 'trivy'
2023-06-02 15:20:28,845 1748 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 'b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'trivy' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivyInstall.zip' -url '' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip'
2023-06-02 15:20:28,985 1748 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-02 15:20:29,015 1748 [DEBUG] - CPU is 64 bit
2023-06-02 15:20:29,047 1748 [DEBUG] - Setting url to 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip' and bitPackage to 64
2023-06-02 15:20:29,141 1748 [DEBUG] - Running Get-WebFileName -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip' -defaultName 'trivyInstall.zip'
2023-06-02 15:20:29,937 1748 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-06-02 15:20:30,015 1748 [DEBUG] - File name determined from url is 'trivy_0.42.0_windows-64bit.zip'
2023-06-02 15:20:30,079 1748 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip' -ErrorAction 'Stop'
2023-06-02 15:20:30,093 1748 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-02 15:20:30,093 1748 [DEBUG] - Request Headers:
2023-06-02 15:20:30,108 1748 [DEBUG] - 'Accept':'*/*'
2023-06-02 15:20:30,124 1748 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-06-02 15:20:30,296 1748 [DEBUG] - Response Headers:
2023-06-02 15:20:30,313 1748 [DEBUG] - 'Connection':'keep-alive'
2023-06-02 15:20:30,313 1748 [DEBUG] - 'Content-MD5':'U1wdM149KvIp4vS7ZpnvEQ=='
2023-06-02 15:20:30,328 1748 [DEBUG] - 'x-ms-request-id':'c2f62458-401e-0066-2764-95ae75000000'
2023-06-02 15:20:30,343 1748 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-06-02 15:20:30,343 1748 [DEBUG] - 'x-ms-creation-time':'Fri, 02 Jun 2023 11:21:52 GMT'
2023-06-02 15:20:30,359 1748 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-06-02 15:20:30,375 1748 [DEBUG] - 'x-ms-lease-state':'available'
2023-06-02 15:20:30,375 1748 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-06-02 15:20:30,390 1748 [DEBUG] - 'Content-Disposition':'attachment; filename=trivy_0.42.0_windows-64bit.zip'
2023-06-02 15:20:30,390 1748 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-06-02 15:20:30,406 1748 [DEBUG] - 'Fastly-Restarts':'1'
2023-06-02 15:20:30,406 1748 [DEBUG] - 'Age':'0'
2023-06-02 15:20:30,422 1748 [DEBUG] - 'X-Served-By':'cache-iad-kjyo7100145-IAD, cache-mci680031-MCI'
2023-06-02 15:20:30,422 1748 [DEBUG] - 'X-Cache':'HIT, HIT'
2023-06-02 15:20:30,437 1748 [DEBUG] - 'X-Cache-Hits':'1, 0'
2023-06-02 15:20:30,437 1748 [DEBUG] - 'X-Timer':'S1685719230.248862,VS0,VE48'
2023-06-02 15:20:30,452 1748 [DEBUG] - 'Accept-Ranges':'bytes'
2023-06-02 15:20:30,500 1748 [DEBUG] - 'Content-Length':'51564066'
2023-06-02 15:20:30,500 1748 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-06-02 15:20:30,515 1748 [DEBUG] - 'Date':'Fri, 02 Jun 2023 15:20:30 GMT'
2023-06-02 15:20:30,515 1748 [DEBUG] - 'ETag':'"0x8DB635B90DAD435"'
2023-06-02 15:20:30,530 1748 [DEBUG] - 'Last-Modified':'Fri, 02 Jun 2023 11:21:52 GMT'
2023-06-02 15:20:30,530 1748 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-06-02 15:20:30,530 1748 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-06-02 15:20:30,578 1748 [INFO ] - Downloading trivy 64 bit
from 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip'
2023-06-02 15:20:30,640 1748 [DEBUG] - Running Get-WebFile -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip' -options 'System.Collections.Hashtable'
2023-06-02 15:20:30,656 1748 [DEBUG] - Setting request timeout to 30000
2023-06-02 15:20:30,656 1748 [DEBUG] - Setting read/write timeout to 2700000
2023-06-02 15:20:30,672 1748 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-02 15:20:31,171 1748 [DEBUG] - Downloading https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip
2023-06-02 15:20:35,219 1748 [INFO ] -
2023-06-02 15:20:35,233 1748 [INFO ] - Download of trivy_0.42.0_windows-64bit.zip (49.18 MB) completed.
2023-06-02 15:20:38,280 1748 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-02 15:20:38,297 1748 [DEBUG] - Verifying package provided checksum of 'b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip'.
2023-06-02 15:20:38,329 1748 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip' -checksum 'b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d' -checksumType 'sha256' -originalUrl 'https://github.com/aquasecurity/trivy/releases/download/v0.42.0/trivy_0.42.0_Windows-64bit.zip'
2023-06-02 15:20:38,343 1748 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-02 15:20:38,359 1748 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip"]
2023-06-02 15:20:38,937 1748 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="b8ab9d81a7e2b686cb601d1e9b3671e53496ecad49fa7ec93473c20a208b753d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip"] exited with '0'.
2023-06-02 15:20:39,000 1748 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip' -destination 'C:\ProgramData\chocolatey\lib\trivy\tools' -specificFolder '' -packageName 'trivy'
2023-06-02 15:20:39,016 1748 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-02 15:20:39,046 1748 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip to C:\ProgramData\chocolatey\lib\trivy\tools...
2023-06-02 15:20:39,061 1748 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-06-02 15:20:39,109 1748 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\trivy\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip"]
2023-06-02 15:20:41,484 1748 [INFO ] - VERBOSE:
2023-06-02 15:20:41,500 1748 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-06-02 15:20:41,515 1748 [INFO ] - VERBOSE:
2023-06-02 15:20:41,515 1748 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-06-02 15:20:41,515 1748 [INFO ] - VERBOSE: 1 file, 51564066 bytes (50 MiB)
2023-06-02 15:20:41,531 1748 [INFO ] - VERBOSE:
2023-06-02 15:20:41,531 1748 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip
2023-06-02 15:20:41,546 1748 [INFO ] - VERBOSE: --
2023-06-02 15:20:41,562 1748 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip
2023-06-02 15:20:41,578 1748 [INFO ] - VERBOSE: Type = zip
2023-06-02 15:20:41,578 1748 [INFO ] - VERBOSE: Physical Size = 51564066
2023-06-02 15:20:41,593 1748 [INFO ] - VERBOSE:
2023-06-02 15:20:41,593 1748 [INFO ] - VERBOSE: - LICENSE
2023-06-02 15:20:41,640 1748 [INFO ] - VERBOSE: - README.md
2023-06-02 15:20:41,640 1748 [INFO ] - VERBOSE: - contrib\asff.tpl
2023-06-02 15:20:41,640 1748 [INFO ] - VERBOSE: - contrib\gitlab-codequality.tpl
2023-06-02 15:20:41,656 1748 [INFO ] - VERBOSE: - contrib\gitlab.tpl
2023-06-02 15:20:41,672 1748 [INFO ] - VERBOSE: - contrib\html.tpl
2023-06-02 15:20:41,672 1748 [INFO ] - VERBOSE: - contrib\junit.tpl
2023-06-02 15:20:41,687 1748 [INFO ] - VERBOSE: - trivy.exe
2023-06-02 15:20:41,687 1748 [INFO ] - VERBOSE: Everything is Ok
2023-06-02 15:20:41,702 1748 [INFO ] - VERBOSE:
2023-06-02 15:20:41,702 1748 [INFO ] - VERBOSE: Files: 8
2023-06-02 15:20:41,718 1748 [INFO ] - VERBOSE: Size: 195902328
2023-06-02 15:20:41,733 1748 [INFO ] - VERBOSE: Compressed: 51564066
2023-06-02 15:20:41,782 1748 [DEBUG] - $exitCode was passed null
2023-06-02 15:20:41,782 1748 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\trivy\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0\trivy_0.42.0_windows-64bit.zip"] exited with '0'.
2023-06-02 15:20:41,827 1748 [DEBUG] - 7z exit code: 0
2023-06-02 15:20:41,843 1748 [INFO ] - C:\ProgramData\chocolatey\lib\trivy\tools
2023-06-02 15:20:41,859 1748 [INFO ] - No db update selected
2023-06-02 15:20:41,874 1748 [DEBUG] - ----------------------------------------------------------------------
2023-06-02 15:20:41,890 1748 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-02 15:20:41,905 1748 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-02 15:20:41,999 1748 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-02 15:20:42,171 1748 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-06-02 15:20:42,187 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '544415744C8F1E93BD915EC67735D6E0'
2023-06-02 15:20:42,187 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '83316F48FA78840751A980022FB83BB3'
2023-06-02 15:20:42,202 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 15:20:42,202 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum 'F9A5656026CB38D53079A7CB0CEF0FAB'
2023-06-02 15:20:42,202 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 15:20:42,218 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-06-02 15:20:43,312 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '4B1A6D1E631BC90F6BEEF2882ECCE15B'
2023-06-02 15:20:43,327 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 15:20:43,327 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 15:20:43,327 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 15:20:43,343 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 15:20:43,343 1748 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 15:20:43,390 1748 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\trivy\tools\trivy.exe" --output="C:\ProgramData\chocolatey\bin\trivy.exe" --iconpath="C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe"']
2023-06-02 15:20:46,594 1748 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-06-02 15:20:46,608 1748 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-06-02 15:20:46,906 1748 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-06-02 15:20:46,921 1748 [DEBUG] - [ShimGen] for C# 5
2023-06-02 15:20:46,921 1748 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-06-02 15:20:46,921 1748 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2023-06-02 15:20:46,936 1748 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\trivy.exe'
2023-06-02 15:20:47,030 1748 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\trivy\tools\trivy.exe" --output="C:\ProgramData\chocolatey\bin\trivy.exe" --iconpath="C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe"'] exited with '0'
2023-06-02 15:20:47,046 1748 [INFO ] - ShimGen has successfully created a shim for trivy.exe
2023-06-02 15:20:47,046 1748 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\trivy.exe
Targeting: C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe
IsGui:False
2023-06-02 15:20:47,094 1748 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0".
2023-06-02 15:20:47,141 1748 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0\.files'
2023-06-02 15:20:47,156 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0\.extra".
2023-06-02 15:20:47,156 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0\.version".
2023-06-02 15:20:47,171 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0\.sxs".
2023-06-02 15:20:47,171 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.0\.pin".
2023-06-02 15:20:47,187 1748 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-02 15:20:47,187 1748 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\.chocolateyPending".
2023-06-02 15:20:47,202 1748 [INFO ] - The install of trivy was successful.
2023-06-02 15:20:47,202 1748 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\trivy\tools'
2023-06-02 15:20:47,218 1748 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\trivy.0.42.0.nupkg".
2023-06-02 15:20:47,250 1748 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-02 15:20:47,264 1748 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-02 15:20:47,312 1748 [DEBUG] - Exiting with 0
2023-06-02 15:20:59,405 3856 [DEBUG] - XmlConfiguration is now operational
2023-06-02 15:20:59,531 3856 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:59,531 3856 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:59,531 3856 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:59,546 3856 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:59,546 3856 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 15:20:59,546 3856 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-02 15:20:59,796 3856 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-02 15:20:59,796 3856 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-02 15:20:59,796 3856 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-02 15:20:59,812 3856 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-02 15:20:59,812 3856 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-02 15:20:59,812 3856 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-02 15:20:59,812 3856 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-02 15:20:59,827 3856 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-02 15:20:59,827 3856 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-02 15:20:59,827 3856 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-02 15:20:59,827 3856 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-02 15:20:59,843 3856 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-02 15:20:59,843 3856 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-02 15:20:59,843 3856 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-02 15:20:59,843 3856 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-02 15:20:59,859 3856 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-02 15:20:59,859 3856 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-02 15:20:59,859 3856 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-02 15:21:00,108 3856 [INFO ] - ============================================================
2023-06-02 15:21:00,405 3856 [INFO ] - Chocolatey v1.3.0
2023-06-02 15:21:00,421 3856 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-02 15:21:00,437 3856 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-02 15:21:00,437 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-02 15:21:00,453 3856 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall trivy --version 0.42.0 -dvy --execution-timeout=2700
2023-06-02 15:21:00,469 3856 [DEBUG] - Received arguments: uninstall trivy --version 0.42.0 -dvy --execution-timeout=2700
2023-06-02 15:21:00,608 3856 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-02 15:21:00,624 3856 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-02 15:21:00,657 3856 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-02 15:21:00,765 3856 [DEBUG] - Performing validation checks.
2023-06-02 15:21:00,781 3856 [DEBUG] - Global Configuration Validation Checks:
2023-06-02 15:21:00,796 3856 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-02 15:21:00,796 3856 [DEBUG] - System State Validation Checks:
2023-06-02 15:21:00,811 3856 [DEBUG] - Reboot Requirement Checks:
2023-06-02 15:21:00,827 3856 [DEBUG] - - Pending Computer Rename = Checked
2023-06-02 15:21:00,827 3856 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-02 15:21:00,842 3856 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-02 15:21:00,842 3856 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-02 15:21:00,842 3856 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-02 15:21:00,859 3856 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-02 15:21:00,875 3856 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-02 15:21:00,921 3856 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-02 15:21:00,921 3856 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-06-02 15:21:00,953 3856 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='trivy'|
Version='0.42.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='trivy'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-H3LJOQTIB0A'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-02 15:21:00,983 3856 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-02 15:21:01,015 3856 [INFO ] - Uninstalling the following packages:
2023-06-02 15:21:01,015 3856 [INFO ] - trivy
2023-06-02 15:21:01,046 3856 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-02 15:21:01,046 3856 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-02 15:21:01,061 3856 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 15:21:01,077 3856 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 15:21:01,077 3856 [DEBUG] - * 'ChocolateyLastPathUpdate'='133301830958462881' ('User')
2023-06-02 15:21:01,093 3856 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-02 15:21:01,093 3856 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-02 15:21:01,093 3856 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-02 15:21:01,109 3856 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-02 15:21:01,109 3856 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-02 15:21:01,124 3856 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-02 15:21:01,124 3856 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-02 15:21:01,140 3856 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 15:21:01,140 3856 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 15:21:01,155 3856 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-02 15:21:01,155 3856 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-02 15:21:01,171 3856 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-02 15:21:01,171 3856 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-02 15:21:01,187 3856 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-02 15:21:01,203 3856 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-02 15:21:01,218 3856 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-02 15:21:01,358 3856 [DEBUG] - Running list with the following filter = ''
2023-06-02 15:21:01,374 3856 [DEBUG] - --- Start of List ---
2023-06-02 15:21:01,656 3856 [DEBUG] - trivy 0.42.0
2023-06-02 15:21:01,671 3856 [DEBUG] - --- End of List ---
2023-06-02 15:21:01,890 3856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-02 15:21:01,890 3856 [DEBUG] - Backing up existing trivy prior to operation.
2023-06-02 15:21:01,905 3856 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\trivy'
to 'C:\ProgramData\chocolatey\lib-bkp\trivy'
2023-06-02 15:21:03,936 3856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy".
2023-06-02 15:21:03,936 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nupkg"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg".
2023-06-02 15:21:03,952 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nuspec"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec".
2023-06-02 15:21:03,952 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy_0.42.0_windows-64bit.zip.txt"
to "C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt".
2023-06-02 15:21:03,967 3856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools".
2023-06-02 15:21:03,967 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1".
2023-06-02 15:21:03,983 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\LICENSE"
to "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-06-02 15:21:03,999 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\README.md"
to "C:\ProgramData\chocolatey\lib\trivy\tools\README.md".
2023-06-02 15:21:03,999 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\trivy.exe"
to "C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe".
2023-06-02 15:21:04,173 3856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools\contrib".
2023-06-02 15:21:04,188 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\contrib\asff.tpl"
to "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl".
2023-06-02 15:21:04,188 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\contrib\gitlab-codequality.tpl"
to "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl".
2023-06-02 15:21:04,202 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\contrib\gitlab.tpl"
to "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl".
2023-06-02 15:21:04,202 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\contrib\html.tpl"
to "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl".
2023-06-02 15:21:04,218 3856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\contrib\junit.tpl"
to "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl".
2023-06-02 15:21:05,734 3856 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-06-02 15:21:05,749 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '544415744C8F1E93BD915EC67735D6E0'
2023-06-02 15:21:05,749 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '83316F48FA78840751A980022FB83BB3'
2023-06-02 15:21:05,764 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 15:21:05,764 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum 'F9A5656026CB38D53079A7CB0CEF0FAB'
2023-06-02 15:21:05,780 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 15:21:05,780 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-06-02 15:21:06,423 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '4B1A6D1E631BC90F6BEEF2882ECCE15B'
2023-06-02 15:21:06,438 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 15:21:06,438 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 15:21:06,452 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 15:21:06,452 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 15:21:06,452 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 15:21:07,047 3856 [INFO ] - [NuGet] Uninstalling 'trivy 0.42.0'.
2023-06-02 15:21:07,061 3856 [INFO ] -
trivy v0.42.0
2023-06-02 15:21:07,109 3856 [DEBUG] - Removing shim for trivy.exe at 'C:\ProgramData\chocolatey\bin\trivy.exe
2023-06-02 15:21:07,109 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\trivy.exe".
2023-06-02 15:21:07,139 3856 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-06-02 15:21:07,155 3856 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-02 15:21:07,265 3856 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-02 15:21:07,280 3856 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\trivy".
2023-06-02 15:21:07,344 3856 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\trivy\tools'.
2023-06-02 15:21:07,358 3856 [DEBUG] - [NuGet] Removed file 'trivy.nuspec' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-06-02 15:21:07,374 3856 [DEBUG] - [NuGet] Removed file 'trivy.nupkg' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-06-02 15:21:07,390 3856 [DEBUG] - [NuGet] The directory is not empty.
2023-06-02 15:21:07,390 3856 [INFO ] - [NuGet] Successfully uninstalled 'trivy 0.42.0'.
2023-06-02 15:21:07,405 3856 [INFO ] - trivy has been successfully uninstalled.
2023-06-02 15:21:07,421 3856 [DEBUG] - Removing nupkg if it still exists.
2023-06-02 15:21:07,437 3856 [DEBUG] - Ensuring removal of installation files.
2023-06-02 15:21:07,437 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 15:21:07,452 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.0_windows-64bit.zip.txt".
2023-06-02 15:21:07,452 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 15:21:07,468 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-06-02 15:21:07,484 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-06-02 15:21:07,484 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\README.md".
2023-06-02 15:21:08,437 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '4B1A6D1E631BC90F6BEEF2882ECCE15B'
2023-06-02 15:21:08,453 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe".
2023-06-02 15:21:08,468 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 15:21:08,483 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl".
2023-06-02 15:21:08,483 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 15:21:08,499 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl".
2023-06-02 15:21:08,499 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 15:21:08,499 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl".
2023-06-02 15:21:08,514 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 15:21:08,514 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl".
2023-06-02 15:21:08,530 3856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 15:21:08,546 3856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl".
2023-06-02 15:21:08,546 3856 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\trivy".
2023-06-02 15:21:08,562 3856 [DEBUG] - Ensuring removal of package cache files.
2023-06-02 15:21:08,562 3856 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.0".
2023-06-02 15:21:08,609 3856 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-02 15:21:08,624 3856 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-02 15:21:08,640 3856 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment