Closed lwierzbicki closed 3 years ago
Thanks for pointing it out. To be honest I think we can just remove this document. I do not know where the script is that was used to generate this also.
In editors like Visual Studio Code you can get a quite good overview of the headings of one markdown file by using the markdown extension.
@commjoen @cpholguera Ok if we remove this file, or was there any purpose for it?
I'm ok with it, if we can remove. Maybe Jeroen knows if we need if for something else?
it is a file you can generate via the tools int he tools section. i think we need to get rid of all generated files and just help people to get the generated files themselves.
1st case is a file, I agree with guide to help people generate files themselves 2n case is clear and consistent structure across chapters (as example of inconsistency Reference heading was mentioned)
I agree on the 2nd point that we should fix that inconsistency. Would you like to help us out with that @lwierzbicki ?
Yes, of course. I think if we have a template, it would be great and save some time in the future (like a blueprint when you build a house).
Initial concept looks like this:
Additionally, I would split that into two tasks:
Generated
directory and describing tools for users that they can generate files themselves (I think sample Table of Content is generated by this script: https://github.com/OWASP/owasp-mstg/blob/master/Tools/generate_toc.rb, some intro is also here https://github.com/OWASP/owasp-mstg/blob/master/Tools/README.md ;) ) Thanks @lwierzbicki , we'll have a closer look at that ;)
I think we should definitely sync this to the topics of
@sushi2k @lwierzbicki what do you think? We can discuss on our next meeting Sven.
I agree. Advantages which I see:
@TheDauntless @sushi2k we were mentioning this today in our meeting
@cpholguera could you share the output? Would be good to incorporate it in future commits/PR.
Hi @lwierzbicki, we agreed on the comment above: https://github.com/OWASP/owasp-mstg/issues/1631#issuecomment-584516532
We take this now as the new approach of the MSTG. It will require a lot of restructuring and removing of information, making everything more concise, relying on external sources, focusing on "what the tester has to verify" instead of telling "what the developer should do". We will collect all the points and raise a proper issue/announcement for this so everyone is aware ;)
Addressed in the latest automated release.
I found only available Table of Content here. However it is a bit outdated. Additionally it provides map only to headings level 3. I think it would be good to have a table of content which covers to headings level 6 (this provides some overview of what we have and where it is). It would also help to discover inconsistency between used headings.
And here is the issue: Reference section in some chapters is heading level 3 and in some other is heading level 4. As heading level 4 is in:
grep -rnw ./ -e "#### References"
./Document/0x04g-Testing-Cryptography.md:172:#### References ./Document/0x06g-Testing-Network-Communication.md:301:#### References ./Document/0x05g-Testing-Network-Communication.md:649:#### References ./Templates/testcase.md:18:#### ReferencesIf we want to adjust this, you could assign me to this case. If we want to do something with Table of Content, please share previous script which was used to generate it and I can work on it.