-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extend multiple templates validation to trestle author folders (#…
…1430) * feat: extend multiple templates validation to trestle author folders command Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * docs: adding documentation to ne feature Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: addressing validation through name of template instead of type field Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: update guidance to correct wording Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: add x trestle ignore field in header to correct mismatch Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: correcting mdformat Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: correct code linting problem Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * fix: return template type field to template header Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> * docs: correcting documentation for x-trestle-template-type field Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]> --------- Signed-off-by: Alejandro Jose Leiva Palomo <[email protected]>
- Loading branch information
Showing
14 changed files
with
403 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
23 changes: 23 additions & 0 deletions
23
...author/governed_folders/good_instance_with_template_type/architecture_test_1.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
x-trestle-template-type: architecture | ||
--- | ||
|
||
# System architecture | ||
|
||
Here is some content | ||
|
||
## Overview | ||
|
||
And some more | ||
|
||
## Security model | ||
|
||
And even more |
23 changes: 23 additions & 0 deletions
23
...author/governed_folders/good_instance_with_template_type/architecture_test_2.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
x-trestle-template-type: architecture | ||
--- | ||
|
||
# System architecture | ||
|
||
Here is some content | ||
|
||
## Overview | ||
|
||
And some more | ||
|
||
## Security model | ||
|
||
And even more |
27 changes: 27 additions & 0 deletions
27
...data/author/governed_folders/good_instance_with_template_type/network_test_1.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
x-trestle-template-type: network | ||
--- | ||
|
||
# Network architecture | ||
|
||
Lots of stuff about the network overall including some diagrams. | ||
|
||
## External interconnections | ||
|
||
Here I put a table which describes the connections beyond my audit boundary with 3rd parties. | ||
|
||
## Corporate interconnections | ||
|
||
Here I describe interconnections into corporate systems. | ||
|
||
## Out of scope interconnections | ||
|
||
Here I describe interconnections that are out of scope because they occur outside of the current audit boundary. |
27 changes: 27 additions & 0 deletions
27
...data/author/governed_folders/good_instance_with_template_type/network_test_2.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
x-trestle-template-type: network | ||
--- | ||
|
||
# Network architecture | ||
|
||
Lots of stuff about the network overall including some diagrams. | ||
|
||
## External interconnections | ||
|
||
Here I put a table which describes the connections beyond my audit boundary with 3rd parties. | ||
|
||
## Corporate interconnections | ||
|
||
Here I describe interconnections into corporate systems. | ||
|
||
## Out of scope interconnections | ||
|
||
Here I describe interconnections that are out of scope because they occur outside of the current audit boundary. |
22 changes: 22 additions & 0 deletions
22
...hor/governed_folders/good_instance_without_template_type/architecture_test_1.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
--- | ||
|
||
# System architecture | ||
|
||
Here is some content | ||
|
||
## Overview | ||
|
||
And some more | ||
|
||
## Security model | ||
|
||
And even more |
22 changes: 22 additions & 0 deletions
22
...hor/governed_folders/good_instance_without_template_type/architecture_test_2.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
--- | ||
|
||
# System architecture | ||
|
||
Here is some content | ||
|
||
## Overview | ||
|
||
And some more | ||
|
||
## Security model | ||
|
||
And even more |
26 changes: 26 additions & 0 deletions
26
...a/author/governed_folders/good_instance_without_template_type/network_test_1.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
--- | ||
|
||
# Network architecture | ||
|
||
Lots of stuff about the network overall including some diagrams. | ||
|
||
## External interconnections | ||
|
||
Here I put a table which describes the connections beyond my audit boundary with 3rd parties. | ||
|
||
## Corporate interconnections | ||
|
||
Here I describe interconnections into corporate systems. | ||
|
||
## Out of scope interconnections | ||
|
||
Here I describe interconnections that are out of scope because they occur outside of the current audit boundary. |
26 changes: 26 additions & 0 deletions
26
...a/author/governed_folders/good_instance_without_template_type/network_test_2.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
authors: | ||
- Tim | ||
- Jane | ||
- Sally | ||
owner: Joe | ||
valid: | ||
from: 2020-01-01 | ||
to: 2099-12-31 | ||
--- | ||
|
||
# Network architecture | ||
|
||
Lots of stuff about the network overall including some diagrams. | ||
|
||
## External interconnections | ||
|
||
Here I put a table which describes the connections beyond my audit boundary with 3rd parties. | ||
|
||
## Corporate interconnections | ||
|
||
Here I describe interconnections into corporate systems. | ||
|
||
## Out of scope interconnections | ||
|
||
Here I describe interconnections that are out of scope because they occur outside of the current audit boundary. |
13 changes: 13 additions & 0 deletions
13
...data/author/governed_folders/template_folder_with_template_type/architecture.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
authors: tmp | ||
owner: tmp | ||
valid: | ||
from: null | ||
to: null | ||
x-trestle-template-type: architecture | ||
--- | ||
# System architecture | ||
|
||
## Overview | ||
|
||
## Security model |
16 changes: 16 additions & 0 deletions
16
tests/data/author/governed_folders/template_folder_with_template_type/network.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
authors: tmp | ||
owner: tmp | ||
valid: | ||
from: | ||
to: | ||
x-trestle-template-type: network | ||
--- | ||
|
||
# Network architecture | ||
|
||
## External interconnections | ||
|
||
## Corporate interconnections | ||
|
||
## Out of scope interconnections |
This file contains 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
This file contains 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
Oops, something went wrong.