Component TARAs
Analyse a reused component once — a sensor, a controller, a supplier's module — and import its TARA into every machine that contains it. The import is pinned to a commit of the component's repository; the machine decides only what depends on the machine.
What Travels, What Stays
What the component knows
Its DFD, threats, attack trees with their intrinsic factors (time, expertise, knowledge, equipment), measures, assets and asset relations, assumptions of use, supporting claims and its overview — description, responsible, tags, item definition texts, source references.
What depends on the machine
Never imported: impact, context factors, risk levels and hazards. The machine rates the impact of the component's assets, the context factors and the window of opportunity of every attack path — in its own installation context.
One analysis, many machines. The component team keeps its TARA in its own repository. Every machine that uses the component imports a pinned state of it — not a copy that drifts away unnoticed.
Importing a Component
Commit the component TARA
The component's .tara.json is committed in its repository and lies in a local clone. An uncommitted file can be imported unpinned — the machine keeps a warning until it is pinned.
Import component TARA…
In the DFD tab, pick the file and the state — a commit or a tag. TARAflow reads the file at that state and checks it: a TARA written by a newer TARAflow, one that contains the machine itself, or one without a DFD is refused.
Map the external entities
Each external entity of the component stands for an element of the machine — the controller it talks to, the operator — or is taken over as a new element.
Place it
The component becomes a multiprocess at a free place on the page, its boundaries drawn around it, its DFD on read-only child pages. The boundary flows connect it to the machine and are numbered like the machine's own flows.
Instances and Quantity
- Each instance gets a prefix before the component's ids —
SD1,SD2— soSD1:P-1andSD2:P-1stay apart in threats, risks and the report - Identical units in the same place, with the same connections, are one instance with a quantity — one analysis for all of them
- Another place or other connections: a further instance with its own child page and its own ratings
- Change prefix… (multiprocess tab Component, or Overview → Components): every id of the instance follows, your decisions on it stay; the import proposes no prefix the component uses inside
- The instance's boundaries carry the prefix too — [SD1:CASE], [C1:SD1:CASE] for a nested import
- Copy ratings from another instance… takes over factors, relevance overrides, window of opportunity, assumption status and impact once; afterwards both instances are independent
What You Decide per Instance
The instance's assets
The impact of the component's assets in this machine. Security goals you add to them are a deviation the component team should know about.
Context factors and window of opportunity
Intrinsic factors come from the component; the context factors and the window of opportunity of each attack path — also per step of an AND combination — are rated here. Overriding a component value needs a reason.
Threats on the boundary flows
Imported threats are read-only. On a flow across the component's boundary you decide whether the threat is relevant in this machine, with a rationale.
A checklist with evidence
Each assumption of the component is fulfilled, not fulfilled or not applicable in this instance — with this machine's measures as evidence, or a rationale.
Component Measures Count Only While They Hold
- A measure of the component lowers the machine's risk only while the component implemented it and every assumption it relies on is fulfilled in the instance, with implemented evidence
- Otherwise it is unclear here or not effective here — and the risk is shown with its value before treatment, the reason next to it
- You can also mark a component measure not effective here yourself
- The same rule decides whether a component measure counts as evidence in the requirement matrix; the component's supporting claims can be cited there
When the Component Moves On
- Check or Fetch and check compares the imported state with the component's repository: up to date, a newer state, a state on a separate branch (never offered as newer), not pinned yet — or why it could not be checked
- Follow branch … when the checked-out branch of the component has a newer state than the branch the import follows
- Update… shows what changed, which of your decisions are affected, new external entities to map and threats or attack paths to pair with their predecessors — and says so when no decision is affected
- Decisions that no longer fit are listed for review; nothing is taken over silently
- An instance inserted by an older TARAflow is named by Check and offered Refresh stored state… — also when the component is unchanged
- Discard update goes back to the state before it until you save; a committed update is undone with git
Components in the Overview
- Overview → Components (while something is imported): per component its overview, where it comes from — repository, file, branch or tag, commit — and whether its methodology matches the machine's
- Its instances with their assumptions of use, Show in DFD and Open component TARA
- The deviations: what this TARA decided differently from the component — goals added, measures not effective, assumptions not fulfilled, relevances overridden, factors rated anew — and the claims it relies on. Copy them as Markdown for the component's team
Report and Audit
Imported components
The imported threats per component, the provenance of every imported risk, the imported attack trees with every attack-potential factor per step, and a chapter Imported components — origin, instances, measures not effective or unclear with the reason, assumptions with their evidence, deviations. In every format, including the PDF.
Snapshot check
The Audit Verification Engine checks that every imported component in a committed project file still matches its recorded snapshot (check component-import). The commit diff names instance changes in words.
Requires: TARAflow 0.19 or later on both sides — the component TARA must have been saved by 0.19 once. Projects are converted to schema 14 when opened, with a backup next to them.