Skip to content

Commit

Permalink
Fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
drighetto committed Apr 5, 2019
1 parent 48e4f03 commit 9d374cc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Preface.md
Expand Up @@ -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).
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -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:

Expand Down
4 changes: 3 additions & 1 deletion scripts/Generate_CheatSheets_TOC.py
Expand Up @@ -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")
Expand Down
3 changes: 3 additions & 0 deletions scripts/Generate_Site.sh
Expand Up @@ -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
Expand Down

0 comments on commit 9d374cc

Please sign in to comment.