Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STIGViewer:Updated download locations and version from 2.8 to 2.13 #396

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/stigviewer/stigviewer.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>stigviewer</id>
<version>2.8</version>
<version>2.13</version>
<packageSourceUrl>https://github.com/AnthonyMastrean/chocolateypackages/tree/master/packages/stigviewer</packageSourceUrl>
<owners>Anthony Mastrean</owners>
<title>STIG Viewer</title>
<authors>IASE</authors>
<projectUrl>https://iase.disa.mil/stigs/Pages/stig-viewing-guidance.aspx</projectUrl>
<projectUrl>https://public.cyber.mil/stigs/srg-stig-tools/</projectUrl>
<!--<iconUrl>http://cdn.rawgit.com/__REPLACE_YOUR_REPO__/master/icons/example.png</iconUrl>-->
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<docsUrl>http://iasecontent.disa.mil/stigs/pdf/STIG_Viewer_2.x_User_Guide_June_2018.pdf</docsUrl>
<docsUrl>https://dl.dod.cyber.mil/wp-content/uploads/stigs/pdf/U_STIG_Viewer_2-x_User_Guide_V1R9.pdf</docsUrl>
<tags>security defense harden</tags>
<summary>Getting to the content of a XCCDF formatted STIG to read and understand the content is not as easy as opening a .doc or .pdf file and reading it. This is a tool which can be used to view the STIGs</summary>
<description>
Expand All @@ -34,7 +34,7 @@ STIG Viewer features:

NOTE: This feature does not work well if a checklist is generated from multiple STIGs. Special handling is required
</description>
<releaseNotes>https://iasecontent.disa.mil/stigs/pdf/STIG_Viewer_Ver_2.8_Change_Log.pdf</releaseNotes>
<releaseNotes>https://dl.dod.cyber.mil/wp-content/uploads/stigs/pdf/U_STIG_Viewer_2-11_Change_Log.pdf</releaseNotes>
<dependencies>
<dependency id="jre8" version="[8.0,)" />
<dependency id="chocolatey-core.extension" version="[1.0,)" />
Expand Down
6 changes: 3 additions & 3 deletions packages/stigviewer/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
$tools = Split-Path -Parent $MyInvocation.MyCommand.Definition
$content = Join-Path -Path (Split-Path -Parent $tools) -ChildPath 'content'
$target = Join-Path -Path $content -ChildPath "STIGViewer-2.8.jar"
$target = Join-Path -Path $content -ChildPath "STIGViewer.bat"

$shortcutdir = @{$true='CommonPrograms';$false='Programs'}[($PSVersionTable.PSVersion -gt '2.0.0.0')]
$shortcut = Join-Path ([System.Environment]::GetFolderPath($shortcutdir)) 'STIG Viewer.lnk'

Install-ChocolateyZipPackage `
-PackageName $env:ChocolateyPackageName `
-UnzipLocation $content `
-Url 'http://iasecontent.disa.mil/stigs/zip/U_STIGViewer_2-8.zip' `
-Checksum '66D4A6EFC863774929D84F4FAAF2F3484BA57607ECFFAA39731FF6547A117B7E' `
-Url 'https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_STIGViewer_2-13_Win64.zip' `
-Checksum '0F5B1A23BBAAAF68E50079DA366EDF50C30B68A8E0E427B19D8AABD55E5099D9' `
-ChecksumType 'SHA256'

Install-ChocolateyShortcut `
Expand Down