Add code scanning

Signed-off-by: Bryan Frimin <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-07 19:17:43 +01:00
parent b5a903b574
commit 17c9d81dd0

View File

@@ -0,0 +1,32 @@
---
id: "COD-002"
category: "codebase"
revision-version: 1
revision-date: "2024-01-07"
estimate-time: "15m"
frameworks:
- name: "soc2"
sections: ["CC4.1", "CC8.1"]
---
## Purpose
It ensures that potential security flaws are detected early. This
proactive approach strengthens your security posture and helps
maintain high code quality.
## Implementation
### Github
1. Go to the "Security" tab of your repository.
2. Click on "Set up code scanning".
3. Select "Set up this workflow" under "CodeQL Analysis".
4. Review the YAML file and commit it to your repository.
Code scanning will now run every time code is pushed to the
repository, and results will appear in the Security tab.
## Evidence
- Screenshot of code scanning results from Security tab
- Sample of resolved security alerts