diff --git a/README.md b/README.md index 36593a5..6061710 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ Repository to hold Security Intents in standard template format. ## Security Intents - [blockAsset](intents/core/blockAsset.yaml) - - [protectPort](intents/core/protectPort.yaml) - [blockRawSocket](intents/core/blockRawSocket.yaml) - [protectAsset](intents/core/protectAsset.yaml) + - [protectPort](intents/core/protectPort.yaml) ## Security Threat Template ``` diff --git a/tools/gendoc.sh b/tools/gendoc.sh index 8a70c55..1900135 100755 --- a/tools/gendoc.sh +++ b/tools/gendoc.sh @@ -41,7 +41,7 @@ writeIntents() { ## Security Intents EOF if [[ -d $INTENTS_DIR ]]; then - for i in $(find $INTENTS_DIR -name '*.yaml'); + for i in $(find $INTENTS_DIR -name '*.yaml' | sort); do file=${i##*/} j=${file%.*} @@ -68,7 +68,7 @@ generateIntentFilesForThreats() { ## Security Threats EOF if [[ -d $THREATS_DIR ]]; then - for i in $(find $THREATS_DIR -name '*.yaml'); + for i in $(find $THREATS_DIR -name '*.yaml' | sort); do file=${i##*/} j=${file%.*}