ISMS CSV import
Licensed feature — on self-hosted installations this needs a license that includes ISMS; in the cloud it is part of the subscription. See Cloud or self-hosted.
CSV formats for bulk-loading the ISMS catalogues — threats, vulnerabilities, controls and risks — for example to start from an external standard such as the ISO/IEC 27001:2022 controls. The catalogues themselves are described in Maintain the ISMS catalogues; the general importer in Import data.
Start an ISMS import
Go to Toolbox → Importer.
Click Import Threats, Import Vulnerabilities, Import Controls or Import Risks. Show Import Instructions on the import page repeats the format rules below.
Under Select CSV File, choose your
.csvfile.Click the import button (e.g. Import Threats).
The four ISMS import buttons are shown only with the right base.isms.import.add (3.3). See
Rights.
When the import has finished, a summary shows:
Total Imported — rows that are now in the database (newly created plus already existing),
Newly Created,
Already Existing — rows skipped as duplicates (see Duplicates),
Invalid Entries — rows that were rejected, with their values.
Rejected rows create nothing — not even the sources, threats or other entries they mention.
Rules for all ISMS imports
File format
Encoding: UTF-8. A byte-order mark (as written by Excel) is fine.
Delimiter:
,(comma) or;(semicolon); it is detected automatically.The first row holds the column headers.
Every header of the format must be present, even for optional fields — leave the cells empty instead. If a header is missing, the whole import is refused with The following required headers are missing in the CSV: ….
Leading and trailing spaces in cells are ignored; a cell with only spaces counts as empty.
In the tables below, Required refers to the cell value: a row with an empty required cell is rejected as invalid.
Mapping by name
Cells that refer to other entries — sources, implementation states, protection goals, threats,
vulnerabilities — are matched against existing entries by name. The match is case-sensitive:
SourceA and sourcea are different. If no entry matches, a new one is created automatically.
Duplicates
Before creating an entry, the import compares the row with the existing entries across all imported fields, case-sensitively. An entry is created only if no identical one exists; otherwise the row is counted as Already Existing. Re-importing the same CSV file therefore does not create duplicates. A row that differs in a single field is a new entry.
Threats
Header |
Required |
Description |
|---|---|---|
|
Yes |
The name of the threat. |
|
No |
The source of the threat, matched by name; created if it does not exist. |
|
No |
An identifier for the threat. |
|
No |
A description of the threat. |
name;source;identifier;description
Threat1;Source1;Identifier1;Description1
Threat2;Source2;Identifier2;Description2
Vulnerabilities
Same format and rules as threats.
Header |
Required |
Description |
|---|---|---|
|
Yes |
The name of the vulnerability. |
|
No |
The source of the vulnerability, matched by name; created if it does not exist. |
|
No |
An identifier for the vulnerability. |
|
No |
A description of the vulnerability. |
name;source;identifier;description
Vulnerability1;Source1;Identifier1;Description1
Vulnerability2;Source2;Identifier2;Description2
Threats and vulnerabilities share one list of sources.
Controls
Header |
Required |
Description |
|---|---|---|
|
Yes |
The title of the control. |
|
Yes |
|
|
No |
The source of the control, e.g. |
|
No |
The implementation status, e.g. |
|
No |
An identifier for the control. |
|
No |
A chapter or grouping reference. |
|
No |
A detailed explanation of the control. |
|
No |
Whether the control is applicable. True: |
|
No |
Why the control is or is not applicable. |
title,control_measure_type,source,implementation_state,identifier,chapter,description,is_applicable,reason
MC1,CONTROL,MC_SOURCE,In Progress,Identifier1,Chapter1Text,Description1,true,Reason1Text
MC2,REQUIREMENT,MC_SOURCE2,In Progress,Identifier2,Chapter2Text,Description2,no,Reason2Text
Controls with the source ISO 27001:2022 lead the Statement of Applicability
(Use ISMS reports).
Risks
Header |
Required |
Description |
|---|---|---|
|
Yes |
The name of the risk. |
|
Yes |
|
|
No |
The affected protection goals by name, comma-separated, e.g. |
|
Depends on type |
The threats by name, comma-separated. |
|
Depends on type |
The vulnerabilities by name, comma-separated. |
|
No |
An identifier for the risk. |
|
Depends on type |
What happens if the risk materialises. |
|
Depends on type |
A detailed explanation of the risk. |
Protection goals, threats and vulnerabilities are mapped by name (Mapping by name); names that do not exist yet are created as new protection goals, threats or vulnerabilities.
The risk_type decides which cells must be filled and which must stay empty. A row that breaks these
rules is rejected:
|
|
|
|
|
|---|---|---|---|---|
|
required |
required |
must be empty |
optional |
|
required |
must be empty |
must be empty |
optional |
|
must be empty |
must be empty |
required |
required |
The CSV has no column for the risk category. Imported risks have no category; set it in the risk form afterwards (the form requires one when you save).
name;risk_type;protection_goals;threats;vulnerabilities;identifier;consequences;description
Risk1;THREAT;Confidentiality,Integrity;Fire,Water;;Identifier1;;Description1
Risk2;EVENT;Integrity;;;Identifier2;Consequences2;Description2
Note
The lists in protection_goals, threats and vulnerabilities are separated by commas. Use
; as the delimiter, as in the example, or put such cells in double quotes when the file is
comma-delimited.