<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://userguide.hitguard.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Faha</id>
	<title>HITGuard User Guide - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://userguide.hitguard.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Faha"/>
	<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php/Spezial:Beitr%C3%A4ge/Faha"/>
	<updated>2026-05-06T15:54:32Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38677</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38677"/>
		<updated>2026-04-02T09:49:39Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;br /&gt;
&lt;br /&gt;
Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
* [[Media:Importvorlage Risiko.xlsx|Template: Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/168/en&amp;diff=38676</id>
		<title>Translations:Datenimport/168/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/168/en&amp;diff=38676"/>
		<updated>2026-04-02T09:45:44Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Template ===&lt;br /&gt;
* [[Media:Importvorlage Risiko.xlsx|Template: Importvorlage Risiko.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38674</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38674"/>
		<updated>2026-04-02T09:44:48Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;br /&gt;
&lt;br /&gt;
Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
* [[Media:Importvorlage_Risiko.xlsx|Template: Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
*[[Media:Importvorlage Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/130/en&amp;diff=38673</id>
		<title>Translations:Datenimport/130/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/130/en&amp;diff=38673"/>
		<updated>2026-04-02T09:44:39Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Media:Importvorlage Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/157/en&amp;diff=38672</id>
		<title>Translations:Datenimport/157/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/157/en&amp;diff=38672"/>
		<updated>2026-04-02T09:44:34Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Medium:Importvorlage Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/70/en&amp;diff=38671</id>
		<title>Translations:Datenimport/70/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/70/en&amp;diff=38671"/>
		<updated>2026-04-02T09:44:30Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Media:Importvorlage Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/142/en&amp;diff=38670</id>
		<title>Translations:Datenimport/142/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/142/en&amp;diff=38670"/>
		<updated>2026-04-02T09:44:27Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Media:Importvorlage Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38669</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38669"/>
		<updated>2026-04-02T09:43:00Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „=== Template === * Template: Importvorlage Risiko.xlsx“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;br /&gt;
&lt;br /&gt;
Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
* [[Media:Importvorlage_Risiko.xlsx|Template: Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage_Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/168/en&amp;diff=38668</id>
		<title>Translations:Datenimport/168/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/168/en&amp;diff=38668"/>
		<updated>2026-04-02T09:42:55Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „=== Template === * Template: Importvorlage Risiko.xlsx“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Template ===&lt;br /&gt;
* [[Media:Importvorlage_Risiko.xlsx|Template: Importvorlage Risiko.xlsx]]&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38665</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38665"/>
		<updated>2026-04-02T09:40:13Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;br /&gt;
&lt;br /&gt;
Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage_Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/170/en&amp;diff=38664</id>
		<title>Translations:Datenimport/170/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/170/en&amp;diff=38664"/>
		<updated>2026-04-02T09:40:01Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Although several people can be assigned as advisors for a risk, the import only allows a single user to be assigned as the advisor.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38662</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38662"/>
		<updated>2026-04-02T09:37:52Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;br /&gt;
&lt;br /&gt;
Einem Risiko können zwar mehrere Personen als Sachbearbeiter zugewiesen werden, über den Import ist es aber nur möglich einen einzelnen Benutzer als Sachbearbeiter zuzuweisen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage_Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/169/en&amp;diff=38661</id>
		<title>Translations:Datenimport/169/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/169/en&amp;diff=38661"/>
		<updated>2026-04-02T09:37:43Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If the field Strategy has been assigned, you must also ensure that a value is selected from the drop-down menu in the Strategy field under Risk. Furthermore, the restriction applies that only values that correspond to the assigned severity or benefit are permitted. Thus, for a severity, it must be a coping strategy, and for a benefit, it must be a treatment strategy.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38659</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38659"/>
		<updated>2026-04-02T09:34:03Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
Ist das Feld Strategie zugewiesen, dann müssen sie hier Ebenfalls darauf achten, dass es einen Wert aus dem Drop-down im Feld Strategie im Risiko hat. Weiters gilt die Einschränkung, dass es nur die Werte erlaubt sind, die auch zu dem zugewiesenem Schadensausmaß / Nutzen passen. Also bei einem Schadensausmaß muss es sich um eine Bewältigungsstrategie handeln, bei einem Nutzen um eine Behandlungsstrategie.&lt;br /&gt;
&lt;br /&gt;
Einem Risiko können zwar mehrere Personen als Sachbearbeiter zugewiesen werden, über den Import ist es aber nur möglich einen einzelnen Benutzer als Sachbearbeiter zuzuweisen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage_Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/41/en&amp;diff=38658</id>
		<title>Translations:Datenimport/41/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/41/en&amp;diff=38658"/>
		<updated>2026-04-02T09:33:46Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Remarks&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Strategy&lt;br /&gt;
* Status&lt;br /&gt;
* Advisor&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38657</id>
		<title>Datenimport/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/en&amp;diff=38657"/>
		<updated>2026-04-02T09:32:48Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
With the help of the importer, resources, measures, controls and check questions for knowledge bases or structure updates for organizational units can be imported. These updates can come from an SAP export, for example, or from a specially created Excel or CSV file. In this way, obsolete structures can be updated or completely new structures can be imported.&lt;br /&gt;
&lt;br /&gt;
If an import is performed, all entities that have been changed are updated, and all entities that do not yet exist in HITGuard are created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Durchführen_eines_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Performing an import ==&lt;br /&gt;
&lt;br /&gt;
Imports can be performed only by administrators or experts. &lt;br /&gt;
&lt;br /&gt;
To perform an import, first go to &amp;quot;Administration → &amp;lt;u&amp;gt;Data import&amp;lt;/u&amp;gt; | Import logs&amp;quot;. All created import configurations are now displayed here. To perform an import, either an existing import configuration is selected from the list or a new import configuration is created - the process is the same in both cases. Each import is documented under “Administration → Data Import → &amp;lt;u&amp;gt;Import Logs&amp;lt;/u&amp;gt;”.&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 1.png|right|thumb|600px|Create a new import configuration]]&lt;br /&gt;
To use an existing import configuration, double-click the desired configuration. To create a new import configuration, click the plus button. (see figure)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Org import 2.png|right|thumb|600px|Select import type]]&lt;br /&gt;
A dialog box will then open (see image to the right) where you must enter the configuration name, select the configuration type, and upload the file to be imported.&lt;br /&gt;
&lt;br /&gt;
The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Assigning import fields]] Clicking on &amp;quot;Next&amp;quot; opens the mask for assigning the fields (see figure below). Here at least all mandatory fields of the selected import type should be assigned. You can find out what these are from the description of the individual imports.&lt;br /&gt;
&lt;br /&gt;
If an Excel file is imported, care must be taken that column headings exist in the file. If these exist, it is selected that the first row contains column headers and should therefore be ignored.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Save and import]]If all mandatory fields have now been assigned, the import can be saved and is ready for import. All that remains is to click on &amp;quot;Save and import&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: Instead of a username the name of a team can be entered for the field responsible, provided the team was already created in HITGuard. The name must be correct for the import to work. The team is then set as responsible, e.g., for a resource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Successful import message]] If the import was successful, you will see how many entities were newly created and how many were modified. In case of erroneous import operations, those rows and columns that contain errors will be listed for you.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Importprotokolle&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import logs ==&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|List of import protocols]]&lt;br /&gt;
Each import attempt is documented under &amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;&amp;quot;. Both successful and failed import attempts are recorded.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Import Protocol in Detail]]&lt;br /&gt;
By double-clicking on an import, you will be redirected to a screen where you can see details such as the reason why the import failed.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Datenkategorien_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import data categories ==&lt;br /&gt;
&lt;br /&gt;
To import data categories, the &amp;quot;Data category&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new data categories&lt;br /&gt;
* Update existing data categories &lt;br /&gt;
&lt;br /&gt;
Only classes created under Risk Management → Risk Policy → Data Classes are allowed for the Data Class field.&lt;br /&gt;
&lt;br /&gt;
Only the values Yes and No are permitted for the fields Protection needs analysis and Person-related. You determine where the data categories can be used.&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new data categories ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new data category, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
* Data class (as per the values in Risk Management → Risk policy → Data classes)&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Description&lt;br /&gt;
* Parent record ID (parent data category) &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
* Protection needs analysis (Yes/No)&lt;br /&gt;
* Personal data (Yes/No)&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent record ID is assigned to a data category, a data category with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles are used when, for example, data category A has entered data category B as its parent ID and data category B has entered data category A as its parent ID. The importer detects these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Datenkategorien&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update data categories ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the data category is found during the import, no new data category is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. designation, data class or person related. This allows the maintenance of individual data category or larger data category structures .&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new data category that should be parent to already existing data categories. In this case, the already existing data categories can be easily subordinated to this new data category by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_Datenkategorie.xlsx|Template: Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Risiken_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import risks ==&lt;br /&gt;
&lt;br /&gt;
To import risks, the &amp;quot;Risk&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new risk&lt;br /&gt;
* Update existing risks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new risks===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new risk, these required fields must be filled in&lt;br /&gt;
* Record ID (unique identifier across management systems)&lt;br /&gt;
* Name&lt;br /&gt;
* Responsible user (e.g., via username)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
Additionally, the following fields can be assigned:&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Monetary impact&lt;br /&gt;
* Probability of occurrence&lt;br /&gt;
* Extent of damage&lt;br /&gt;
* Status&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other import tools in HITGuard specify the status using numbers. Here, however, you must enter the status as the exact word that appears in the drop-down menu in the “Status” field in the risk record (i.e., “Submitted,” “Active,” etc.). Be sure to use the correct capitalization—even minor discrepancies can prevent HITGuard from recognizing the status. &lt;br /&gt;
&lt;br /&gt;
If the Damage Extent or Probability of Occurrence fields are assigned, then only content that matches the existing HITGuard classes is valid. Again, you must provide the exact word that are specified in the risk policy. For more information, see [[Special:MyLanguage/Risikopolitik#prob|Probabilities of occurrence]] or [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Extensions of damage]].&lt;br /&gt;
&lt;br /&gt;
Ist das Feld Strategie zugewiesen, dann müssen sie hier Ebenfalls darauf achten, dass es einen Wert aus dem Drop-down im Feld Strategie im Risiko hat. Weiters gilt die Einschränkung, dass es nur die Werte erlaubt sind, die auch zu dem zugewiesenem Schadensausmaß / Nutzen passen. Also bei einem Schadensausmaß muss es sich um eine Bewältigungsstrategie handeln, bei einem Nutzen um eine Behandlungsstrategie.&lt;br /&gt;
&lt;br /&gt;
Einem Risiko können zwar mehrere Personen als Sachbearbeiter zugewiesen werden, über den Import ist es aber nur möglich einen einzelnen Benutzer als Sachbearbeiter zuzuweisen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Risiken&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Updating risks ===&lt;br /&gt;
&lt;br /&gt;
If you enter the &amp;quot;External ID&amp;quot; of an existing Risk in the row &amp;quot;Record ID&amp;quot;, no new Risk will be created. Instead, HITGUard will update the existing risk. The entries in the import file update the already existing fields such as designation, description, responsible person, etc. This enables the maintenance of individual risks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; The ID of the risk must be distinct across the entire HITGuard installation, it must not repeat in different management systems. If you, for example, import an risk with the ID 1234 into a management system, but in another management system there already is a risk with the ID 1234, then that risk will be overwritten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Geschäftsprozesse_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import business processes ==&lt;br /&gt;
&lt;br /&gt;
To import business processes, the &amp;quot;Business process&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new business processes&lt;br /&gt;
* Update existing business processes &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Geschäftsprozesse&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new business processes ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard checks whether a business process already exists or not based on the record ID in the import file. If none exists, the business process is created.&lt;br /&gt;
&lt;br /&gt;
To create a new business process, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent business process record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent business process record ID is assigned, a business process with this ID must either already exist in HITGuard or be created in this import. &lt;br /&gt;
Furthermore, no cycles may exist. Cycles exist if, for example, business process A has entered business process B as its parent ID and business process B has entered business process A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Geschäftsprozessen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update business processes === &lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new business process is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like description, code, responsible person, or parent record ID. This enables the maintenance of individual business processes or business process structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new business process that is parent to already existing business processes. In this case, the already existing business processes can be subordinated to this new business process by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template === &lt;br /&gt;
*[[Media:Importvorlage_Geschäftsprozess.xlsx|Template: Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Organisationseinheiten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import organizational units ==&lt;br /&gt;
&lt;br /&gt;
To import organizational units, the &amp;quot;Organizational unit&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new organizational structures&lt;br /&gt;
* Update existing organizational structures&lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new organizational unit, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is feasible.&lt;br /&gt;
&lt;br /&gt;
Furthermore the fields&lt;br /&gt;
* Code&lt;br /&gt;
* Description&lt;br /&gt;
* Parent OU record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* Street&lt;br /&gt;
* Postal code&lt;br /&gt;
* City&lt;br /&gt;
* Country&lt;br /&gt;
* Sort order&lt;br /&gt;
can be assigned.&lt;br /&gt;
&lt;br /&gt;
If the parent OU record ID is assigned, an organizational unit with this ID must either already exist in HITGuard or be created in this import. Furthermore, no cycles may exist. Cycles exist if, for example, organizational unit A has entered organizational unit B as its parent ID and organizational unit B has entered organizational unit A as its parent ID. The importer recognizes these cycles, prevents the import and refers to the cycle error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Organisationseinheiten/Strukturen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update organizational units/structures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the organizational unit is found during the import, no new organizational unit is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields like e.g. country, address or person in charge. This enables the maintenance of individual organizational units or larger organizational structures.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:It is decided to create a new department that is superior to already existing organizational units. In this case, the already existing organizational units can be subordinated to this new department by changing their parent ID.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Media:Importvorlage_OrgEh.xlsx|Template: Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Maßnahmen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import measures ==&lt;br /&gt;
&lt;br /&gt;
To import measures, the type &amp;quot;Measure&amp;quot; is selected upon importing.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new measures&lt;br /&gt;
* Update existing measures&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of new measures ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new measure, the following mandatory fields must be present and filled in:&lt;br /&gt;
*Code&lt;br /&gt;
*OrgUnit (external ID!)&lt;br /&gt;
*Name&lt;br /&gt;
*Responsible&lt;br /&gt;
*Recognized at&lt;br /&gt;
*Record ID&amp;lt;p&amp;gt;&lt;br /&gt;
In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Important&amp;lt;/u&amp;gt;: For the organizational unit you need to use its external ID. If you have not yet set this ID, you can do so manually before the import.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the following fields can be added optionally:&lt;br /&gt;
*State (0-6, see more information below)&lt;br /&gt;
*Description&lt;br /&gt;
*Remark&lt;br /&gt;
*Budgeted costs&lt;br /&gt;
*Actual costs&lt;br /&gt;
*Recognized on&lt;br /&gt;
*Start date&lt;br /&gt;
*Mentioned deadline - Caution: this is a mandatory field if you have configured it under Measures &amp;gt; Settings&lt;br /&gt;
*Deadline&lt;br /&gt;
*Finished on - Caution: may only be filled in if the measure is imported in the states Completed or Submitted&lt;br /&gt;
*Impact - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Effort - with the names you defined under Measures &amp;gt; Settings&lt;br /&gt;
*Corrective measure (YES/NO)&lt;br /&gt;
*Improvement measure (YES/NO)&lt;br /&gt;
*Planned anew (YES/NO)&lt;br /&gt;
*Delayed (YES/NO)&lt;br /&gt;
*Risk reduction (YES/NO)&lt;br /&gt;
*KO-criterion (YES/NO)&lt;br /&gt;
&lt;br /&gt;
The digits 0 to 6 are used for the state of the measure:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Planned&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Open&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Suspended&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Completed (Caution: here the field Completed on must be filled in as well)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Cancelled&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Submitted (here the field Completed on &amp;lt;u&amp;gt;can&amp;lt;/u&amp;gt; be filled in)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Rejected&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Note: If you do not enter anything, state 1 (open) is used by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Maßnahmen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update measures ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the measure is found during the import, no new measure is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Maßnahmen.xlsx|Template: Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import resources ==&lt;br /&gt;
&lt;br /&gt;
To import resources, the &amp;quot;Resource&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resources&lt;br /&gt;
* Update existing resources &lt;br /&gt;
&lt;br /&gt;
For information about responsible persons see [[#ver|User management]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Create new resources ===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
* Record ID &#039;&#039;(system-wide unique identifier)&#039;&#039;&lt;br /&gt;
* and description&lt;br /&gt;
must be available and filled in. In addition, all prerequisites of the user administration apply if responsible persons are entered (see User administration). &lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Description&lt;br /&gt;
* model segment &lt;br /&gt;
* RTO&lt;br /&gt;
* and RPO&lt;br /&gt;
can be assigned. In the model segment, the following values are allowed: &amp;quot;Business Service Level&amp;quot;, &amp;quot;Application Level&amp;quot;, &amp;quot;IT Infrastructure Level&amp;quot;, &amp;quot;OT Infrastructure Level&amp;quot;, &amp;quot;Physical Security&amp;quot; and &amp;quot;Process Level&amp;quot;. If the field is not assigned, the resources are assigned to the model segment &amp;quot;Application Level&amp;quot;. RTO and RPO can be imported &amp;lt;u&amp;gt;either&amp;lt;/u&amp;gt; as hours or as minutes; hours and minutes cannot be mixed. In that case, the minutes would overwrite the hours.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Example&amp;lt;/u&amp;gt;: If I want an RTO of two and a half hours, I can either enter 2.5 hours or 150 minutes. If I enter 2 hours and 30 minutes, only the 30 minutes will be imported.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Caution:&amp;lt;/u&amp;gt; When mapping the columns you also need to differentiate and decide between hours and minutes. If the field for minutes is available, it will be chosen over the hours, even if it is empty.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update resources ===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the resource is found during the import, no new resource is created, but the existing one is updated. That is: the existing fields of the import file update the already existing fields.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Template ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Ressourcen.xlsx|Template: Importvorlage Ressource.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ressourcenverbindungen_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import resource connection==&lt;br /&gt;
&lt;br /&gt;
To import resource connections (meaning an edge, a dependency relationship between two structural elements), the &amp;quot;Resource connection&amp;quot; type is selected during import.&amp;lt;p&amp;gt;&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new resource connections&lt;br /&gt;
* Update existing resource connections&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new resource connections===&lt;br /&gt;
&lt;br /&gt;
To create a new resource connection, the mandatory fields&lt;br /&gt;
* External ID of the source &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* External ID of the target &#039;&#039;(system-wide unique identification)&#039;&#039;&lt;br /&gt;
* Type source&lt;br /&gt;
* Type target&lt;br /&gt;
must be present and filled in.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields:&lt;br /&gt;
* Protection target and&lt;br /&gt;
* Dependency weighting&lt;br /&gt;
can be assigned.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Connections can be created between different resources, between organizational units and resources, processes and resources, data categories and resources, and suppliers and resources, in both directions. &lt;br /&gt;
&lt;br /&gt;
The following rules apply in the assigning and weighing of protection targets:&lt;br /&gt;
* Neither protection target nor dependency weighting stated: all protection targets of the management system are created with 100%.&lt;br /&gt;
* Only protection target: the named protection target is created with a weighting of 100%.&lt;br /&gt;
* Only dependency weighting: all protection targets of the management system are created with this weighting.&lt;br /&gt;
* Protection target and dependency weighting: the named protection target is created with this weighting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there already exists a connection created from a protection needs analysis, the new connection is imported but the connection from the protection needs analysis is not overwritten. If you delete the protection needs analysis, the imported connection becomes visible.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt; If there are multiple entries with the same external ID source and external ID target and the same protection target, the last entry is always considered.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Example:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Row 1: Source_1, Target_1, resource, resource → sets all protection targets to 100%&lt;br /&gt;
::Row 2: Source_1, Target_1, resource, resource, confidentiality, 50 → sets the protection target &amp;quot;confidentiality&amp;quot; to 50%&lt;br /&gt;
::Result sof the import → confidentiality is 50%, all other protection targets are 100% for the connection between Source_1 and Target_1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Ressourcenverbindungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update resource connections===&lt;br /&gt;
&lt;br /&gt;
If during the import the external ID of the source and the target are found in the same combination, no new resource connection is created but the existing one is updated instead. This means: the existing fields of the import file update the already existing fields.&amp;lt;p&amp;gt;&lt;br /&gt;
Here, too, edges from protection needs analyses are not overwritten.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage_Ressourcenverbindung.xlsx|Import template resource connection.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lieferanten_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==Import suppliers==&lt;br /&gt;
&lt;br /&gt;
To import suppliers, the &amp;quot;Supplier&amp;quot; type is selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new suppliers&lt;br /&gt;
* Update existing suppliers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlegen_neuer_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Create new suppliers===&lt;br /&gt;
&lt;br /&gt;
When importing a file, HITGuard uses the record ID in the import file to check whether it already exists anywhere in the HITGuard instance (across management systems) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new resource, you must fill in the mandatory fields&lt;br /&gt;
*Record ID &amp;lt;i&amp;gt;(unique identifier across management systems)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Name.&lt;br /&gt;
Only if this is the case, the file can be imported.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the fields&lt;br /&gt;
*Code&lt;br /&gt;
*Expiration date&lt;br /&gt;
*Deactivated (x for yes, empty for no; true/false)&lt;br /&gt;
*External metric&lt;br /&gt;
*Justification&lt;br /&gt;
*Street&lt;br /&gt;
*Post code&lt;br /&gt;
*City&lt;br /&gt;
*County&lt;br /&gt;
*Country&lt;br /&gt;
*E-mail&lt;br /&gt;
*Telephone&lt;br /&gt;
*Homepage&lt;br /&gt;
can be present and filled in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Lieferanten&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Update suppliers===&lt;br /&gt;
&lt;br /&gt;
If the record ID of the supplier is found during the import, no new supplier is created, but the existing one is updated. That means: The existing fields of the import file update the already existing fields such as name, description, expiration date, etc. This enables the maintenance of individual suppliers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlage&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===Template===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
*[[Media:Importvorlage_Lieferanten_(1).xlsx|Template: Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Elemente_für_Wissensdatenbanken_(WDBs)_importieren&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Import knowledge base (KB) elements ==&lt;br /&gt;
&lt;br /&gt;
The importer allows you to import measures, controls, topics, audit questions, justification templates, or risks into an existing knowledge database. To do this, select the “Knowledge base” type in the importer. Next, you must specify the knowledge base into which the measures, controls, audit questions, topics, and justification templates should be imported. This must be a knowledge base that is still editable—that is, one that has not yet been published.&lt;br /&gt;
&lt;br /&gt;
In order to import measures, controls, topics, review questions, and/or justification templates, the fields&lt;br /&gt;
* Title&lt;br /&gt;
* Record ID &#039;&#039;(unique identifier)&#039;&#039;&lt;br /&gt;
must be assigned. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Caution:&amp;lt;/b&amp;gt; If the record ID already exists in the KB, no new record is created, but the old one is updated.&lt;br /&gt;
&lt;br /&gt;
Furthermore, in all tabs there are the fields:&lt;br /&gt;
* Outline&lt;br /&gt;
* Description&lt;br /&gt;
* Status: &#039;&#039;(Date value)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Question tab, there are also the fields:&lt;br /&gt;
* Question&lt;br /&gt;
* Type of question: This defines the type of the review question. Allowed values of the field are: &amp;quot;process question&amp;quot; or &amp;quot;technical question&amp;quot; or &amp;quot;information gathering&amp;quot;. Process questions can be answered with a score from 1-5 according to the evaluation schema, technical questions with Yes/No/Partial, and information gatherings are answered by filling in the comment and/or uploading an attachment. If the column is not filled, all review questions will be imported as technical questions.&lt;br /&gt;
* linked topics &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the Topic tab, there are also the fields:&lt;br /&gt;
* superordinate topic &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
* linked review questions &#039;&#039;(Record ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; For an import, columns from all tabs do not have to be assigned. So you can import topics, review questions, measures, controls, or justification templates separately.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Topics and review questions that are then to be linked can be imported in the same Excel file. But you also have the option of importing linkages for topics/review questions that you have already imported or manually created before.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Multiple record IDs separated by commas can be put into the fields linked review questions to topics and linked topics to review questions. This can be done with or without a space before/after the comma. Example: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Vorlagen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Template: Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Prüffrage.xlsx|Template: Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Maßnahme.xlsx|Template: Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Media:Importvorlage_WDB_Kontrolle.xlsx|Template: Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Template: Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Template: Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Benutzerverwaltung&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;User management ==&lt;br /&gt;
&lt;br /&gt;
To import users, the &amp;quot;User&amp;quot; type must be selected during import.&lt;br /&gt;
&lt;br /&gt;
There are two options:&lt;br /&gt;
* Create new user&lt;br /&gt;
* Update existing users&lt;br /&gt;
&lt;br /&gt;
Users can be imported with the importer. When importing organizational units, data categories and resources, a responsible person can optionally be specified, which is then assigned or created and assigned. &lt;br /&gt;
&lt;br /&gt;
If only the user name is specified in the course of the import of a structural element, the responsible person is assigned, but not modified. Therefore, the user must already exist. In the &amp;quot;Responsible&amp;quot; tab, all fields except for the user name can be ignored in this case.&lt;br /&gt;
&lt;br /&gt;
===Create a new user with the importer===&lt;br /&gt;
When importing a file, HITGuard uses the data set ID in the import file to check whether it already exists anywhere in the HITGuard instance (system-wide) or not. If it does not exist, it is created again.&lt;br /&gt;
&lt;br /&gt;
To create a new user, the following mandatory fields&lt;br /&gt;
*Username &#039;&#039;(system-wide unique identifier)&lt;br /&gt;
* E-mail address&lt;br /&gt;
* Password&lt;br /&gt;
* First name&lt;br /&gt;
*Last name&lt;br /&gt;
must be available and filled in. Only if this is the case, the import is possible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Anlage_eines_neuen_Benutzers_im_Zuge_eines_anderen_Imports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Creation of a new user in the course of another import ===&lt;br /&gt;
&lt;br /&gt;
If a responsible person is entered during import that has not yet been created in HITGuard, there are two variants of how HITGuard handles this:&lt;br /&gt;
# Active Directory Integration is disabled: &lt;br /&gt;
#:&lt;br /&gt;
#: The user is created completely new, so that this can be performed, the mandatory fields of the responsible person must be present and entered in the import file. These are:&lt;br /&gt;
#::* Username&lt;br /&gt;
#::* E-mail&lt;br /&gt;
#::* Password (between 12 and 20 characters, with at least 3 of the 4 criteria special characters, upper case, lower case and digits)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|mandatory fields when creating a new user]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory integration is enabled:&lt;br /&gt;
#:&lt;br /&gt;
#: If Active Directory Integration is enabled, only users that exist in Active Directory can be created. However, the first name, last name and email fields can still be assigned. This means that it is possible to change the user&#039;s data during import and thus add or correct any errors or information from the Active Directory that is not maintained in HITGuard.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aktualisieren_von_Benutzern&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Update users ===&lt;br /&gt;
&lt;br /&gt;
It is possible to update users with the help of the importer. This is useful, for example, if the e-mail or last name of a user changes. The importer checks at each import, if a user is entered, if additional fields like e-mail, last name, etc. exist in the import file, if yes, the content of these fields will be updated with the new content.&lt;br /&gt;
&lt;br /&gt;
This makes it possible to keep information in HITGuard about users that do not exist or are not maintained in the Active Directory. It should be noted that HITGuard does not update the Active Directory!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Caution:&#039;&#039;&#039; The AD integration must be deactivated for the update of users with their own data import.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Deaktivierte_Benutzer&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Deactivated users ====&lt;br /&gt;
&lt;br /&gt;
If a deactivated user is entered or updated as the responsible person during an update, this user is not activated as a result, i.e. he does not change status. However, he will be updated and entered as the responsible person.&lt;br /&gt;
&lt;br /&gt;
=== Template ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Template: Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Aufbau_einer_Importdatei&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Structure of an import file ==&lt;br /&gt;
&lt;br /&gt;
The importer supports two format types:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel files&lt;br /&gt;
&lt;br /&gt;
=== Excel ===&lt;br /&gt;
&lt;br /&gt;
The structure of an Excel file consists of a table in which all relevant data is represented as a column in a table. Each row corresponds, e.g., to a new organizational unit or other structure to be imported. During import, depending on the structure, the first row can or must be skipped if this row is the column header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Example of an Excel import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV ===&lt;br /&gt;
&lt;br /&gt;
The structure of a CSV file usually consists of one line, in which the column headings are separated by semicolons. Each additional line contains information about the structure to be imported. It is important that each line has the same number of columns (i.e. the same number of semicolons). Depending on the structure, the first line can or must be skipped during the import if this line contains the column headings.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Example of CSV import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HTML-formatting in the import ===&lt;br /&gt;
A few fields you can import as an Excel or CSV are HTML-fields in the application, meaning you can format them. You have the option of already adding this formatting in the import by using html-codes. This applies to, for example, the question section of review questions in knowledge bases, or the description fields of measures or risks.&amp;lt;p&amp;gt;A few formatting examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-code&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Item 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Item 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Creates a&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;bullet list.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Important: In a list of this kind you must not use line breaks in the Excel/CSV, as this will lead to empty lines in the result.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Line 1&amp;lt;br&amp;gt;Line 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Adds a simple&amp;lt;br&amp;gt;line break.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;u&amp;gt;unterlined&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formats the text as &amp;lt;s&amp;gt;struck through&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use an online HTML editor, format your text there, and then copy the result, meaning the code, into the Excel or CSV. Remember to remove any line breaks here.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/10/en&amp;diff=38656</id>
		<title>Translations:Datenimport/10/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/10/en&amp;diff=38656"/>
		<updated>2026-04-02T09:32:46Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The file can be either a CSV file or an Excel file. ([[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Structure of an import file]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport&amp;diff=38645</id>
		<title>Datenimport</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport&amp;diff=38645"/>
		<updated>2026-04-02T09:31:29Z</updated>

		<summary type="html">&lt;p&gt;Faha: Diese Seite wurde zum Übersetzen freigegeben&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Mithilfe des Importers, können Ressourcen, Maßnahmen, Kontrollen und Prüffragen für Wissensdatenbanken oder Strukturupdates für Organisationseinheiten importiert werden. Diese Updates können z.B. aus einem SAP-Export kommen, oder aber auch von einer eigens erstellten Excel- oder CSV-Datei. Dadurch können veraltete Strukturen aktualisiert oder aber auch komplett neue Strukturen importiert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Wird ein Import durchgeführt, werden alle Entitäten, die geändert wurden, aktualisiert, sowie alle Entitäten, die in HITGuard noch nicht existieren, angelegt.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Durchführen eines Imports == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Imports können nur von Administratoren oder Experten durchgeführt werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Um einen Import vorzunehmen, wird zuerst zu &amp;quot;Administration → &amp;lt;u&amp;gt;Datenimport&amp;lt;/u&amp;gt;&amp;quot; gewechselt. Hier werden nun alle erstellten Importkonfigurationen angezeigt. Um einen Import durchzuführen, wird entweder eine vorhandene Importkonfiguration aus der Liste gewählt oder eine neue Importkonfiguration erstellt - in der Durchführung unterscheiden sich die Vorgänge nicht. Jeder Import wird unter &amp;quot;Administration → Datenimport → &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;&amp;quot; dokumentiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
[[Datei:Org import 1.png|right|thumb|600px|Neue Importkonfiguration erstellen]]&lt;br /&gt;
Um eine vorhandene Importkonfiguration zu verwenden, wird doppelt auf die gewünschte Konfiguration geklickt. Um eine neue Importkonfiguration zu erstellen wird auf das grüne Plus geklickt. (siehe Abbildung)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:Org import 2.png|right|thumb|600px|Importtyp auswählen]]&lt;br /&gt;
Anschließend öffnet sich eine Maske (siehe Abbildung rechts), in der die Bezeichnung der Konfiguration gesetzt wird, der Typ der Konfiguration ausgewählt und die zu importierende Datei hochgeladen werden muss.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
Bei der Datei kann es sich entweder um ein CSV-Datei oder eine Excel-Datei handeln. (Siehe [[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Aufbau einer Importdatei]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Felder zuordnen]]&lt;br /&gt;
Wird auf &amp;quot;Weiter&amp;quot; geklickt, öffnet sich die Maske zum Zuweisen der Felder (siehe Abbildung rechts). Hier sollen zumindest alle Pflichtfelder des gewählten Importtyps zugewiesen werden. Welche das sind, entnehmen Sie der Beschreibung der einzelnen Imports.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wird eine Excel-Datei importiert, muss darauf geachtet werden, dass in der Datei Spaltenüberschriften existieren. Sind diese vorhanden, wird ausgewählt, dass die erste Zeile Spaltenüberschriften enthält und deshalb ignoriert werden soll.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Speichern und importieren]]&lt;br /&gt;
Wurden nun alle Pflichtfelder zugewiesen, kann der Import gespeichert werden und ist fertig zum Importieren. Dafür muss nur noch auf &amp;quot;Speichern und Importieren&amp;quot; geklickt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:118--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis&amp;lt;/u&amp;gt;: Für Verantwortliche kann anstelle eines Usernamens auch die Bezeichnung eines Teams eingetragen werden, wenn dieses in HITGuard bereits erstellt wurde. Die Bezeichnung muss korrekt sein, damit der Import funktioniert. Das Team ist dann als Verantwortlich hinterlegt, z.B. bei einer Ressource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Erfolgreicher Import von Organisationseinheiten]]&lt;br /&gt;
War der Import erfolgreich, so wird angezeigt, wie viele Entitäten neu erstellt wurden und wie viele geändert wurden. Bei fehlerhaften Importvorgängen werden Ihnen jene Zeilen und Spalten, die Fehler enthalten, aufgelistet.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Importprotokolle == &amp;lt;!--T:99--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:100--&amp;gt;&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|Übersicht der Protokolle]]&lt;br /&gt;
Jeder Importversuch wird unter &amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;&amp;quot; dokumentiert. Dabei werden sowohl erfolgreiche, als auch fehlgeschlagene Importversuche erfasst.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:102--&amp;gt;&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Detailansicht eines Importprotokolls]]&lt;br /&gt;
Durch Doppelklicken auf einen Import wird man zu einer Maske weitergeleitet in der man Details, wie z.b den Grund wieso der Import fehlschlug, erhält.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Datenkategorien importieren == &amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
Um Datenkategorien zu importieren, muss beim Import der Typ &amp;quot;Datenkategorie&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Datenkategorien anlegen&lt;br /&gt;
* Aktualisieren bestehender Datenkategorien &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
Für das Feld Datenklasse sind nur Klassen zulässig, die unter Risikomanagement → Risikopolitik → Datenklassen angelegt sind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Für die Felder Schutzbedarfsanalyse und personenbezogen sind nur die Werte Ja und Nein zulässig. Sie bestimmen, wo die Datenkategorien verwendet werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Datenkategorien === &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (systemweit) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um eine Datenkategorie neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
* Datenklasse (entsprechend den Werten in Risikomanagement → Risikopolitik → Datenklassen)&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete Datensatz-ID (übergeordnete Datenkategorie) &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Schutzbedarfsanalyse (Ja/Nein)&lt;br /&gt;
* Personenbezogen (Ja/Nein)&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
Wird die übergeordnete Datensatz-ID einer Datenkategorie zugewiesen, so muss eine Datenkategorie mit dieser ID entweder schon in HITGuard existieren, oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Von Zyklen ist die Rede, wenn z.B. Datenkategorie A Datenkategorie B als übergeordnete ID eingetragen hat und Datenkategorie B umgekehrt die Datenkategorie A als übergeordnete ID anführt. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Datenkategorien === &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Datenkategorie gefunden, so wird keine neue Datenkategorie angelegt, sondern die vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Datenklasse oder personenbezogen. Dies ermöglicht die Pflege einzelner Datenkategorie bzw. größere Datenkategorie-Strukturen .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird dafür entschieden eine neue Datenkategorie zu erstellen, die bereits existierenden Datenkategorien übergeordnet sein soll. In diesem Fall können die bereits existierenden Datenkategorien durch Änderung ihrer übergeordneten ID ganz simpel dieser neuen Datenkategorie untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Datenkategorie.xlsx|Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Risiken importieren == &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
Um Risiken zu importieren, wird beim Import der Typ &amp;quot;Risiko&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Risiken anlegen&lt;br /&gt;
* Aktualisieren bestehender Risiken&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Risiken  === &amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (managementsystemübergreifend) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
Um ein Risiko neu anzulegen, müssen diese Pflichtfelder ausgefüllt sein&lt;br /&gt;
* Datensatz-ID &#039;&#039;(managementsystemübergreifend eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
* Verantwortlicher (zB als Benutzername)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
Weiters können die folgenden Felder zugewiesen werden: &lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Anmerkungen&lt;br /&gt;
* Monetäre Auswirkung&lt;br /&gt;
* Eintrittswahrscheinlichkeit &lt;br /&gt;
* Strategie&lt;br /&gt;
* Schadensausmaß &lt;br /&gt;
* Status&lt;br /&gt;
* Sachbearbeiter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
Andere Importe geben den Status mit Zahlen an. Hier müssen sie den Status allerdings als das Wort angeben, das Sie im Drop-down im Feld Status im Risiko finden (also &amp;quot;Eingereicht&amp;quot;, &amp;quot;Aktiv&amp;quot;, etc.). Achten Sie dabei auch auf Groß-und kleinschreibung - schon bei kleinen Abweichungen kann HITGuard den Status nicht mehr erkennen. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:167--&amp;gt;&lt;br /&gt;
Sind die Felder Schadensausmaß oder Eintrittswahrscheinlichkeit zugewiesen, dann sind nur Inhalte gültig, die mit den vorhandenen HITGuard Klassen übereinstimmen. Mehr dazu unter  [[Special:MyLanguage/Risikopolitik#prob|Eintrittswahrscheinlichkeiten]] bzw. [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Schadensausmaße]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:169--&amp;gt;&lt;br /&gt;
Ist das Feld Strategie zugewiesen, dann müssen sie hier Ebenfalls darauf achten, dass es einen Wert aus dem Drop-down im Feld Strategie im Risiko hat. Weiters gilt die Einschränkung, dass es nur die Werte erlaubt sind, die auch zu dem zugewiesenem Schadensausmaß / Nutzen passen. Also bei einem Schadensausmaß muss es sich um eine Bewältigungsstrategie handeln, bei einem Nutzen um eine Behandlungsstrategie.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:170--&amp;gt;&lt;br /&gt;
Einem Risiko können zwar mehrere Personen als Sachbearbeiter zugewiesen werden, über den Import ist es aber nur möglich einen einzelnen Benutzer als Sachbearbeiter zuzuweisen.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Risiken === &amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
Tragen sie im Import-file in der Spalte Datensatz-ID die ID im Drittsystem eines Risikos, das bereits im System existiert ein, so wird kein neues Risiko erstellt.  HITGuard wird stattdessen das Vorhandene aktualisieren. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Beschreibung, Verantwortlicher, usw.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:119--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Achtung:&amp;lt;/u&amp;gt; Die ID des Risikos muss über die gesamte HITGuard Instanz eindeutig sein, sie darf also nicht in einem anderen Managementsystem wiederverwendet werden. Wenn Sie bspw. ein Risiko mit der ID 1234 in ein Managementsystem importieren möchten, es aber in einem Managementsystem bereits ein Risiko mit der ID 1234 gibt, so wird dieses überschrieben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:168--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Geschäftsprozesse importieren == &amp;lt;!--T:104--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:105--&amp;gt;&lt;br /&gt;
Um Geschäftsprozesse zu importieren, muss beim Import der Typ &amp;quot;Geschäftsprozess&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:106--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Geschäftsprozesse anlegen&lt;br /&gt;
* Aktualisieren bestehender Geschäftsprozesse &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:107--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Geschäftsprozesse === &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:108--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob ein Geschäftsprozess bereits existiert oder nicht. Existiert keiner, so wird der Geschäftsprozess angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:109--&amp;gt;&lt;br /&gt;
Um einen Geschäftsprozesse neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:110--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete Geschäftsprozess Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:111--&amp;gt;&lt;br /&gt;
Wird die übergeordnete Geschäftsprozess Datensatz-ID zugewiesen, so muss ein Geschäftsprozess mit dieser ID entweder schon in HITGuard existieren oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Zyklen sind es dann, wenn z.B. Geschäftsprozess A Geschäftsprozess B als übergeordnete ID eingetragen hat und Geschäftsprozess B Geschäftsprozess A als übergeordnete ID. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Geschäftsprozessen === &amp;lt;!--T:112--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:113--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Organisationseinheit gefunden, so wird keine neuer Geschäftsprozess angelegt, sondern der vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Beschreibung, Kürzel, Verantwortlicher oder übergeordnete Datensatz-ID. Dies ermöglicht die Pflege einzelner Geschäftsprozesse bzw. Geschäftsprozessstrukturen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:114--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird sich dafür entschieden einen neuen Geschäftsprozess zu erstellen, der bereits existierenden Geschäftsprozessen übergeordnet ist. In diesem Fall können die bereits existierenden Geschäftsprozesse durch Änderung ihrer übergeordneten ID diesem neuen Geschäftsprozess untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:115--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Geschäftsprozess.xlsx|Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Organisationseinheiten importieren == &amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
Um Organisationseinheiten zu importieren, muss beim Import der Typ &amp;quot;Organisationseinheit&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Organisationsstrukturen anlegen&lt;br /&gt;
* Aktualisieren bestehender Organisationsstrukturen&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Organisationseinheiten/Strukturen === &amp;lt;!--T:116--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
Um eine Organisationseinheit neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete OE Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Straße&lt;br /&gt;
* Postleitzahl&lt;br /&gt;
* Stadt&lt;br /&gt;
* Land&lt;br /&gt;
* Sortierreihenfolge&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
Wird die übergeordnete OE Datensatz-ID zugewiesen, so muss eine Organisationseinheit mit dieser ID entweder schon in HITGuard existieren, oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Zyklen sind es dann, wenn z.B. Organisationseinheit A Organisationseinheit B als übergeordnete ID eingetragen hat und Organisationseinheit B Organisationseinheit A als übergeordnete ID. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Organisationseinheiten/Strukturen === &amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Organisationseinheit gefunden, so wird keine neue Organisationseinheit angelegt, sondern die vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Land, Adresse oder Verantwortlicher. Dies ermöglicht die Pflege einzelner Organisationseinheiten bzw. größere Organisationsstrukturen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird sich dafür entschieden eine neue Abteilung zu erstellen, die bereits existierenden Organisationseinheiten übergeordnet ist. In diesem Fall können die bereits existierenden Organisationseinheiten durch Änderung ihrer übergeordneten ID dieser neuen Abteilung untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage OrgEh.xlsx|Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Maßnahmen importieren == &amp;lt;!--T:131--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:132--&amp;gt;&lt;br /&gt;
Um Maßnahmen zu importieren, wird beim Import der Typ &amp;quot;Maßnahme&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:133--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Maßnahmen anlegen&lt;br /&gt;
* Aktualisierung bestehender Maßnahmen&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Maßnahmen === &amp;lt;!--T:134--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:135--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:136--&amp;gt;&lt;br /&gt;
Um eine Maßnahme neu anzulegen, müssen die folgenden Pflichtfelder jedenfalls vorhanden und ausgefüllt sein:&lt;br /&gt;
*Kürzel&lt;br /&gt;
*OrgEh (ID im Drittsystem!)&lt;br /&gt;
*Bezeichnung&lt;br /&gt;
*Verantwortlicher&lt;br /&gt;
*Erkannt am&lt;br /&gt;
*Datensatz-ID&amp;lt;p&amp;gt;&lt;br /&gt;
Zusätzlich gelten alle Voraussetzungen der Benutzerverwaltung, falls Verantwortliche eingetragen sind (siehe Benutzerverwaltung).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Wichtig&amp;lt;/u&amp;gt;: Für die Organisationseinheit muss deren ID im Drittsystem verwendet werden. Wenn Sie diese ID noch nicht gesetzt haben, können Sie dies vor dem Import manuell tun.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:137--&amp;gt;&lt;br /&gt;
Weiters können folgende Felder optional zugewiesen werden:&lt;br /&gt;
*Status (0-6, siehe mehr Information unten)&lt;br /&gt;
*Beschreibung&lt;br /&gt;
*Anmerkung&lt;br /&gt;
*Plankosten&lt;br /&gt;
*Istkosten&lt;br /&gt;
*Erkannt am Ereignis&lt;br /&gt;
*Fristbeginn&lt;br /&gt;
*Plandatum - Achtung: dies ist ein Pflichtfeld, wenn Sie es unter Maßnahmen &amp;gt; Einstellungen konfiguriert haben&lt;br /&gt;
*Fristende&lt;br /&gt;
*Erledigt am - Achtung: darf nur ausgefüllt werden, wenn die Maßnahme im Status Erledigt oder Eingereicht importiert wird&lt;br /&gt;
*Auswirkung - mit den von Ihnen in Maßnahmen &amp;gt; Einstellungen definierten Bezeichnungen&lt;br /&gt;
*Aufwand - mit den von Ihnen in Maßnahmen &amp;gt; Einstellungen definierten Bezeichnungen&lt;br /&gt;
*Korrekturmaßnahme (JA/NEIN)&lt;br /&gt;
*Verbesserungsmaßnahme (JA/NEIN)&lt;br /&gt;
*Neu geplant (JA/NEIN)&lt;br /&gt;
*Verschoben (JA/NEIN)&lt;br /&gt;
*Risikoreoduktion (JA/NEIN)&lt;br /&gt;
*KO-Kriterium (JA/NEIN)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:138--&amp;gt;&lt;br /&gt;
Für den Status der Maßnahme werden Ziffern von 0 bis 6 verwendet:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Geplant&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Offen&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Ausgesetzt&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Erledigt (Achtung: hier muss das Erledigt am Datum ausgefüllt werden)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Abgebrochen&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Eingereicht (hier &amp;lt;u&amp;gt;kann&amp;lt;/u&amp;gt; das Erledigt am Datum ausgefüllt werden)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Verworfen&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Hinweis: Wenn Sie nichts ausfüllen, wird standardmäßig der Status 1 (Offen) verwendet.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Maßnahmen === &amp;lt;!--T:139--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:140--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Maßnahme gefunden, so wird keine neue Maßnahme angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:141--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:142--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Maßnahmen.xlsx|Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Ressourcen importieren == &amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
Um Ressourcen zu importieren, wird beim Import der Typ &amp;quot;Ressource&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Ressourcen anlegen&lt;br /&gt;
* Aktualisierung bestehender Ressourcen &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Ressourcen === &amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
Um eine Ressource neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* und Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Zusätzlich gelten alle Voraussetzungen der Benutzerverwaltung, falls Verantwortliche eingetragen sind (siehe Benutzerverwaltung). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
Weiters können die Felder:&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Modellsegment &lt;br /&gt;
* RTO&lt;br /&gt;
* und RPO&lt;br /&gt;
zugewiesen werden. Beim Modellsegment sind folgende Werte erlaubt: &amp;quot;Business Service Ebene&amp;quot;, &amp;quot;Anwendungsebene&amp;quot;, &amp;quot;IT-Infrastruktur Ebene&amp;quot;, &amp;quot;OT-Infrastruktur Ebene&amp;quot;, &amp;quot;Physische Sicherheit&amp;quot; und &amp;quot;Prozessebene&amp;quot;. Wird das Feld nicht zugewiesen, werden die Ressourcen dem Modellsegment &amp;quot;Anwendungsebene&amp;quot; zugeordnet. RTO und RPO können &amp;lt;u&amp;gt;entweder&amp;lt;/u&amp;gt; in Stunden oder in Minuten angegeben werden, Stunden und Minuten können nicht gemischt werden. In diesem Falle überschreiben die Minuten die Stunden.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Beispiel&amp;lt;/u&amp;gt;: Möchte ich eine RTO von zweieinhalb Stunden, so kann ich entweder 2,5 Stunden oder 150 Minuten angeben. Gebe ich 2 Stunden 30 Minuten an, werden nur die 30 Minuten importiert.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Achtung:&amp;lt;/u&amp;gt; Auch bei der Zuweisung der Spalten beim Datenimport muss man zwischen Stunden und Minuten unterscheiden. Ist das Feld für Minuten vorhanden, wird es genommen, auch wenn das Feld für Stunden ausgefüllt ist.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Ressourcen === &amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Ressource gefunden, so wird keine neue Ressource angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Ressourcen.xlsx|Importvorlage Ressource.xlsx]]&lt;br /&gt;
&lt;br /&gt;
==Ressourcenverbindungen importieren== &amp;lt;!--T:146--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:147--&amp;gt;&lt;br /&gt;
Um eine Ressourcenverbindung (d.h. eine Kante, also eine Abhängigkeitsbeziehung zwischen zwei Strukturelementen) zu importieren, wird beim Import der Typ &amp;quot;Ressourcenverbindung&amp;quot; ausgewählt.&amp;lt;p&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Ressourcenverbindung anlegen&lt;br /&gt;
* Aktualisierung bestehender Ressourcenverbindungen&lt;br /&gt;
&lt;br /&gt;
===Anlegen neuer Ressourcenverbindungen=== &amp;lt;!--T:148--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:149--&amp;gt;&lt;br /&gt;
Um eine Ressourcenverbindung neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID der Quelle &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Datensatz-ID des Ziels&#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Typ der Quelle&lt;br /&gt;
* Typ des Ziels&lt;br /&gt;
vorhanden und ausgefüllt sein.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:150--&amp;gt;&lt;br /&gt;
Weiters können die Felder:&lt;br /&gt;
* Schutzziel und&lt;br /&gt;
* Abhängigkeitsgewichtung&lt;br /&gt;
zugewiesen werden.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:151--&amp;gt;&lt;br /&gt;
Beziehungen können zwischen verschiedenen Ressourcen, zwischen Organisationseinheiten und Ressourcen, Prozessen und Ressourcen, Datenkategorien und Ressourcen und Lieferanten und Ressourcen jeweils in beide Richtungen angelegt werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:152--&amp;gt;&lt;br /&gt;
Bei der Zuweisung und Gewichtung von Schutzzielen gelten folgende Regeln:&lt;br /&gt;
* Weder Schutzziel noch Abhängigkeitsgewichtung angegeben: alle Schutzziele des Managementsystems werden mit 100% angelegt.&lt;br /&gt;
* Nur Schutzziel: das genannte Schutzziel wird mit 100% Gewichtung angelegt.&lt;br /&gt;
* Nur Abhängigkeitsgewichtung: alle Schutzziele des Managementsystems werden mit dieser Gewichtung angelegt.&lt;br /&gt;
* Schutzziel und Abhängigkeitsgewichtung: das genannte Schutzziel werden mit dieser Gewichtung angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:153--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis:&amp;lt;/u&amp;gt; Wenn bereits eine Verbindung aus einer Schutzbedarfsanalyse besteht, wird die neue Verbindung zwar importiert, aber die Verbindung aus der Schutzbedarfsanalyse wird nicht überschrieben. Löscht man die Schutzbedarfsanalyse, so wird die importierte Beziehung sichtbar.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis:&amp;lt;/u&amp;gt; Gibt es mehrere Einträge mit der gleichen Datensatz-ID Quelle und Datensatz-ID Ziel zum selben Schutzziel, wird immer der letzte Eintrag in Betracht gezogen.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Beispiel:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Zeile 1: Quelle_1, Ziel_1, Ressource, Ressource → setzt alle Schutzziele auf 100%&lt;br /&gt;
::Zeile 2: Quelle_1, Ziel_1, Ressource, Ressource, Vertraulichkeit, 50 → setzt das Schutzziel &amp;quot;Vertraulichkeit&amp;quot; auf 50%&lt;br /&gt;
::Ergebnis beim Import → Vertraulichkeit 50%, alle anderen Schutzziele 100% für die Verbindung zwischen Quelle_1 und Ziel_1.&lt;br /&gt;
&lt;br /&gt;
===Aktualisieren von Ressourcenverbindungen=== &amp;lt;!--T:154--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:155--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Ressource und des Ziels in der gleichen Kombination gefunden, so wird keine neue Ressourcenverbindung angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&amp;lt;p&amp;gt;&lt;br /&gt;
Auch hier werden Kanten aus Schutzbedarfsanalysen nicht überschrieben.&lt;br /&gt;
&lt;br /&gt;
===Vorlage=== &amp;lt;!--T:156--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:157--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Ressourcenverbindung.xlsx|Importvorlage Ressourcenverbindung.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Lieferanten importieren == &amp;lt;!--T:120--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:121--&amp;gt;&lt;br /&gt;
Um Liefearnten zu importieren, muss beim Import der Typ &amp;quot;Lieferant&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:122--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Lieferanten anlegen&lt;br /&gt;
* Aktualisieren bestehender Lieferanten&lt;br /&gt;
&lt;br /&gt;
===Anlegen neuer Lieferanten=== &amp;lt;!--T:123--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:124--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (managementsystemübergreifend) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:125--&amp;gt;&lt;br /&gt;
Um einen Lieferanten neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
*Datensatz-ID &amp;lt;i&amp;gt;(managementsystemübergreifend eindeutige Identifikation)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:126--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
*Kürzel&lt;br /&gt;
*Ablaufdatum&lt;br /&gt;
*Deaktiviert (x für ja, leer für nein; wahr/falsch)&lt;br /&gt;
*Metrik aus Drittsystem&lt;br /&gt;
*Begründung&lt;br /&gt;
*Straße&lt;br /&gt;
*Postleitzahl&lt;br /&gt;
*Stadt&lt;br /&gt;
*Bundesland&lt;br /&gt;
*Land&lt;br /&gt;
*E-Mail&lt;br /&gt;
*Telefon&lt;br /&gt;
*Homepage&lt;br /&gt;
vorhanden und ausgefüllt sein.&lt;br /&gt;
&lt;br /&gt;
===Aktualisieren von Lieferanten=== &amp;lt;!--T:127--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:128--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID des Lieferanten gefunden, so wird kein neuer Lieferant angelegt, sondern der vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Beschreibung, Ablaufdatum, usw. Dies ermöglicht die Pflege einzelner Lieferanten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:129--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:130--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Lieferanten (1).xlsx|Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Elemente für Wissensdatenbanken (WDBs) importieren == &amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
Der Importer bietet die Möglichkeit Maßnahmen, Kontrollen, Themen, Prüffragen, Begründungsvorlagen oder Risiken in eine bestehende Wissensdatenbank zu importieren. Dafür wird beim Importer der Typ &amp;quot;WDB&amp;quot; ausgewählt. Anschließend müssen Sie noch angeben, in welche Wissensdatenbank die Maßnahmen, Kontrollen, Prüffragen, Themen und Begründungsvorlagen importiert werden sollen. Dabei muss es sich um eine noch bearbeitbare, also eine nicht veröffentlichte Wissensdatenbank handeln.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
Um Maßnahmen, Kontrollen, Themen, Prüffragen Begründungsvorlagen oder Risiken zu importieren, müssen die Felder&lt;br /&gt;
* Titel&lt;br /&gt;
* Datensatz-ID &lt;br /&gt;
zugewiesen werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:117--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Achtung:&amp;lt;/b&amp;gt; Die Datensatz ID, ist die ID im Drittsystem. Ist die Datensatz-ID bereits in der WDB vorhanden, wird kein neuer Datensatz angelegt, sondern der alte aktualisiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
Weiters gibt es in allen Reitern die Felder:&lt;br /&gt;
* Gliederung&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Stand &#039;&#039;(Datumswert)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
Im Reiter Prüffragen gibt es zusätzlich die Felder:&lt;br /&gt;
* Fragestellung&lt;br /&gt;
* Art der Frage : Hierdurch wird der Typ der Prüffrage festgelegt. Erlaubte Werte des Feldes sind: &amp;quot;Prozessfrage&amp;quot; oder &amp;quot;Technikfrage&amp;quot; oder &amp;quot;Informationserhebung&amp;quot;. Prozessfragen können mit einem Score entsprechend dem Bewertungsschema beantwortet werden, Technikfragen mit Ja/Nein/Teilweise. Informationsrhebungen werden beantwortet, indem der Kommentar ausgefüllt und/oder ein Anhang hochgeladen wird. Wird die Spalte nicht belegt, so werden alle Prüffragen als Technikfragen importiert. &lt;br /&gt;
* verlinkte Themen &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:158--&amp;gt;&lt;br /&gt;
Im Reiter Themen gibt es zusätzlich die Felder:&lt;br /&gt;
* übergeordnetes Thema &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
* verlinkte Prüffragen &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; Für einen Import müssen nicht Spalten aus allen Reitern zugewiesen werden. Sie können also Themen, Prüffragen, Maßnahmen, Kontrollen und Begründungsvorlagen getrennt importieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:160--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; Themen und Prüffragen, die dann miteinander verknüpft werden, können im gleichen Excel importiert werden. Jedoch können Sie auch Verlinkungen importieren für Themen/Prüffragen, die Sie bereits importiert oder manuell erstellt haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:159--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; In den Feldern verlinkte Prüffragen zu Themen und verlinkte Themen zu Prüffragen können mit Beistrich getrennt auch mehrere Datensatz-IDs angegeben werden. Dies kann mit oder ohne Lehrzeichen vor/nach dem Beistrich angegeben werden. Beispiel: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
=== Vorlagen === &amp;lt;!--T:78--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:79--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Prüffrage.xlsx|Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Maßnahme.xlsx|Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Kontrolle.xlsx|Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;Benutzerverwaltung == &amp;lt;!--T:80--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:161--&amp;gt;&lt;br /&gt;
Um Benutzer zu importieren, muss beim Import der Typ &amp;quot;Benutzer&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:162--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
*Neuen Benutzer anlegen&lt;br /&gt;
*Aktualisieren bestehender Benutzer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:81--&amp;gt;&lt;br /&gt;
Benutzer können mit dem Importer importiert werden. Beim Importieren von Organisationseinheiten, Datenkategorien und Ressourcen kann auch optional ein Verantwortlicher angegeben werden, der dadurch zugewiesen oder neu erstellt und zugewiesen wird. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:82--&amp;gt;&lt;br /&gt;
Wird im Zuge eines Imports von Strukturelementen nur der Benutzername angegeben, wird der Verantwortliche dem Element zugewiesen, nicht aber verändert. In diesem Fall muss der Benutzer also schon existieren. Es können beim Reiter &amp;quot;Verantwortliche&amp;quot; in diesem Fall alle Felder bis auf den Benutzernamen ignoriert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:163--&amp;gt;&lt;br /&gt;
=== Anlage eines neuen Benutzers mit dem Importer ===&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (systemweit) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:164--&amp;gt;&lt;br /&gt;
Um einen Benutzer neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
*Benutzername &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
*E-Mail Adresse&lt;br /&gt;
*Passwort&lt;br /&gt;
*Vorname&lt;br /&gt;
*Nachname&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
=== Anlage eines neuen Benutzers im Zuge eines anderen Imports === &amp;lt;!--T:83--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:84--&amp;gt;&lt;br /&gt;
Wird beim Import ein Verantwortlicher eingetragen, der noch nicht in HITGuard angelegt ist, gibt es zwei Varianten, wie HITGuard damit umgeht:&lt;br /&gt;
# Active Directory Integration ist deaktiviert: &lt;br /&gt;
#:&lt;br /&gt;
#: Der Benutzer wird komplett neu angelegt, damit dies durchgeführt werden kann, müssen in der Importdatei die Pflichtfelder des Verantwortlichen vorhanden und eingetragen sein. Diese sind:&lt;br /&gt;
#::* Benutzername&lt;br /&gt;
#::* E-Mail&lt;br /&gt;
#::* Passwort (zwischen 12 und 20 Zeichen, wobei mindestens 3 von den 4 Kriterien Sonderzeichen, Großschreibung, Kleinschreibung und Ziffern erfüllt werden müssen)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|Pflichtfelder bei Anlage eines neuen Benutzers]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory Integration ist aktiviert:&lt;br /&gt;
#:&lt;br /&gt;
#: Ist die Active Directory Integration aktiviert, so können nur noch Benutzer, die im Active Directory existieren angelegt werden. Es können allerdings weiterhin die Felder Vorname, Nachname und E-Mail zugewiesen werden. Das heißt: Es besteht die Möglichkeit Daten des Benutzers beim Import zu ändern und so eventuell Fehler oder nicht geführte Informationen des Active Directories in HITGuard zu ergänzen bzw. zu korrigieren.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Benutzern === &amp;lt;!--T:85--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:86--&amp;gt;&lt;br /&gt;
Es ist möglich Benutzer mit Hilfe des Importers zu aktualisieren. Dies ist z.B. hilfreich, wenn sich E-Mail oder auch der Nachname eines Benutzers ändern. Der Importer prüft bei jeden Import, falls ein Benutzer eingetragen ist, ob auch Zusatzfelder, wie E-Mail, Nachname, usw. im Importfile existieren, falls ja, wird der Inhalt dieser Felder mit dem neuen Inhalt aktualisiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:87--&amp;gt;&lt;br /&gt;
Dies ermöglicht es in HITGuard Informationen über Benutzer zu führen, die im Active Directory nicht vorhanden bzw. nicht gepflegt werden. Dabei ist zu bemerken, dass HITGuard nicht das Active Directory aktualisiert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:165--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Achtung:&#039;&#039;&#039; Für das Aktualisieren von Benutzern als eigenen Datenimport muss die AD-Integration deaktiviert sein.&lt;br /&gt;
&lt;br /&gt;
==== Deaktivierte Benutzer ==== &amp;lt;!--T:88--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:89--&amp;gt;&lt;br /&gt;
Wird bei einer Aktualisierung ein deaktivierter Benutzer als Verantwortlicher eingetragen oder aktualisiert, so wird dieser Benutzer dadurch nicht aktiviert, er wechselt den Status also nicht. Er wird aber aktualisiert und als Verantwortlicher eingetragen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:166--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Aufbau einer Importdatei == &amp;lt;!--T:90--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:91--&amp;gt;&lt;br /&gt;
Der Importer unterstützt zwei Formattypen:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel-Dateien&lt;br /&gt;
&lt;br /&gt;
=== Excel === &amp;lt;!--T:92--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:93--&amp;gt;&lt;br /&gt;
Der Aufbau einer Excel Datei besteht aus einer Tabelle, in der alle relevanten Daten als Spalte in einer Tabelle repräsentiert werden. Jede Zeile entspricht z.B. einer neuen Organisationseinheit oder anderen zu importierenden Struktur. Beim Import kann bzw. muss je nach Aufbau die erste Zeile übersprungen werden, wenn es sich bei dieser Zeile um die Spaltenüberschriften handelt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:94--&amp;gt;&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Beispiel für einen Excel Import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV === &amp;lt;!--T:95--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:96--&amp;gt;&lt;br /&gt;
Der Aufbau einer CSV-Datei besteht meist aus einer Zeile, in der die Spaltenüberschriften mit Strichpunkten (Semikolons) getrennt stehen. Jede weitere Zeile enthält Informationen über die zu importierende Struktur. Dabei ist wichtig, dass jede Zeile gleich viele Spalten aufweist (also gleich viele Strichpunkte hat). Beim Import kann bzw. muss je nach Aufbau die erste Zeile übersprungen werden wenn es sich bei dieser Zeile um die Spaltenüberschriften handelt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:97--&amp;gt;&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Beispiel für einen CSV Import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:143--&amp;gt;&lt;br /&gt;
=== HTML-Formatierung beim Import ===&lt;br /&gt;
Einige Felder, die Sie als Excel oder CSV importieren können, sind in der Applikation HTML-Felder, d.h. sie sind formatierbar. Sie haben die Möglichkeit, diese Formatierung schon mit zu importieren, indem Sie HTML-Codes dafür verwenden. Dies betrifft beispielsweise die Fragestellung von Prüffragen für Wissensdatenbanken oder die Beschreibungsfelder von Maßnahmen oder Risiken.&amp;lt;p&amp;gt;Ein paar Beispiele für die Formatierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:144--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-Code&lt;br /&gt;
!Ergebnis&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Punkt 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Punkt 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Erstellt eine&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;listenförmige Aufzählung.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Wichtig: In einer Aufzählung dieser Art dürfen Sie im Excel/CSV keine Zeilenumbrüche verwenden, da dies sonst Leerzeilen im Ergebnis verursacht.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Zeile 1&amp;lt;br&amp;gt;Zeile 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Fügt einen einfachen&amp;lt;br&amp;gt;Zeilenumbruch ein.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;fett&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;b&amp;gt;fett&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;kursiv&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;i&amp;gt;kursiv&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterstrichen&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;u&amp;gt;unterstrichen&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;durchgestrichen&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;s&amp;gt;durchgestrichen&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:145--&amp;gt;&lt;br /&gt;
Sie können auch einen online HTML-Editor verwenden, dort ihren Text formatieren und das Ergebnis, also den Code, dann in das Excel oder CSV kopieren. Achten Sie hierbei darauf, Zeilenumbrüche zu entfernen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datei:Importvorlage_Risiko.xlsx&amp;diff=38644</id>
		<title>Datei:Importvorlage Risiko.xlsx</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datei:Importvorlage_Risiko.xlsx&amp;diff=38644"/>
		<updated>2026-04-02T09:29:03Z</updated>

		<summary type="html">&lt;p&gt;Faha: Faha lud eine neue Version von Datei:Importvorlage Risiko.xlsx hoch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datei:Importvorlage_Risiko.xlsx&amp;diff=38643</id>
		<title>Datei:Importvorlage Risiko.xlsx</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datei:Importvorlage_Risiko.xlsx&amp;diff=38643"/>
		<updated>2026-04-02T09:20:40Z</updated>

		<summary type="html">&lt;p&gt;Faha: Faha lud eine neue Version von Datei:Importvorlage Risiko.xlsx hoch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport&amp;diff=38642</id>
		<title>Datenimport</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport&amp;diff=38642"/>
		<updated>2026-04-02T09:18:26Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Anlegen neuer Risiken */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Mithilfe des Importers, können Ressourcen, Maßnahmen, Kontrollen und Prüffragen für Wissensdatenbanken oder Strukturupdates für Organisationseinheiten importiert werden. Diese Updates können z.B. aus einem SAP-Export kommen, oder aber auch von einer eigens erstellten Excel- oder CSV-Datei. Dadurch können veraltete Strukturen aktualisiert oder aber auch komplett neue Strukturen importiert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Wird ein Import durchgeführt, werden alle Entitäten, die geändert wurden, aktualisiert, sowie alle Entitäten, die in HITGuard noch nicht existieren, angelegt.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;import&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Durchführen eines Imports == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Imports können nur von Administratoren oder Experten durchgeführt werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Um einen Import vorzunehmen, wird zuerst zu &amp;quot;Administration → &amp;lt;u&amp;gt;Datenimport&amp;lt;/u&amp;gt;&amp;quot; gewechselt. Hier werden nun alle erstellten Importkonfigurationen angezeigt. Um einen Import durchzuführen, wird entweder eine vorhandene Importkonfiguration aus der Liste gewählt oder eine neue Importkonfiguration erstellt - in der Durchführung unterscheiden sich die Vorgänge nicht. Jeder Import wird unter &amp;quot;Administration → Datenimport → &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;&amp;quot; dokumentiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
[[Datei:Org import 1.png|right|thumb|600px|Neue Importkonfiguration erstellen]]&lt;br /&gt;
Um eine vorhandene Importkonfiguration zu verwenden, wird doppelt auf die gewünschte Konfiguration geklickt. Um eine neue Importkonfiguration zu erstellen wird auf das grüne Plus geklickt. (siehe Abbildung)&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:Org import 2.png|right|thumb|600px|Importtyp auswählen]]&lt;br /&gt;
Anschließend öffnet sich eine Maske (siehe Abbildung rechts), in der die Bezeichnung der Konfiguration gesetzt wird, der Typ der Konfiguration ausgewählt und die zu importierende Datei hochgeladen werden muss.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
Bei der Datei kann es sich entweder um ein CSV-Datei oder eine Excel-Datei handeln. (Siehe [[Special:MyLanguage/Datenimport#Aufbau_einer_Importdatei|Aufbau einer Importdatei]])&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
[[Datei:Importer Felder zuordnen.gif|right|thumb|600px|Felder zuordnen]]&lt;br /&gt;
Wird auf &amp;quot;Weiter&amp;quot; geklickt, öffnet sich die Maske zum Zuweisen der Felder (siehe Abbildung rechts). Hier sollen zumindest alle Pflichtfelder des gewählten Importtyps zugewiesen werden. Welche das sind, entnehmen Sie der Beschreibung der einzelnen Imports.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wird eine Excel-Datei importiert, muss darauf geachtet werden, dass in der Datei Spaltenüberschriften existieren. Sind diese vorhanden, wird ausgewählt, dass die erste Zeile Spaltenüberschriften enthält und deshalb ignoriert werden soll.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
[[Datei:Org import 4.png|right|thumb|601px|Speichern und importieren]]&lt;br /&gt;
Wurden nun alle Pflichtfelder zugewiesen, kann der Import gespeichert werden und ist fertig zum Importieren. Dafür muss nur noch auf &amp;quot;Speichern und Importieren&amp;quot; geklickt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:118--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis&amp;lt;/u&amp;gt;: Für Verantwortliche kann anstelle eines Usernamens auch die Bezeichnung eines Teams eingetragen werden, wenn dieses in HITGuard bereits erstellt wurde. Die Bezeichnung muss korrekt sein, damit der Import funktioniert. Das Team ist dann als Verantwortlich hinterlegt, z.B. bei einer Ressource.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
[[Datei:Org import 5.png|right|thumb|600px|Erfolgreicher Import von Organisationseinheiten]]&lt;br /&gt;
War der Import erfolgreich, so wird angezeigt, wie viele Entitäten neu erstellt wurden und wie viele geändert wurden. Bei fehlerhaften Importvorgängen werden Ihnen jene Zeilen und Spalten, die Fehler enthalten, aufgelistet.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Importprotokolle == &amp;lt;!--T:99--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:100--&amp;gt;&lt;br /&gt;
[[Datei:Importprotokolle Übersicht.png|left|thumb|600px|Übersicht der Protokolle]]&lt;br /&gt;
Jeder Importversuch wird unter &amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;&amp;quot; dokumentiert. Dabei werden sowohl erfolgreiche, als auch fehlgeschlagene Importversuche erfasst.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:102--&amp;gt;&lt;br /&gt;
[[Datei:Importprotokolle Detailansicht.png|left|thumb|600px|Detailansicht eines Importprotokolls]]&lt;br /&gt;
Durch Doppelklicken auf einen Import wird man zu einer Maske weitergeleitet in der man Details, wie z.b den Grund wieso der Import fehlschlug, erhält.&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Datenkategorien importieren == &amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
Um Datenkategorien zu importieren, muss beim Import der Typ &amp;quot;Datenkategorie&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Datenkategorien anlegen&lt;br /&gt;
* Aktualisieren bestehender Datenkategorien &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
Für das Feld Datenklasse sind nur Klassen zulässig, die unter Risikomanagement → Risikopolitik → Datenklassen angelegt sind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Für die Felder Schutzbedarfsanalyse und personenbezogen sind nur die Werte Ja und Nein zulässig. Sie bestimmen, wo die Datenkategorien verwendet werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Datenkategorien === &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (systemweit) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um eine Datenkategorie neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
* Datenklasse (entsprechend den Werten in Risikomanagement → Risikopolitik → Datenklassen)&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete Datensatz-ID (übergeordnete Datenkategorie) &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Schutzbedarfsanalyse (Ja/Nein)&lt;br /&gt;
* Personenbezogen (Ja/Nein)&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
Wird die übergeordnete Datensatz-ID einer Datenkategorie zugewiesen, so muss eine Datenkategorie mit dieser ID entweder schon in HITGuard existieren, oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Von Zyklen ist die Rede, wenn z.B. Datenkategorie A Datenkategorie B als übergeordnete ID eingetragen hat und Datenkategorie B umgekehrt die Datenkategorie A als übergeordnete ID anführt. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Datenkategorien === &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Datenkategorie gefunden, so wird keine neue Datenkategorie angelegt, sondern die vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Datenklasse oder personenbezogen. Dies ermöglicht die Pflege einzelner Datenkategorie bzw. größere Datenkategorie-Strukturen .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird dafür entschieden eine neue Datenkategorie zu erstellen, die bereits existierenden Datenkategorien übergeordnet sein soll. In diesem Fall können die bereits existierenden Datenkategorien durch Änderung ihrer übergeordneten ID ganz simpel dieser neuen Datenkategorie untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Datenkategorie.xlsx|Importvorlage Datenkategorie.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Risiken importieren == &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
Um Risiken zu importieren, wird beim Import der Typ &amp;quot;Risiko&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Risiken anlegen&lt;br /&gt;
* Aktualisieren bestehender Risiken&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Risiken  === &amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (managementsystemübergreifend) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
Um ein Risiko neu anzulegen, müssen diese Pflichtfelder ausgefüllt sein&lt;br /&gt;
* Datensatz-ID &#039;&#039;(managementsystemübergreifend eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
* Verantwortlicher (zB als Benutzername)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
Weiters können die folgenden Felder zugewiesen werden: &lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Anmerkungen&lt;br /&gt;
* Monetäre Auswirkung&lt;br /&gt;
* Eintrittswahrscheinlichkeit &lt;br /&gt;
* Strategie&lt;br /&gt;
* Schadensausmaß &lt;br /&gt;
* Status&lt;br /&gt;
* Sachbearbeiter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
Andere Importe geben den Status mit Zahlen an. Hier müssen sie den Status allerdings als das Wort angeben, das Sie im Drop-down im Feld Status im Risiko finden (also &amp;quot;Eingereicht&amp;quot;, &amp;quot;Aktiv&amp;quot;, etc.). Achten Sie dabei auch auf Groß-und kleinschreibung - schon bei kleinen Abweichungen kann HITGuard den Status nicht mehr erkennen. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:167--&amp;gt;&lt;br /&gt;
Sind die Felder Schadensausmaß oder Eintrittswahrscheinlichkeit zugewiesen, dann sind nur Inhalte gültig, die mit den vorhandenen HITGuard Klassen übereinstimmen. Mehr dazu unter  [[Special:MyLanguage/Risikopolitik#prob|Eintrittswahrscheinlichkeiten]] bzw. [[Special:MyLanguage/Risikopolitik#Schadensausmaße|Schadensausmaße]].&lt;br /&gt;
&lt;br /&gt;
Ist das Feld Strategie zugewiesen, dann müssen sie hier Ebenfalls darauf achten, dass es einen Wert aus dem Drop-down im Feld Strategie im Risiko hat. Weiters gilt die Einschränkung, dass es nur die Werte erlaubt sind, die auch zu dem zugewiesenem Schadensausmaß / Nutzen passen. Also bei einem Schadensausmaß muss es sich um eine Bewältigungsstrategie handeln, bei einem Nutzen um eine Behandlungsstrategie.&lt;br /&gt;
&lt;br /&gt;
Einem Risiko können zwar mehrere Personen als Sachbearbeiter zugewiesen werden, über den Import ist es aber nur möglich einen einzelnen Benutzer als Sachbearbeiter zuzuweisen.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Risiken === &amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
Tragen sie im Import-file in der Spalte Datensatz-ID die ID im Drittsystem eines Risikos, das bereits im System existiert ein, so wird kein neues Risiko erstellt.  HITGuard wird stattdessen das Vorhandene aktualisieren. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Beschreibung, Verantwortlicher, usw.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:119--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Achtung:&amp;lt;/u&amp;gt; Die ID des Risikos muss über die gesamte HITGuard Instanz eindeutig sein, sie darf also nicht in einem anderen Managementsystem wiederverwendet werden. Wenn Sie bspw. ein Risiko mit der ID 1234 in ein Managementsystem importieren möchten, es aber in einem Managementsystem bereits ein Risiko mit der ID 1234 gibt, so wird dieses überschrieben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:168--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
* [[Medium:Importvorlage Risiko.xlsx|Importvorlage Risiko.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Geschäftsprozesse importieren == &amp;lt;!--T:104--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:105--&amp;gt;&lt;br /&gt;
Um Geschäftsprozesse zu importieren, muss beim Import der Typ &amp;quot;Geschäftsprozess&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:106--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Geschäftsprozesse anlegen&lt;br /&gt;
* Aktualisieren bestehender Geschäftsprozesse &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:107--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Geschäftsprozesse === &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:108--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob ein Geschäftsprozess bereits existiert oder nicht. Existiert keiner, so wird der Geschäftsprozess angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:109--&amp;gt;&lt;br /&gt;
Um einen Geschäftsprozesse neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:110--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete Geschäftsprozess Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:111--&amp;gt;&lt;br /&gt;
Wird die übergeordnete Geschäftsprozess Datensatz-ID zugewiesen, so muss ein Geschäftsprozess mit dieser ID entweder schon in HITGuard existieren oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Zyklen sind es dann, wenn z.B. Geschäftsprozess A Geschäftsprozess B als übergeordnete ID eingetragen hat und Geschäftsprozess B Geschäftsprozess A als übergeordnete ID. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Geschäftsprozessen === &amp;lt;!--T:112--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:113--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Organisationseinheit gefunden, so wird keine neuer Geschäftsprozess angelegt, sondern der vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Beschreibung, Kürzel, Verantwortlicher oder übergeordnete Datensatz-ID. Dies ermöglicht die Pflege einzelner Geschäftsprozesse bzw. Geschäftsprozessstrukturen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:114--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird sich dafür entschieden einen neuen Geschäftsprozess zu erstellen, der bereits existierenden Geschäftsprozessen übergeordnet ist. In diesem Fall können die bereits existierenden Geschäftsprozesse durch Änderung ihrer übergeordneten ID diesem neuen Geschäftsprozess untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:115--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Geschäftsprozess.xlsx|Importvorlage Geschäftsprozess.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Organisationseinheiten importieren == &amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
Um Organisationseinheiten zu importieren, muss beim Import der Typ &amp;quot;Organisationseinheit&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Organisationsstrukturen anlegen&lt;br /&gt;
* Aktualisieren bestehender Organisationsstrukturen&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Organisationseinheiten/Strukturen === &amp;lt;!--T:116--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
Um eine Organisationseinheit neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
* Kürzel&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* übergeordnete OE Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Straße&lt;br /&gt;
* Postleitzahl&lt;br /&gt;
* Stadt&lt;br /&gt;
* Land&lt;br /&gt;
* Sortierreihenfolge&lt;br /&gt;
zugewiesen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
Wird die übergeordnete OE Datensatz-ID zugewiesen, so muss eine Organisationseinheit mit dieser ID entweder schon in HITGuard existieren, oder aber in diesem Import angelegt werden. Weiters dürfen keine Zyklen vorhanden sein. Zyklen sind es dann, wenn z.B. Organisationseinheit A Organisationseinheit B als übergeordnete ID eingetragen hat und Organisationseinheit B Organisationseinheit A als übergeordnete ID. Der Importer erkennt diese Zyklen, verhindert den Import und verweist auf den Zyklusfehler.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Organisationseinheiten/Strukturen === &amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Organisationseinheit gefunden, so wird keine neue Organisationseinheit angelegt, sondern die vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Land, Adresse oder Verantwortlicher. Dies ermöglicht die Pflege einzelner Organisationseinheiten bzw. größere Organisationsstrukturen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
Beispiel:&lt;br /&gt;
:Es wird sich dafür entschieden eine neue Abteilung zu erstellen, die bereits existierenden Organisationseinheiten übergeordnet ist. In diesem Fall können die bereits existierenden Organisationseinheiten durch Änderung ihrer übergeordneten ID dieser neuen Abteilung untergeordnet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage OrgEh.xlsx|Importvorlage OrgEh.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Maßnahmen importieren == &amp;lt;!--T:131--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:132--&amp;gt;&lt;br /&gt;
Um Maßnahmen zu importieren, wird beim Import der Typ &amp;quot;Maßnahme&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:133--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Maßnahmen anlegen&lt;br /&gt;
* Aktualisierung bestehender Maßnahmen&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Maßnahmen === &amp;lt;!--T:134--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:135--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:136--&amp;gt;&lt;br /&gt;
Um eine Maßnahme neu anzulegen, müssen die folgenden Pflichtfelder jedenfalls vorhanden und ausgefüllt sein:&lt;br /&gt;
*Kürzel&lt;br /&gt;
*OrgEh (ID im Drittsystem!)&lt;br /&gt;
*Bezeichnung&lt;br /&gt;
*Verantwortlicher&lt;br /&gt;
*Erkannt am&lt;br /&gt;
*Datensatz-ID&amp;lt;p&amp;gt;&lt;br /&gt;
Zusätzlich gelten alle Voraussetzungen der Benutzerverwaltung, falls Verantwortliche eingetragen sind (siehe Benutzerverwaltung).&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Wichtig&amp;lt;/u&amp;gt;: Für die Organisationseinheit muss deren ID im Drittsystem verwendet werden. Wenn Sie diese ID noch nicht gesetzt haben, können Sie dies vor dem Import manuell tun.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:137--&amp;gt;&lt;br /&gt;
Weiters können folgende Felder optional zugewiesen werden:&lt;br /&gt;
*Status (0-6, siehe mehr Information unten)&lt;br /&gt;
*Beschreibung&lt;br /&gt;
*Anmerkung&lt;br /&gt;
*Plankosten&lt;br /&gt;
*Istkosten&lt;br /&gt;
*Erkannt am Ereignis&lt;br /&gt;
*Fristbeginn&lt;br /&gt;
*Plandatum - Achtung: dies ist ein Pflichtfeld, wenn Sie es unter Maßnahmen &amp;gt; Einstellungen konfiguriert haben&lt;br /&gt;
*Fristende&lt;br /&gt;
*Erledigt am - Achtung: darf nur ausgefüllt werden, wenn die Maßnahme im Status Erledigt oder Eingereicht importiert wird&lt;br /&gt;
*Auswirkung - mit den von Ihnen in Maßnahmen &amp;gt; Einstellungen definierten Bezeichnungen&lt;br /&gt;
*Aufwand - mit den von Ihnen in Maßnahmen &amp;gt; Einstellungen definierten Bezeichnungen&lt;br /&gt;
*Korrekturmaßnahme (JA/NEIN)&lt;br /&gt;
*Verbesserungsmaßnahme (JA/NEIN)&lt;br /&gt;
*Neu geplant (JA/NEIN)&lt;br /&gt;
*Verschoben (JA/NEIN)&lt;br /&gt;
*Risikoreoduktion (JA/NEIN)&lt;br /&gt;
*KO-Kriterium (JA/NEIN)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:138--&amp;gt;&lt;br /&gt;
Für den Status der Maßnahme werden Ziffern von 0 bis 6 verwendet:&lt;br /&gt;
::{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!0&lt;br /&gt;
|Geplant&lt;br /&gt;
|-&lt;br /&gt;
!1&lt;br /&gt;
|Offen&lt;br /&gt;
|-&lt;br /&gt;
!2&lt;br /&gt;
|Ausgesetzt&lt;br /&gt;
|-&lt;br /&gt;
!3&lt;br /&gt;
|Erledigt (Achtung: hier muss das Erledigt am Datum ausgefüllt werden)&lt;br /&gt;
|-&lt;br /&gt;
!4&lt;br /&gt;
|Abgebrochen&lt;br /&gt;
|-&lt;br /&gt;
!5&lt;br /&gt;
|Eingereicht (hier &amp;lt;u&amp;gt;kann&amp;lt;/u&amp;gt; das Erledigt am Datum ausgefüllt werden)&lt;br /&gt;
|-&lt;br /&gt;
!6&lt;br /&gt;
|Verworfen&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
Hinweis: Wenn Sie nichts ausfüllen, wird standardmäßig der Status 1 (Offen) verwendet.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Maßnahmen === &amp;lt;!--T:139--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:140--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Maßnahme gefunden, so wird keine neue Maßnahme angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:141--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:142--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Maßnahmen.xlsx|Importvorlage Maßnahmen.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Ressourcen importieren == &amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
Um Ressourcen zu importieren, wird beim Import der Typ &amp;quot;Ressource&amp;quot; ausgewählt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Ressourcen anlegen&lt;br /&gt;
* Aktualisierung bestehender Ressourcen &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
Für Informationen über Verantwortliche siehe [[#ver|Benutzerverwaltung]].&lt;br /&gt;
&lt;br /&gt;
=== Anlegen neuer Ressourcen === &amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits existiert oder nicht. Existiert sie nicht, wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
Um eine Ressource neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* und Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Zusätzlich gelten alle Voraussetzungen der Benutzerverwaltung, falls Verantwortliche eingetragen sind (siehe Benutzerverwaltung). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
Weiters können die Felder:&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Modellsegment &lt;br /&gt;
* RTO&lt;br /&gt;
* und RPO&lt;br /&gt;
zugewiesen werden. Beim Modellsegment sind folgende Werte erlaubt: &amp;quot;Business Service Ebene&amp;quot;, &amp;quot;Anwendungsebene&amp;quot;, &amp;quot;IT-Infrastruktur Ebene&amp;quot;, &amp;quot;OT-Infrastruktur Ebene&amp;quot;, &amp;quot;Physische Sicherheit&amp;quot; und &amp;quot;Prozessebene&amp;quot;. Wird das Feld nicht zugewiesen, werden die Ressourcen dem Modellsegment &amp;quot;Anwendungsebene&amp;quot; zugeordnet. RTO und RPO können &amp;lt;u&amp;gt;entweder&amp;lt;/u&amp;gt; in Stunden oder in Minuten angegeben werden, Stunden und Minuten können nicht gemischt werden. In diesem Falle überschreiben die Minuten die Stunden.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Beispiel&amp;lt;/u&amp;gt;: Möchte ich eine RTO von zweieinhalb Stunden, so kann ich entweder 2,5 Stunden oder 150 Minuten angeben. Gebe ich 2 Stunden 30 Minuten an, werden nur die 30 Minuten importiert.&amp;lt;p&amp;gt;&amp;lt;u&amp;gt;Achtung:&amp;lt;/u&amp;gt; Auch bei der Zuweisung der Spalten beim Datenimport muss man zwischen Stunden und Minuten unterscheiden. Ist das Feld für Minuten vorhanden, wird es genommen, auch wenn das Feld für Stunden ausgefüllt ist.&lt;br /&gt;
[[Datei:Detailansicht_RTORPO_Spaltenzuordnung.png|thumb|900px|left]] &amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Ressourcen === &amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Ressource gefunden, so wird keine neue Ressource angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Ressourcen.xlsx|Importvorlage Ressource.xlsx]]&lt;br /&gt;
&lt;br /&gt;
==Ressourcenverbindungen importieren== &amp;lt;!--T:146--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:147--&amp;gt;&lt;br /&gt;
Um eine Ressourcenverbindung (d.h. eine Kante, also eine Abhängigkeitsbeziehung zwischen zwei Strukturelementen) zu importieren, wird beim Import der Typ &amp;quot;Ressourcenverbindung&amp;quot; ausgewählt.&amp;lt;p&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Ressourcenverbindung anlegen&lt;br /&gt;
* Aktualisierung bestehender Ressourcenverbindungen&lt;br /&gt;
&lt;br /&gt;
===Anlegen neuer Ressourcenverbindungen=== &amp;lt;!--T:148--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:149--&amp;gt;&lt;br /&gt;
Um eine Ressourcenverbindung neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
* Datensatz-ID der Quelle &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Datensatz-ID des Ziels&#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
* Typ der Quelle&lt;br /&gt;
* Typ des Ziels&lt;br /&gt;
vorhanden und ausgefüllt sein.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:150--&amp;gt;&lt;br /&gt;
Weiters können die Felder:&lt;br /&gt;
* Schutzziel und&lt;br /&gt;
* Abhängigkeitsgewichtung&lt;br /&gt;
zugewiesen werden.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:151--&amp;gt;&lt;br /&gt;
Beziehungen können zwischen verschiedenen Ressourcen, zwischen Organisationseinheiten und Ressourcen, Prozessen und Ressourcen, Datenkategorien und Ressourcen und Lieferanten und Ressourcen jeweils in beide Richtungen angelegt werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:152--&amp;gt;&lt;br /&gt;
Bei der Zuweisung und Gewichtung von Schutzzielen gelten folgende Regeln:&lt;br /&gt;
* Weder Schutzziel noch Abhängigkeitsgewichtung angegeben: alle Schutzziele des Managementsystems werden mit 100% angelegt.&lt;br /&gt;
* Nur Schutzziel: das genannte Schutzziel wird mit 100% Gewichtung angelegt.&lt;br /&gt;
* Nur Abhängigkeitsgewichtung: alle Schutzziele des Managementsystems werden mit dieser Gewichtung angelegt.&lt;br /&gt;
* Schutzziel und Abhängigkeitsgewichtung: das genannte Schutzziel werden mit dieser Gewichtung angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:153--&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis:&amp;lt;/u&amp;gt; Wenn bereits eine Verbindung aus einer Schutzbedarfsanalyse besteht, wird die neue Verbindung zwar importiert, aber die Verbindung aus der Schutzbedarfsanalyse wird nicht überschrieben. Löscht man die Schutzbedarfsanalyse, so wird die importierte Beziehung sichtbar.&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;u&amp;gt;Hinweis:&amp;lt;/u&amp;gt; Gibt es mehrere Einträge mit der gleichen Datensatz-ID Quelle und Datensatz-ID Ziel zum selben Schutzziel, wird immer der letzte Eintrag in Betracht gezogen.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;u&amp;gt;Beispiel:&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
::Zeile 1: Quelle_1, Ziel_1, Ressource, Ressource → setzt alle Schutzziele auf 100%&lt;br /&gt;
::Zeile 2: Quelle_1, Ziel_1, Ressource, Ressource, Vertraulichkeit, 50 → setzt das Schutzziel &amp;quot;Vertraulichkeit&amp;quot; auf 50%&lt;br /&gt;
::Ergebnis beim Import → Vertraulichkeit 50%, alle anderen Schutzziele 100% für die Verbindung zwischen Quelle_1 und Ziel_1.&lt;br /&gt;
&lt;br /&gt;
===Aktualisieren von Ressourcenverbindungen=== &amp;lt;!--T:154--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:155--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID der Ressource und des Ziels in der gleichen Kombination gefunden, so wird keine neue Ressourcenverbindung angelegt, sondern die vorhandene aktualisiert. Das heißt: die vorhandenen Felder des Importfiles aktualisieren die bereits vorhandenen Felder.&amp;lt;p&amp;gt;&lt;br /&gt;
Auch hier werden Kanten aus Schutzbedarfsanalysen nicht überschrieben.&lt;br /&gt;
&lt;br /&gt;
===Vorlage=== &amp;lt;!--T:156--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:157--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Ressourcenverbindung.xlsx|Importvorlage Ressourcenverbindung.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Lieferanten importieren == &amp;lt;!--T:120--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:121--&amp;gt;&lt;br /&gt;
Um Liefearnten zu importieren, muss beim Import der Typ &amp;quot;Lieferant&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:122--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
* Neue Lieferanten anlegen&lt;br /&gt;
* Aktualisieren bestehender Lieferanten&lt;br /&gt;
&lt;br /&gt;
===Anlegen neuer Lieferanten=== &amp;lt;!--T:123--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:124--&amp;gt;&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (managementsystemübergreifend) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:125--&amp;gt;&lt;br /&gt;
Um einen Lieferanten neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
*Datensatz-ID &amp;lt;i&amp;gt;(managementsystemübergreifend eindeutige Identifikation)&amp;lt;/i&amp;gt;&lt;br /&gt;
*Bezeichnung&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:126--&amp;gt;&lt;br /&gt;
Weiters können die Felder&lt;br /&gt;
*Kürzel&lt;br /&gt;
*Ablaufdatum&lt;br /&gt;
*Deaktiviert (x für ja, leer für nein; wahr/falsch)&lt;br /&gt;
*Metrik aus Drittsystem&lt;br /&gt;
*Begründung&lt;br /&gt;
*Straße&lt;br /&gt;
*Postleitzahl&lt;br /&gt;
*Stadt&lt;br /&gt;
*Bundesland&lt;br /&gt;
*Land&lt;br /&gt;
*E-Mail&lt;br /&gt;
*Telefon&lt;br /&gt;
*Homepage&lt;br /&gt;
vorhanden und ausgefüllt sein.&lt;br /&gt;
&lt;br /&gt;
===Aktualisieren von Lieferanten=== &amp;lt;!--T:127--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:128--&amp;gt;&lt;br /&gt;
Wird beim Import die Datensatz-ID des Lieferanten gefunden, so wird kein neuer Lieferant angelegt, sondern der vorhandene aktualisiert. Das heißt: Die vorhandenen Felder der Importdatei aktualisieren die bereits vorhandenen Felder wie z.B. Bezeichnung, Beschreibung, Ablaufdatum, usw. Dies ermöglicht die Pflege einzelner Lieferanten.&lt;br /&gt;
&lt;br /&gt;
=== Vorlage === &amp;lt;!--T:129--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:130--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage Lieferanten (1).xlsx|Importvorlage Lieferanten.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Elemente für Wissensdatenbanken (WDBs) importieren == &amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
Der Importer bietet die Möglichkeit Maßnahmen, Kontrollen, Themen, Prüffragen, Begründungsvorlagen oder Risiken in eine bestehende Wissensdatenbank zu importieren. Dafür wird beim Importer der Typ &amp;quot;WDB&amp;quot; ausgewählt. Anschließend müssen Sie noch angeben, in welche Wissensdatenbank die Maßnahmen, Kontrollen, Prüffragen, Themen und Begründungsvorlagen importiert werden sollen. Dabei muss es sich um eine noch bearbeitbare, also eine nicht veröffentlichte Wissensdatenbank handeln.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
Um Maßnahmen, Kontrollen, Themen, Prüffragen Begründungsvorlagen oder Risiken zu importieren, müssen die Felder&lt;br /&gt;
* Titel&lt;br /&gt;
* Datensatz-ID &lt;br /&gt;
zugewiesen werden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:117--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Achtung:&amp;lt;/b&amp;gt; Die Datensatz ID, ist die ID im Drittsystem. Ist die Datensatz-ID bereits in der WDB vorhanden, wird kein neuer Datensatz angelegt, sondern der alte aktualisiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
Weiters gibt es in allen Reitern die Felder:&lt;br /&gt;
* Gliederung&lt;br /&gt;
* Beschreibung&lt;br /&gt;
* Stand &#039;&#039;(Datumswert)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
Im Reiter Prüffragen gibt es zusätzlich die Felder:&lt;br /&gt;
* Fragestellung&lt;br /&gt;
* Art der Frage : Hierdurch wird der Typ der Prüffrage festgelegt. Erlaubte Werte des Feldes sind: &amp;quot;Prozessfrage&amp;quot; oder &amp;quot;Technikfrage&amp;quot; oder &amp;quot;Informationserhebung&amp;quot;. Prozessfragen können mit einem Score entsprechend dem Bewertungsschema beantwortet werden, Technikfragen mit Ja/Nein/Teilweise. Informationsrhebungen werden beantwortet, indem der Kommentar ausgefüllt und/oder ein Anhang hochgeladen wird. Wird die Spalte nicht belegt, so werden alle Prüffragen als Technikfragen importiert. &lt;br /&gt;
* verlinkte Themen &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:158--&amp;gt;&lt;br /&gt;
Im Reiter Themen gibt es zusätzlich die Felder:&lt;br /&gt;
* übergeordnetes Thema &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
* verlinkte Prüffragen &#039;&#039;(Datensatz-ID)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; Für einen Import müssen nicht Spalten aus allen Reitern zugewiesen werden. Sie können also Themen, Prüffragen, Maßnahmen, Kontrollen und Begründungsvorlagen getrennt importieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:160--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; Themen und Prüffragen, die dann miteinander verknüpft werden, können im gleichen Excel importiert werden. Jedoch können Sie auch Verlinkungen importieren für Themen/Prüffragen, die Sie bereits importiert oder manuell erstellt haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:159--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Hinweis:&#039;&#039;&#039; In den Feldern verlinkte Prüffragen zu Themen und verlinkte Themen zu Prüffragen können mit Beistrich getrennt auch mehrere Datensatz-IDs angegeben werden. Dies kann mit oder ohne Lehrzeichen vor/nach dem Beistrich angegeben werden. Beispiel: PF01, PF02, PF03.&lt;br /&gt;
&lt;br /&gt;
=== Vorlagen === &amp;lt;!--T:78--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:79--&amp;gt;&lt;br /&gt;
*[[Medium:Importvorlage WDB Thema.xlsx|Importvorlage WDB Thema.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Prüffrage.xlsx|Importvorlage WDB Prüffrage.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Maßnahme.xlsx|Importvorlage WDB Maßnahme.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Kontrolle.xlsx|Importvorlage WDB Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB T-PF-M-K.xlsx|Importvorlage WDB Thema, Prüffrage, Maßnahme und Kontrolle.xslx]]&lt;br /&gt;
*[[Medium:Importvorlage WDB Risiko.xlsx|Importvorlage WDB Risiko.xslx]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=ver&amp;gt;&amp;lt;/span&amp;gt;Benutzerverwaltung == &amp;lt;!--T:80--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:161--&amp;gt;&lt;br /&gt;
Um Benutzer zu importieren, muss beim Import der Typ &amp;quot;Benutzer&amp;quot; ausgewählt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:162--&amp;gt;&lt;br /&gt;
Es gibt zwei Optionen:&lt;br /&gt;
*Neuen Benutzer anlegen&lt;br /&gt;
*Aktualisieren bestehender Benutzer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:81--&amp;gt;&lt;br /&gt;
Benutzer können mit dem Importer importiert werden. Beim Importieren von Organisationseinheiten, Datenkategorien und Ressourcen kann auch optional ein Verantwortlicher angegeben werden, der dadurch zugewiesen oder neu erstellt und zugewiesen wird. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:82--&amp;gt;&lt;br /&gt;
Wird im Zuge eines Imports von Strukturelementen nur der Benutzername angegeben, wird der Verantwortliche dem Element zugewiesen, nicht aber verändert. In diesem Fall muss der Benutzer also schon existieren. Es können beim Reiter &amp;quot;Verantwortliche&amp;quot; in diesem Fall alle Felder bis auf den Benutzernamen ignoriert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:163--&amp;gt;&lt;br /&gt;
=== Anlage eines neuen Benutzers mit dem Importer ===&lt;br /&gt;
Beim Import einer Datei prüft HITGuard anhand der Datensatz-ID im Importfile, ob diese bereits irgendwo in der HITGuard Instanz (systemweit) existiert oder nicht. Existiert sie nicht, so wird sie neu angelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:164--&amp;gt;&lt;br /&gt;
Um einen Benutzer neu anzulegen, müssen die Pflichtfelder&lt;br /&gt;
*Benutzername &#039;&#039;(systemweit eindeutige Identifikation)&#039;&#039;&lt;br /&gt;
*E-Mail Adresse&lt;br /&gt;
*Passwort&lt;br /&gt;
*Vorname&lt;br /&gt;
*Nachname&lt;br /&gt;
vorhanden und ausgefüllt sein. Nur wenn dies der Fall ist, ist der Import durchführbar.&lt;br /&gt;
&lt;br /&gt;
=== Anlage eines neuen Benutzers im Zuge eines anderen Imports === &amp;lt;!--T:83--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:84--&amp;gt;&lt;br /&gt;
Wird beim Import ein Verantwortlicher eingetragen, der noch nicht in HITGuard angelegt ist, gibt es zwei Varianten, wie HITGuard damit umgeht:&lt;br /&gt;
# Active Directory Integration ist deaktiviert: &lt;br /&gt;
#:&lt;br /&gt;
#: Der Benutzer wird komplett neu angelegt, damit dies durchgeführt werden kann, müssen in der Importdatei die Pflichtfelder des Verantwortlichen vorhanden und eingetragen sein. Diese sind:&lt;br /&gt;
#::* Benutzername&lt;br /&gt;
#::* E-Mail&lt;br /&gt;
#::* Passwort (zwischen 12 und 20 Zeichen, wobei mindestens 3 von den 4 Kriterien Sonderzeichen, Großschreibung, Kleinschreibung und Ziffern erfüllt werden müssen)&lt;br /&gt;
#: [[Datei:Verantwortlichen import 1.png|left|thumb|900px|Pflichtfelder bei Anlage eines neuen Benutzers]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
# Active Directory Integration ist aktiviert:&lt;br /&gt;
#:&lt;br /&gt;
#: Ist die Active Directory Integration aktiviert, so können nur noch Benutzer, die im Active Directory existieren angelegt werden. Es können allerdings weiterhin die Felder Vorname, Nachname und E-Mail zugewiesen werden. Das heißt: Es besteht die Möglichkeit Daten des Benutzers beim Import zu ändern und so eventuell Fehler oder nicht geführte Informationen des Active Directories in HITGuard zu ergänzen bzw. zu korrigieren.&lt;br /&gt;
&lt;br /&gt;
=== Aktualisieren von Benutzern === &amp;lt;!--T:85--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:86--&amp;gt;&lt;br /&gt;
Es ist möglich Benutzer mit Hilfe des Importers zu aktualisieren. Dies ist z.B. hilfreich, wenn sich E-Mail oder auch der Nachname eines Benutzers ändern. Der Importer prüft bei jeden Import, falls ein Benutzer eingetragen ist, ob auch Zusatzfelder, wie E-Mail, Nachname, usw. im Importfile existieren, falls ja, wird der Inhalt dieser Felder mit dem neuen Inhalt aktualisiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:87--&amp;gt;&lt;br /&gt;
Dies ermöglicht es in HITGuard Informationen über Benutzer zu führen, die im Active Directory nicht vorhanden bzw. nicht gepflegt werden. Dabei ist zu bemerken, dass HITGuard nicht das Active Directory aktualisiert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:165--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Achtung:&#039;&#039;&#039; Für das Aktualisieren von Benutzern als eigenen Datenimport muss die AD-Integration deaktiviert sein.&lt;br /&gt;
&lt;br /&gt;
==== Deaktivierte Benutzer ==== &amp;lt;!--T:88--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:89--&amp;gt;&lt;br /&gt;
Wird bei einer Aktualisierung ein deaktivierter Benutzer als Verantwortlicher eingetragen oder aktualisiert, so wird dieser Benutzer dadurch nicht aktiviert, er wechselt den Status also nicht. Er wird aber aktualisiert und als Verantwortlicher eingetragen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:166--&amp;gt;&lt;br /&gt;
=== Vorlage ===&lt;br /&gt;
*[[Medium:Importvorlage Benutzer.xlsx|Importvorlage Benutzer.xlsx]]&lt;br /&gt;
&lt;br /&gt;
== Aufbau einer Importdatei == &amp;lt;!--T:90--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:91--&amp;gt;&lt;br /&gt;
Der Importer unterstützt zwei Formattypen:&lt;br /&gt;
* CSV&lt;br /&gt;
* Excel-Dateien&lt;br /&gt;
&lt;br /&gt;
=== Excel === &amp;lt;!--T:92--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:93--&amp;gt;&lt;br /&gt;
Der Aufbau einer Excel Datei besteht aus einer Tabelle, in der alle relevanten Daten als Spalte in einer Tabelle repräsentiert werden. Jede Zeile entspricht z.B. einer neuen Organisationseinheit oder anderen zu importierenden Struktur. Beim Import kann bzw. muss je nach Aufbau die erste Zeile übersprungen werden, wenn es sich bei dieser Zeile um die Spaltenüberschriften handelt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:94--&amp;gt;&lt;br /&gt;
[[Datei:Excel org import example.PNG|left|thumb|900px|Beispiel für einen Excel Import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CSV === &amp;lt;!--T:95--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:96--&amp;gt;&lt;br /&gt;
Der Aufbau einer CSV-Datei besteht meist aus einer Zeile, in der die Spaltenüberschriften mit Strichpunkten (Semikolons) getrennt stehen. Jede weitere Zeile enthält Informationen über die zu importierende Struktur. Dabei ist wichtig, dass jede Zeile gleich viele Spalten aufweist (also gleich viele Strichpunkte hat). Beim Import kann bzw. muss je nach Aufbau die erste Zeile übersprungen werden wenn es sich bei dieser Zeile um die Spaltenüberschriften handelt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:97--&amp;gt;&lt;br /&gt;
[[Datei:Csv org import example.PNG|left|thumb|701px|Beispiel für einen CSV Import]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:143--&amp;gt;&lt;br /&gt;
=== HTML-Formatierung beim Import ===&lt;br /&gt;
Einige Felder, die Sie als Excel oder CSV importieren können, sind in der Applikation HTML-Felder, d.h. sie sind formatierbar. Sie haben die Möglichkeit, diese Formatierung schon mit zu importieren, indem Sie HTML-Codes dafür verwenden. Dies betrifft beispielsweise die Fragestellung von Prüffragen für Wissensdatenbanken oder die Beschreibungsfelder von Maßnahmen oder Risiken.&amp;lt;p&amp;gt;Ein paar Beispiele für die Formatierung:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:144--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!HTML-Code&lt;br /&gt;
!Ergebnis&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Punkt 1&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Punkt 2&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Erstellt eine&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;listenförmige Aufzählung.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;br&amp;gt;Wichtig: In einer Aufzählung dieser Art dürfen Sie im Excel/CSV keine Zeilenumbrüche verwenden, da dies sonst Leerzeilen im Ergebnis verursacht.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;Zeile 1&amp;lt;br&amp;gt;Zeile 2&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Fügt einen einfachen&amp;lt;br&amp;gt;Zeilenumbruch ein.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;b&amp;gt;fett&amp;lt;/b&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;b&amp;gt;fett&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;kursiv&amp;lt;/i&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;i&amp;gt;kursiv&amp;lt;/i&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;u&amp;gt;unterstrichen&amp;lt;/u&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;u&amp;gt;unterstrichen&amp;lt;/u&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;s&amp;gt;durchgestrichen&amp;lt;/s&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Formatiert den Text als &amp;lt;s&amp;gt;durchgestrichen&amp;lt;/s&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:145--&amp;gt;&lt;br /&gt;
Sie können auch einen online HTML-Editor verwenden, dort ihren Text formatieren und das Ergebnis, also den Code, dann in das Excel oder CSV kopieren. Achten Sie hierbei darauf, Zeilenumbrüche zu entfernen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=38641</id>
		<title>Datenimport/-export Schnittstelle/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=38641"/>
		<updated>2026-04-02T08:10:31Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data import/export interface of HITGuard is a REST API that complies with the OpenAPI 3.0 specification. It is therefore an API that can be used by applications.&lt;br /&gt;
&lt;br /&gt;
This page describes how to enable the REST API, how to get permission to use the REST API (ApiKeys) and where to find the REST API documentation (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
Successfully performed imports also generate an import log in the menu item Data import ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
To enable the REST API, the following property must be set in the configuration file &amp;quot;appsettings.json&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this property does not exist or it is set to &amp;quot;false&amp;quot;, the REST API is completely disabled and Administrators will no longer see the ApiKey section under their profile nor the REST API settings under Global Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Einstellungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
If the REST API has been enabled in &amp;quot;appsettings.json&amp;quot;, &amp;lt;b&amp;gt;Administrators&amp;lt;/b&amp;gt; will find a new area in the Global Settings, where the REST API can be enabled and disabled at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Activate REST API:&lt;br /&gt;
:: This option enables the endpoints of the REST API. If this option is disabled, the REST API does not accept any requests.&lt;br /&gt;
&lt;br /&gt;
* Activate SwaggerUI:&lt;br /&gt;
:: This option enables the SwaggerUI, which is an interactive documentation of the REST API. It can be accessed at &amp;quot;/swagger&amp;quot;. &lt;br /&gt;
::This option has no effect on the functionality of the REST API. If it is disabled, the REST API will still work if it is enabled.&lt;br /&gt;
:: This page is only relevant for developers who want to communicate with the REST API. &lt;br /&gt;
:: If the documentation is no longer needed, the SwaggerUI page should be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Swagger/OpenAPI_Dokumentation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Swagger/OpenAPI documentation ==&lt;br /&gt;
&lt;br /&gt;
As described before, the documentation of the REST API can be found under &amp;quot;/swagger&amp;quot; when the SwaggerUI is enabled.&lt;br /&gt;
&lt;br /&gt;
On this page, developers will find all the information they need to communicate with the REST API.&lt;br /&gt;
&lt;br /&gt;
On this page, you also find the JSON description of the REST API. This description can be used by tools (e.g. [https://editor.swagger.io/| editor.swagger.io]) to automatically generate clients for the REST API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: ID parameters mentioned in the documentation do not refer to HITGuard internal IDs in the context of the REST API. They refer to the HITGuard field &amp;quot;External ID&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/v2/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Creates a new Risk in state &amp;quot;Submitted&amp;quot; in the provided managementsystem.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/v2/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions. &lt;br /&gt;
&lt;br /&gt;
Endpoints marked as deprecated in &amp;quot;v1&amp;quot; should no longer be used and will be removed in the future. Use the endpoints in &amp;quot;v2&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Changelog&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Change log ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Änderungen_&amp;amp;quot;v1&amp;amp;quot;_auf_&amp;amp;quot;v2&amp;amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Changes from &amp;quot;v1&amp;quot; to &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** It is now possible to edit the risk remarks&lt;br /&gt;
*** It is now possible to change the advisor of the risk&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
** GET endpoints return more information about the risk such as remarks, strategy and advisors.&lt;br /&gt;
&lt;br /&gt;
All other endpoints are still offered in &amp;quot;v1&amp;quot;. Before &amp;quot;v1&amp;quot; is really removed, all endpoints will be offered through &amp;quot;v2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;All&amp;lt;/b&amp;gt; endpoints of the REST API are secured via ApiKeys!&lt;br /&gt;
&lt;br /&gt;
In order for requests to the REST API to be accepted, a valid ApiKey must be sent in the &amp;lt;b&amp;gt;authorization header&amp;lt;/b&amp;gt; of each request.&lt;br /&gt;
&lt;br /&gt;
ApiKeys can only be created by Administrators on their profile (click on the profile picture). Each Administrator can have only one valid ApiKey at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Section to manage ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ApiKeys can be created with an expiration date. When the ApiKey expires, no more requests can be made with it.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| Generate ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ApiKey is shown only once! If you do not copy it at that moment, you need to create a new ApiKey. By clicking on the button to the left of the ApiKey, the ApiKey will be copied to your clipboard. Make sure that you save the ApiKey in a safe location.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| Copy ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Administrator can revoke their own ApiKey at any time, which means that no more requests can be made via that ApiKey afterwards.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| Revoke ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To manage ApiKeys, it is recommended to create an Administrator for each application that controls the REST API and thus to obtain an ApiKey for each application. This way, access can be taken away from an application at any time.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=38640</id>
		<title>Translations:Datenimport/-export Schnittstelle/37/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=38640"/>
		<updated>2026-04-02T08:10:29Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** It is now possible to edit the risk remarks&lt;br /&gt;
*** It is now possible to change the advisor of the risk&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
** GET endpoints return more information about the risk such as remarks, strategy and advisors.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=38639</id>
		<title>Datenimport/-export Schnittstelle/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=38639"/>
		<updated>2026-04-02T08:10:23Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data import/export interface of HITGuard is a REST API that complies with the OpenAPI 3.0 specification. It is therefore an API that can be used by applications.&lt;br /&gt;
&lt;br /&gt;
This page describes how to enable the REST API, how to get permission to use the REST API (ApiKeys) and where to find the REST API documentation (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
Successfully performed imports also generate an import log in the menu item Data import ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
To enable the REST API, the following property must be set in the configuration file &amp;quot;appsettings.json&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this property does not exist or it is set to &amp;quot;false&amp;quot;, the REST API is completely disabled and Administrators will no longer see the ApiKey section under their profile nor the REST API settings under Global Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Einstellungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
If the REST API has been enabled in &amp;quot;appsettings.json&amp;quot;, &amp;lt;b&amp;gt;Administrators&amp;lt;/b&amp;gt; will find a new area in the Global Settings, where the REST API can be enabled and disabled at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Activate REST API:&lt;br /&gt;
:: This option enables the endpoints of the REST API. If this option is disabled, the REST API does not accept any requests.&lt;br /&gt;
&lt;br /&gt;
* Activate SwaggerUI:&lt;br /&gt;
:: This option enables the SwaggerUI, which is an interactive documentation of the REST API. It can be accessed at &amp;quot;/swagger&amp;quot;. &lt;br /&gt;
::This option has no effect on the functionality of the REST API. If it is disabled, the REST API will still work if it is enabled.&lt;br /&gt;
:: This page is only relevant for developers who want to communicate with the REST API. &lt;br /&gt;
:: If the documentation is no longer needed, the SwaggerUI page should be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Swagger/OpenAPI_Dokumentation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Swagger/OpenAPI documentation ==&lt;br /&gt;
&lt;br /&gt;
As described before, the documentation of the REST API can be found under &amp;quot;/swagger&amp;quot; when the SwaggerUI is enabled.&lt;br /&gt;
&lt;br /&gt;
On this page, developers will find all the information they need to communicate with the REST API.&lt;br /&gt;
&lt;br /&gt;
On this page, you also find the JSON description of the REST API. This description can be used by tools (e.g. [https://editor.swagger.io/| editor.swagger.io]) to automatically generate clients for the REST API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: ID parameters mentioned in the documentation do not refer to HITGuard internal IDs in the context of the REST API. They refer to the HITGuard field &amp;quot;External ID&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/v2/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Creates a new Risk in state &amp;quot;Submitted&amp;quot; in the provided managementsystem.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/v2/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions. &lt;br /&gt;
&lt;br /&gt;
Endpoints marked as deprecated in &amp;quot;v1&amp;quot; should no longer be used and will be removed in the future. Use the endpoints in &amp;quot;v2&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Changelog&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Change log ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Änderungen_&amp;amp;quot;v1&amp;amp;quot;_auf_&amp;amp;quot;v2&amp;amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Changes from &amp;quot;v1&amp;quot; to &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** It is now possible to edit the risk remarks&lt;br /&gt;
*** It is now possible to change the advisor of the risk&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
** GET endpoints return mor information about the risk such as remarks, strategy and advisors.&lt;br /&gt;
&lt;br /&gt;
All other endpoints are still offered in &amp;quot;v1&amp;quot;. Before &amp;quot;v1&amp;quot; is really removed, all endpoints will be offered through &amp;quot;v2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;All&amp;lt;/b&amp;gt; endpoints of the REST API are secured via ApiKeys!&lt;br /&gt;
&lt;br /&gt;
In order for requests to the REST API to be accepted, a valid ApiKey must be sent in the &amp;lt;b&amp;gt;authorization header&amp;lt;/b&amp;gt; of each request.&lt;br /&gt;
&lt;br /&gt;
ApiKeys can only be created by Administrators on their profile (click on the profile picture). Each Administrator can have only one valid ApiKey at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Section to manage ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ApiKeys can be created with an expiration date. When the ApiKey expires, no more requests can be made with it.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| Generate ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ApiKey is shown only once! If you do not copy it at that moment, you need to create a new ApiKey. By clicking on the button to the left of the ApiKey, the ApiKey will be copied to your clipboard. Make sure that you save the ApiKey in a safe location.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| Copy ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Administrator can revoke their own ApiKey at any time, which means that no more requests can be made via that ApiKey afterwards.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| Revoke ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To manage ApiKeys, it is recommended to create an Administrator for each application that controls the REST API and thus to obtain an ApiKey for each application. This way, access can be taken away from an application at any time.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=38638</id>
		<title>Translations:Datenimport/-export Schnittstelle/37/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=38638"/>
		<updated>2026-04-02T08:10:09Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** It is now possible to modify the strategy of a risk via the api. The permitted values depend on whether a severity or an benefit has been assigned (i.e. whether it is a risk or an opportunity). If it is a severity, the permitted values are: Undefined, Avoidance, Reduction, Transfer, Acceptance. If it is a benefit, the permitted values are: Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** It is now possible to edit the risk remarks&lt;br /&gt;
*** It is now possible to change the advisor of the risk&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
** GET endpoints return mor information about the risk such as remarks, strategy and advisors.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38634</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38634"/>
		<updated>2026-04-02T08:05:35Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** Es kann jetzt auch die Strategie des Risiko über die API aktualisiert werden. Erlaubte werte sind abhängig davon ob es ein Schadensausmaß oder ein Nutzen zugewiesen ist (also ob es sich um ein Risiko oder eine Chance handelt). Ist es ein Schadensausmaß sind die erlaubte Werte: Undefined, Avoidance, Reduction, Transfer, Acceptance. Ist es ein Nutzen sind sind die erlaubte Werte:  Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** Es ist nun möglich die Anmerkungen zum Risiko zu ändern&lt;br /&gt;
*** Es ist nun möglich den Sachbearbeiter zu ändern&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
** GET Endpunkte returnieren mehr Informationen zum Risiko wie Anmerkungen, Strategie und Sachbearbeiter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38633</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38633"/>
		<updated>2026-04-02T08:05:19Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** Es kann jetzt auch die Strategie des Risiko über die API aktualisiert werden. Erlaubte werte sind abhängig davon ob es ein Schadensausmaß oder ein Nutzen zugewiesen ist (also ob es sich um ein Risiko oder eine Chance handelt). Ist es ein Schadensausmaß sind die erlaubte Werte: Undefined, Avoidance, Reduction, Transfer, Acceptance. Ist es ein Nutzen sind sind die erlaubte Werte:  Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** Es ist nun möglich die Anmerkungen zum Risiko zu ändern&lt;br /&gt;
*** Es ist nun möglich den Sachbearbeiter zu ändern&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
** GET Endpunkte returnieren mehr Informationen zum Risiko wie Anmerkungen, Strategie und Sachbearbeite&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38632</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=38632"/>
		<updated>2026-04-02T08:04:13Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
*** Es kann jetzt auch die Strategie des Risiko über die API aktualisiert werden. Erlaubte werte sind abhängig davon ob es ein Schadensausmaß oder ein Nutzen zugewiesen ist (also ob es sich um ein Risiko oder eine Chance handelt). Ist es ein Schadensausmaß sind die erlaubte Werte: Undefined, Avoidance, Reduction, Transfer, Acceptance. Ist es ein Nutzen sind sind die erlaubte Werte:  Undefined, Enhance, Share, Exploit, Ignore.&lt;br /&gt;
*** Es ist nun möglich die Anmerkungen zum Risiko zu ändern&lt;br /&gt;
*** Es ist nun möglich den Sachbearbeiter zu ändern&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
** GET Endpunkte returnieren mehr Informationen zum Risiko wie Anmerkungen, Strategie und Sachbearbeiter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37946</id>
		<title>Datenimport/-export Schnittstelle/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37946"/>
		<updated>2026-03-19T13:00:58Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data import/export interface of HITGuard is a REST API that complies with the OpenAPI 3.0 specification. It is therefore an API that can be used by applications.&lt;br /&gt;
&lt;br /&gt;
This page describes how to enable the REST API, how to get permission to use the REST API (ApiKeys) and where to find the REST API documentation (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
Successfully performed imports also generate an import log in the menu item Data import ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
To enable the REST API, the following property must be set in the configuration file &amp;quot;appsettings.json&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this property does not exist or it is set to &amp;quot;false&amp;quot;, the REST API is completely disabled and Administrators will no longer see the ApiKey section under their profile nor the REST API settings under Global Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Einstellungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
If the REST API has been enabled in &amp;quot;appsettings.json&amp;quot;, &amp;lt;b&amp;gt;Administrators&amp;lt;/b&amp;gt; will find a new area in the Global Settings, where the REST API can be enabled and disabled at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Activate REST API:&lt;br /&gt;
:: This option enables the endpoints of the REST API. If this option is disabled, the REST API does not accept any requests.&lt;br /&gt;
&lt;br /&gt;
* Activate SwaggerUI:&lt;br /&gt;
:: This option enables the SwaggerUI, which is an interactive documentation of the REST API. It can be accessed at &amp;quot;/swagger&amp;quot;. &lt;br /&gt;
::This option has no effect on the functionality of the REST API. If it is disabled, the REST API will still work if it is enabled.&lt;br /&gt;
:: This page is only relevant for developers who want to communicate with the REST API. &lt;br /&gt;
:: If the documentation is no longer needed, the SwaggerUI page should be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Swagger/OpenAPI_Dokumentation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Swagger/OpenAPI documentation ==&lt;br /&gt;
&lt;br /&gt;
As described before, the documentation of the REST API can be found under &amp;quot;/swagger&amp;quot; when the SwaggerUI is enabled.&lt;br /&gt;
&lt;br /&gt;
On this page, developers will find all the information they need to communicate with the REST API.&lt;br /&gt;
&lt;br /&gt;
On this page, you also find the JSON description of the REST API. This description can be used by tools (e.g. [https://editor.swagger.io/| editor.swagger.io]) to automatically generate clients for the REST API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: ID parameters mentioned in the documentation do not refer to HITGuard internal IDs in the context of the REST API. They refer to the HITGuard field &amp;quot;External ID&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/v2/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Creates a new Risk in state &amp;quot;Submitted&amp;quot; in the provided managementsystem.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/v2/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions. &lt;br /&gt;
&lt;br /&gt;
Endpoints marked as deprecated in &amp;quot;v1&amp;quot; should no longer be used and will be removed in the future. Use the endpoints in &amp;quot;v2&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Changelog&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Change log ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Änderungen_&amp;amp;quot;v1&amp;amp;quot;_auf_&amp;amp;quot;v2&amp;amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Changes from &amp;quot;v1&amp;quot; to &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
&lt;br /&gt;
All other endpoints are still offered in &amp;quot;v1&amp;quot;. Before &amp;quot;v1&amp;quot; is really removed, all endpoints will be offered through &amp;quot;v2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;All&amp;lt;/b&amp;gt; endpoints of the REST API are secured via ApiKeys!&lt;br /&gt;
&lt;br /&gt;
In order for requests to the REST API to be accepted, a valid ApiKey must be sent in the &amp;lt;b&amp;gt;authorization header&amp;lt;/b&amp;gt; of each request.&lt;br /&gt;
&lt;br /&gt;
ApiKeys can only be created by Administrators on their profile (click on the profile picture). Each Administrator can have only one valid ApiKey at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Section to manage ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ApiKeys can be created with an expiration date. When the ApiKey expires, no more requests can be made with it.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| Generate ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ApiKey is shown only once! If you do not copy it at that moment, you need to create a new ApiKey. By clicking on the button to the left of the ApiKey, the ApiKey will be copied to your clipboard. Make sure that you save the ApiKey in a safe location.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| Copy ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Administrator can revoke their own ApiKey at any time, which means that no more requests can be made via that ApiKey afterwards.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| Revoke ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To manage ApiKeys, it is recommended to create an Administrator for each application that controls the REST API and thus to obtain an ApiKey for each application. This way, access can be taken away from an application at any time.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=37945</id>
		<title>Translations:Datenimport/-export Schnittstelle/37/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/37/en&amp;diff=37945"/>
		<updated>2026-03-19T13:00:41Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
** PUT /api/v2/risks replaces PUT /api/risks&lt;br /&gt;
*** The data-model was adjusted. The &amp;quot;managementSystemId&amp;quot; is not set at top level but per risk. The model is now &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; not &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** It is now possible to modify the state of a risk via the api. Valid values are: Active, Inactive, Accepted, Rejected&lt;br /&gt;
** POST /api/v2/risks/submit new endpoint for importing risks in state &amp;quot;Submitted&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} replaces DELETE /api/risks/{id}&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37944</id>
		<title>Datenimport/-export Schnittstelle/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37944"/>
		<updated>2026-03-19T12:55:58Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data import/export interface of HITGuard is a REST API that complies with the OpenAPI 3.0 specification. It is therefore an API that can be used by applications.&lt;br /&gt;
&lt;br /&gt;
This page describes how to enable the REST API, how to get permission to use the REST API (ApiKeys) and where to find the REST API documentation (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
Successfully performed imports also generate an import log in the menu item Data import ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
To enable the REST API, the following property must be set in the configuration file &amp;quot;appsettings.json&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this property does not exist or it is set to &amp;quot;false&amp;quot;, the REST API is completely disabled and Administrators will no longer see the ApiKey section under their profile nor the REST API settings under Global Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Einstellungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
If the REST API has been enabled in &amp;quot;appsettings.json&amp;quot;, &amp;lt;b&amp;gt;Administrators&amp;lt;/b&amp;gt; will find a new area in the Global Settings, where the REST API can be enabled and disabled at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Activate REST API:&lt;br /&gt;
:: This option enables the endpoints of the REST API. If this option is disabled, the REST API does not accept any requests.&lt;br /&gt;
&lt;br /&gt;
* Activate SwaggerUI:&lt;br /&gt;
:: This option enables the SwaggerUI, which is an interactive documentation of the REST API. It can be accessed at &amp;quot;/swagger&amp;quot;. &lt;br /&gt;
::This option has no effect on the functionality of the REST API. If it is disabled, the REST API will still work if it is enabled.&lt;br /&gt;
:: This page is only relevant for developers who want to communicate with the REST API. &lt;br /&gt;
:: If the documentation is no longer needed, the SwaggerUI page should be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Swagger/OpenAPI_Dokumentation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Swagger/OpenAPI documentation ==&lt;br /&gt;
&lt;br /&gt;
As described before, the documentation of the REST API can be found under &amp;quot;/swagger&amp;quot; when the SwaggerUI is enabled.&lt;br /&gt;
&lt;br /&gt;
On this page, developers will find all the information they need to communicate with the REST API.&lt;br /&gt;
&lt;br /&gt;
On this page, you also find the JSON description of the REST API. This description can be used by tools (e.g. [https://editor.swagger.io/| editor.swagger.io]) to automatically generate clients for the REST API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: ID parameters mentioned in the documentation do not refer to HITGuard internal IDs in the context of the REST API. They refer to the HITGuard field &amp;quot;External ID&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/v2/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Creates a new Risk in state &amp;quot;Submitted&amp;quot; in the provided managementsystem.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/v2/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions. &lt;br /&gt;
&lt;br /&gt;
Endpoints marked as deprecated in &amp;quot;v1&amp;quot; should no longer be used and will be removed in the future. Use the endpoints in &amp;quot;v2&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Changelog&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Change log ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Änderungen_&amp;amp;quot;v1&amp;amp;quot;_auf_&amp;amp;quot;v2&amp;amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Changes from &amp;quot;v1&amp;quot; to &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All other endpoints are still offered in &amp;quot;v1&amp;quot;. Before &amp;quot;v1&amp;quot; is really removed, all endpoints will be offered through &amp;quot;v2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;All&amp;lt;/b&amp;gt; endpoints of the REST API are secured via ApiKeys!&lt;br /&gt;
&lt;br /&gt;
In order for requests to the REST API to be accepted, a valid ApiKey must be sent in the &amp;lt;b&amp;gt;authorization header&amp;lt;/b&amp;gt; of each request.&lt;br /&gt;
&lt;br /&gt;
ApiKeys can only be created by Administrators on their profile (click on the profile picture). Each Administrator can have only one valid ApiKey at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Section to manage ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ApiKeys can be created with an expiration date. When the ApiKey expires, no more requests can be made with it.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| Generate ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ApiKey is shown only once! If you do not copy it at that moment, you need to create a new ApiKey. By clicking on the button to the left of the ApiKey, the ApiKey will be copied to your clipboard. Make sure that you save the ApiKey in a safe location.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| Copy ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Administrator can revoke their own ApiKey at any time, which means that no more requests can be made via that ApiKey afterwards.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| Revoke ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To manage ApiKeys, it is recommended to create an Administrator for each application that controls the REST API and thus to obtain an ApiKey for each application. This way, access can be taken away from an application at any time.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/31/en&amp;diff=37943</id>
		<title>Translations:Datenimport/-export Schnittstelle/31/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/31/en&amp;diff=37943"/>
		<updated>2026-03-19T12:55:56Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/v2/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Creates a new Risk in state &amp;quot;Submitted&amp;quot; in the provided managementsystem.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/v2/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37942</id>
		<title>Datenimport/-export Schnittstelle/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle/en&amp;diff=37942"/>
		<updated>2026-03-19T12:52:46Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „== Versions == There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions. Changing Version in Swagger Currently the endpoints are distributed between the two versions and one should use both versions.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The data import/export interface of HITGuard is a REST API that complies with the OpenAPI 3.0 specification. It is therefore an API that can be used by applications.&lt;br /&gt;
&lt;br /&gt;
This page describes how to enable the REST API, how to get permission to use the REST API (ApiKeys) and where to find the REST API documentation (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
Successfully performed imports also generate an import log in the menu item Data import ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Data import | &amp;lt;u&amp;gt;Import logs&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
To enable the REST API, the following property must be set in the configuration file &amp;quot;appsettings.json&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this property does not exist or it is set to &amp;quot;false&amp;quot;, the REST API is completely disabled and Administrators will no longer see the ApiKey section under their profile nor the REST API settings under Global Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Einstellungen&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
If the REST API has been enabled in &amp;quot;appsettings.json&amp;quot;, &amp;lt;b&amp;gt;Administrators&amp;lt;/b&amp;gt; will find a new area in the Global Settings, where the REST API can be enabled and disabled at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Activate REST API:&lt;br /&gt;
:: This option enables the endpoints of the REST API. If this option is disabled, the REST API does not accept any requests.&lt;br /&gt;
&lt;br /&gt;
* Activate SwaggerUI:&lt;br /&gt;
:: This option enables the SwaggerUI, which is an interactive documentation of the REST API. It can be accessed at &amp;quot;/swagger&amp;quot;. &lt;br /&gt;
::This option has no effect on the functionality of the REST API. If it is disabled, the REST API will still work if it is enabled.&lt;br /&gt;
:: This page is only relevant for developers who want to communicate with the REST API. &lt;br /&gt;
:: If the documentation is no longer needed, the SwaggerUI page should be disabled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Swagger/OpenAPI_Dokumentation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Swagger/OpenAPI documentation ==&lt;br /&gt;
&lt;br /&gt;
As described before, the documentation of the REST API can be found under &amp;quot;/swagger&amp;quot; when the SwaggerUI is enabled.&lt;br /&gt;
&lt;br /&gt;
On this page, developers will find all the information they need to communicate with the REST API.&lt;br /&gt;
&lt;br /&gt;
On this page, you also find the JSON description of the REST API. This description can be used by tools (e.g. [https://editor.swagger.io/| editor.swagger.io]) to automatically generate clients for the REST API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: ID parameters mentioned in the documentation do not refer to HITGuard internal IDs in the context of the REST API. They refer to the HITGuard field &amp;quot;External ID&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Overview&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Structural analysis edges&lt;br /&gt;
|PUT /api/v2/asset-edges → Adds relationships in the structural analysis between resources, organizational units, processes, and data categories.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Deletes manually set relationships between resources and resources, organizational units, processes, and data categories.&lt;br /&gt;
|-&lt;br /&gt;
!Tickets&lt;br /&gt;
|PUT /api/tickets → Creates a new ticket in a management system or updates it.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Deletes a ticket by its external ID.&lt;br /&gt;
|-&lt;br /&gt;
!Management systems&lt;br /&gt;
|GET /api/management-systems → Produces a list of the available management systems. This list contains the management system IDs.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deactivates or deactivates and anonymizes a user by the username.&lt;br /&gt;
|-&lt;br /&gt;
!Data categories&lt;br /&gt;
|PUT /api/data-categories → Creates new data categories or updates them.&amp;lt;br&amp;gt;GET/api/data-categories → Produces a list of the available data categories.&amp;lt;br&amp;gt;GET/api/data-categories/data-classes → Produces a list of the available data classes.&amp;lt;br&amp;gt;DELETE/api/data-categories/{id} → Deletes a data category by the external key.&lt;br /&gt;
|-&lt;br /&gt;
!Measures&lt;br /&gt;
|PUT /api/v2/measures → Creates a new measure or updates it.&amp;lt;br&amp;gt;PUT/api/measures/close/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the ID.&amp;lt;br&amp;gt;PUT/api/measures/close/byKey/{id} → Puts a measure into the state &amp;quot;Completed&amp;quot; by the external ID.&amp;lt;br&amp;gt;DELETE/api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET/api/measures/{state} → Produces a list of all measures in a specific state.&lt;br /&gt;
|-&lt;br /&gt;
!Organizational units&lt;br /&gt;
|PUT /api/org-units → Creates an organizational unit or updates it.&amp;lt;br&amp;gt;GET/api/org-units → Produces a list of organizational units.&amp;lt;br&amp;gt;DELETE/api/org-units/{id} → Deletes an organizational unit by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Processes&lt;br /&gt;
|PUT /api/processes → Creates a process or updates it.&amp;lt;br&amp;gt;GET/api/processes → Produces a list of processes.&amp;lt;br&amp;gt;DELETE/api/processes/{id} → Deletes a process by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Resources&lt;br /&gt;
|PUT /api/resources → Creates a resource or updates it.&amp;lt;br&amp;gt;GET/api/v2/resources → Produces a list of resources.&amp;lt;br&amp;gt;GET/api/v2/resources/{id} → Retrieves the information of a specific resource by the ID.&amp;lt;br&amp;gt;DELETE/api/resources/{id} → Deletes a resource by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risks&lt;br /&gt;
|PUT /api/risks → Creates a risk in a management system or updates it.&amp;lt;br&amp;gt;GET/api/v2/risks/ → Produces a list of all available risks.&amp;lt;br&amp;gt;GET/api/v2/risks/{id} → Retrieves the information of a specific risk by the ID.&amp;lt;br&amp;gt;DELETE/api/risks/{id} → Deletes a risk by the ID.&lt;br /&gt;
|-&lt;br /&gt;
!Suppliers&lt;br /&gt;
|PUT /api/suppliers → Creates or updates a supplier.&lt;br /&gt;
|-&lt;br /&gt;
!Users&lt;br /&gt;
|PUT /api/v2/users → Creates or updates one or multiple users. Caution: updating users only works if the AD integration is deactivated.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions. &lt;br /&gt;
&lt;br /&gt;
Endpoints marked as deprecated in &amp;quot;v1&amp;quot; should no longer be used and will be removed in the future. Use the endpoints in &amp;quot;v2&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Changelog&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Change log ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Änderungen_&amp;amp;quot;v1&amp;amp;quot;_auf_&amp;amp;quot;v2&amp;amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Changes from &amp;quot;v1&amp;quot; to &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-translate-fuzzy&amp;quot;&amp;gt;&lt;br /&gt;
* Measures&lt;br /&gt;
** PUT /api/v2/measures replaces PUT /api/measures&lt;br /&gt;
*** Configurations regarding the necessity test can no longer be set or changed, as those use internal IDs&lt;br /&gt;
*** The parameter &amp;quot;ID&amp;quot; now refers to the HITGuard field &amp;quot;External ID&amp;quot; and no longer the internal ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** was marked as deprecated as it used an internal ID → only use PUT /api/measures/close/byKey going forward!&lt;br /&gt;
** General&lt;br /&gt;
*** The parameter &amp;quot;state&amp;quot; now uses enumeration values&lt;br /&gt;
* Asset edges&lt;br /&gt;
** PUT /api/v2/asset-edges replaces PUT /api/asset-edges&lt;br /&gt;
*** The parameters &amp;quot;sourceType&amp;quot; and &amp;quot;targetType&amp;quot; now use enumeration values&lt;br /&gt;
* Resources&lt;br /&gt;
** all endpoints in &amp;quot;v1&amp;quot; were marked as deprecated&lt;br /&gt;
*** The parameter &amp;quot;modelSegment&amp;quot; now uses enumeration values&lt;br /&gt;
* Risks&lt;br /&gt;
** GET /api/v2/risks replaces GET /api/risks/{managementSystemId}&lt;br /&gt;
*** The path parameter &amp;quot;managementSystemId&amp;quot; was removed. Instead you can now use the optional query parameters &amp;quot;managementSystemId&amp;quot; and &amp;quot;includePublicRisks&amp;quot; to retrieve and filter risks.&lt;br /&gt;
** GET /api/v2/risks/{id} replaces GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpoints were adjusted to be consistent with the other endpoints.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All other endpoints are still offered in &amp;quot;v1&amp;quot;. Before &amp;quot;v1&amp;quot; is really removed, all endpoints will be offered through &amp;quot;v2&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;All&amp;lt;/b&amp;gt; endpoints of the REST API are secured via ApiKeys!&lt;br /&gt;
&lt;br /&gt;
In order for requests to the REST API to be accepted, a valid ApiKey must be sent in the &amp;lt;b&amp;gt;authorization header&amp;lt;/b&amp;gt; of each request.&lt;br /&gt;
&lt;br /&gt;
ApiKeys can only be created by Administrators on their profile (click on the profile picture). Each Administrator can have only one valid ApiKey at any time.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Section to manage ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ApiKeys can be created with an expiration date. When the ApiKey expires, no more requests can be made with it.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| Generate ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ApiKey is shown only once! If you do not copy it at that moment, you need to create a new ApiKey. By clicking on the button to the left of the ApiKey, the ApiKey will be copied to your clipboard. Make sure that you save the ApiKey in a safe location.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| Copy ApiKey ]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An Administrator can revoke their own ApiKey at any time, which means that no more requests can be made via that ApiKey afterwards.&lt;br /&gt;
&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| Revoke ApiKey]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To manage ApiKeys, it is recommended to create an Administrator for each application that controls the REST API and thus to obtain an ApiKey for each application. This way, access can be taken away from an application at any time.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/39/en&amp;diff=37941</id>
		<title>Translations:Datenimport/-export Schnittstelle/39/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Datenimport/-export_Schnittstelle/39/en&amp;diff=37941"/>
		<updated>2026-03-19T12:52:40Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „== Versions == There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions. Changing Version in Swagger Currently the endpoints are distributed between the two versions and one should use both versions.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Versions ==&lt;br /&gt;
There are currently 2 versions of the API: &amp;quot;v1&amp;quot; and &amp;quot;v2&amp;quot;. In Swagger you can switch back and forth between the two versions.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Changing Version in Swagger]]&lt;br /&gt;
Currently the endpoints are distributed between the two versions and one should use both versions.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37935</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37935"/>
		<updated>2026-03-19T12:50:00Z</updated>

		<summary type="html">&lt;p&gt;Faha: Diese Seite wurde zum Übersetzen freigegeben&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37934</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37934"/>
		<updated>2026-03-19T12:49:07Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37933</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=37933"/>
		<updated>2026-03-19T12:39:42Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Swagger/OpenAPI Dokumentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: ID Parameter, die in der Dokumentation erwähnt werden, beziehen sich im Kontext der REST API nicht auf HITGuard interne IDs, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&amp;lt;br&amp;gt;DELETE /api/v2/asset-edges → Löscht manuell gesetzte Beziehungen in der Strukturanalyse zwischen Ressourcen und Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/v2/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&lt;br /&gt;
POST /api/v2/risks/submit → Erstellt ein Risiko im Status &amp;quot;Eingereicht&amp;quot; im angegebenen Managementsystem.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/v2/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|PUT /api/v2/users → Erstellt oder aktualisiert einen oder mehrere Benutzer. Achtung: Die Aktualisierung funktioniert nur, wenn die AD Integration deaktiviert ist.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API: &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. In Swagger kann zwischen den Versionen hin und her gewechselt werden.&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zur Zeit sind die Endpunkte auf diese beiden Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Endpunkte, die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind, sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog === &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ==== &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne IDs angewiesen ist&lt;br /&gt;
*** Der &amp;quot;ID&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne ID&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert, da dies eine interne ID verwendet hat → nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
** PUT /api/v2/risks ersetzt PUT /api/risks&lt;br /&gt;
*** Das Datenmodell wurde angepasst. Die &amp;quot;managementSystemId&amp;quot; wird nicht mehr auf oberer Ebene vergeben sondern je Risiko. Das Modell ist jetzt &amp;quot;RiskCreateOrUpdateDtoV2&amp;quot; und nicht mehr &amp;quot;HazardSituationImportDto&amp;quot;&lt;br /&gt;
*** Es kann jetzt auch der Status des Risiko über die API aktualisiert werden. Erlaubte werte sind: Active, Inactive, Accepted, Rejected&lt;br /&gt;
** POST /api/v2/risks/submit neuer Endpunkt zum importieren von Risiken im Status &amp;quot;Eingereicht&amp;quot;&lt;br /&gt;
** DELETE /api/v2/risks/{id} ersetzt DELETE /api/risks/{id}&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36346</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36346"/>
		<updated>2025-10-28T13:35:02Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Swagger/OpenAPI Dokumentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Wichtig&#039;&#039;&#039;: Id Parameter die in der Dokumentation erwähnt werden beziehen sich im Kontext der REST API nicht auf HITGuard interne Ids, sondern auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. Im Swagger kann zwischen den Versionen hin und her gewechselt werden .&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zurzeit sind die Endpunkte auf diese 2 Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
Endpunkte die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog ===&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne Ids angewiesen ist&lt;br /&gt;
*** Der &amp;quot;Id&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne Id&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert da dies eine interne Id verwendet hat =&amp;gt; nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36345</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36345"/>
		<updated>2025-10-28T13:27:42Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. Im Swagger kann zwischen den Versionen hin und her gewechselt werden .&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zurzeit sind die Endpunkte auf diese 2 Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
Endpunkte die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog ===&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt PUT /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne Ids angewiesen ist&lt;br /&gt;
*** Der &amp;quot;Id&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne Id&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert da dies eine interne Id verwendet hat =&amp;gt; nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36344</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36344"/>
		<updated>2025-10-28T13:27:30Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. Im Swagger kann zwischen den Versionen hin und her gewechselt werden .&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zurzeit sind die Endpunkte auf diese 2 Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
Endpunkte die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog ===&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures ersetzt /api/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne Ids angewiesen ist&lt;br /&gt;
*** Der &amp;quot;Id&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne Id&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert da dies eine interne Id verwendet hat =&amp;gt; nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges ersetzt PUT /api/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36343</id>
		<title>Datenimport/-export Schnittstelle</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datenimport/-export_Schnittstelle&amp;diff=36343"/>
		<updated>2025-10-28T13:25:46Z</updated>

		<summary type="html">&lt;p&gt;Faha: /* Swagger/OpenAPI Dokumentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
Bei der Datenimport/-export Schnittstelle von HITGuard handelt es sich um eine REST Schnittstelle, die sich an die OpenAPI 3.0 Spezifikation hält. Es handelt sich dabei also um eine Schnittstelle, die von Applikationen angesprochen werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Diese Seite beschreibt, wie die REST Schnittstelle aktiviert werden kann, wie man die Berechtigung zum Verwenden der REST Schnittstelle bekommt (ApiKeys) und wo die Dokumentation der REST Schnittstelle zu finden ist (SwaggerUI).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Erfolgreich durchgeführte Imports erzeugen im Menüpunkt Datenimport auch ein Importprotokoll ([[Special:MyLanguage/Datenimport|&amp;quot;Administration → Datenimport | &amp;lt;u&amp;gt;Importprotokolle&amp;lt;/u&amp;gt;]])!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
[[Datei:REST API Importprotokoll.png|thumb|left|900px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Konfiguration == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Um die REST Schnittstelle zu aktivieren, muss in der Konfigurationsdatei &amp;quot;appsettings.production.json&amp;quot; folgendes Property gesetzt sein:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;quot;RestApi&amp;quot;: { &amp;quot;Enabled&amp;quot;: true } &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Existiert dieses Property nicht oder es ist auf &amp;quot;false&amp;quot; gesetzt, ist die REST Schnittstelle vollkommen deaktiviert und Administratoren sehen weder den Abschnitt &amp;quot;ApiKey&amp;quot; unter ihrem Profil noch die Einstellungen der REST Schnittstelle unter den Globalen Einstellungen.&lt;br /&gt;
&lt;br /&gt;
== Einstellungen == &amp;lt;!--T:7--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
Wurde die REST Schnittstelle im &amp;quot;appsettings.production.json&amp;quot; aktiviert, finden &amp;lt;b&amp;gt;Administratoren&amp;lt;/b&amp;gt; einen neuen Bereich in den Globalen Einstellungen, über den die REST Schnittstelle jederzeit aktiviert und deaktiviert werden kann.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
[[Datei:REST API Einstellungen.png|thumb|left|902px]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
* REST Schnittstelle aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die Endpunkte der REST Schnittstelle. Ist diese Option deaktiviert, dann nimmt die REST Schnittstelle keine Requests entgegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
* SwaggerUI aktivieren:&lt;br /&gt;
:: Diese Option aktiviert die SwaggerUI. Dabei handelt es sich um eine interaktive Dokumentation der REST Schnittstelle. Sie kann unter &amp;quot;/swagger&amp;quot; erreicht werden. &lt;br /&gt;
::Diese Option hat keine Auswirkung auf die Funktionalität der REST Schnittstelle. Wird sie deaktiviert, funktioniert die REST Schnittstelle, sofern sie aktiviert ist, trotzdem.&lt;br /&gt;
:: Diese Seite ist nur für Entwickler relevant, die mit der REST Schnittstelle kommunizieren möchten. &lt;br /&gt;
:: Wird die Dokumentation nicht mehr benötigt, sollte die SwaggerUI Seite deaktiviert werden.&lt;br /&gt;
&lt;br /&gt;
== Swagger/OpenAPI Dokumentation == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Wie vorher beschrieben, findet man die Dokumentation der REST Schnittstelle unter &amp;quot;/swagger&amp;quot;, wenn die SwaggerUI aktiviert ist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
Auf dieser Seite finden Entwickler alle Informationen, die sie benötigen, um die REST Schnittstelle anzusprechen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Auf dieser Seite ist auch die JSON Beschreibung der REST Schnittstelle zu finden. Diese Beschreibung kann von Tools (z.B. [https://editor.swagger.io editor.swagger.io]) verwendet werden, um automatisch Clients für die REST Schnittstelle zu generieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Datei:REST API Swagger.png|thumb|left|900px|SwaggerUI]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | &amp;lt;b&amp;gt;Überblick&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
!Kanten der Strukturanalyse&lt;br /&gt;
|PUT /api/v2/asset-edges → Fügt Beziehungen in der Strukturanalyse hinzu zwischen Ressourcen, Organisationseinheiten, Prozessen und Datenkategorien.&lt;br /&gt;
|-&lt;br /&gt;
!Meldungen&lt;br /&gt;
|PUT /api/tickets → Erstellt neue Meldungen in einem Managementsystem bzw. aktualisiert diese.&amp;lt;br&amp;gt;DELETE/api/tickets/{id} → Löscht Meldungen anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Managementsysteme&lt;br /&gt;
|GET /api/management-systems → Erzeugt eine Liste der vorhandenen Managementsysteme. Diese Liste enthält die IDs der Managementsysteme.&lt;br /&gt;
|-&lt;br /&gt;
!Benutzer&lt;br /&gt;
|DELETE /api/users/deactivate/{userName} → Deaktiviert bzw. deaktiviert und anonymisiert einen Benutzer anhand des Usernamens.&lt;br /&gt;
|-&lt;br /&gt;
!Datenkategorien&lt;br /&gt;
|PUT /api/data-categories → Erstellt neue Datenkategorien bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/data-categories → Erzeugt eine Liste der vorhandenen Datenkategorien.&amp;lt;br&amp;gt;GET /api/data-categories/data-classes → Erzeugt eine Liste der vorhandenen Datenklassen.&amp;lt;br&amp;gt;DELETE /api/data-categories/{id} → Löscht eine Datenkategorie anhand der ID im Drittsystem.&lt;br /&gt;
|-&lt;br /&gt;
!Maßnahmen&lt;br /&gt;
|PUT /api/v2/measures → Erstellt neue Maßnahmen bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/measures → Erzeugt eine Liste aller vorhandenen Maßnahmen.&amp;lt;br&amp;gt;PUT /api/measures/close/{id} → Versetzt eine Maßnahme anhand der ID in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;PUT /api/measures/close/byKey/{id} → Versetzt eine Maßnahme anhand der ID im Drittsystem in den Status &amp;quot;Erledigt&amp;quot;.&amp;lt;br&amp;gt;DELETE /api/measures/{id} → Löscht eine Maßnahme anhand der ID.&amp;lt;br&amp;gt;GET /api/measures/{state} → Erzeugt eine Liste aller Maßnahmen in einem bestimmten Status.&lt;br /&gt;
|-&lt;br /&gt;
!Organisationseinheiten&lt;br /&gt;
|PUT /api/org-units → Erstellt eine Organisationseinheit bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/org-units → Erzeugt eine Liste der Organisationseinheiten.&amp;lt;br&amp;gt;DELETE /api/org-units/{id} → Löscht eine Organisationseinheit anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Prozesse&lt;br /&gt;
|PUT /api/processes → Erstellt einen Prozess bzw. aktualisiert diesen.&amp;lt;br&amp;gt;GET /api/processes → Erzeugt eine Liste der Prozesse.&amp;lt;br&amp;gt;DELETE /api/processes/{id} → Löscht einen Prozess anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Ressourcen&lt;br /&gt;
|PUT /api/v2/resources → Erstellt eine Ressource bzw. aktualisiert diese.&amp;lt;br&amp;gt;GET /api/v2/resources → Erstellt eine Liste der Ressourcen.&amp;lt;br&amp;gt;GET /api/v2/resources/{id} → Holt die Information zu einer bestimmten Ressource anhand der ID.&amp;lt;br&amp;gt;DELETE /api/v2/resources/{id} → Löscht eine Ressource anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Risiken&lt;br /&gt;
|PUT /api/risks → Erstellt ein Risiko in einem Managementsystem bzw. aktualisiert dieses.&amp;lt;br&amp;gt;GET /api/v2/risks/ → Erzeugt eine Liste aller vorhandenen Risiken.&amp;lt;br&amp;gt;GET /api/v2/risks/{id} → Holt die Information zu einem bestimmten Risiko anhand der externen ID.&amp;lt;br&amp;gt;DELETE /api/risks/{id} → Löscht ein Risiko anhand der ID.&lt;br /&gt;
|-&lt;br /&gt;
!Lieferanten&lt;br /&gt;
|PUT /api/suppliers → Erstellt oder aktualisiert einen Lieferanten.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Versionierung ==&lt;br /&gt;
Aktuell gibt es 2 Versionen der API &amp;quot;v1&amp;quot; und &amp;quot;v2&amp;quot;. Im Swagger kann zwischen den Versionen hin und her gewechselt werden .&lt;br /&gt;
[[Datei:Swagger version wechseln.png|ohne|mini|Wechseln der Version im Swagger]]&lt;br /&gt;
Zurzeit sind die Endpunkte auf diese 2 Versionen aufgeteilt und man sollte aktuell beide Versionen verwenden. &lt;br /&gt;
&lt;br /&gt;
Endpunkte die in &amp;quot;v1&amp;quot; als veraltet (&amp;quot;&#039;&#039;&#039;Deprecated&amp;quot;&#039;&#039;&#039;) markiert sind sollten nicht mehr verwendet und werden in Zukunft entfernt. Verwenden Sie stattdessen die Endpunkte in &amp;quot;v2&amp;quot; dafür.&lt;br /&gt;
&lt;br /&gt;
=== Changelog ===&lt;br /&gt;
&lt;br /&gt;
==== Änderungen &amp;quot;v1&amp;quot; auf &amp;quot;v2&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
* Maßnahmen (Measures)&lt;br /&gt;
** PUT /api/v2/measures&lt;br /&gt;
*** Einstellungen zur Wirksamkeitspüfung können nicht mehr gesetzt oder verändert werden, da dies auf interne Ids angewiesen ist&lt;br /&gt;
*** Der &amp;quot;Id&amp;quot; Parameter verweist jetzt auf die in HITGuard hinterlegte &amp;quot;ID in Drittsystem&amp;quot; und nicht mehr die interne Id&lt;br /&gt;
** PUT /api/measures/close/{id}&lt;br /&gt;
*** wurde als veraltet markiert da dies eine interne Id verwendet hat =&amp;gt; nur noch  PUT /api/measures/close/byKey verwenden!&lt;br /&gt;
** Generell&lt;br /&gt;
*** Der Parameter &amp;quot;state&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Kanten der Strukturanalyse (AssetEdges)&lt;br /&gt;
** PUT /api/v2/asset-edges&lt;br /&gt;
*** Die Parameter &amp;quot;sourceType&amp;quot; und &amp;quot;targetType&amp;quot; verwenden jetzt Enumerationswerte&lt;br /&gt;
* Ressourcen (Resources)&lt;br /&gt;
** alle Endpunkte wurden in &amp;quot;v1&amp;quot; als veraltet markiert&lt;br /&gt;
*** Der Parameter &amp;quot;modelSegment&amp;quot; verwendet jetzt Enumerationswerte&lt;br /&gt;
* Risiken (Risks)&lt;br /&gt;
** GET /api/v2/risks ersetzt GET /api/risks/{managementSystemId}&lt;br /&gt;
*** Der Pfad-Parameter &amp;quot;managementSystemId&amp;quot; wurde entfernt. Stattdessen können jetzt die optionalen Query-Parameter &amp;quot;managementSystemId&amp;quot; und &amp;quot;includePublicRisks&amp;quot; verwendet werden um Risiken abzufragen und zu filtern.&lt;br /&gt;
** GET /api/v2/risks/{id} ersetzt GET /api/risks/byKey/{id}&lt;br /&gt;
*** Endpunkt wurde angepasst um konsistent zu den anderen Endpunkten zu sein.&lt;br /&gt;
&lt;br /&gt;
Alle anderen Endpunkte werden zurzeit nur über &amp;quot;v1&amp;quot; angeboten. Bevor &amp;quot;v1&amp;quot; wirklich entfernt wird, werden alle Endpunkte in &amp;quot;v2&amp;quot; angeboten.&lt;br /&gt;
&lt;br /&gt;
== ApiKeys == &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Alle&amp;lt;/b&amp;gt; Endpunkte der REST Schnittstelle sind über ApiKeys gesichert!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Damit Requests an die REST Schnittstelle erfolgreich durchgeführt werden können, muss in jedem Request ein gültiger ApiKey im &amp;lt;b&amp;gt;Authorization Header&amp;lt;/b&amp;gt; mitgesendet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
ApiKeys können dabei nur von Administratoren unter ihrem Profil (klicken auf das Profilbild) erstellt werden. Jeder Administrator kann zu jedem Zeitpunkt nur einen gültigen ApiKey haben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey Abschnitt.png|thumb|left|900px| Abschnitt zum Verwalten des ApiKeys]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
ApiKeys können mit einem Ablaufdatum erstellt werden. Wenn der ApiKey abläuft, können mit ihm keine Requests mehr durchgeführt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey generieren.png|thumb|left|900px| ApiKey generieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Der ApiKey wird nur ein einziges Mal angezeigt! Wenn Sie ihn hier nicht kopieren, müssen Sie einen neuen ApiKey erzeugen. Durch Klick auf den Button links neben dem ApiKey, wird der ApiKey in Ihre Zwischenablage kopiert. Stellen Sie sicher, dass sie den ApiKey an einem sicheren Ort ablegen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey kopieren.png|thumb|left|900px| ApiKey kopieren]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
Ein Administrator kann seinen eigenen ApiKey jederzeit widerrufen, wodurch über den ApiKey anschließend keine Requests mehr durchgeführt werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
[[Datei:REST API ApiKey widerrufen.png|thumb|left|900px| ApiKey Widerrufen]]&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Um ApiKeys zu verwalten empfiehlt es sich, pro Applikation, die die REST Schnittstelle ansteuert, einen Administrator anzulegen, um einen ApiKey pro Applikation zu bekommen. Dadurch kann einer Applikation jederzeit der Zugriff enthoben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Datei:Swagger_version_wechseln.png&amp;diff=36342</id>
		<title>Datei:Swagger version wechseln.png</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Datei:Swagger_version_wechseln.png&amp;diff=36342"/>
		<updated>2025-10-28T12:39:42Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;a&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten/en&amp;diff=34726</id>
		<title>Login Möglichkeiten/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten/en&amp;diff=34726"/>
		<updated>2025-05-27T09:43:02Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;HITGuard supports the Authentication Provider Active Directory (AD), Azure Active Directory (AAD), Active Directory Federation Services (ADFS) and OpenIdProvider.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Active_Directory&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Active Driectory ==&lt;br /&gt;
&lt;br /&gt;
The Active Directory is the only Authentication Provider that can be set at runtime of HITGuard. It can be configured by administrators and experts in the Global Settings.&lt;br /&gt;
&lt;br /&gt;
More about Active Directory configuration can be found at [[Special:MyLanguage/Globale_Einstellungen#ldap| &amp;quot;Administration → Global Settings → LDAP&amp;quot;]].&lt;br /&gt;
&lt;br /&gt;
== Azure Active Directory  ==&lt;br /&gt;
&lt;br /&gt;
To configure the Authentication Provider AAD or ADFS, the &amp;quot;appsettings.production.json&amp;quot; file of HITGuard must be modified. This file is located in the root directory of the installation folder.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;AzureAd&#039;&#039; section, the following entries need to be customized to your Azure app:&lt;br /&gt;
*&amp;quot;Activated&amp;quot;: true,&lt;br /&gt;
*&amp;quot;Instance&amp;quot;: &amp;quot;https://login.microsoftonline.com/&amp;quot;,&lt;br /&gt;
*&amp;quot;HITGuardBaseUrl&amp;quot;: &amp;quot;https address where your HITGuard instance is accessible&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientId&amp;quot;: &amp;quot;your-clientId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;TenantId&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientSecret&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) ===&lt;br /&gt;
&lt;br /&gt;
If the AAD is now set up as the Authentication Provider for HITGuard, users can log in to HITGuard via Single Sign On (see figure below).&lt;br /&gt;
&lt;br /&gt;
The prerequisite is that a user exists in HITGuard whose e-mail address matches the e-mail address used to log in to AAD. This is because: When logging in via AAD for the first time, this is used to connect the AAD user with the HITGuard user. Subsequently, the e-mail address of the HITGuard user can be changed if necessary.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Login mit Azure Active Directory.PNG|left|thumb|800px|Login configured with Azure Active Directory]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Active Directory Federation Services ==&lt;br /&gt;
&lt;br /&gt;
To configure an ADFS you have to proceed similar to the Azure Active Directory and add in the &amp;quot;appsettings.production.json&amp;quot; file the entries&lt;br /&gt;
*&amp;quot;MetadataAddress&amp;quot;: &amp;quot;https://adfs.yourcompany.com/FederationMetadata/2007-06/FederationMetadata.xml&amp;quot;,&lt;br /&gt;
*&amp;quot;Wtrealm&amp;quot;: &amp;quot;https://www.hitguard.com/&amp;quot;&lt;br /&gt;
configure.&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) ===&lt;br /&gt;
&lt;br /&gt;
Siehe Azure Active Directory (AAD) SSO.&lt;br /&gt;
&lt;br /&gt;
== OpenID Connect Provider ==&lt;br /&gt;
&lt;br /&gt;
To set up an OpenID Connect provider, changes must be made in the &amp;quot;appsettings.production.json&amp;quot; file. OpenID Connect offers many flexible settings that can be customised depending on the provider.&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuration ===&lt;br /&gt;
# Add the configuration in the &amp;quot;appsettings.production.json&amp;quot; file.&lt;br /&gt;
# Make sure to use the correct &amp;quot;ClientId&amp;quot;, &amp;quot;ClientSecret&amp;quot; and &amp;quot;Authority&amp;quot; for each provider. This information is different for each OpenID Connect provider and must be configured according to the respective providers. In addition, a corresponding unique &amp;quot;CallbackPath&amp;quot; must be defined for each provider, as well as a &amp;quot;Name&amp;quot; that is used for the login button.&lt;br /&gt;
# Set the setting &amp;quot;OpenIdConnect.Enabled&amp;quot; to &amp;quot;true&amp;quot; so that the providers can actually be used.&lt;br /&gt;
# &#039;&#039;&#039;Important&#039;&#039;&#039; Restart the application after changing the configuration by doing this via the IIS Manager (ideally with &amp;quot;stop&amp;quot; and &amp;quot;start&amp;quot;, as &amp;quot;restart&amp;quot; sometimes does not restart the application completely).&lt;br /&gt;
&lt;br /&gt;
If you have any further questions about configuring an OpenID Connect provider, please contact &amp;quot;office@togethersecure.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Beispiel-Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Example configuration ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how you can configure Google and Microsoft (without Active Directory) as OpenID Connect providers. &lt;br /&gt;
&lt;br /&gt;
The Microsoft integration also shows how to use a custom claim so that existing users can log in directly with their Microsoft account without linking the account to their profile (see [[Special:MyLanguage/Profil|Profile]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username)&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByEmail&amp;quot;: false, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s email when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a matching email)&lt;br /&gt;
&amp;quot;OpenIdConnect&amp;quot;: {&lt;br /&gt;
    // If you need to authorize redirect URIs at the Provider, authorize &#039;{HITGuard-domain}/Account/ExternalLoginCallback&#039;&lt;br /&gt;
    &amp;quot;Enabled&amp;quot;: true,&lt;br /&gt;
    &amp;quot;Providers&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Google&amp;quot;, // This name will be displayed to the Users and needs to be unique. Entering &#039;Google&#039; would for example display as Login with Google&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://accounts.google.com&amp;quot;, // needs to point to the domain where the provider hosts the &#039;/.well-known/openid-configuration&#039;, for google this would be e.g. &#039;https://accounts.google.com&#039;&amp;quot;&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Google-Client-Id]&amp;quot;, // ClientId for your Application with the Provider&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Google-Client-Secret]&amp;quot;, // ClientSecret for your Application with the Provider&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-google&amp;quot;, // CallbackPath registered with the Provider, must be unique from other providers. Choose any valid path e.g.: &#039;/signin-oidc-google&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Microsoft&amp;quot;,&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://login.microsoftonline.com/[Microsoft-Tenatn-Id]/v2.0&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Microsoft-Client-Id]&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Microsoft-Client-Secret]&amp;quot;,&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-microsoft&amp;quot;,       &lt;br /&gt;
        &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true, // If set to true additional claims will be retrieved from the UserInfo endpoint, by default this is false so it will only look at claims in the ID_token, set this to true, if you configure a different &amp;quot;HitGuardUserNameClaim&amp;quot; and do not include it in the ID_token&lt;br /&gt;
        &amp;quot;HitGuardUserNameClaim&amp;quot;: &amp;quot;hitguard_username&amp;quot;, // If AllowOpenIdConnectUserMappingByUsername (toplevel) is set, this property can be used to customize which claim will have the hitgurad username that should be matched. The default of this is the &amp;quot;preferred_username&amp;quot; claim which should be present in the &amp;quot;profile&amp;quot; scope. If this is set to a different value, the Identity Provider needs to be configured to actually include the configured claim in the ID_token (or UserInfo endpoint, which requires &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true) returned to HITGuard.&lt;br /&gt;
     }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
* The `ClientId` and `ClientSecret` must be created individually for each OpenID Connect provider account. You can obtain these directly from Google or Microsoft when you register an application in the respective developer portal.&lt;br /&gt;
* Make sure that the callback URL is configured correctly. This URL is used during the authentication process to receive the response from the provider.&lt;br /&gt;
* If you want to use a custom claim to map to username, you must ensure that the OpenID Connect provider returns this claim via the ID token or the UserInfo endpoint and configure it accordingly in &amp;quot;appsetting.production.json&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/25/en&amp;diff=34725</id>
		<title>Translations:Login Möglichkeiten/25/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/25/en&amp;diff=34725"/>
		<updated>2025-05-27T09:42:55Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username)&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByEmail&amp;quot;: false, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s email when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a matching email)&lt;br /&gt;
&amp;quot;OpenIdConnect&amp;quot;: {&lt;br /&gt;
    // If you need to authorize redirect URIs at the Provider, authorize &#039;{HITGuard-domain}/Account/ExternalLoginCallback&#039;&lt;br /&gt;
    &amp;quot;Enabled&amp;quot;: true,&lt;br /&gt;
    &amp;quot;Providers&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Google&amp;quot;, // This name will be displayed to the Users and needs to be unique. Entering &#039;Google&#039; would for example display as Login with Google&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://accounts.google.com&amp;quot;, // needs to point to the domain where the provider hosts the &#039;/.well-known/openid-configuration&#039;, for google this would be e.g. &#039;https://accounts.google.com&#039;&amp;quot;&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Google-Client-Id]&amp;quot;, // ClientId for your Application with the Provider&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Google-Client-Secret]&amp;quot;, // ClientSecret for your Application with the Provider&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-google&amp;quot;, // CallbackPath registered with the Provider, must be unique from other providers. Choose any valid path e.g.: &#039;/signin-oidc-google&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Microsoft&amp;quot;,&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://login.microsoftonline.com/[Microsoft-Tenatn-Id]/v2.0&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Microsoft-Client-Id]&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Microsoft-Client-Secret]&amp;quot;,&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-microsoft&amp;quot;,       &lt;br /&gt;
        &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true, // If set to true additional claims will be retrieved from the UserInfo endpoint, by default this is false so it will only look at claims in the ID_token, set this to true, if you configure a different &amp;quot;HitGuardUserNameClaim&amp;quot; and do not include it in the ID_token&lt;br /&gt;
        &amp;quot;HitGuardUserNameClaim&amp;quot;: &amp;quot;hitguard_username&amp;quot;, // If AllowOpenIdConnectUserMappingByUsername (toplevel) is set, this property can be used to customize which claim will have the hitgurad username that should be matched. The default of this is the &amp;quot;preferred_username&amp;quot; claim which should be present in the &amp;quot;profile&amp;quot; scope. If this is set to a different value, the Identity Provider needs to be configured to actually include the configured claim in the ID_token (or UserInfo endpoint, which requires &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true) returned to HITGuard.&lt;br /&gt;
     }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten&amp;diff=34723</id>
		<title>Login Möglichkeiten</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten&amp;diff=34723"/>
		<updated>2025-05-27T09:42:06Z</updated>

		<summary type="html">&lt;p&gt;Faha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
HITGuard unterstützt die Authentication Provider Active Directory (AD), Azure Active Directory (AAD), Active Directory Federation Services (ADFS) und OpenIdProvider.&lt;br /&gt;
&lt;br /&gt;
== Active Directory == &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
Das Active Directory ist der einzige Authentication Provider, der zur Laufzeit von HITGuard eingestellt werden kann. Es kann von Administratoren und Experten in den Globalen Einstellungen konfiguriert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Mehr über die Active Directory Konfiguration ist unter [[Special:MyLanguage/Globale_Einstellungen#ldap| &amp;quot;Administration → Globale Einstellungen → LDAP&amp;quot;]] zu finden.&lt;br /&gt;
&lt;br /&gt;
== Azure Active Directory  == &amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
Um die Authentication Provider AAD oder ADFS zu konfigurieren, muss die Datei &amp;quot;appsettings.production.json&amp;quot; von HITGuard geändert werden. Diese Datei befindet sich im Wurzelverzeichnis des Installationsordners.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
In der Sektion &#039;&#039;AzureAd&#039;&#039; müssen folgende Einträge an Ihre Azure-App angepasst werden:&lt;br /&gt;
*&amp;quot;Activated&amp;quot;: true,&lt;br /&gt;
*&amp;quot;Instance&amp;quot;: &amp;quot;https://login.microsoftonline.com/&amp;quot;,&lt;br /&gt;
*&amp;quot;HITGuardBaseUrl&amp;quot;: &amp;quot;https-Adresse unter der Ihre HITGuard-Instanz erreichbar ist&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientId&amp;quot;: &amp;quot;your-clientId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;TenantId&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientSecret&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) === &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
Ist das AAD nun als Authentication Provider für HITGuard eingerichtet, können sich Benutzer per Single Sign On bei HITGuard anmelden (siehe Abbildung unten).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
Voraussetzung ist, dass ein Benutzer in HITGuard existiert, dessen E-Mail-Adresse mit der E-Mail-Adresse, die zur Anmeldung im AAD verwendet wird, übereinstimmt. Denn: Bei der ersten Anmeldung via AAD wird diese verwendet um den AAD-Benutzer mit dem HITGuard-Benutzer zu verbinden. Anschließend kann die E-Mail-Adresse des HITGuard-Benutzers bei Bedarf geändert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
[[Datei:Login mit Azure Active Directory.PNG|left|thumb|800px|Login mit Azure Active Directory konfiguriert]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Active Directory Federation Services == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Um ein ADFS zu konfigurieren müssen sie ähnlich wie beim Azure Active Directory vorgehen und im &amp;quot;appsettings.production.json&amp;quot; File die Einträge&lt;br /&gt;
*&amp;quot;MetadataAddress&amp;quot;: &amp;quot;https://adfs.yourcompany.com/FederationMetadata/2007-06/FederationMetadata.xml&amp;quot;,&lt;br /&gt;
*&amp;quot;Wtrealm&amp;quot;: &amp;quot;https://www.hitguard.com/&amp;quot;&lt;br /&gt;
konfigurieren.&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) === &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Siehe Azure Active Directory (AAD) SSO.&lt;br /&gt;
&lt;br /&gt;
== OpenID Connect Provider == &amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
Um einen OpenID Connect Provider einzurichten, müssen in der Datei &amp;quot;appsettings.production.json&amp;quot; Änderungen vorgenommen werden. OpenID Connect bietet viele flexible Einstellungen, die je nach Provider angepasst werden können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
=== Schritte zur Konfiguration ===&lt;br /&gt;
# Fügen Sie die Konfiguration in der Datei &amp;quot;appsettings.production.json&amp;quot; hinzu.&lt;br /&gt;
# Achten Sie darauf, die korrekte &amp;quot;ClientId&amp;quot;, &amp;quot;ClientSecret&amp;quot; und &amp;quot;Authority&amp;quot; für jeden Provider zu verwenden. Diese Informationen sind bei jedem OpenID Connect-Provider unterschiedlich und müssen entsprechend den jeweiligen Anbietern konfiguriert werden. Außerdem muss für jeden Provider ein entsprechender einzigartiger &amp;quot;CallbackPath&amp;quot; definiert werden, sowie ein &amp;quot;Name&amp;quot; der für den Login Button verwendet wird.&lt;br /&gt;
# Setzen Sie die Einstellung `&amp;quot;OpenIdConnect.Enabled&amp;quot;` auf `true`, damit die Provider auch wirklich verwendet werden können.&lt;br /&gt;
# &#039;&#039;&#039;Wichtig&#039;&#039;&#039; Starten Sie die Anwendung nach der Änderung der Konfiguration neu, indem Sie dies über den IIS Manager tun (idealerweise mit &amp;quot;stop&amp;quot; und &amp;quot;start&amp;quot;, da &amp;quot;restart&amp;quot; manchmal die Anwendung nicht vollständig neu startet).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
Bei weiteren Fragen zur Konfiguration eines OpenID Connect Providers melden Sie sich unter &amp;quot;office@togethersecure.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Beispiel-Konfiguration === &amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
Im folgenden Beispiel sehen Sie, wie Sie Google und Microsoft (ohne Active Directory) als OpenID Connect Provider konfigurieren können. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Die Microsoft-Integration zeigt außerdem, wie ein &amp;quot;custom claim&amp;quot; verwendet wird, damit sich bestehende Benutzer direkt mit ihrem Microsoft-Konto anmelden können, ohne das Konto mit ihrem Profil zu verknüpfen (siehe [[Special:MyLanguage/Profil|Profil]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username)&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByEmail&amp;quot;: false, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s email when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a matching email)&lt;br /&gt;
&amp;quot;OpenIdConnect&amp;quot;: {&lt;br /&gt;
    // If you need to authorize redirect URIs at the Provider, authorize &#039;{HITGuard-domain}/Account/ExternalLoginCallback&#039;&lt;br /&gt;
    &amp;quot;Enabled&amp;quot;: true,&lt;br /&gt;
    &amp;quot;Providers&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Google&amp;quot;, // This name will be displayed to the Users and needs to be unique. Entering &#039;Google&#039; would for example display as Login with Google&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://accounts.google.com&amp;quot;, // needs to point to the domain where the provider hosts the &#039;/.well-known/openid-configuration&#039;, for google this would be e.g. &#039;https://accounts.google.com&#039;&amp;quot;&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Google-Client-Id]&amp;quot;, // ClientId for your Application with the Provider&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Google-Client-Secret]&amp;quot;, // ClientSecret for your Application with the Provider&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-google&amp;quot;, // CallbackPath registered with the Provider, must be unique from other providers. Choose any valid path e.g.: &#039;/signin-oidc-google&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Microsoft&amp;quot;,&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://login.microsoftonline.com/[Microsoft-Tenatn-Id]/v2.0&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Microsoft-Client-Id]&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Microsoft-Client-Secret]&amp;quot;,&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-microsoft&amp;quot;,       &lt;br /&gt;
        &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true, // If set to true additional claims will be retrieved from the UserInfo endpoint, by default this is false so it will only look at claims in the ID_token, set this to true, if you configure a different &amp;quot;HitGuardUserNameClaim&amp;quot; and do not include it in the ID_token&lt;br /&gt;
        &amp;quot;HitGuardUserNameClaim&amp;quot;: &amp;quot;hitguard_username&amp;quot;, // If AllowOpenIdConnectUserMappingByUsername (toplevel) is set, this property can be used to customize which claim will have the hitgurad username that should be matched. The default of this is the &amp;quot;preferred_username&amp;quot; claim which should be present in the &amp;quot;profile&amp;quot; scope. If this is set to a different value, the Identity Provider needs to be configured to actually include the configured claim in the ID_token (or UserInfo endpoint, which requires &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true) returned to HITGuard.&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
=== Hinweise ===&lt;br /&gt;
* Die `ClientId` und `ClientSecret` müssen für jedes OpenID Connect-Provider-Konto individuell erstellt werden. Diese erhalten Sie direkt von Google oder Microsoft, wenn Sie eine Anwendung im jeweiligen Developer-Portal registrieren.&lt;br /&gt;
* Achten Sie darauf, dass die Callback-URL korrekt konfiguriert ist. Diese URL wird beim Authentifizierungsprozess verwendet, um die Antwort vom Provider zu empfangen.&lt;br /&gt;
* Wenn Sie einen benutzerdefinierten Claim zum Mappen auf Benutzername verwenden wollen, müssen Sie sicherstellen, dass der OpenID Connect Provider diesen Claim über den ID-Token oder den UserInfo-Endpunkt zurückgibt und im &amp;quot;appsetting.production.json&amp;quot; entsprechend konfigurieren.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten/en&amp;diff=34531</id>
		<title>Login Möglichkeiten/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Login_M%C3%B6glichkeiten/en&amp;diff=34531"/>
		<updated>2025-04-11T11:04:33Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „=== Example configuration ===“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;HITGuard supports the Authentication Provider Active Directory (AD), Azure Active Directory (AAD), Active Directory Federation Services (ADFS) and OpenIdProvider.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Active_Directory&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Active Driectory ==&lt;br /&gt;
&lt;br /&gt;
The Active Directory is the only Authentication Provider that can be set at runtime of HITGuard. It can be configured by administrators and experts in the Global Settings.&lt;br /&gt;
&lt;br /&gt;
More about Active Directory configuration can be found at [[Special:MyLanguage/Globale_Einstellungen#ldap| &amp;quot;Administration → Global Settings → LDAP&amp;quot;]].&lt;br /&gt;
&lt;br /&gt;
== Azure Active Directory  ==&lt;br /&gt;
&lt;br /&gt;
To configure the Authentication Provider AAD or ADFS, the &amp;quot;appsettings.production.json&amp;quot; file of HITGuard must be modified. This file is located in the root directory of the installation folder.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;AzureAd&#039;&#039; section, the following entries need to be customized to your Azure app:&lt;br /&gt;
*&amp;quot;Activated&amp;quot;: true,&lt;br /&gt;
*&amp;quot;Instance&amp;quot;: &amp;quot;https://login.microsoftonline.com/&amp;quot;,&lt;br /&gt;
*&amp;quot;HITGuardBaseUrl&amp;quot;: &amp;quot;https address where your HITGuard instance is accessible&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientId&amp;quot;: &amp;quot;your-clientId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;TenantId&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
*&amp;quot;ClientSecret&amp;quot;: &amp;quot;your-tententId-guid&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) ===&lt;br /&gt;
&lt;br /&gt;
If the AAD is now set up as the Authentication Provider for HITGuard, users can log in to HITGuard via Single Sign On (see figure below).&lt;br /&gt;
&lt;br /&gt;
The prerequisite is that a user exists in HITGuard whose e-mail address matches the e-mail address used to log in to AAD. This is because: When logging in via AAD for the first time, this is used to connect the AAD user with the HITGuard user. Subsequently, the e-mail address of the HITGuard user can be changed if necessary.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Login mit Azure Active Directory.PNG|left|thumb|800px|Login configured with Azure Active Directory]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Active Directory Federation Services ==&lt;br /&gt;
&lt;br /&gt;
To configure an ADFS you have to proceed similar to the Azure Active Directory and add in the &amp;quot;appsettings.production.json&amp;quot; file the entries&lt;br /&gt;
*&amp;quot;MetadataAddress&amp;quot;: &amp;quot;https://adfs.yourcompany.com/FederationMetadata/2007-06/FederationMetadata.xml&amp;quot;,&lt;br /&gt;
*&amp;quot;Wtrealm&amp;quot;: &amp;quot;https://www.hitguard.com/&amp;quot;&lt;br /&gt;
configure.&lt;br /&gt;
&lt;br /&gt;
=== Single Sign On (SSO) ===&lt;br /&gt;
&lt;br /&gt;
Siehe Azure Active Directory (AAD) SSO.&lt;br /&gt;
&lt;br /&gt;
== OpenID Connect Provider ==&lt;br /&gt;
&lt;br /&gt;
To set up an OpenID Connect provider, changes must be made in the &amp;quot;appsettings.production.json&amp;quot; file. OpenID Connect offers many flexible settings that can be customised depending on the provider.&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuration ===&lt;br /&gt;
# Add the configuration in the &amp;quot;appsettings.production.json&amp;quot; file.&lt;br /&gt;
# Make sure to use the correct &amp;quot;ClientId&amp;quot;, &amp;quot;ClientSecret&amp;quot; and &amp;quot;Authority&amp;quot; for each provider. This information is different for each OpenID Connect provider and must be configured according to the respective providers. In addition, a corresponding unique &amp;quot;CallbackPath&amp;quot; must be defined for each provider, as well as a &amp;quot;Name&amp;quot; that is used for the login button.&lt;br /&gt;
# Set the setting &amp;quot;OpenIdConnect.Enabled&amp;quot; to &amp;quot;true&amp;quot; so that the providers can actually be used.&lt;br /&gt;
# &#039;&#039;&#039;Important&#039;&#039;&#039; Restart the application after changing the configuration by doing this via the IIS Manager (ideally with &amp;quot;stop&amp;quot; and &amp;quot;start&amp;quot;, as &amp;quot;restart&amp;quot; sometimes does not restart the application completely).&lt;br /&gt;
&lt;br /&gt;
If you have any further questions about configuring an OpenID Connect provider, please contact &amp;quot;office@togethersecure.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Beispiel-Konfiguration&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Example configuration ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how you can configure Google and Microsoft (without Active Directory) as OpenID Connect providers. &lt;br /&gt;
&lt;br /&gt;
The Microsoft integration also shows how to use a custom claim so that existing users can log in directly with their Microsoft account without linking the account to their profile (see [[Special:MyLanguage/Profil|Profile]]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username)&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByEmail&amp;quot;: false, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s email when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a matching email)&lt;br /&gt;
&amp;quot;OpenIdConnect&amp;quot;: {&lt;br /&gt;
    // If you need to authorize redirect URIs at the Provider, authorize &#039;{HITGuard-domain}/Account/ExternalLoginCallback&#039;&lt;br /&gt;
    &amp;quot;Enabled&amp;quot;: true,&lt;br /&gt;
    &amp;quot;Providers&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Google&amp;quot;, // This name will be displayed to the Users and needs to be unique. Entering &#039;Google&#039; would for example display as Login with Google&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://accounts.google.com&amp;quot;, // needs to point to the domain where the provider hosts the &#039;/.well-known/openid-configuration&#039;, for google this would be e.g. &#039;https://accounts.google.com&#039;&amp;quot;&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Google-Client-Id]&amp;quot;, // ClientId for your Application with the Provider&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Google-Client-Secret]&amp;quot;, // ClientSecret for your Application with the Provider&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-google&amp;quot;, // CallbackPath registered with the Provider, must be unique from other providers. Choose any valid path e.g.: &#039;/signin-oidc-google&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Microsoft&amp;quot;,&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://login.microsoftonline.com/[Microsoft-Tenatn-Id]/v2.0&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Microsoft-Client-Id]&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Microsoft-Client-Secret]&amp;quot;,&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-microsoft&amp;quot;,       &lt;br /&gt;
        &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true, // If set to true additional claims will be retrieved from the UserInfo endpoint, by default this is false so it will only look at claims in the ID_token, set this to true, if you configure a different &amp;quot;HitGuardUserNameClaim&amp;quot; and do not include it in the ID_token&lt;br /&gt;
        &amp;quot;HitGuardUserNameClaim&amp;quot;: &amp;quot;hitguard_username&amp;quot;, // If AllowOpenIdConnectUserMappingByUsername (toplevel) is set, this property can be used to customize which claim will have the hitgurad username that should be matched. The default of this is the &amp;quot;preferred_username&amp;quot; claim which should be present in the &amp;quot;profile&amp;quot; scope. If this is set to a different value, the Identity Provider needs to be configured to actually include the configured claim in the ID_token (or UserInfo endpoint, which requires &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true) returned to HITGuard.&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
* The `ClientId` and `ClientSecret` must be created individually for each OpenID Connect provider account. You can obtain these directly from Google or Microsoft when you register an application in the respective developer portal.&lt;br /&gt;
* Make sure that the callback URL is configured correctly. This URL is used during the authentication process to receive the response from the provider.&lt;br /&gt;
* If you want to use a custom claim to map to username, you must ensure that the OpenID Connect provider returns this claim via the ID token or the UserInfo endpoint and configure it accordingly in &amp;quot;appsetting.production.json&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/26/en&amp;diff=34530</id>
		<title>Translations:Login Möglichkeiten/26/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/26/en&amp;diff=34530"/>
		<updated>2025-04-11T11:04:27Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „=== Notes === * The `ClientId` and `ClientSecret` must be created individually for each OpenID Connect provider account. You can obtain these directly from Google or Microsoft when you register an application in the respective developer portal. * Make sure that the callback URL is configured correctly. This URL is used during the authentication process to receive the response from the provider. * If you want to use a custom claim to map to username, you m…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notes ===&lt;br /&gt;
* The `ClientId` and `ClientSecret` must be created individually for each OpenID Connect provider account. You can obtain these directly from Google or Microsoft when you register an application in the respective developer portal.&lt;br /&gt;
* Make sure that the callback URL is configured correctly. This URL is used during the authentication process to receive the response from the provider.&lt;br /&gt;
* If you want to use a custom claim to map to username, you must ensure that the OpenID Connect provider returns this claim via the ID token or the UserInfo endpoint and configure it accordingly in &amp;quot;appsetting.production.json&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/25/en&amp;diff=34529</id>
		<title>Translations:Login Möglichkeiten/25/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/25/en&amp;diff=34529"/>
		<updated>2025-04-11T11:03:58Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt; { &amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&amp;#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username) &amp;quot;AllowOpenIdConnect…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByUsername&amp;quot;: true, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s username when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a username, see &amp;quot;HitGuardUserNameClaim&amp;quot; to configure which claim provides the username)&lt;br /&gt;
&amp;quot;AllowOpenIdConnectUserMappingByEmail&amp;quot;: false, // Allow mapping of OpenIdConnect (or Microsoft Entra ID) user with HITGuard user by OpenIdConnect username with HITGuard user&#039;s email when first logging in with OpenIdConnect if activated. (i.e. the OpenIdConnect account gets associated with a hitguard user that has a matching email)&lt;br /&gt;
&amp;quot;OpenIdConnect&amp;quot;: {&lt;br /&gt;
    // If you need to authorize redirect URIs at the Provider, authorize &#039;{HITGuard-domain}/Account/ExternalLoginCallback&#039;&lt;br /&gt;
    &amp;quot;Enabled&amp;quot;: true,&lt;br /&gt;
    &amp;quot;Providers&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Google&amp;quot;, // This name will be displayed to the Users and needs to be unique. Entering &#039;Google&#039; would for example display as Login with Google&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://accounts.google.com&amp;quot;, // needs to point to the domain where the provider hosts the &#039;/.well-known/openid-configuration&#039;, for google this would be e.g. &#039;https://accounts.google.com&#039;&amp;quot;&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Google-Client-Id]&amp;quot;, // ClientId for your Application with the Provider&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Google-Client-Secret]&amp;quot;, // ClientSecret for your Application with the Provider&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-google&amp;quot;, // CallbackPath registered with the Provider, must be unique from other providers. Choose any valid path e.g.: &#039;/signin-oidc-google&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;Name&amp;quot;: &amp;quot;Microsoft&amp;quot;,&lt;br /&gt;
        &amp;quot;Authority&amp;quot;: &amp;quot;https://login.microsoftonline.com/[Microsoft-Tenatn-Id]/v2.0&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientId&amp;quot;: &amp;quot;[Microsoft-Client-Id]&amp;quot;,&lt;br /&gt;
        &amp;quot;ClientSecret&amp;quot;: &amp;quot;[Microsoft-Client-Secret]&amp;quot;,&lt;br /&gt;
        &amp;quot;CallbackPath&amp;quot;: &amp;quot;/signin-oidc-microsoft&amp;quot;,       &lt;br /&gt;
        &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true, // If set to true additional claims will be retrieved from the UserInfo endpoint, by default this is false so it will only look at claims in the ID_token, set this to true, if you configure a different &amp;quot;HitGuardUserNameClaim&amp;quot; and do not include it in the ID_token&lt;br /&gt;
        &amp;quot;HitGuardUserNameClaim&amp;quot;: &amp;quot;hitguard_username&amp;quot;, // If AllowOpenIdConnectUserMappingByUsername (toplevel) is set, this property can be used to customize which claim will have the hitgurad username that should be matched. The default of this is the &amp;quot;preferred_username&amp;quot; claim which should be present in the &amp;quot;profile&amp;quot; scope. If this is set to a different value, the Identity Provider needs to be configured to actually include the configured claim in the ID_token (or UserInfo endpoint, which requires &amp;quot;GetClaimsFromUserInfoEndpoint&amp;quot;: true) returned to HITGuard.&lt;br /&gt;
      }&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/24/en&amp;diff=34528</id>
		<title>Translations:Login Möglichkeiten/24/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/24/en&amp;diff=34528"/>
		<updated>2025-04-11T11:03:51Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „The Microsoft integration also shows how to use a custom claim so that existing users can log in directly with their Microsoft account without linking the account to their profile (see Profile).“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Microsoft integration also shows how to use a custom claim so that existing users can log in directly with their Microsoft account without linking the account to their profile (see [[Special:MyLanguage/Profil|Profile]]).&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
	<entry>
		<id>https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/23/en&amp;diff=34527</id>
		<title>Translations:Login Möglichkeiten/23/en</title>
		<link rel="alternate" type="text/html" href="https://userguide.hitguard.de/index.php?title=Translations:Login_M%C3%B6glichkeiten/23/en&amp;diff=34527"/>
		<updated>2025-04-11T11:03:33Z</updated>

		<summary type="html">&lt;p&gt;Faha: Die Seite wurde neu angelegt: „The following example shows how you can configure Google and Microsoft (without Active Directory) as OpenID Connect providers.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following example shows how you can configure Google and Microsoft (without Active Directory) as OpenID Connect providers.&lt;/div&gt;</summary>
		<author><name>Faha</name></author>
	</entry>
</feed>