Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 2, 2023 09:56
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/d6df2514bae1fbf9061a25ce499848a1 to your computer and use it in GitHub Desktop.
Save choco-bot/d6df2514bae1fbf9061a25ce499848a1 to your computer and use it in GitHub Desktop.
trivy v0.41.0 - Passed - Package Tests Results

trivy v0.41.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/trivy/0.41.0
  • Tested 02 Jun 2023 09:56:37 +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="4BDBB9AFB7BF5ADFEA71C2CC57EB88FC" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec" checksum="6A3F6A55219D08A3E5337AA5A127FD05" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt" checksum="A3CA560218C49BFBF92CA1A7F631B347" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1" checksum="28F5861106C61C95CCF838E7723BFB11" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE" checksum="86D3F3A95C324C9479BD8986968F4327" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\README.md" checksum="C842E547331E25610A697546FB45263A" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe" checksum="8CBBE0C86F8B1DBE0131810908116A2B" />
<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 09:55:45,303 2472 [DEBUG] - XmlConfiguration is now operational
2023-06-02 09:55:45,443 2472 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:55:45,459 2472 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:55:45,459 2472 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:55:45,459 2472 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:55:45,459 2472 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:55:45,475 2472 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-02 09:55:45,709 2472 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-02 09:55:45,725 2472 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-02 09:55:45,725 2472 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-02 09:55:45,725 2472 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-02 09:55:45,850 2472 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-02 09:55:45,850 2472 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-02 09:55:45,850 2472 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-02 09:55:45,865 2472 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-02 09:55:45,865 2472 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-02 09:55:45,865 2472 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-02 09:55:45,865 2472 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-02 09:55:45,881 2472 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-02 09:55:45,881 2472 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-02 09:55:45,881 2472 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-02 09:55:45,881 2472 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-02 09:55:45,897 2472 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-02 09:55:45,897 2472 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-02 09:55:45,897 2472 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-02 09:55:46,256 2472 [INFO ] - ============================================================
2023-06-02 09:55:46,788 2472 [INFO ] - Chocolatey v1.3.0
2023-06-02 09:55:46,835 2472 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-02 09:55:46,850 2472 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-02 09:55:46,850 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-02 09:55:46,866 2472 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install trivy --version 0.41.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-02 09:55:46,881 2472 [DEBUG] - Received arguments: install trivy --version 0.41.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-02 09:55:47,053 2472 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-02 09:55:47,085 2472 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-02 09:55:47,116 2472 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-02 09:55:47,257 2472 [DEBUG] - Performing validation checks.
2023-06-02 09:55:47,272 2472 [DEBUG] - Global Configuration Validation Checks:
2023-06-02 09:55:47,272 2472 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-02 09:55:47,287 2472 [DEBUG] - System State Validation Checks:
2023-06-02 09:55:47,304 2472 [DEBUG] - Reboot Requirement Checks:
2023-06-02 09:55:47,304 2472 [DEBUG] - - Pending Computer Rename = Checked
2023-06-02 09:55:47,319 2472 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-02 09:55:47,319 2472 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-02 09:55:47,334 2472 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-02 09:55:47,334 2472 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-02 09:55:47,350 2472 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-02 09:55:47,365 2472 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-02 09:55:47,429 2472 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-02 09:55:47,429 2472 [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 09:55:47,490 2472 [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.41.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-B9OJM143B5Q'|
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 09:55:47,522 2472 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-02 09:55:47,553 2472 [INFO ] - Installing the following packages:
2023-06-02 09:55:47,569 2472 [INFO ] - trivy
2023-06-02 09:55:47,569 2472 [INFO ] - By installing, you accept licenses for the packages.
2023-06-02 09:55:47,584 2472 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-02 09:55:47,616 2472 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-02 09:55:47,616 2472 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 09:55:47,616 2472 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 09:55:47,631 2472 [DEBUG] - * 'ChocolateyLastPathUpdate'='133301358131977962' ('User')
2023-06-02 09:55:47,631 2472 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-02 09:55:47,647 2472 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-02 09:55:47,647 2472 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-02 09:55:47,663 2472 [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 09:55:47,663 2472 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-02 09:55:47,678 2472 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-02 09:55:47,678 2472 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-02 09:55:47,678 2472 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 09:55:47,694 2472 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 09:55:47,694 2472 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-02 09:55:47,709 2472 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-02 09:55:47,709 2472 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-02 09:55:47,709 2472 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-02 09:55:47,725 2472 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-02 09:55:47,725 2472 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-02 09:55:47,741 2472 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-02 09:55:49,835 2472 [INFO ] - [NuGet] Installing 'trivy 0.41.0'.
2023-06-02 09:55:49,850 2472 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'trivy\tools'.
2023-06-02 09:55:49,913 2472 [DEBUG] - [NuGet] Added file 'trivy.nupkg' to folder 'trivy'.
2023-06-02 09:55:50,397 2472 [DEBUG] - [NuGet] Added file 'trivy.nuspec' to folder 'trivy'.
2023-06-02 09:55:50,413 2472 [INFO ] - [NuGet] Successfully installed 'trivy 0.41.0'.
2023-06-02 09:55:50,413 2472 [INFO ] -
trivy v0.41.0 (forced)
2023-06-02 09:55:50,444 2472 [INFO ] - trivy package files install completed. Performing other installation steps.
2023-06-02 09:55:50,554 2472 [DEBUG] - Setting installer args for trivy
2023-06-02 09:55:50,554 2472 [DEBUG] - Setting package parameters for trivy
2023-06-02 09:55:50,568 2472 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1':
2023-06-02 09:55:50,584 2472 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageName = 'trivy'
$version = '0.41.0'
$url64 = "https://github.com/aquasecurity/trivy/releases/download/v"+$version+"/trivy_"+$version+"_Windows-64bit.zip"
$checksum64 = '67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8'
$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 09:55:50,662 2472 [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 09:55:50,678 2472 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-02 09:55:51,351 2472 [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 09:55:51,882 2472 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-02 09:55:51,882 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-02 09:55:51,882 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-02 09:55:51,897 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-02 09:55:51,897 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-02 09:55:51,912 2472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-02 09:55:51,912 2472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-02 09:55:51,928 2472 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-02 09:55:51,928 2472 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-02 09:55:51,943 2472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-02 09:55:51,943 2472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-02 09:55:51,959 2472 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-02 09:55:51,959 2472 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-02 09:55:51,975 2472 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-02 09:55:51,975 2472 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-02 09:55:51,990 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-02 09:55:51,990 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-02 09:55:52,006 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-02 09:55:52,006 2472 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-02 09:55:52,022 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:52,022 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 09:55:52,037 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-02 09:55:52,053 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-02 09:55:52,053 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-02 09:55:52,068 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-02 09:55:52,084 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 09:55:52,084 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-02 09:55:52,084 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-02 09:55:52,100 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-02 09:55:52,100 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-02 09:55:52,116 2472 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-02 09:55:52,116 2472 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-02 09:55:52,131 2472 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-02 09:55:52,131 2472 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 09:55:52,147 2472 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-02 09:55:52,147 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-02 09:55:52,162 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:52,162 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-02 09:55:52,178 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 09:55:52,178 2472 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-02 09:55:52,194 2472 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-02 09:55:52,194 2472 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-02 09:55:52,210 2472 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-02 09:55:52,365 2472 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-02 09:55:52,381 2472 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-02 09:55:52,381 2472 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-02 09:55:52,397 2472 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-02 09:55:52,397 2472 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-02 09:55:52,397 2472 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-02 09:55:52,412 2472 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-02 09:55:52,444 2472 [DEBUG] - Loading community extensions
2023-06-02 09:55:52,555 2472 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-02 09:55:52,569 2472 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-02 09:55:52,680 2472 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-02 09:55:52,694 2472 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-02 09:55:52,709 2472 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-02 09:55:52,709 2472 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-02 09:55:52,725 2472 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-02 09:55:52,725 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-02 09:55:52,741 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-02 09:55:52,741 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-02 09:55:52,741 2472 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-02 09:55:52,756 2472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-02 09:55:52,756 2472 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-02 09:55:52,772 2472 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-02 09:55:52,772 2472 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-02 09:55:52,788 2472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-02 09:55:52,788 2472 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-02 09:55:52,803 2472 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-02 09:55:52,835 2472 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-02 09:55:52,835 2472 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-02 09:55:52,850 2472 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-02 09:55:52,850 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-02 09:55:52,866 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-02 09:55:52,881 2472 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-02 09:55:52,881 2472 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-02 09:55:52,897 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:52,897 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 09:55:52,913 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-02 09:55:52,913 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-02 09:55:52,928 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-02 09:55:52,943 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-02 09:55:52,943 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 09:55:52,959 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-02 09:55:52,975 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-02 09:55:52,975 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-02 09:55:52,975 2472 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-02 09:55:52,990 2472 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-02 09:55:52,990 2472 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-02 09:55:53,006 2472 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-02 09:55:53,053 2472 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 09:55:53,053 2472 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-02 09:55:53,068 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-02 09:55:53,068 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:53,068 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-02 09:55:53,084 2472 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 09:55:53,084 2472 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-02 09:55:53,100 2472 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-02 09:55:53,100 2472 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-02 09:55:53,116 2472 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-02 09:55:53,116 2472 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-02 09:55:53,131 2472 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-02 09:55:53,131 2472 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-02 09:55:53,146 2472 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-02 09:55:53,146 2472 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-02 09:55:53,162 2472 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-02 09:55:53,162 2472 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-02 09:55:53,178 2472 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-02 09:55:53,178 2472 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-02 09:55:53,194 2472 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-02 09:55:53,194 2472 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-02 09:55:53,209 2472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-02 09:55:53,209 2472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-02 09:55:53,225 2472 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-02 09:55:53,225 2472 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-02 09:55:53,225 2472 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-02 09:55:53,241 2472 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-02 09:55:53,241 2472 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-02 09:55:53,256 2472 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-02 09:55:53,256 2472 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-02 09:55:53,272 2472 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-02 09:55:53,272 2472 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-02 09:55:53,287 2472 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-02 09:55:53,287 2472 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-02 09:55:53,304 2472 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-02 09:55:53,304 2472 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-02 09:55:53,304 2472 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-02 09:55:53,319 2472 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-02 09:55:53,319 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:53,350 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-02 09:55:53,350 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-02 09:55:53,350 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-02 09:55:53,365 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-02 09:55:53,365 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-02 09:55:53,381 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-02 09:55:53,381 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-02 09:55:53,381 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-02 09:55:53,397 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-02 09:55:53,397 2472 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-02 09:55:53,412 2472 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-02 09:55:53,412 2472 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-02 09:55:53,428 2472 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-02 09:55:53,428 2472 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-02 09:55:53,443 2472 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-02 09:55:53,443 2472 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-02 09:55:53,459 2472 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-02 09:55:53,459 2472 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-02 09:55:53,459 2472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-02 09:55:53,475 2472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-02 09:55:53,475 2472 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-02 09:55:53,491 2472 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-02 09:55:53,491 2472 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-02 09:55:53,506 2472 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-02 09:55:53,506 2472 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-02 09:55:53,522 2472 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-02 09:55:53,522 2472 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-02 09:55:53,538 2472 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-02 09:55:53,538 2472 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-02 09:55:53,553 2472 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-02 09:55:53,569 2472 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-02 09:55:53,569 2472 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-02 09:55:53,679 2472 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-02 09:55:53,709 2472 [DEBUG] - Running 'ChocolateyScriptRunner' for trivy v0.41.0 with packageScript 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\trivy', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-02 09:55:53,788 2472 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
2023-06-02 09:55:53,897 2472 [DEBUG] - Running Get-PackageParameters
2023-06-02 09:55:53,914 2472 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-06-02 09:55:54,053 2472 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\trivy\tools' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip' -checksumType64 'sha256' -checksum64 '67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8' -packageName 'trivy'
2023-06-02 09:55:54,211 2472 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 '67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'trivy' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivyInstall.zip' -url '' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip'
2023-06-02 09:55:54,350 2472 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-02 09:55:54,381 2472 [DEBUG] - CPU is 64 bit
2023-06-02 09:55:54,413 2472 [DEBUG] - Setting url to 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip' and bitPackage to 64
2023-06-02 09:55:54,506 2472 [DEBUG] - Running Get-WebFileName -url 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip' -defaultName 'trivyInstall.zip'
2023-06-02 09:55:55,397 2472 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-06-02 09:55:55,445 2472 [DEBUG] - File name determined from url is 'trivy_0.41.0_windows-64bit.zip'
2023-06-02 09:55:55,538 2472 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip' -ErrorAction 'Stop'
2023-06-02 09:55:55,553 2472 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-02 09:55:55,569 2472 [DEBUG] - Request Headers:
2023-06-02 09:55:55,584 2472 [DEBUG] - 'Accept':'*/*'
2023-06-02 09:55:55,584 2472 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-06-02 09:55:55,818 2472 [DEBUG] - Response Headers:
2023-06-02 09:55:55,866 2472 [DEBUG] - 'Connection':'keep-alive'
2023-06-02 09:55:55,866 2472 [DEBUG] - 'Content-MD5':'2jfufFpyv6S30fZz+kfTaQ=='
2023-06-02 09:55:55,883 2472 [DEBUG] - 'x-ms-request-id':'c20c72c0-501e-0055-0338-95f1de000000'
2023-06-02 09:55:55,900 2472 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-06-02 09:55:55,900 2472 [DEBUG] - 'x-ms-creation-time':'Fri, 28 Apr 2023 06:00:44 GMT'
2023-06-02 09:55:55,912 2472 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-06-02 09:55:55,927 2472 [DEBUG] - 'x-ms-lease-state':'available'
2023-06-02 09:55:55,927 2472 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-06-02 09:55:55,944 2472 [DEBUG] - 'Content-Disposition':'attachment; filename=trivy_0.41.0_windows-64bit.zip'
2023-06-02 09:55:55,959 2472 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-06-02 09:55:55,959 2472 [DEBUG] - 'Fastly-Restarts':'1'
2023-06-02 09:55:55,975 2472 [DEBUG] - 'Age':'0'
2023-06-02 09:55:55,975 2472 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000097-IAD, cache-mci680052-MCI'
2023-06-02 09:55:55,990 2472 [DEBUG] - 'X-Cache':'MISS, HIT'
2023-06-02 09:55:55,990 2472 [DEBUG] - 'X-Cache-Hits':'0, 0'
2023-06-02 09:55:56,006 2472 [DEBUG] - 'X-Timer':'S1685699756.766754,VS0,VE47'
2023-06-02 09:55:56,068 2472 [DEBUG] - 'Accept-Ranges':'bytes'
2023-06-02 09:55:56,068 2472 [DEBUG] - 'Content-Length':'50815683'
2023-06-02 09:55:56,084 2472 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-06-02 09:55:56,084 2472 [DEBUG] - 'Date':'Fri, 02 Jun 2023 09:55:55 GMT'
2023-06-02 09:55:56,099 2472 [DEBUG] - 'ETag':'"0x8DB47ADE79656A5"'
2023-06-02 09:55:56,099 2472 [DEBUG] - 'Last-Modified':'Fri, 28 Apr 2023 06:00:44 GMT'
2023-06-02 09:55:56,115 2472 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-06-02 09:55:56,115 2472 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-06-02 09:55:56,146 2472 [INFO ] - Downloading trivy 64 bit
from 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip'
2023-06-02 09:55:56,210 2472 [DEBUG] - Running Get-WebFile -url 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip' -options 'System.Collections.Hashtable'
2023-06-02 09:55:56,225 2472 [DEBUG] - Setting request timeout to 30000
2023-06-02 09:55:56,225 2472 [DEBUG] - Setting read/write timeout to 2700000
2023-06-02 09:55:56,241 2472 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-02 09:55:56,881 2472 [DEBUG] - Downloading https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip
2023-06-02 09:56:01,568 2472 [INFO ] -
2023-06-02 09:56:01,583 2472 [INFO ] - Download of trivy_0.41.0_windows-64bit.zip (48.46 MB) completed.
2023-06-02 09:56:04,691 2472 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-02 09:56:04,710 2472 [DEBUG] - Verifying package provided checksum of '67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip'.
2023-06-02 09:56:04,755 2472 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip' -checksum '67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8' -checksumType 'sha256' -originalUrl 'https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Windows-64bit.zip'
2023-06-02 09:56:04,786 2472 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-02 09:56:04,786 2472 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip"]
2023-06-02 09:56:05,411 2472 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="67d195335a9152edf4aaa54dbabc053a356f61f8a127f7e2e3d08081daee94d8" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip"] exited with '0'.
2023-06-02 09:56:05,489 2472 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip' -destination 'C:\ProgramData\chocolatey\lib\trivy\tools' -specificFolder '' -packageName 'trivy'
2023-06-02 09:56:05,504 2472 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-02 09:56:05,520 2472 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip to C:\ProgramData\chocolatey\lib\trivy\tools...
2023-06-02 09:56:05,551 2472 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-06-02 09:56:05,598 2472 [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.41.0\trivy_0.41.0_windows-64bit.zip"]
2023-06-02 09:56:08,285 2472 [INFO ] - VERBOSE:
2023-06-02 09:56:08,300 2472 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-06-02 09:56:08,316 2472 [INFO ] - VERBOSE:
2023-06-02 09:56:08,332 2472 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-06-02 09:56:08,332 2472 [INFO ] - VERBOSE: 1 file, 50815683 bytes (49 MiB)
2023-06-02 09:56:08,348 2472 [INFO ] - VERBOSE:
2023-06-02 09:56:08,363 2472 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip
2023-06-02 09:56:08,363 2472 [INFO ] - VERBOSE: --
2023-06-02 09:56:08,379 2472 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0\trivy_0.41.0_windows-64bit.zip
2023-06-02 09:56:08,379 2472 [INFO ] - VERBOSE: Type = zip
2023-06-02 09:56:08,379 2472 [INFO ] - VERBOSE: Physical Size = 50815683
2023-06-02 09:56:08,395 2472 [INFO ] - VERBOSE:
2023-06-02 09:56:08,410 2472 [INFO ] - VERBOSE: - LICENSE
2023-06-02 09:56:08,426 2472 [INFO ] - VERBOSE: - README.md
2023-06-02 09:56:08,441 2472 [INFO ] - VERBOSE: - contrib\asff.tpl
2023-06-02 09:56:08,441 2472 [INFO ] - VERBOSE: - contrib\gitlab-codequality.tpl
2023-06-02 09:56:08,456 2472 [INFO ] - VERBOSE: - contrib\gitlab.tpl
2023-06-02 09:56:08,456 2472 [INFO ] - VERBOSE: - contrib\html.tpl
2023-06-02 09:56:08,472 2472 [INFO ] - VERBOSE: - contrib\junit.tpl
2023-06-02 09:56:08,472 2472 [INFO ] - VERBOSE: - trivy.exe
2023-06-02 09:56:08,488 2472 [INFO ] - VERBOSE: Everything is Ok
2023-06-02 09:56:08,504 2472 [INFO ] - VERBOSE:
2023-06-02 09:56:08,504 2472 [INFO ] - VERBOSE: Files: 8
2023-06-02 09:56:08,519 2472 [INFO ] - VERBOSE: Size: 193277514
2023-06-02 09:56:08,519 2472 [INFO ] - VERBOSE: Compressed: 50815683
2023-06-02 09:56:08,613 2472 [DEBUG] - $exitCode was passed null
2023-06-02 09:56:08,613 2472 [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.41.0\trivy_0.41.0_windows-64bit.zip"] exited with '0'.
2023-06-02 09:56:08,660 2472 [DEBUG] - 7z exit code: 0
2023-06-02 09:56:08,676 2472 [INFO ] - C:\ProgramData\chocolatey\lib\trivy\tools
2023-06-02 09:56:08,691 2472 [INFO ] - No db update selected
2023-06-02 09:56:08,722 2472 [DEBUG] - ----------------------------------------------------------------------
2023-06-02 09:56:08,738 2472 [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 09:56:08,754 2472 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-02 09:56:08,848 2472 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-02 09:56:09,019 2472 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-06-02 09:56:09,019 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '4BDBB9AFB7BF5ADFEA71C2CC57EB88FC'
2023-06-02 09:56:09,035 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '6A3F6A55219D08A3E5337AA5A127FD05'
2023-06-02 09:56:09,051 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 09:56:09,051 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum '28F5861106C61C95CCF838E7723BFB11'
2023-06-02 09:56:09,051 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 09:56:09,066 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum 'C842E547331E25610A697546FB45263A'
2023-06-02 09:56:10,144 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '8CBBE0C86F8B1DBE0131810908116A2B'
2023-06-02 09:56:10,144 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 09:56:10,160 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 09:56:10,160 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 09:56:10,175 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 09:56:10,175 2472 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 09:56:10,222 2472 [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 09:56:13,534 2472 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-06-02 09:56:13,534 2472 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-06-02 09:56:14,127 2472 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-06-02 09:56:14,127 2472 [DEBUG] - [ShimGen] for C# 5
2023-06-02 09:56:14,127 2472 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-06-02 09:56:14,144 2472 [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 09:56:14,175 2472 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\trivy.exe'
2023-06-02 09:56:14,268 2472 [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 09:56:14,284 2472 [INFO ] - ShimGen has successfully created a shim for trivy.exe
2023-06-02 09:56:14,284 2472 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\trivy.exe
Targeting: C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe
IsGui:False
2023-06-02 09:56:14,363 2472 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0".
2023-06-02 09:56:14,395 2472 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0\.files'
2023-06-02 09:56:14,409 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0\.extra".
2023-06-02 09:56:14,424 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0\.version".
2023-06-02 09:56:14,441 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0\.sxs".
2023-06-02 09:56:14,441 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.41.0\.pin".
2023-06-02 09:56:14,456 2472 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-02 09:56:14,471 2472 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\.chocolateyPending".
2023-06-02 09:56:14,471 2472 [INFO ] - The install of trivy was successful.
2023-06-02 09:56:14,487 2472 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\trivy\tools'
2023-06-02 09:56:14,487 2472 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\trivy.0.41.0.nupkg".
2023-06-02 09:56:14,534 2472 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-02 09:56:14,550 2472 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-02 09:56:14,581 2472 [DEBUG] - Exiting with 0
2023-06-02 09:56:26,815 4228 [DEBUG] - XmlConfiguration is now operational
2023-06-02 09:56:26,987 4228 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:56:26,987 4228 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:56:26,987 4228 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:56:26,987 4228 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:56:27,002 4228 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-02 09:56:27,002 4228 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-02 09:56:27,269 4228 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-02 09:56:27,283 4228 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-02 09:56:27,283 4228 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-02 09:56:27,283 4228 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-02 09:56:27,283 4228 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-02 09:56:27,299 4228 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-02 09:56:27,299 4228 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-02 09:56:27,299 4228 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-02 09:56:27,314 4228 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-02 09:56:27,314 4228 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-02 09:56:27,314 4228 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-02 09:56:27,314 4228 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-02 09:56:27,330 4228 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-02 09:56:27,330 4228 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-02 09:56:27,330 4228 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-02 09:56:27,330 4228 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-02 09:56:27,346 4228 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-02 09:56:27,346 4228 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-02 09:56:27,674 4228 [INFO ] - ============================================================
2023-06-02 09:56:28,049 4228 [INFO ] - Chocolatey v1.3.0
2023-06-02 09:56:28,081 4228 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-02 09:56:28,096 4228 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-02 09:56:28,096 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-02 09:56:28,127 4228 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall trivy --version 0.41.0 -dvy --execution-timeout=2700
2023-06-02 09:56:28,127 4228 [DEBUG] - Received arguments: uninstall trivy --version 0.41.0 -dvy --execution-timeout=2700
2023-06-02 09:56:28,284 4228 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-02 09:56:28,316 4228 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-02 09:56:28,346 4228 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-02 09:56:28,504 4228 [DEBUG] - Performing validation checks.
2023-06-02 09:56:28,518 4228 [DEBUG] - Global Configuration Validation Checks:
2023-06-02 09:56:28,534 4228 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-02 09:56:28,550 4228 [DEBUG] - System State Validation Checks:
2023-06-02 09:56:28,550 4228 [DEBUG] - Reboot Requirement Checks:
2023-06-02 09:56:28,564 4228 [DEBUG] - - Pending Computer Rename = Checked
2023-06-02 09:56:28,564 4228 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-02 09:56:28,580 4228 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-02 09:56:28,580 4228 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-02 09:56:28,596 4228 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-02 09:56:28,612 4228 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-02 09:56:28,628 4228 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-02 09:56:28,675 4228 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-02 09:56:28,689 4228 [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 09:56:28,737 4228 [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.41.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-B9OJM143B5Q'|
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 09:56:28,753 4228 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-02 09:56:28,768 4228 [INFO ] - Uninstalling the following packages:
2023-06-02 09:56:28,784 4228 [INFO ] - trivy
2023-06-02 09:56:28,815 4228 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-02 09:56:28,815 4228 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-02 09:56:28,830 4228 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 09:56:28,830 4228 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-02 09:56:28,846 4228 [DEBUG] - * 'ChocolateyLastPathUpdate'='133301358131977962' ('User')
2023-06-02 09:56:28,846 4228 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-02 09:56:28,846 4228 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-02 09:56:28,862 4228 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-02 09:56:28,862 4228 [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 09:56:28,877 4228 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-02 09:56:28,877 4228 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-02 09:56:28,893 4228 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-02 09:56:28,893 4228 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 09:56:28,893 4228 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-02 09:56:28,908 4228 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-02 09:56:28,924 4228 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-02 09:56:28,924 4228 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-02 09:56:28,940 4228 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-02 09:56:28,940 4228 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-02 09:56:28,955 4228 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-02 09:56:28,955 4228 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-02 09:56:29,128 4228 [DEBUG] - Running list with the following filter = ''
2023-06-02 09:56:29,128 4228 [DEBUG] - --- Start of List ---
2023-06-02 09:56:29,503 4228 [DEBUG] - trivy 0.41.0
2023-06-02 09:56:29,518 4228 [DEBUG] - --- End of List ---
2023-06-02 09:56:29,815 4228 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-02 09:56:29,831 4228 [DEBUG] - Backing up existing trivy prior to operation.
2023-06-02 09:56:29,831 4228 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\trivy'
to 'C:\ProgramData\chocolatey\lib-bkp\trivy'
2023-06-02 09:56:31,861 4228 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy".
2023-06-02 09:56:31,861 4228 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nupkg"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg".
2023-06-02 09:56:31,896 4228 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nuspec"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec".
2023-06-02 09:56:31,896 4228 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy_0.41.0_windows-64bit.zip.txt"
to "C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt".
2023-06-02 09:56:31,908 4228 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools".
2023-06-02 09:56:31,924 4228 [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 09:56:31,924 4228 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\LICENSE"
to "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-06-02 09:56:31,939 4228 [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 09:56:31,955 4228 [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 09:56:32,192 4228 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools\contrib".
2023-06-02 09:56:32,192 4228 [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 09:56:32,205 4228 [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 09:56:32,221 4228 [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 09:56:32,221 4228 [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 09:56:32,237 4228 [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 09:56:33,768 4228 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-06-02 09:56:33,783 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '4BDBB9AFB7BF5ADFEA71C2CC57EB88FC'
2023-06-02 09:56:33,783 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '6A3F6A55219D08A3E5337AA5A127FD05'
2023-06-02 09:56:33,799 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 09:56:33,799 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum '28F5861106C61C95CCF838E7723BFB11'
2023-06-02 09:56:33,815 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 09:56:33,815 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum 'C842E547331E25610A697546FB45263A'
2023-06-02 09:56:34,502 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '8CBBE0C86F8B1DBE0131810908116A2B'
2023-06-02 09:56:34,518 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 09:56:34,533 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 09:56:34,533 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 09:56:34,533 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 09:56:34,549 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 09:56:35,159 4228 [INFO ] - [NuGet] Uninstalling 'trivy 0.41.0'.
2023-06-02 09:56:35,174 4228 [INFO ] -
trivy v0.41.0
2023-06-02 09:56:35,237 4228 [DEBUG] - Removing shim for trivy.exe at 'C:\ProgramData\chocolatey\bin\trivy.exe
2023-06-02 09:56:35,237 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\trivy.exe".
2023-06-02 09:56:35,283 4228 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-06-02 09:56:35,300 4228 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-02 09:56:35,424 4228 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-02 09:56:35,455 4228 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\trivy".
2023-06-02 09:56:35,549 4228 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\trivy\tools'.
2023-06-02 09:56:35,564 4228 [DEBUG] - [NuGet] Removed file 'trivy.nuspec' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-06-02 09:56:35,564 4228 [DEBUG] - [NuGet] Removed file 'trivy.nupkg' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-06-02 09:56:35,580 4228 [DEBUG] - [NuGet] The directory is not empty.
2023-06-02 09:56:35,596 4228 [INFO ] - [NuGet] Successfully uninstalled 'trivy 0.41.0'.
2023-06-02 09:56:35,613 4228 [INFO ] - trivy has been successfully uninstalled.
2023-06-02 09:56:35,613 4228 [DEBUG] - Removing nupkg if it still exists.
2023-06-02 09:56:35,627 4228 [DEBUG] - Ensuring removal of installation files.
2023-06-02 09:56:35,644 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-06-02 09:56:35,644 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\trivy_0.41.0_windows-64bit.zip.txt".
2023-06-02 09:56:35,658 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-06-02 09:56:35,658 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-06-02 09:56:35,674 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum 'C842E547331E25610A697546FB45263A'
2023-06-02 09:56:35,674 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\README.md".
2023-06-02 09:56:36,612 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum '8CBBE0C86F8B1DBE0131810908116A2B'
2023-06-02 09:56:36,627 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe".
2023-06-02 09:56:36,643 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-06-02 09:56:36,658 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl".
2023-06-02 09:56:36,658 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-06-02 09:56:36,674 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl".
2023-06-02 09:56:36,674 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-06-02 09:56:36,689 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl".
2023-06-02 09:56:36,689 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-06-02 09:56:36,705 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl".
2023-06-02 09:56:36,705 4228 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-06-02 09:56:36,721 4228 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl".
2023-06-02 09:56:36,721 4228 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\trivy".
2023-06-02 09:56:36,736 4228 [DEBUG] - Ensuring removal of package cache files.
2023-06-02 09:56:36,736 4228 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.41.0".
2023-06-02 09:56:36,815 4228 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-02 09:56:36,815 4228 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-02 09:56:36,847 4228 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment