Compliance Kits
Secure coding (CERT and CWE)
Rules-only kit
Targets secure coding. CERT is the SEI CERT coding standard for C and C++, and CWE is the Common Weakness Enumeration. Together they catch common vulnerabilities such as buffer overflows, unchecked errors and unsafe API use.
Choose it
- Open Create New Project and choose the language.
- In the Compliance kit block, click Secure coding (CERT and CWE) in the row Rules-only kits. The safety standard goes back to None.
- Review the ticked boxes of step 2, adjust them if needed, then Create the new project.
What it ticks
| Project language | Coding standards ticked |
|---|---|
| C++ | CERT C++, CWE |
| C | CERT C, CWE |
CERT shows its C or C++ version according to the project language.
What is created
<name>.compliance-kit.jsonwith"safetyStandard": nulland"preset": "secure-coding".deviations.jsonfor the deviation records.- No coverage policy and no waivers file: a rules-only kit has no level.
Using it day to day
- Standards Coverage shows which rules of the standard are checked, Compliance Summary the score and violations, Deviations the rules you knowingly do not follow.
- For the cybersecurity standards (ISO/SAE 21434, IEC 62443-4-1, NIST SSDF / EU CRA, IEC 81001-5-1), tick the matching box of step 2: they are never ticked automatically.
- If you later need a safety standard, create the project with the safety standard instead: it ticks these rules and adds the level and coverage policy.
See the overview for the pages and file formats.
