Feature/lab11#1636
Open
Lisoon22 wants to merge 7 commits into
Open
Conversation
Feature/lab1
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lab 11
cd ~/DevSecOps-Intro
git switch main
git pull
git switch -c feature/lab11
unzip -o ~/Downloads/lab11_submit_bundle_v1.zip -d .
mkdir -p scripts labs/lab11/reverse-proxy labs/lab11/waf
cp -a lab11_submit_bundle/scripts/. scripts/
cp -a lab11_submit_bundle/labs/lab11/reverse-proxy/. labs/lab11/reverse-proxy/
cp -a lab11_submit_bundle/labs/lab11/waf/. labs/lab11/waf/
cp lab11_submit_bundle/LAB11_PR_DESCRIPTION.md .
chmod +x scripts/lab11_*
./scripts/lab11_install_arch.sh
sudo systemctl start docker
./scripts/lab11_run_all.sh
Commit:
git add labs/lab11/reverse-proxy/nginx.conf
git add labs/lab11/waf/docker-compose.override.yml
git add submissions/lab11.md
PRE_COMMIT_ALLOW_NO_CONFIG=1
git commit -S -m "feat(lab11): hardened nginx + OWASP CRS WAF"
git push -u origin feature/lab11
[lisoon@archlisoon lab11_submit_bundle]$ ls
LAB11_PR_DESCRIPTION.md labs README_SUBMIT.md scripts
[lisoon@archlisoon lab11_submit_bundle]$ cat LAB11_PR_DESCRIPTION.md
Goal
Complete bonus Lab 11 by deploying a TLS 1.3-only Nginx reverse proxy in front
of Juice Shop, adding production traffic controls, and placing OWASP CRS v4 in
blocking mode.
Changes
Testing
./scripts/lab11_install_arch.sh
sudo systemctl start docker
./scripts/lab11_run_all.sh
Verified:
Checklist