# Managing CMDB Items

ASM Core allows you to create and link the following CMDB Items:

* Service
* Service Action
* Service Bundle
* Configuration Item
* Software Product
* Inventory
* Structure
* Package

Once linked, you can anticipate the impact of outages and plan upgrades and perform many other actions.

As well as the standard buttons, the following buttons are also available on most CMDB Item Details windows.

<table data-header-hidden><thead><tr><th width="84"></th><th></th></tr></thead><tbody><tr><td><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2F316ygtEVZDPoAGMK8QK2%2Fimage.png?alt=media&#x26;token=d8b39490-927c-404f-9bd4-c37238101a46" alt="" data-size="original"></td><td>place a freeze on the CMDB item.</td></tr><tr><td><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FBPqzYPC6AO4AGCA3feSC%2Fimage.png?alt=media&#x26;token=70703a65-d514-4c7f-b23c-3880cb30e63f" alt="" data-size="original"></td><td>remove a freeze on the CMDB item.</td></tr><tr><td><p><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FH63UlID2aisSBq4wOEpX%2Fimage.png?alt=media&#x26;token=e01fa63c-cce0-46ee-9cda-b96a96807bc1" alt="" data-size="original"></p><p></p><p><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2F2AI9iHHZKJgileJQcmb9%2Fimage.png?alt=media&#x26;token=50d37bcb-f311-43eb-b1ab-6f01c1b31663" alt="" data-size="original"></p></td><td>clone the selected CMDB item.</td></tr></tbody></table>

## Adding a CMDB Item <a href="#adding" id="adding"></a>

{% hint style="info" %}

### Before you start

You must have **CMDB Item New** selected in the CMDB Items tab of your **Configuration Management Security Role**.  You can add CMDB items through Integration.  See the [Integration topics](https://docs.alemba.com/asm-hermes/integrate/managing-integration/connectors-to-asm-core/cmdb-connectors) for more information.

To display an item type in the **New** submenu, **Display New Item in Wrapper** must be selected in the CMDB Item Type Details window for the CMDB Type.
{% endhint %}

1. In the **\<Entity> Details** window, complete the details.
2. Using the linking panel at the bottom of the window, link the item to other CMDB items and stakeholders as appropriate.
3. Use the options in the Explorer pane to carry out any further tasks.
4. The **Cost Center** and **Jurisdiction** details windows do not have an Explorer panel.
5. Select **Ok** to save the details, or **Save New** to save the details and display a blank details window, ready for you to create another CMDB item.

## Creating a CMDB Item using **CMDB Item** <a href="#creating_a_cmdb_item_using_cmdb_item..." id="creating_a_cmdb_item_using_cmdb_item..."></a>

There are various ways to create a new CMDB item. Using this option allows you to select the CMDB Item Type and create an item using a template.

1. Select **New** > **CMDB Item...**
2. In the **New CMDB Item** window, select  to display a multi-tiered list of **CMDB item types**, which have been defined by your system administrator.
3. Select the type of item you wish to create. If sub-types exist for the item you select, these are listed in the next tier. Select the sub-type you wish to add. For example, if you select **Configuration Item**, the next tier lists **Software Product**, **Inventory**, and **Structure**, and **Package** lives within **Structure**. There may be further CMDB Types defined by your administrator.
4. Repeat until you locate the CMDB Type you wish to add, then double click on this item to display it is the CMDB Item Type box.
5. Select **Create**.

## Creating a CMDB Item from a Template <a href="#creating_a_cmdb_item_from_a_template" id="creating_a_cmdb_item_from_a_template"></a>

A template enables you to create a new record with already populated fields. For example, you can create a Service Action template for “Create new account” and populate fields such as the CMDB type, criticality level and catalog properties. Every time you add a Service Action of this type as a new CMDB record, you can reuse this template and simply specify the details that differ (for example, the name of the User).

1. Select **New** > **CMDB Item...**
2. In the **New CMDB Item** window, select  to display a multi-tiered list of **CMDB item types**, which have been defined by your system administrator.
3. Select the type of item you wish to create. If sub-types exist for the item you select, these are listed in the next tier. Select the sub-type you wish to add. For example, if you select **Configuration Item**, the next tier lists **Software Product**, **Inventory**, and **Structure**, in addition to the CMDB Types defined by your administrator.
4. Repeat until you locate the CMDB Type you wish to add, then double click on this item to display it is the CMDB Item Type box.
5. All of the available templates are displayed.
6. Select the template you want to use, and then select **Create from Template**.
7. The **\<Entity> Details** window appears, with some of the information completed, based on the template. Complete the rest of the details. You can overwrite those details entered by the template if you wish.

## Auditing CMDB Item Details <a href="#searchin" id="searchin"></a>

There are a few different levels of Audit available for your CMDB items. &#x20;

* System Level Audits - [Enable System Level Audit](https://docs.alemba.com/asm-hermes/setup-and-configure-asm/configuring-your-system/system-administration-settings/cmdb-configuration-management-database/cmdb-settings#audit-trail)
  * You must enable Audit on the entities you want to have basic auditing logged against.
* Field level Audits - [Enable Field-Level Audit](https://docs.alemba.com/asm-hermes/setup-and-configure-asm/configuring-your-system/configuring-screens/building-screens-in-asm-designer/configuring-fields#field-options-section)
  * Field Audit goes beyond the standard audit captures, to include specific fields you can select.

{% hint style="warning" %}
**Before You Start**

You must enable CMDB Item Auditing in CMDB Item Type Details. &#x20;

1. To enable it, access System Administration>CMDB>CMDB Item Type
2. Open the Item Type you want to Audit (child types will inherit permissions from the parent type)
3. Tick the "Turn Audit On" check box

<img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2F25acVe9SxdADBM8ybSon%2FScreenshot%202025-03-03%20at%2007.51.27.jpg?alt=media&#x26;token=daee8adf-37db-4047-9a51-d2814af5f342" alt="" data-size="original">
{% endhint %}

### System Audit

A **System Level audit** is configured in System Administration in your CMDB Settings.  The Audit Trail options enable you to select the types of CMDB entities to track when changes are made in their Details window.

For performance reasons, the **Audit Trail** only tracks changes to long text fields (such as **Description**) up until the size limit of the New Value field, which is 80 characters. So while the audit trail will record a change made to the description, it may not track the entire change made to a long text field.

* Organizations - Select this option to track changes made to Organization entities.
* Contracts - Select this option to track changes made to Contracts entities.
* Locations - Select this option to track changes made to Location entities.
* People - Select this option to track changes made to Person entities.
* Change Calendar - Select this option to track changes made to Change Calendars entities.
* Agreements - Select this option to track changes made to Agreements entities.
* Subscriber Groups - Select this option to track changes made to Subscriber Groups entities.
* Change Reason - Select this option to enable the Change Reason window.

### **Field Audit**

**Field level auditing** is far more specific than the System-level audit.  This option (set in the field's properties in Screen Designer) allows auditing of the changes made to an individual field. Changes can be seen under the **Audit** option in the explorer of the corresponding screen.

If the field is a standard data field or an extensible field inherited from another screen, this option will be labeled **Audit (Impacts Parent)**. Otherwise, if the field is particular to the current screen, it will be labeled **Audit**.

<figure><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FxzRA9XX7ZFHS5UYvi5de%2FScreenshot%202025-03-03%20at%2006.44.30.png?alt=media&#x26;token=5fb0e5f9-48d0-4313-8b28-8dbcf7045d50" alt=""><figcaption></figcaption></figure>

### View the Audit Trail <a href="#searchin" id="searchin"></a>

<figure><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FW7uz580VAvsZzGbfSSw8%2FScreenshot%202025-03-03%20at%2007.04.49.png?alt=media&#x26;token=3b6ed586-6ba3-49f3-aebb-8093d9824265" alt=""><figcaption></figcaption></figure>

1. Access the CMDB Item you want to view
2. Click "Audit" from the data menu on the left

<figure><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FgSy4v9nR4hD0PkMUcFLM%2FScreenshot%202025-03-03%20at%2006.52.36.png?alt=media&#x26;token=d4c35607-31ea-49a0-8daa-37e2b97f2f0f" alt=""><figcaption></figcaption></figure>

3. View the Audit Log.  From here, you can alsoPrint or export one or more results.

<figure><img src="https://1375663122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhlW9jKl7dcDggHAPhNU9%2Fuploads%2FNGTvrN3A89ZprWDQjCTh%2FScreenshot%202025-03-03%20at%2006.58.59.png?alt=media&#x26;token=cbbfc8e4-6a8f-4007-a09b-d624aa65ab3f" alt=""><figcaption></figcaption></figure>

## Searching for a CMDB Item <a href="#searchin" id="searchin"></a>

{% hint style="info" %}

### Before you start

You must have **CMDB Item View** selected in the **CMDB Items** tab of your **Configuration Management security role**.

You can search for subscriber groups, people, organizations, locations, contracts, cost centers, jurisdictions and **external resources** using dedicated search windows. This topic will talk you through how to use the **CMDB Items** search option.
{% endhint %}

1. Select **Search** > **CMDB Items**
2. The **CMDB Item Search** window appears, with the CMDB Search Criteria pane on the left.
3. From the **Options** section in the Search Criteria pane, select the CMDB item type(s) you wish to search for and then specify other filter options.

<table><thead><tr><th width="165">Active</th><th>Select to search for currently active CMDB items.</th></tr></thead><tbody><tr><td>Deleted</td><td>Select to search for deleted CMDB items.</td></tr><tr><td>Template</td><td>Select to search for template CMDB items</td></tr><tr><td>Partition</td><td><p>From the list, select a partition to filter the CMDB items by the partition in which they were created. You can select any partition to which you have access.</p><p>This option is only available if you have access to more than one partition.</p></td></tr><tr><td>Include Deleted Field Values</td><td>Select to include deleted values for those fields. You can then base your search on deleted field values. For example, if your system administrator deleted a value, say “Critical”, for the Criticality field, you can still search for a CMDB item using this value by selecting the Include Deleted Field Values option. The Criticality list will be updated to include the value “Critical”, which you can use in your search.</td></tr><tr><td>Ref</td><td>Select this option to search for CMDB items by Ref No.</td></tr><tr><td>CMDB Item Type</td><td>Select the option and then select the  button to display the categories of CMDB type. You may need to scroll down to see them all. Those categories with subcategories have a small black arrow to their right. Hover over them to see the contents of the subcategory.</td></tr><tr><td>Equal, Equal + Below, Equal + Above</td><td><p>Use the options to indicate how you want to filter the results:</p><ul><li><strong>Equal</strong> will return items of this CMDB Item Type</li><li><strong>Equal + Below</strong> will return items of this type and any subsidiary (child) values</li><li><strong>Equal + Above</strong> will return items of this type and any of its parent values</li></ul></td></tr><tr><td>User</td><td>Search by the User associated with the CMDB item</td></tr><tr><td>Organization</td><td><p>Search by the organization associated with the CMDB.</p><p>Use the options to indicate how you want to filter the results:</p><ul><li><strong>Equal</strong> will return items of this CMDB Item Type</li><li><strong>Equal + Below</strong> will return items of this type and any subsidiary (child) values</li><li><strong>Equal + Above</strong> will return items of this type and any of its parent values</li></ul></td></tr><tr><td>Location</td><td>Search by a CMDB item’s location</td></tr></tbody></table>

4\.  Select **Run search without limit** at the bottom of the pane to override any browse limits that may have been imposed.  To add more fields to your search criteria, select  at the top of the Search Criteria pane and configure your search criteria.

5\.  Select **Search**. The results are displayed in a browse table located in the right hand pane.

6\.  Configure the search results as required.

7\.  To view the details, select an item and then select the **Action** icon. The details are displayed. As well as the standard buttons, you can select the **Freeze** icon to freeze the item.

8\.  If the item is already frozen, a banner appears across the top of the window, and this button is replaced with an **Unfreeze** Icon, allowing you to unfreeze it.

{% hint style="info" %}
You can also view more information about the item by revealing the Info panel on the right of the window by selecting  at the top right of the window. This displays the main details of the item in summary form, as well as the name of the Analyst who created it, when it was created and any update details.
{% endhint %}

### Updating a CMDB Item <a href="#updating" id="updating"></a>

{% hint style="info" %}

### Before you start

You must have **CMDB Item Update** selected in the **CMDB Items** tab of your **Configuration Management security role**. If you want to update the Item Ref, you must also have **CMDB Item Ref Update** selected. It you want to update the Item title, you must have **CMDB Item Title Update** selected.

If **CMDB Item Security by Type** is selected in your **Configuration Management security role**, you must have the CMDB item type you are working with selected.

You must have **CMDB Item Cancel Lock** selected in the same tab to take over an item which is already open for updating by another Analyst.
{% endhint %}

{% hint style="warning" %}
You cannot modify a frozen CMDB item.
{% endhint %}

1. Select  to view the item in **edit** mode if necessary.
2. If the item is already open for updating by another Analyst, a warning dialog box will appear. If you have CMDB Item Cancel Lock selected in the **CMDB Items** tab of your **Configuration Management security role**, you can break the lock. If not, you cannot go any further.
3. Make the required changes.
4. Update the links to other CMDB items and stakeholders if necessary.
5. Carry out any necessary tasks in the Explorer pane.
6. The Cost Center and Jurisdiction details windows do not have an Explorer panel.
7. Select **Ok** to save the changes and close the window, or **Save New** to save and close the window and open a new details window.
8. Complete the Change Reason details, if prompted to do so.

### Deleting a CMDB Item <a href="#deleting" id="deleting"></a>

You can delete CMDB items that are no longer required or relevant. You can search for and restore items that have been deleted within the CMDB.

Calls cannot be logged against a CMDB item that is deleted. However you can delete a CMDB item that currently has a call logged against it.

1. From the search results, select the item you want to delete, and select the **Delete** icon.
2. To view the details of the item before deleting, select the **Action** icon. The Details window for the CMDB item appears in review mode. Then select the **Delete** icon from this window when you are confident that this is the item you want to delete.
3. In the warning message, select **Yes** to proceed with deleting the item, specifying the Change Reasons if prompted to do so.

### Restoring a Deleted CMDB item <a href="#restorin" id="restorin"></a>

ASM Core enables you to restore items within your CMDB which have been deleted.

1. Open the Search window for the deleted CMDB item you want to restore.'
2. In the **Search Criteria**, select **Deleted**.
3. From the search results, select the deleted item. The details window for the CMDB entity appears in review mode.
4. **You cannot edit the details for the CMDB item since it has been recorded in the CMDB as deleted.**
5. From the banner across the top of the details, select **Restore**.
6. In the warning message, select **Yes** to confirm the Restore.
7. Select **Ok** to save the changes and close the window.
8. The search details will still be displayed. Select  to update the results and confirm that the item no longer appears as deleted.
