|
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
|