Skip to content

Commit

Permalink
- Added sort to fix ci-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaccuknox committed Dec 29, 2023
1 parent 667bd5b commit c664e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
4 changes: 2 additions & 2 deletions tools/gendoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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%.*}
Expand All @@ -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%.*}
Expand Down

0 comments on commit c664e98

Please sign in to comment.