This file contains 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
https://github.com/KhajaWorkshopsAtQT/Dec1623 |
This file contains 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
pipeline { | |
agent { label 'docker' } | |
stages { | |
stage('clean workspace'){ | |
steps{ | |
cleanWs() | |
} | |
} | |
stage('Checkout from Git'){ | |
steps{ |
This file contains 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": "aquasecurity.github.io/v1alpha1", | |
"kind": "VulnerabilityReport", | |
"metadata": { | |
"annotations": { | |
"trivy-operator.aquasecurity.github.io/report-ttl": "24h0m0s" | |
}, | |
"creationTimestamp": "2023-10-22T09:06:22Z", | |
"generation": 1, | |
"labels": { |
This file contains 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
https://github.com/WorkshopsByKhaja |
This file contains 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
https://raw.githubusercontent.com/asquarezone/DockerZone/master/Aug23/Images/spc/Dockerfile |
This file contains 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
git clone https://github.com/asquarezone/TerraformZone.git | |
# azure | |
cd july23/ntier-azure | |
terraform init | |
terraform apply -var-file="dev.tfvars" | |
#aws | |
cd july23/ntier-aws | |
terraform init |
This file contains 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
#!/bin/bash | |
VERSION=$(curl --silent "https://api.github.com/repos/cloudflare/cfssl/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') | |
VNUMBER=${VERSION#"v"} | |
wget https://github.com/cloudflare/cfssl/releases/download/${VERSION}/cfssl_${VNUMBER}_linux_amd64 -O cfssl | |
chmod +x cfssl | |
sudo mv cfssl /usr/local/bin | |
wget https://github.com/cloudflare/cfssl/releases/download/${VERSION}/cfssljson_${VNUMBER}_linux_amd64 -O cfssljson | |
chmod +x cfssljson | |
sudo mv cfssljson /usr/local/bin | |
cfssljson -version |
This file contains 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
{ | |
"Roles": [ | |
{ | |
"Path": "/", | |
"RoleName": "AmazonEKSClusterRole", | |
"RoleId": "AROAZ4ECZC3PKSBXIQMMW", | |
"Arn": "arn:aws:iam::678879106782:role/AmazonEKSClusterRole", | |
"CreateDate": "2022-07-10T13:36:20+00:00", | |
"AssumeRolePolicyDocument": { | |
"Version": "2012-10-17", |
This file contains 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
{ | |
"Snapshots": [ | |
{ | |
"Description": "Copied for DestinationAmi ami-0080352261d3c786b from SourceAmi ami-0a80dc84a0e6ab5b0 for SourceSnapshot snap-0a85657906cb9d36f. Task created on 1,524,247,133,370.", | |
"Encrypted": false, | |
"OwnerId": "258918358832", | |
"Progress": "100%", | |
"SnapshotId": "snap-00bcdf1fcf9ba0cb4", | |
"StartTime": "2018-04-20T17:59:00+00:00", | |
"State": "completed", |
This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"Snapshots": [ | |
{ | |
"Description": "Copied for DestinationAmi ami-0080352261d3c786b from SourceAmi ami-0a80dc84a0e6ab5b0 for SourceSnapshot snap-0a85657906cb9d36f. Task created on 1,524,247,133,370.", | |
"Encrypted": false, | |
"OwnerId": "258918358832", | |
"Progress": "100%", | |
"SnapshotId": "snap-00bcdf1fcf9ba0cb4", | |
"StartTime": "2018-04-20T17:59:00+00:00", | |
"State": "completed", |
NewerOlder