Class DB2LUWServerSurveyActionService

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, SurveyActionService

public class DB2LUWServerSurveyActionService extends SurveyActionServiceConnector
DB2LUWServerSurveyActionService surveys the databases hosted by a Db2 for Linux, UNIX and Windows server.

Unlike PostgreSQL (whose pg_database catalog view lists every database on the server from a single connection) and Oracle (whose CDB root can see every pluggable database through v$pdbs), Db2 for Linux, UNIX and Windows has no catalog view that spans multiple databases - each database maintains its own independent SYSCAT schema, and the list of databases known to an instance lives only in the server's local database directory, which is not queryable over JDBC. Consequently, the set of databases to survey cannot be auto-discovered: it is either just the single database the asset's connection already names, or - if the caller has supplied one - the includeDatabaseList configuration property naming every database that should be surveyed. excludeDatabaseList still applies as a filter on top of whichever list is used.