{"id":21126463,"url":"https://github.com/lreimer/testkube-zap-demo","last_synced_at":"2026-07-30T08:31:22.414Z","repository":{"id":71906702,"uuid":"574997678","full_name":"lreimer/testkube-zap-demo","owner":"lreimer","description":"Demo repository for the DevSecCon 22 Lightning Talk.","archived":false,"fork":false,"pushed_at":"2023-09-13T09:04:50.000Z","size":115,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T07:27:51.639Z","etag":null,"topics":["owasp-zap","security-testing","testkube","zaproxy"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lreimer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-06T14:29:45.000Z","updated_at":"2023-08-23T07:44:47.000Z","dependencies_parsed_at":"2023-09-15T21:16:21.936Z","dependency_job_id":null,"html_url":"https://github.com/lreimer/testkube-zap-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lreimer/testkube-zap-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Ftestkube-zap-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Ftestkube-zap-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Ftestkube-zap-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Ftestkube-zap-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lreimer","download_url":"https://codeload.github.com/lreimer/testkube-zap-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Ftestkube-zap-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36069095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-30T02:00:05.956Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["owasp-zap","security-testing","testkube","zaproxy"],"created_at":"2024-11-20T04:41:57.309Z","updated_at":"2026-07-30T08:31:22.395Z","avatar_url":"https://github.com/lreimer.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Continuous OpenAPI Security Tests on K8s with Testkube and ZAP\n\nDemo repository for the DevSecCon22 Lightning Talk on Continuous OpenAPI Security Tests on K8s with Testkube and ZAP.\n\n## Bootstrapping\n\nFor a simple local setup (e.g. on Rancher Desktop) use the following instructions:\n\n```bash\n# the ZAP setup\nkubectl apply -f k8s/zap/zap-namespace.yaml \nkubectl apply -f k8s/zap/\nkubectl get all -n zap\n\n# the TestKube setup\nkubectl testkube init\nkubectl get ns\nkubectl get all -n testkube\nkubectl testkube dashboard\n```\n\nFor a GKE based setup using Flux as GitOps tool, use the following instructions:\n\n```bash\n# define required ENV variables for the next steps to work\nexport GITHUB_USER=lreimer\nexport GITHUB_TOKEN=\u003cyour-token\u003e\n\n# setup a GKE cluster with Flux2\nmake create-gke-cluster\nmake bootstrap-gke-flux2\nmake delete-gke-cluster\n```\n\n## Usage\n\n```bash\n# deploying a demo microservice\nkubectl apply -f k8s/application/\nkubectl get all\n\n# you can use ZAP via the UI in a browser\nkubectl port-forward pod/zap-webswing -n zap 8080:8080\nopen http://localhost:8080/zap\n\n# you can use ZAP via its API programmatically\nkubectl port-forward pod/zap-daemon -n zap 9080:9080\n./gradlew test\n\n# create a Gradle test for this Git repo\nkubectl testkube create test --git-uri https://github.com/lreimer/testkube-zap-demo.git --git-branch main --type \"gradle/test\" --name gradle-test\nkubectl testkube run test --watch gradle-test\n\n# create a ZAP test with inline content\nkubectl testkube create test --file src/test/zap/zap-api-test.yaml --type \"zap/api\" --name zap-api-test\nkubectl testkube run test --watch zap-api-test\n\nkubectl testkube create test --file src/test/zap/zap-api-test.yaml --type \"zap/api\" --name zap-api-scheduled-test\n\n# create a ZAP test for this Git repo\nkubectl testkube create test --git-uri https://github.com/lreimer/testkube-zap-demo.git --git-branch main --type \"zap/api\" --name zap-api-git-test\nkubectl testkube run test --args src/test/zap/zap-api-test.yaml --watch zap-api-git-test\n```\n\n## Maintainer\n\nM.-Leander Reimer (@lreimer), \u003cmario-leander.reimer@qaware.de\u003e\n\n## License\n\nThis software is provided under the MIT open source license, read the `LICENSE`\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flreimer%2Ftestkube-zap-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flreimer%2Ftestkube-zap-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flreimer%2Ftestkube-zap-demo/lists"}