Skip to content

πŸ‹ Zest CLI Environment

Notifications You must be signed in to change notification settings

hahwul/zest-env

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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/zest-env@v1.1.4
  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