This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: kafka.strimzi.io/v1beta2 | |
| kind: Kafka | |
| metadata: | |
| name: my-cluster | |
| spec: | |
| kafka: | |
| version: 3.0.0 | |
| replicas: 3 | |
| listeners: | |
| - name: plain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>com.jayway.restassured</groupId> | |
| <artifactId>rest-assured</artifactId> | |
| <version>2.3.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.rest-assured</groupId> | |
| <artifactId>json-path</artifactId> | |
| </dependency> | |
| <dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta4/aio/deploy/recommended.yaml | |
| kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user | awk '{print $1}') | |
| kubectl proxy | |
| http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node { | |
| script { | |
| try { | |
| // Context import fails if it already exists | |
| sh 'zap-cli --zap-url zap -p 8000 --api-key 5364864132243598723485 --port 8000 context import /zap/data/WebGoat.context' | |
| } | |
| catch (Exception e) { | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <configuration> | |
| <context> | |
| <name>WebGoat</name> | |
| <desc/> | |
| <inscope>true</inscope> | |
| <incregexes>http://webgoat:8080.*</incregexes> | |
| <tech> | |
| <include>Db</include> | |
| <include>Db.Firebird</include> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM jenkins/jenkins:lts | |
| USER root | |
| RUN apt-get update | |
| RUN apt-get install -y python-pip | |
| RUN pip install --upgrade pip | |
| RUN pip install --upgrade zapcli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| jenkins: | |
| build: | |
| dockerfile: jenkins-dockerfile | |
| context: . | |
| ports: | |
| - 8080:8080 | |
| - 50000:50000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| package_upgrade: true | |
| write_files: | |
| - path: /etc/systemd/system/docker.service.d/docker.conf | |
| content: | | |
| [Service] | |
| ExecStart= | |
| ExecStart=/usr/bin/dockerd | |
| - path: /etc/docker/daemon.json | |
| content: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Policy | |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Action": [ | |
| "logs:CreateLogGroup", | |
| "logs:CreateLogStream", | |
| "logs:PutLogEvents" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module "vpc" { | |
| source = "terraform-aws-modules/vpc/aws" | |
| version = "2.7.0" | |
| name = "complete-example" | |
| cidr = "10.10.0.0/16" | |
| azs = ["us-east-1c", "us-east-1b"] | |
| public_subnets = ["10.10.1.0/24", "10.10.2.0/24"] |