šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

github.com/sneal/stack-auditor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sneal/stack-auditor

v0.0.6
Source
Go
Version published
Created
Source

Stack Auditor

Stack Auditor Logo

Installation

  • Download the latest stack-auditor from the release section of this repository.
  • Unpack the archive on your local box using tar xvzf <archive> [-C <directory>] or use a file explored.
  • Install the plugin with cf install-plugin <path_to_binary>.

Alternative: Compile from source

Prerequisite: Have a working golang environment with correctly set GOPATH.

go get github.com/cloudfoundry/stack-auditor
cd $GOPATH/src/github.com/cloudfoundry/stack-auditor
./scripts/build.sh

Usage

Install the plugin with cf install-plugin <path_to_binary> or use the shell scripts ./scripts/install.sh or ./scripts/reinstall.sh.

  • Audit cf applications using cf audit-stack [--csv | --json]. These optional flags return csv or json format instead of plain text.
  • Change stack association using cf change-stack <app> <stack> [--v3]. Setting the --v3 flag will attempt to perform a zero downtime restart. Make sure to target the space that contains the app you want to re-associate. NOTE The --v3 flag is experimental.
  • Delete a stack using cf delete-stack <stack> [--force | -f]

Run the Tests

Target a cloudfoundry and run:

./scripts/all-tests.sh

FAQs

Package last updated on 14 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts