Skip to content
terminal

GitHub Action

Zest CLI

v1.1.4 Latest version

Zest CLI

terminal

Zest CLI

Zest CLI in Github action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Zest CLI

uses: hahwul/[email protected]

Learn more about this action in hahwul/zest-env

Choose a version

zest-env

CI CD

🤔 What is Zest

Zest is an experimental specialized scripting language (also known as a domain-specific language) originally developed by the Mozilla security team and is intended to be used in web oriented security tools. from https://www.zaproxy.org/docs/desktop/addons/zest/

It is included by default with ZAP. However, it can also be used as the CLI. this repository for easy setup the CLI environment.

📚 Usage

Github action

- name: Zest CLI
  uses: hahwul/[email protected]
  with:
    script: <YOUR-ZEST-SCRIPT>
    flags: "-token 'id=secret' -token 'password=secret'"

Flags

  • -summary
  • -list
  • -debug
  • -timeout: timeout for requests in second
  • -prefix: http://prefix
  • -token: name=value
  • -http-auth-site: site
  • -http-auth-realm: realm
  • -http-auth-user: user
  • -http-auth-password: password
  • -insecure: skip the SSL certificate check

Dockerhub

In CLI

docker pull hahwul/zest-env
docker pull hahwul/zest-env:latest
docker pull hahwul/zest-env:v1.1.4

In Dockerfile

FROM hahwul/zest-env:v1.1.4
# Add your Job
RUN /usr/bin/zest -script <FILENAME>

Github Container Registry (GHCR)

In CLI

docker pull ghcr.io/hahwul/zest-env:v1.1.4

In Dockerfile

FROM ghcr.io/hahwul/zest-env:v1.1.4
# Add your Job
RUN /usr/bin/zest -script <FILENAME>

Local build

git clone https://github.com/hahwul/zest-env
cd zest-env
docker build .

Resources