Configure Risksheet for cybersecurity threat analysis using the STRIDE methodology, applicable to ISO/SAE 21434 (automotive cybersecurity) and IEC 62443 (industrial security) workflows.
Configure the dataTypes section in your risksheet.json to use threat-specific work item types. STRIDE analysis uses a threat work item as the primary risk type and countermeasures as downstream tasks:
Risksheet is fully configurable and does not require specific work item types — use whatever types your project defines. The type and role values must match your Polarion project configuration.
Define a formulas entry that calculates threat risk level from severity and likelihood:
{ "formulas": { "threatRisk": "function(info){ var s = info.item['threatSeverity']; var l = info.item['threatLikelihood']; if (!s || !l) return null; return s * l; }" }}
Add cellDecorators to visually distinguish threat risk levels with color coding:
{ "cellDecorators": { "threatRiskDecorator": "function(info){ var val = info.value; $(info.cell).toggleClass('rpn1', val > 0 && val <= 4); $(info.cell).toggleClass('rpn2', val > 4 && val <= 9); $(info.cell).toggleClass('rpn3', val > 9); }" }, "styles": { ".rpn1": { "background-color": "#eaf5e9 !important", "color": "#1d5f20 !important" }, ".rpn2": { "background-color": "#fff3d2 !important", "color": "#735602 !important" }, ".rpn3": { "background-color": "#f8eae7 !important", "color": "#ab1c00 !important" } }}
This maps risk levels to three tiers: low (1—4, green), medium (5—9, yellow), and high (10+, red).
You can have multiple Risksheet configurations in the same project — for example, a STRIDE threat analysis alongside an FMEA safety analysis. Each LiveDoc document has its own risksheet.json attachment with independent configuration.
STRIDE analysis configuration uses the same Risksheet engine as FMEA and HARA. Verify that the specific work item types, link roles, and custom fields are defined in your Polarion project before deploying the configuration.
Open the Risksheet in the configured LiveDoc document
Create a new threat item — verify the STRIDE category dropdown shows all six categories
Select severity and likelihood ratings — confirm the risk level formula calculates automatically
Add a countermeasure — verify it appears as a downstream task with the configured link role
Check that conditional formatting highlights risk levels with the correct color bands
You should now see a Risksheet grid tailored for STRIDE threat analysis with category classification, risk scoring, color-coded risk levels, and linked countermeasures.