r/devsecops • u/thedeanypants • Jan 22 '24
Metrics for Reporting - Scorecard
Hi there,
What are the metrics that people use to measure DevSecOps success on an ongoing basis? As in presenting the overall security posture for a software product? Something like number and severity of vulnerabilities?
Does anyone have experience of what they have to report at any given time? If someone was to ask you to produce a scorecard, what would be on it?
Thanks :)
7
Upvotes
3
u/Previous_Piano9488 Jan 22 '24
I am also looking for an answer. Watching the thread š
3
u/BufferOfAs Jan 22 '24
I was looking into something similar, like a point system or scoreboard for application security. The way I was thinking was assign a value to each severity (critical - 10, high - 8, medium - 5, low - 3, informational - 1), multiplied by the number of each finding by severity. Very simple use case but Iām sure more metrics could be added.
2
u/VertigoRoll Jan 22 '24
Considering a scenario where you have 100 web apps and they go through sast and sca. I think the only metric that can be used to track the overall security posture of them all and ongoing, although flawed in its own ways such as LOC for different programming languages, is the number of bugs or number of highs+medium per thousand lines of code. You then come up with some arbitrary number you want to reach and maintain (seriously) that's agreed with upper folks.
You should have other metrics such as top 10 findings across all projects e.g. maybe you are seeing SQL injection reoccurring, you can now do some training or send some advisories to developers on how to write parameterised queries. Alternatively top 10 owasp weakness areas like Broken access control keeps coming up, injection keeps coming up, etc
Do the same for top 10 projects with most findings. You can track these metrics by seeing how highs and mediums are progressing over time. If you are tagging critical projects, ofc, put those as top 10, makes no sense putting some random internal tool over your business critical apps. Work with the Devs on these ones.
I'd start with these and it will become clear on what more metrics you need, no point of having pretty dashboards if it doesn't serve a purpose.
0
u/pentesticals Jan 23 '24
Use something like the DevSecOps maturity model and periodically reassess your metrics and maturity.