https://github.com/hahwul/zest-env
🐋 Zest CLI Environment
https://github.com/hahwul/zest-env
docker-image environment github-action script security zest zest-lang
Last synced: 5 months ago
JSON representation
🐋 Zest CLI Environment
- Host: GitHub
- URL: https://github.com/hahwul/zest-env
- Owner: hahwul
- Created: 2022-05-28T13:56:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T15:01:08.000Z (over 1 year ago)
- Last Synced: 2025-04-21T09:54:50.261Z (6 months ago)
- Topics: docker-image, environment, github-action, script, security, zest, zest-lang
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zest-env
[](https://github.com/hahwul/zest-env/actions/workflows/docker.yml)
[](https://github.com/hahwul/zest-env/actions/workflows/docker-publish.yml)## 🤔 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
```yaml
- name: Zest CLI
uses: hahwul/zest-env@v1.1.4
with:
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
```dockerfile
FROM hahwul/zest-env:v1.1.4
# Add your Job
RUN /usr/bin/zest -script
```### Github Container Registry (GHCR)
#### In CLI
```
docker pull ghcr.io/hahwul/zest-env:v1.1.4
```
#### In Dockerfile
```dockerfile
FROM ghcr.io/hahwul/zest-env:v1.1.4
# Add your Job
RUN /usr/bin/zest -script
```### Local build
```
git clone https://github.com/hahwul/zest-env
cd zest-env
docker build .
```## Resources
- https://www.zaproxy.org/docs/desktop/addons/zest/
- https://github.com/zaproxy/zest/
- https://twitter.com/hahwul/status/1530234639469932544
- https://www.hahwul.com/2022/05/19/zest-and-headless-authentication-script/
- https://www.hahwul.com/2022/05/28/zest-in-cli/