Skip to main content

A configurable workstation checker

Project description

SecDev Workstation Check - A simple workstation setup tool

https://github.com/asecurityteam/secdev-check

SecDev Workstation Check Determines if a machine has SecDev's recommended language and software requirements installed. In cases where a requirement is missing or out-of-date, Workstation Checker will install the software via brew.

How to add new requirements:

  1. Create a variable under the "Requirement Versions" section below, like so:
    PYTHON="3.6"
  1. Add a new command call for the req_checker function in the "Requirement Checks" section near the bottom of the script. req_checker takes 5 arguments:
    req_checker <requirement name> <command> <version extraction manipulations> <required version> <installation command>
For instance, if you wanted to add a Python 3.6 requirement, you would add the command:
      req_checker "Python" "python" "--version | cut -d ' ' -f2 2>&1" $PYTHON "brew install python3"

Why on earth is this written as a clunky bash script?

The Workstation Check is designed to work on fresh systems. It's fair to assume any new system will have bash by default, and not much else. This was written to purposefully be a self-reliant file, thus it doesn't require any configuration from the end-user.

To make matters worse, there is no standard method to extract an isolated version number so each, individual installation will require its own string manipulations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

station_check-1.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page