Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 9, 2023 08:30
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/f6d93b7339083b2e03e6d848cb2ca548 to your computer and use it in GitHub Desktop.
Save choco-bot/f6d93b7339083b2e03e6d848cb2ca548 to your computer and use it in GitHub Desktop.
trivy v0.42.1 - Passed - Package Tests Results

trivy v0.42.1 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/trivy/0.42.1
  • Tested 09 Jul 2023 08:30:53 +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="78D07FAE257FD43E617E158EA00141BF" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec" checksum="27006FAF10567F17C7590A679014D0F2" />
<file path="C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt" checksum="A3CA560218C49BFBF92CA1A7F631B347" />
<file path="C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1" checksum="B3B5E2FED41BA14CC06FE92F072E1CC3" />
<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="B96A8F1E55B89ED278EB45564FD5562D" />
<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-07-09 08:29:56,941 988 [DEBUG] - XmlConfiguration is now operational
2023-07-09 08:29:57,097 988 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:29:57,113 988 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:29:57,113 988 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:29:57,113 988 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:29:57,113 988 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:29:57,128 988 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-09 08:29:57,457 988 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-09 08:29:57,457 988 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-09 08:29:57,457 988 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-09 08:29:57,472 988 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-09 08:29:57,472 988 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-09 08:29:57,488 988 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-09 08:29:57,488 988 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-09 08:29:57,488 988 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-09 08:29:57,503 988 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-09 08:29:57,503 988 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-09 08:29:57,503 988 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-09 08:29:57,519 988 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-09 08:29:57,519 988 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-09 08:29:57,550 988 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-09 08:29:57,550 988 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-09 08:29:57,550 988 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-09 08:29:57,566 988 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-09 08:29:57,566 988 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-09 08:29:57,878 988 [INFO ] - ============================================================
2023-07-09 08:29:58,316 988 [INFO ] - Chocolatey v1.3.0
2023-07-09 08:29:58,363 988 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-09 08:29:58,363 988 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-09 08:29:58,379 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-09 08:29:58,394 988 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install trivy --version 0.42.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-09 08:29:58,410 988 [DEBUG] - Received arguments: install trivy --version 0.42.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-09 08:29:58,597 988 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-09 08:29:58,629 988 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-09 08:29:58,676 988 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-09 08:29:58,816 988 [DEBUG] - Performing validation checks.
2023-07-09 08:29:58,831 988 [DEBUG] - Global Configuration Validation Checks:
2023-07-09 08:29:58,848 988 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-09 08:29:58,864 988 [DEBUG] - System State Validation Checks:
2023-07-09 08:29:58,864 988 [DEBUG] - Reboot Requirement Checks:
2023-07-09 08:29:58,879 988 [DEBUG] - - Pending Computer Rename = Checked
2023-07-09 08:29:58,895 988 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-09 08:29:58,895 988 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-09 08:29:58,910 988 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-09 08:29:58,925 988 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-09 08:29:58,925 988 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-09 08:29:58,941 988 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-09 08:29:59,020 988 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-09 08:29:59,020 988 [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-07-09 08:29:59,066 988 [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.1'|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-JO4G4VRUDIF'|
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-07-09 08:29:59,100 988 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-09 08:29:59,129 988 [INFO ] - Installing the following packages:
2023-07-09 08:29:59,129 988 [INFO ] - trivy
2023-07-09 08:29:59,144 988 [INFO ] - By installing, you accept licenses for the packages.
2023-07-09 08:29:59,144 988 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-09 08:29:59,178 988 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-09 08:29:59,191 988 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 08:29:59,191 988 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 08:29:59,207 988 [DEBUG] - * 'ChocolateyLastPathUpdate'='133332917083467005' ('User')
2023-07-09 08:29:59,207 988 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-09 08:29:59,222 988 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-09 08:29:59,222 988 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-09 08:29:59,238 988 [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-07-09 08:29:59,238 988 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-09 08:29:59,238 988 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-09 08:29:59,253 988 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-09 08:29:59,253 988 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 08:29:59,269 988 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 08:29:59,269 988 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-09 08:29:59,285 988 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-09 08:29:59,285 988 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-09 08:29:59,300 988 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-09 08:29:59,300 988 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-09 08:29:59,300 988 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-09 08:29:59,316 988 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-09 08:30:01,739 988 [INFO ] - [NuGet] Installing 'trivy 0.42.1'.
2023-07-09 08:30:01,785 988 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'trivy\tools'.
2023-07-09 08:30:01,816 988 [DEBUG] - [NuGet] Added file 'trivy.nupkg' to folder 'trivy'.
2023-07-09 08:30:02,301 988 [DEBUG] - [NuGet] Added file 'trivy.nuspec' to folder 'trivy'.
2023-07-09 08:30:02,317 988 [INFO ] - [NuGet] Successfully installed 'trivy 0.42.1'.
2023-07-09 08:30:02,331 988 [INFO ] -
trivy v0.42.1 (forced)
2023-07-09 08:30:02,364 988 [INFO ] - trivy package files install completed. Performing other installation steps.
2023-07-09 08:30:02,457 988 [DEBUG] - Setting installer args for trivy
2023-07-09 08:30:02,472 988 [DEBUG] - Setting package parameters for trivy
2023-07-09 08:30:02,488 988 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1':
2023-07-09 08:30:02,505 988 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageName = 'trivy'
$version = '0.42.1'
$url64 = "https://github.com/aquasecurity/trivy/releases/download/v"+$version+"/trivy_"+$version+"_Windows-64bit.zip"
$checksum64 = 'a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e'
$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-07-09 08:30:02,582 988 [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-07-09 08:30:02,613 988 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-09 08:30:03,660 988 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-09 08:30:04,238 988 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 08:30:04,238 988 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 08:30:04,253 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 08:30:04,253 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 08:30:04,269 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 08:30:04,269 988 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 08:30:04,285 988 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 08:30:04,285 988 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 08:30:04,300 988 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 08:30:04,300 988 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 08:30:04,316 988 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 08:30:04,331 988 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 08:30:04,331 988 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 08:30:04,347 988 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 08:30:04,364 988 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 08:30:04,378 988 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 08:30:04,394 988 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 08:30:04,410 988 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 08:30:04,410 988 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 08:30:04,425 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:04,440 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 08:30:04,567 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 08:30:04,582 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 08:30:04,598 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 08:30:04,598 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 08:30:04,614 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 08:30:04,614 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 08:30:04,628 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 08:30:04,628 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 08:30:04,644 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 08:30:04,644 988 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 08:30:04,660 988 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 08:30:04,660 988 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 08:30:04,675 988 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 08:30:04,675 988 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 08:30:04,691 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 08:30:04,691 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:04,706 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 08:30:04,706 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 08:30:04,722 988 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 08:30:04,737 988 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 08:30:04,754 988 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 08:30:04,754 988 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 08:30:04,769 988 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 08:30:04,769 988 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 08:30:04,785 988 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 08:30:04,785 988 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 08:30:04,800 988 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 08:30:04,800 988 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 08:30:04,800 988 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 08:30:04,848 988 [DEBUG] - Loading community extensions
2023-07-09 08:30:04,910 988 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-09 08:30:04,910 988 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-09 08:30:05,082 988 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 08:30:05,097 988 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 08:30:05,097 988 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 08:30:05,112 988 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 08:30:05,112 988 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 08:30:05,128 988 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 08:30:05,128 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 08:30:05,128 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 08:30:05,144 988 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 08:30:05,144 988 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 08:30:05,160 988 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 08:30:05,160 988 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 08:30:05,175 988 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 08:30:05,190 988 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 08:30:05,190 988 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 08:30:05,207 988 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 08:30:05,207 988 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 08:30:05,223 988 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 08:30:05,223 988 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 08:30:05,237 988 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 08:30:05,237 988 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 08:30:05,253 988 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 08:30:05,253 988 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 08:30:05,253 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:05,269 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 08:30:05,284 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 08:30:05,284 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 08:30:05,300 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 08:30:05,300 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 08:30:05,316 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 08:30:05,316 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 08:30:05,331 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 08:30:05,331 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 08:30:05,347 988 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 08:30:05,347 988 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 08:30:05,362 988 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 08:30:05,362 988 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 08:30:05,378 988 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 08:30:05,394 988 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 08:30:05,409 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 08:30:05,409 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:05,425 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 08:30:05,441 988 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 08:30:05,441 988 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 08:30:05,457 988 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 08:30:05,457 988 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 08:30:05,472 988 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 08:30:05,472 988 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 08:30:05,487 988 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 08:30:05,487 988 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 08:30:05,503 988 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 08:30:05,503 988 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 08:30:05,519 988 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 08:30:05,519 988 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 08:30:05,519 988 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 08:30:05,536 988 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 08:30:05,536 988 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-09 08:30:05,550 988 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-09 08:30:05,550 988 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-09 08:30:05,566 988 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-09 08:30:05,566 988 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-09 08:30:05,581 988 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-09 08:30:05,581 988 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-09 08:30:05,581 988 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-09 08:30:05,597 988 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-09 08:30:05,612 988 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-09 08:30:05,612 988 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-09 08:30:05,628 988 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-09 08:30:05,628 988 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-09 08:30:05,643 988 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-09 08:30:05,643 988 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-09 08:30:05,660 988 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-09 08:30:05,660 988 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-09 08:30:05,675 988 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-09 08:30:05,862 988 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-09 08:30:05,862 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:05,878 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 08:30:05,878 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-09 08:30:05,894 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-09 08:30:05,894 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-09 08:30:05,909 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-09 08:30:05,909 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 08:30:05,925 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-09 08:30:05,940 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-09 08:30:05,940 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-09 08:30:05,956 988 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-09 08:30:05,972 988 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-09 08:30:05,972 988 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 08:30:05,988 988 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-09 08:30:06,003 988 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-09 08:30:06,003 988 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 08:30:06,020 988 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-09 08:30:06,020 988 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 08:30:06,036 988 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-09 08:30:06,097 988 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 08:30:06,097 988 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-09 08:30:06,129 988 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 08:30:06,144 988 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-09 08:30:06,144 988 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-09 08:30:06,144 988 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-09 08:30:06,160 988 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-09 08:30:06,160 988 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-09 08:30:06,175 988 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-09 08:30:06,175 988 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-09 08:30:06,190 988 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-09 08:30:06,190 988 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-09 08:30:06,206 988 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-09 08:30:06,206 988 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-09 08:30:06,363 988 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-09 08:30:06,395 988 [DEBUG] - Running 'ChocolateyScriptRunner' for trivy v0.42.1 with packageScript 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\trivy', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-09 08:30:06,457 988 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
2023-07-09 08:30:06,581 988 [DEBUG] - Running Get-PackageParameters
2023-07-09 08:30:06,597 988 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-07-09 08:30:06,722 988 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\trivy\tools' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip' -checksumType64 'sha256' -checksum64 'a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e' -packageName 'trivy'
2023-07-09 08:30:06,910 988 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 'a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'trivy' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivyInstall.zip' -url '' -url64bit 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip'
2023-07-09 08:30:07,145 988 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-07-09 08:30:07,175 988 [DEBUG] - CPU is 64 bit
2023-07-09 08:30:07,191 988 [DEBUG] - Setting url to 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip' and bitPackage to 64
2023-07-09 08:30:07,316 988 [DEBUG] - Running Get-WebFileName -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip' -defaultName 'trivyInstall.zip'
2023-07-09 08:30:08,363 988 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-07-09 08:30:08,472 988 [DEBUG] - File name determined from url is 'trivy_0.42.1_windows-64bit.zip'
2023-07-09 08:30:08,551 988 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip' -ErrorAction 'Stop'
2023-07-09 08:30:08,567 988 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-09 08:30:08,567 988 [DEBUG] - Request Headers:
2023-07-09 08:30:08,597 988 [DEBUG] - 'Accept':'*/*'
2023-07-09 08:30:08,597 988 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-07-09 08:30:08,816 988 [DEBUG] - Response Headers:
2023-07-09 08:30:08,831 988 [DEBUG] - 'Connection':'keep-alive'
2023-07-09 08:30:08,847 988 [DEBUG] - 'Content-MD5':'gpJVkWBJXfemhfnaNFR8eg=='
2023-07-09 08:30:08,865 988 [DEBUG] - 'x-ms-request-id':'dc902eef-b01e-0010-2c3f-b2243d000000'
2023-07-09 08:30:08,881 988 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-07-09 08:30:08,895 988 [DEBUG] - 'x-ms-creation-time':'Thu, 08 Jun 2023 15:09:25 GMT'
2023-07-09 08:30:08,911 988 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-07-09 08:30:08,911 988 [DEBUG] - 'x-ms-lease-state':'available'
2023-07-09 08:30:08,925 988 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-07-09 08:30:08,925 988 [DEBUG] - 'Content-Disposition':'attachment; filename=trivy_0.42.1_windows-64bit.zip'
2023-07-09 08:30:08,941 988 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-07-09 08:30:08,941 988 [DEBUG] - 'Fastly-Restarts':'1'
2023-07-09 08:30:08,956 988 [DEBUG] - 'Age':'1'
2023-07-09 08:30:08,956 988 [DEBUG] - 'X-Served-By':'cache-iad-kjyo7100020-IAD, cache-mci680038-MCI'
2023-07-09 08:30:08,973 988 [DEBUG] - 'X-Cache':'MISS, HIT'
2023-07-09 08:30:08,973 988 [DEBUG] - 'X-Cache-Hits':'0, 0'
2023-07-09 08:30:08,988 988 [DEBUG] - 'X-Timer':'S1688891409.751568,VS0,VE55'
2023-07-09 08:30:08,988 988 [DEBUG] - 'Accept-Ranges':'bytes'
2023-07-09 08:30:09,050 988 [DEBUG] - 'Content-Length':'51639786'
2023-07-09 08:30:09,066 988 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-07-09 08:30:09,066 988 [DEBUG] - 'Date':'Sun, 09 Jul 2023 08:30:08 GMT'
2023-07-09 08:30:09,097 988 [DEBUG] - 'ETag':'"0x8DB68325917FDB6"'
2023-07-09 08:30:09,113 988 [DEBUG] - 'Last-Modified':'Thu, 08 Jun 2023 15:09:25 GMT'
2023-07-09 08:30:09,129 988 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-07-09 08:30:09,129 988 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-07-09 08:30:09,176 988 [INFO ] - Downloading trivy 64 bit
from 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip'
2023-07-09 08:30:09,239 988 [DEBUG] - Running Get-WebFile -url 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip' -options 'System.Collections.Hashtable'
2023-07-09 08:30:09,254 988 [DEBUG] - Setting request timeout to 30000
2023-07-09 08:30:09,285 988 [DEBUG] - Setting read/write timeout to 2700000
2023-07-09 08:30:09,301 988 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-07-09 08:30:10,066 988 [DEBUG] - Downloading https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip
2023-07-09 08:30:15,504 988 [INFO ] -
2023-07-09 08:30:15,519 988 [INFO ] - Download of trivy_0.42.1_windows-64bit.zip (49.25 MB) completed.
2023-07-09 08:30:18,628 988 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-07-09 08:30:18,644 988 [DEBUG] - Verifying package provided checksum of 'a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip'.
2023-07-09 08:30:18,676 988 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip' -checksum 'a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e' -checksumType 'sha256' -originalUrl 'https://github.com/aquasecurity/trivy/releases/download/v0.42.1/trivy_0.42.1_Windows-64bit.zip'
2023-07-09 08:30:18,707 988 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-07-09 08:30:18,707 988 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip"]
2023-07-09 08:30:19,348 988 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="a671f3aedae74c12ab5f6949c442084a9b1f0471ac7be0097e80ffb0152d346e" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip"] exited with '0'.
2023-07-09 08:30:19,427 988 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip' -destination 'C:\ProgramData\chocolatey\lib\trivy\tools' -specificFolder '' -packageName 'trivy'
2023-07-09 08:30:19,427 988 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-09 08:30:19,458 988 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip to C:\ProgramData\chocolatey\lib\trivy\tools...
2023-07-09 08:30:19,488 988 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-07-09 08:30:19,535 988 [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.1\trivy_0.42.1_windows-64bit.zip"]
2023-07-09 08:30:22,394 988 [INFO ] - VERBOSE:
2023-07-09 08:30:22,394 988 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-07-09 08:30:22,410 988 [INFO ] - VERBOSE:
2023-07-09 08:30:22,410 988 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-07-09 08:30:22,426 988 [INFO ] - VERBOSE: 1 file, 51639786 bytes (50 MiB)
2023-07-09 08:30:22,426 988 [INFO ] - VERBOSE:
2023-07-09 08:30:22,442 988 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip
2023-07-09 08:30:22,442 988 [INFO ] - VERBOSE: --
2023-07-09 08:30:22,457 988 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1\trivy_0.42.1_windows-64bit.zip
2023-07-09 08:30:22,472 988 [INFO ] - VERBOSE: Type = zip
2023-07-09 08:30:22,472 988 [INFO ] - VERBOSE: Physical Size = 51639786
2023-07-09 08:30:22,489 988 [INFO ] - VERBOSE:
2023-07-09 08:30:22,489 988 [INFO ] - VERBOSE: - LICENSE
2023-07-09 08:30:22,597 988 [INFO ] - VERBOSE: - README.md
2023-07-09 08:30:22,597 988 [INFO ] - VERBOSE: - contrib\asff.tpl
2023-07-09 08:30:22,613 988 [INFO ] - VERBOSE: - contrib\gitlab-codequality.tpl
2023-07-09 08:30:22,613 988 [INFO ] - VERBOSE: - contrib\gitlab.tpl
2023-07-09 08:30:22,628 988 [INFO ] - VERBOSE: - contrib\html.tpl
2023-07-09 08:30:22,628 988 [INFO ] - VERBOSE: - contrib\junit.tpl
2023-07-09 08:30:22,644 988 [INFO ] - VERBOSE: - trivy.exe
2023-07-09 08:30:22,644 988 [INFO ] - VERBOSE: Everything is Ok
2023-07-09 08:30:22,660 988 [INFO ] - VERBOSE:
2023-07-09 08:30:22,660 988 [INFO ] - VERBOSE: Files: 8
2023-07-09 08:30:22,675 988 [INFO ] - VERBOSE: Size: 196149112
2023-07-09 08:30:22,691 988 [INFO ] - VERBOSE: Compressed: 51639786
2023-07-09 08:30:22,769 988 [DEBUG] - $exitCode was passed null
2023-07-09 08:30:22,769 988 [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.1\trivy_0.42.1_windows-64bit.zip"] exited with '0'.
2023-07-09 08:30:22,816 988 [DEBUG] - 7z exit code: 0
2023-07-09 08:30:22,848 988 [INFO ] - C:\ProgramData\chocolatey\lib\trivy\tools
2023-07-09 08:30:22,863 988 [INFO ] - No db update selected
2023-07-09 08:30:22,878 988 [DEBUG] - ----------------------------------------------------------------------
2023-07-09 08:30:22,941 988 [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-07-09 08:30:22,957 988 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-09 08:30:23,175 988 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-09 08:30:23,723 988 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-07-09 08:30:23,769 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '78D07FAE257FD43E617E158EA00141BF'
2023-07-09 08:30:23,769 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '27006FAF10567F17C7590A679014D0F2'
2023-07-09 08:30:23,784 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-07-09 08:30:23,784 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum 'B3B5E2FED41BA14CC06FE92F072E1CC3'
2023-07-09 08:30:23,800 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-07-09 08:30:23,800 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-07-09 08:30:24,833 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum 'B96A8F1E55B89ED278EB45564FD5562D'
2023-07-09 08:30:24,833 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-07-09 08:30:24,847 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-07-09 08:30:24,847 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-07-09 08:30:24,863 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-07-09 08:30:24,863 988 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-07-09 08:30:25,175 988 [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-07-09 08:30:28,566 988 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-07-09 08:30:28,566 988 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-07-09 08:30:29,254 988 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-07-09 08:30:29,269 988 [DEBUG] - [ShimGen] for C# 5
2023-07-09 08:30:29,269 988 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-07-09 08:30:29,285 988 [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-07-09 08:30:29,300 988 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\trivy.exe'
2023-07-09 08:30:29,394 988 [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-07-09 08:30:29,394 988 [INFO ] - ShimGen has successfully created a shim for trivy.exe
2023-07-09 08:30:29,410 988 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\trivy.exe
Targeting: C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe
IsGui:False
2023-07-09 08:30:29,472 988 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1".
2023-07-09 08:30:29,519 988 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1\.files'
2023-07-09 08:30:29,534 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1\.extra".
2023-07-09 08:30:29,534 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1\.version".
2023-07-09 08:30:29,550 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1\.sxs".
2023-07-09 08:30:29,550 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\trivy.0.42.1\.pin".
2023-07-09 08:30:29,565 988 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-09 08:30:29,581 988 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\.chocolateyPending".
2023-07-09 08:30:29,597 988 [INFO ] - The install of trivy was successful.
2023-07-09 08:30:29,597 988 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\trivy\tools'
2023-07-09 08:30:29,614 988 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\trivy.0.42.1.nupkg".
2023-07-09 08:30:29,660 988 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-09 08:30:29,675 988 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-09 08:30:29,723 988 [DEBUG] - Exiting with 0
2023-07-09 08:30:42,254 1492 [DEBUG] - XmlConfiguration is now operational
2023-07-09 08:30:42,425 1492 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:30:42,425 1492 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:30:42,425 1492 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:30:42,441 1492 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:30:42,441 1492 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 08:30:42,441 1492 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-09 08:30:42,739 1492 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-09 08:30:42,739 1492 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-09 08:30:42,754 1492 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-09 08:30:42,754 1492 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-09 08:30:42,754 1492 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-09 08:30:42,769 1492 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-09 08:30:42,769 1492 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-09 08:30:42,769 1492 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-09 08:30:42,769 1492 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-09 08:30:42,784 1492 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-09 08:30:42,784 1492 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-09 08:30:42,784 1492 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-09 08:30:42,800 1492 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-09 08:30:42,800 1492 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-09 08:30:42,800 1492 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-09 08:30:42,816 1492 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-09 08:30:42,816 1492 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-09 08:30:42,816 1492 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-09 08:30:43,144 1492 [INFO ] - ============================================================
2023-07-09 08:30:43,535 1492 [INFO ] - Chocolatey v1.3.0
2023-07-09 08:30:43,566 1492 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-09 08:30:43,582 1492 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-09 08:30:43,597 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-09 08:30:43,613 1492 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall trivy --version 0.42.1 -dvy --execution-timeout=2700
2023-07-09 08:30:43,628 1492 [DEBUG] - Received arguments: uninstall trivy --version 0.42.1 -dvy --execution-timeout=2700
2023-07-09 08:30:43,817 1492 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-09 08:30:43,848 1492 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-09 08:30:43,862 1492 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-09 08:30:44,036 1492 [DEBUG] - Performing validation checks.
2023-07-09 08:30:44,050 1492 [DEBUG] - Global Configuration Validation Checks:
2023-07-09 08:30:44,066 1492 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-09 08:30:44,081 1492 [DEBUG] - System State Validation Checks:
2023-07-09 08:30:44,098 1492 [DEBUG] - Reboot Requirement Checks:
2023-07-09 08:30:44,115 1492 [DEBUG] - - Pending Computer Rename = Checked
2023-07-09 08:30:44,128 1492 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-09 08:30:44,128 1492 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-09 08:30:44,144 1492 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-09 08:30:44,144 1492 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-09 08:30:44,160 1492 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-09 08:30:44,175 1492 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-09 08:30:44,238 1492 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-09 08:30:44,238 1492 [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-07-09 08:30:44,285 1492 [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.1'|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-JO4G4VRUDIF'|
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-07-09 08:30:44,316 1492 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-09 08:30:44,347 1492 [INFO ] - Uninstalling the following packages:
2023-07-09 08:30:44,347 1492 [INFO ] - trivy
2023-07-09 08:30:44,378 1492 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-09 08:30:44,378 1492 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-09 08:30:44,394 1492 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 08:30:44,394 1492 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 08:30:44,410 1492 [DEBUG] - * 'ChocolateyLastPathUpdate'='133332917083467005' ('User')
2023-07-09 08:30:44,410 1492 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-09 08:30:44,425 1492 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-09 08:30:44,425 1492 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-09 08:30:44,425 1492 [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-07-09 08:30:44,440 1492 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-09 08:30:44,440 1492 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-09 08:30:44,457 1492 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-09 08:30:44,457 1492 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 08:30:44,472 1492 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 08:30:44,472 1492 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-09 08:30:44,488 1492 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-09 08:30:44,488 1492 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-09 08:30:44,488 1492 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-09 08:30:44,503 1492 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-09 08:30:44,503 1492 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-09 08:30:44,519 1492 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-09 08:30:44,663 1492 [DEBUG] - Running list with the following filter = ''
2023-07-09 08:30:44,663 1492 [DEBUG] - --- Start of List ---
2023-07-09 08:30:45,051 1492 [DEBUG] - trivy 0.42.1
2023-07-09 08:30:45,051 1492 [DEBUG] - --- End of List ---
2023-07-09 08:30:45,394 1492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-09 08:30:45,394 1492 [DEBUG] - Backing up existing trivy prior to operation.
2023-07-09 08:30:45,409 1492 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\trivy'
to 'C:\ProgramData\chocolatey\lib-bkp\trivy'
2023-07-09 08:30:47,441 1492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy".
2023-07-09 08:30:47,441 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nupkg"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg".
2023-07-09 08:30:47,457 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy.nuspec"
to "C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec".
2023-07-09 08:30:47,472 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\trivy_0.42.1_windows-64bit.zip.txt"
to "C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt".
2023-07-09 08:30:47,472 1492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools".
2023-07-09 08:30:47,488 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1".
2023-07-09 08:30:47,504 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\LICENSE"
to "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-07-09 08:30:47,519 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\README.md"
to "C:\ProgramData\chocolatey\lib\trivy\tools\README.md".
2023-07-09 08:30:47,519 1492 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\trivy\tools\trivy.exe"
to "C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe".
2023-07-09 08:30:47,771 1492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\trivy\tools\contrib".
2023-07-09 08:30:47,771 1492 [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-07-09 08:30:47,785 1492 [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-07-09 08:30:47,800 1492 [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-07-09 08:30:47,800 1492 [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-07-09 08:30:47,815 1492 [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-07-09 08:30:49,332 1492 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\trivy'
2023-07-09 08:30:49,348 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nupkg'
with checksum '78D07FAE257FD43E617E158EA00141BF'
2023-07-09 08:30:49,363 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy.nuspec'
with checksum '27006FAF10567F17C7590A679014D0F2'
2023-07-09 08:30:49,363 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-07-09 08:30:49,380 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\chocolateyinstall.ps1'
with checksum 'B3B5E2FED41BA14CC06FE92F072E1CC3'
2023-07-09 08:30:49,394 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-07-09 08:30:49,394 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-07-09 08:30:50,083 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum 'B96A8F1E55B89ED278EB45564FD5562D'
2023-07-09 08:30:50,083 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-07-09 08:30:50,097 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-07-09 08:30:50,097 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-07-09 08:30:50,113 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-07-09 08:30:50,129 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-07-09 08:30:50,831 1492 [INFO ] - [NuGet] Uninstalling 'trivy 0.42.1'.
2023-07-09 08:30:50,847 1492 [INFO ] -
trivy v0.42.1
2023-07-09 08:30:50,895 1492 [DEBUG] - Removing shim for trivy.exe at 'C:\ProgramData\chocolatey\bin\trivy.exe
2023-07-09 08:30:50,895 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\trivy.exe".
2023-07-09 08:30:50,940 1492 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-09 08:30:50,957 1492 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-09 08:30:51,066 1492 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-09 08:30:51,098 1492 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\trivy".
2023-07-09 08:30:51,191 1492 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\trivy\tools'.
2023-07-09 08:30:51,206 1492 [DEBUG] - [NuGet] Removed file 'trivy.nuspec' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-07-09 08:30:51,222 1492 [DEBUG] - [NuGet] Removed file 'trivy.nupkg' to folder 'C:\ProgramData\chocolatey\lib\trivy'.
2023-07-09 08:30:51,222 1492 [DEBUG] - [NuGet] The directory is not empty.
2023-07-09 08:30:51,237 1492 [INFO ] - [NuGet] Successfully uninstalled 'trivy 0.42.1'.
2023-07-09 08:30:51,253 1492 [INFO ] - trivy has been successfully uninstalled.
2023-07-09 08:30:51,269 1492 [DEBUG] - Removing nupkg if it still exists.
2023-07-09 08:30:51,284 1492 [DEBUG] - Ensuring removal of installation files.
2023-07-09 08:30:51,301 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt'
with checksum 'A3CA560218C49BFBF92CA1A7F631B347'
2023-07-09 08:30:51,301 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\trivy_0.42.1_windows-64bit.zip.txt".
2023-07-09 08:30:51,316 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE'
with checksum '86D3F3A95C324C9479BD8986968F4327'
2023-07-09 08:30:51,316 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\LICENSE".
2023-07-09 08:30:51,333 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\README.md'
with checksum '25C3BDC1324285B04451BC7FE0899D0D'
2023-07-09 08:30:51,333 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\README.md".
2023-07-09 08:30:52,302 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe'
with checksum 'B96A8F1E55B89ED278EB45564FD5562D'
2023-07-09 08:30:52,302 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\trivy.exe".
2023-07-09 08:30:52,333 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl'
with checksum '58D5118E531BB074F68602885D3699B5'
2023-07-09 08:30:52,347 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\asff.tpl".
2023-07-09 08:30:52,347 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl'
with checksum '92E17D83741AAC1B5A100ADEFFEE8419'
2023-07-09 08:30:52,363 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab-codequality.tpl".
2023-07-09 08:30:52,378 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl'
with checksum 'F01E06EDEDEB4ACAACFA800870C75A1B'
2023-07-09 08:30:52,473 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\gitlab.tpl".
2023-07-09 08:30:52,473 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl'
with checksum '431808CCEE71E41317E1D51B4C52E620'
2023-07-09 08:30:52,488 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\html.tpl".
2023-07-09 08:30:52,504 1492 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl'
with checksum 'A7D1BAF7DFD49393D2B4FE6839D309E2'
2023-07-09 08:30:52,504 1492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\trivy\tools\contrib\junit.tpl".
2023-07-09 08:30:52,519 1492 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\trivy".
2023-07-09 08:30:52,519 1492 [DEBUG] - Ensuring removal of package cache files.
2023-07-09 08:30:52,535 1492 [DEBUG] - Attempting to delete directory "C:\Users\vagrant\AppData\Local\Temp\chocolatey\trivy\0.42.1".
2023-07-09 08:30:52,583 1492 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-09 08:30:52,598 1492 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-09 08:30:52,644 1492 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment