AdaCore / learn

Sources for learn.adacore.com
https://learn.adacore.com
Creative Commons Attribution 4.0 International
93 stars 38 forks source link

enhance our guidelines for safe and secure Ada SPARK to reference CWE #1046

Closed brobecke closed 3 months ago

brobecke commented 6 months ago

Currently, the document refers to the ISO 24772 framework. This issue is an enhancement request to evaluate the merits of referencing the CWE codes, which are perceived to be more frequently used than ISO 24772. And if it makes sense, then this issue is to track the work needed to add those CWE codes.

Assuming we agree to use CWE, the other question is whether it would make sense to keep both? Or just have CWE codes replace the ISO 24772 ones.

gusthoff commented 6 months ago

document refers to the ISO 24772 framework.

"document" => Guidelines for Safe and Secure Ada/SPARK

frank-at-adacore commented 3 months ago

Planning on adding a new subsection (mirroring the ISO 24772 subsection) listing the CWEs

Branch https://github.com/AdaCore/learn/tree/add_cwe_to_coding_standards Pull Request https://github.com/AdaCore/learn/pull/1076

dm-at-ada commented 3 months ago

Changes have been merged into the main website branch and deployed (via #1076 and #1081), so marking this item as "closed" and will send an update to the owner of the original enhancement request.