diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index f9c2cfd35..2d3a5bff1 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -112,6 +112,7 @@ $toolsList = @( (Get-NewmanVersion), (Get-NvmVersion), (Get-PackerVersion), + (Get-PassVersion), (Get-PhantomJSVersion), (Get-PulumiVersion), (Get-RVersion), diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 index 624e5167a..937d5aca8 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 @@ -175,6 +175,11 @@ function Get-PackerVersion { return "Packer $(packer --version)" } +function Get-PassVersion { + $passVersion = (pass version | Select-String "^=\s+v").Line.Replace('v','') | Take-OutputPart -Part 1 + return "pass $passVersion" +} + function Get-PhantomJSVersion { return "PhantomJS $(phantomjs --version)" } diff --git a/images/linux/toolsets/toolset-1604.json b/images/linux/toolsets/toolset-1604.json index c7e08688b..1ee8a2a59 100644 --- a/images/linux/toolsets/toolset-1604.json +++ b/images/linux/toolsets/toolset-1604.json @@ -168,6 +168,7 @@ "mediainfo", "netcat", "parallel", + "pass", "patchelf", "rsync", "shellcheck", diff --git a/images/linux/toolsets/toolset-1804.json b/images/linux/toolsets/toolset-1804.json index 38b91f16e..849766667 100644 --- a/images/linux/toolsets/toolset-1804.json +++ b/images/linux/toolsets/toolset-1804.json @@ -163,6 +163,7 @@ "mediainfo", "netcat", "parallel", + "pass", "patchelf", "rsync", "shellcheck", diff --git a/images/linux/toolsets/toolset-2004.json b/images/linux/toolsets/toolset-2004.json index 908912708..0fa2e990d 100644 --- a/images/linux/toolsets/toolset-2004.json +++ b/images/linux/toolsets/toolset-2004.json @@ -137,6 +137,7 @@ "mediainfo", "netcat", "parallel", + "pass", "patchelf", "rsync", "shellcheck",