From b8dabe8f64ec3d5561dd1790c12aea6fbe0f48ec Mon Sep 17 00:00:00 2001 From: Nadia <98525884+Nadia-JSch@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:11:41 +0200 Subject: [PATCH] DOCS-204 add oracle and sql views --- docs/auto-discovery/database-discovery/index.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/auto-discovery/database-discovery/index.md b/docs/auto-discovery/database-discovery/index.md index 4fd61f17..f5059e7d 100644 --- a/docs/auto-discovery/database-discovery/index.md +++ b/docs/auto-discovery/database-discovery/index.md @@ -6,7 +6,9 @@ title: "Database Discovery" Database discovery was introduced in v16.02.00 _(ensure you are running v16.02+)_, and currently supports Windows and \*nix-based discovery jobs to discover Microsoft SQL (aka MSSQL), Oracle, Postgres SQL, and DB2 databases. -**Note**: Database discovery requires an **Application Dependency Mapping** license. Go to **Tools > Settings > Licensing** to see if the license is enabled. Contact [support@device42.com](mailto:support@device42.com) for licensing assistance. +:::note +Database discovery requires an **Application Dependency Mapping** license. Go to **Tools > Settings > Licensing** to see if the license is enabled. Contact [support@device42.com](mailto:support@device42.com) for licensing assistance. +::: As of v16.17.00, Device42 supports MSSQL and Oracle database discovery for customers that have database instances configured to listen on non-standard ports, especially on a shared database server hosting multiple instances. During database discovery, Device42 will identify and connect through the discovered active listening port. @@ -30,7 +32,7 @@ Device42 supports autodiscovery on Windows and \*nix platforms for the following In order to query the below tables, please ensure you have **View Server State** permissions. For discovery to return detailed info about your database instance, you will require read permissions to the following system views: -
  • sys.dm_exec_connections
  • sys.dm_exec_sessions
  • sys.databases
  • sys.master_files
  • sys.tables
  • sys.dm_os_sys_info
  • sys.dm_os_sys_memory
+
  • sys.dm_exec_connections
  • sys.dm_exec_sessions
  • sys.databases
  • sys.master_files
  • sys.tables
  • sys.dm_os_sys_info
  • sys.dm_os_sys_memory
  • sys.all_objects
The snippet shown below is necessary to get data from some of the preceding views even if the user has read permissions (_sys.master\_files_, for example). @@ -135,7 +137,8 @@ As of v16.17.00, Device42 database autodiscovery for Windows and \*nix targets s For discovery to return detailed info about your database instance, you will require read/view permissions for the following system views/tables: -
  • V$SESSION
  • DBA_SEGMENTS
  • DBA_OBJECTS
  • SYS.ALL_USERS
  • DATABASE_COMPATIBLE_LEVEL
  • SYS.PRODUCT_COMPONENT_VERSION
+
  • V$SESSION
  • V$DATABASE
  • DBA_SEGMENTS
  • DBA_OBJECTS
  • SYS.ALL_USERS
  • DATABASE_COMPATIBLE_LEVEL
  • SYS.PRODUCT_COMPONENT_VERSION
+ To get information about Pluggable Databases (PDBs) within a Container Database (CDB) in Oracle for non-DBA users, two key permission configurations are required: