Skip to content

Commit

Permalink
Add Terrascan
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Oct 4, 2022
1 parent 8843f31 commit 8bf7194
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
Binary file added terrascan/icons/terrascan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions terrascan/terrascan.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>terrascan</id>
<version>1.15.2</version>
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/terrascan</packageSourceUrl>
<owners>flcdrg</owners>
<title>Terrascan</title>
<authors>Tenable, Inc.</authors>
<projectUrl>https://runterrascan.io/</projectUrl>
<!--<iconUrl>http://cdn.rawgit.com/__MAINTAINER_REPO__/master/icons/terrascan.png</iconUrl>-->
<copyright>2022 Tenable, Inc.</copyright>
<licenseUrl>https://github.com/tenable/terrascan/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/tenable/terrascan</projectSourceUrl>
<docsUrl>https://runterrascan.io/docs/</docsUrl>
<mailingListUrl>https://discord.gg/59vwVuGyGr</mailingListUrl>
<bugTrackerUrl>https://github.com/tenable/terrascan/issues</bugTrackerUrl>
<tags>Terraform Linter</tags>
<summary>Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure</summary>
<description>Terrascan is a static code analyzer for Infrastructure as Code. Terrascan allows you to:

- Seamlessly scan infrastructure as code for misconfigurations.
- Monitor provisioned cloud infrastructure for configuration changes that introduce posture drift, and enables reverting to a secure posture.
- Detect security vulnerabilities and compliance violations.
- Mitigate risks before provisioning cloud native infrastructure.
- Offers flexibility to run locally or integrate with your CI\CD.</description>
<releaseNotes>
- 00664bc Adding CFT support for new resources (#1293)
- c729550 fixes: panic in case of zap logger init on windows os (#1283)
- 3ee999a release/v1.15.2 (#1292)
</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
19 changes: 19 additions & 0 deletions terrascan/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'terrascan*'
fileType = 'zip'

validExitCodes= @(0)
url = "https://github.com/tenable/terrascan/releases/download/v1.15.2/terrascan_1.15.2_Windows_i386.zip"
checksum = '3553E7600B7AFDDE9729B9BFFFD059218B9EFBBD6B65A4B93BCD021CE10FFEC9'
checksumType = 'sha256'
url64bit = "https://github.com/tenable/terrascan/releases/download/v1.15.2/terrascan_1.15.2_Windows_x86_64.zip"
checksum64 = '686BDD4A5A6614910EEA55911920F59B438EC9DFD72020EB95389DD572F4CC9E'
checksumType64= 'sha256'
destination = $toolsDir
}

Install-ChocolateyZipPackage @packageArgs

0 comments on commit 8bf7194

Please sign in to comment.