Database Inventory
Databases often contain sensitive information, such as customer or user data. This makes them attractive targets for cyber-attacks and misuse. As a result, various organizations are required to comply with regulations such as GDPR and PCI-DSS for the protection of databases. Access to detailed information about specific database instances enables organizations to assess whether a particular instance falls within the scope of GDPR, PCI compliance, or any other regulation.
The Database tab allows you to view detailed information about database Instances and Database Servers. You can use the Group By to filter or QQL token to search for a specific instance or server. You can filter the instances by Database or Asset using QQLs. For more details on search tokens, refer to Search Tokens for IT Assets.

How Database Instances Are Discovered
A database instance is a running database environment on a host that listens on a specific port. CSAM displays a database instance on the Database tab only when the instance is reported by one of the following sources:
- Cloud Agent inventory scan: The Cloud Agent auto-discovers the running database instances on Windows and Linux assets during an inventory scan.
- Third-party import: Database instances that are imported from third-party sources.
Database instances are not discovered on assets scanned only by a Qualys scanner, such as assets using the IP tracking method. If a database product, such as Microsoft SQL Server, is found on the asset, it is listed under Asset Details > Installed Software. It is not identified as a database instance and does not appear on the Database tab.
How Instances from Multiple Sources Are Merged
CSAM uses the following logic to avoid duplicate instance records:
- Each instance that the Cloud Agent reports is stored as a separate record, even when multiple instances on the same host have the same technology, version, and port.
- When a third-party source reports an instance with the same technology, version, and port as an instance discovered by the Cloud Agent, CSAM merges the two into one record. The Sources column then lists both sources.
- When a source no longer reports an instance, CSAM removes that source from the instance. If no other source reports the instance, CSAM removes the instance.
Instances
This section provides a comprehensive view of your database instances. Each column provides the following details:
| Column | Description |
|---|---|
| Instance Name | Provides the Instance name and the Port details. |
| Technology | Provides the database name and version. |
| Host/Cluster | Provides the hostname/cluster where the database is installed, along with its IP addresses. |
| Sources | Provides the sources that discovered the instance, such as the Cloud Agent or a ServiceNow import, along with the first found and last seen timestamps for each source. |

You can view more details about an instance by clicking View Details from the Quick Actions Menu.

The following details are displayed for an instance:
| Field | Description |
|---|---|
| Identification | |
| Instance Name | The name of the discovered database instance. |
| Instance ID | Qualys-generated identifier for the database instance.
It is derived from the technology identifier and the unique identifier attributes collected during discovery. The Instance ID may be positive or negative. Negative values are expected and do not indicate an issue. |
| Host Name | Hostname of the asset where the instance is discovered. |
| Asset ID | Qualys asset identifier for the host associated with this instance. |
| First Seen | Date and time when Qualys first discovered the instance. |
| Last Seen | Most recent date and time when Qualys discovered or observed the instance. |
| User | Database user associated with the discovered instance, when available. |
| Software Information | |
| Name | Full discovered database software name and version. |
| Installation Path | File-system path where the database software is installed, when available. |
| Install Date | Date on which the database software was installed, when available. |
| Last Used Date | Most recently detected usage date for the software, when available. |
| Other Information | |
| Ref | Discovery reference data used to identify the instance, such as the configuration-file location and port. |
| Port | Network port on which the database instance listens. |
| Pid | Operating-system process ID of the discovered database process. |
| Version | Database version detected for the instance. |
Database Servers
The Database Servers tab provides detailed information about the database servers.

The following details are displayed for each server record:
| Column | Description |
|---|---|
| Name | The name of the database server host. Click the name to view detailed information about the server and its associated database instances. |
| Criticality | Displays the asset criticality score assigned to the database server. |
| TruRisk™ Score | Displays the TruRisk score calculated for the asset. |
| Operating System | Displays the operating system running on the database server. |
| Instances | Displays the number of database instances running on the server. Click the number to view instance details. |
| Sources | Indicates the sources that discovered the database server. The First Found and Last Seen timestamps show when the source first detected and most recently observed the asset. |
| Modules | Displays the Qualys module managing the asset. |
| Tags | Displays the tags associated with the database server. |
Click the number in the Instances column to open the Asset Details > Software Instances tab, which provides more details about the instances.
