Skip to main content

Eze the one stop cli for security testing

Project description


         ______   ______  ______                 _____   _        _____ 
        |  ____| |___  / |  ____|               / ____| | |      |_   _|
        | |__       / /  | |__       ______    | |      | |        | |  
        |  __|     / /   |  __|     |______|   | |      | |        | |  
        | |____   / /__  | |____               | |____  | |____   _| |_ 
        |______| /_____| |______|               \_____| |______| |_____|

The one stop solution for security testing in modern development

GitHub GitHub tag (latest SemVer) Build Status GitHub issues Docker Pulls PyPI - Downloads

Overview

Eze is the one stop solution for security testing in modern development.

With one command, Eze will run SAST, SCA, Secret, and license scanning.

This tool is designed to be run locally by developers, security consultants, and on a ci pipeline.

Features:

  • Quick setup via Dockerfile with preinstalled tools
  • Auto-configures tools out the box, Supported languages: Python, Node and Java
  • Manual multi-tool configuration available via a single common configuration file
  • Runs SAST, SCA, Secret, and license scans with one command
  • Extends capabilities of raw opensource tools underneath
  • Extendable plugin architecture for adding new security tools
  • Layering enterprise level reporting and auditing via the Eze Management Console (PAID service offered by RiverSafe)

Eze Usage

It is strongly* recommended users run eze inside the docker image, this is the easiest way to get started with eze security scanning.

* For sysadmin and power users wanting to build their own images, see the README-DEVELOPMENT.md

Requirements

Run security scan

This command will run a security scan against the current folder. Results will be in eze_report.json

# Pull docker image
docker pull riversafe/eze-cli:latest

# Scan code in current directory (cmd)
docker run -v %cd%:/data riversafe/eze-cli test

# Scan code in current directory (powershell)
docker run -v ${PWD}:/data riversafe/eze-cli test

# Scan code in current directory (git bash)
docker run -v $(pwd -W):/data riversafe/eze-cli test

# Scan code in current directory (linux/mac os bash)
docker run -v "$(pwd)":/data riversafe/eze-cli test

Other Common commands

Detect tools locally installed

docker run riversafe/eze-cli tools list
Example
$ eze tools list
Available Tools are:
=======================
raw                   0.6.1             input for saved eze json reports
trufflehog            2.0.5             opensource secret scanner
semgrep               0.53.0            opensource multi language SAST scanner
...

Configuring Eze

Custom configuration

Eze runs off a local .ezerc.toml file, when this config is not present, a sample config will be generated automatically by scanning the codebase (eze test). You can customise it to:

  • Add/remove a scanning tool
  • Customise the arguments passed to a specific tool

Get Tool Configuration Help

To show information about a specific tool:

  • What version if any is installed.
  • Instructions how-to install it and configure
docker run riversafe/eze-cli tools help <TOOL>
Result
$ docker run riversafe/eze-cli tools help semgrep

Tool 'semgrep' Help
opensource multi language SAST scanner
=================================
Version: 0.52.0 Installed

Tool Configuration Instructions:
=================================
Configuration Format for SemGrep

[semgrep]
...

Developers Documentation

To add your own tools checkout [README-DEVELOPMENT.md], this will walk you through installing eze locally for local development.

Contribute

To start contributing read [CONTRIBUTING.md]

Project details


Download files

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

Source Distribution

eze-cli-0.12.0a0.tar.gz (76.0 kB view hashes)

Uploaded Source

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