From 9d374cc7115840381bcc5c053368c7695b4eeff7 Mon Sep 17 00:00:00 2001 From: drighetto Date: Fri, 5 Apr 2019 20:09:46 +0200 Subject: [PATCH] Fix #61 --- Preface.md | 8 +++++++- README.md | 2 ++ scripts/Generate_CheatSheets_TOC.py | 4 +++- scripts/Generate_Site.sh | 3 +++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Preface.md b/Preface.md index d9e3c27056..5e11f8b53e 100644 --- a/Preface.md +++ b/Preface.md @@ -5,8 +5,14 @@ The **OWASP Cheat Sheet Series** was created to provide a concise collection of We hope that this project provides you with excellent security guidance in an easy to read format. Project leaders: -- [Jim Manico](https://www.owasp.org/index.php/User:Jmanico). - [Dominique Righetto](https://www.owasp.org/index.php/User:Dominique_RIGHETTO). +- [Jim Manico](https://www.owasp.org/index.php/User:Jmanico). + +Core technical review team: +- [Elie Saad](https://github.com/ThunderSon). +- [Jakub Maćkowski](https://github.com/mackowski). +- [Dominique Righetto](https://github.com/righettod). +- [Jim Manico](https://github.com/jmanico). Project links: - [Homepage](https://www.owasp.org/index.php/OWASP_Cheat_Sheet_Series). diff --git a/README.md b/README.md index c1522b23d2..df0a35d09f 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ The following indexes are provided: * This index is automatically generated by this [script](scripts/Update_CheatSheets_Index.py). * This [index](IndexASVS.md) reference all released cheat sheets using the [OWASP ASVS](https://www.owasp.org/index.phpCategory:OWASP_Application_Security_Verification_Standard_Project) project as reading source. * This index is manually managed in order to allow contribution along custom content. +* This [index](IndexProactiveControls.md) reference all released cheat sheets using the [OWASP Proactive Controls](https://www.owasp.org/index.php/OWASP_Proactive_Controls) project as reading source. + * This index is manually managed in order to allow contribution along custom content. You can also search into this repository using a keywords via this URL: diff --git a/scripts/Generate_CheatSheets_TOC.py b/scripts/Generate_CheatSheets_TOC.py index adb5e96dc5..ebc228fa6a 100644 --- a/scripts/Generate_CheatSheets_TOC.py +++ b/scripts/Generate_CheatSheets_TOC.py @@ -24,8 +24,10 @@ index_file.write("\n") index_file.write(cs_md_link_template % ("Index ASVS", "IndexASVS.md")) index_file.write("\n") + index_file.write(cs_md_link_template % ("Index Proactive Controls", "IndexProactiveControls.md")) + index_file.write("\n") for cheatsheet in cheatsheets: - if cheatsheet != "Index.md" and cheatsheet != "IndexASVS.md" and cheatsheet != "TOC.md": + if cheatsheet != "Index.md" and cheatsheet != "IndexASVS.md" and cheatsheet != "IndexProactiveControls.md" and cheatsheet != "TOC.md": cs_name = cheatsheet.replace("_"," ").replace(".md", "").replace("Cheat Sheet", "") index_file.write(cs_md_link_template % (cs_name, cheatsheet)) index_file.write("\n") diff --git a/scripts/Generate_Site.sh b/scripts/Generate_Site.sh index 4a5b5da696..90fa50de4e 100644 --- a/scripts/Generate_Site.sh +++ b/scripts/Generate_Site.sh @@ -23,10 +23,13 @@ cp -r ../cheatsheets $WORK/cheatsheets/cheatsheets cp -r ../assets $WORK/cheatsheets/assets cp ../Index.md $WORK/cheatsheets/cheatsheets/Index.md cp ../IndexASVS.md $WORK/cheatsheets/cheatsheets/IndexASVS.md +cp ../IndexProactiveControls.md $WORK/cheatsheets/cheatsheets/IndexProactiveControls.md sed -i 's/assets\//..\/assets\//g' $WORK/cheatsheets/cheatsheets/Index.md sed -i 's/assets\//..\/assets\//g' $WORK/cheatsheets/cheatsheets/IndexASVS.md +sed -i 's/assets\//..\/assets\//g' $WORK/cheatsheets/cheatsheets/IndexProactiveControls.md sed -i 's/cheatsheets\///g' $WORK/cheatsheets/cheatsheets/Index.md sed -i 's/cheatsheets\///g' $WORK/cheatsheets/cheatsheets/IndexASVS.md +sed -i 's/cheatsheets\///g' $WORK/cheatsheets/cheatsheets/IndexProactiveControls.md echo "Step 4/5: Generate the site." cd $WORK gitbook install --log=error