list_inspection_engines

This command lists all the defined inspection engines, and their configurations, on the specified S-TAP® host.

This API is available in Guardium V9.5 and later.

REST API syntax

This API is available as a REST service with the GET method. Call this API as follows:
GET https://[Guardium hostname or IP address]:8443/restAPI/inspection_engine

GuardAPI syntax

list_inspection_engines parameter=value

Parameters

Parameter Value type Description
stapHost String Required. IP or hostname of the S-TAP host.
type String The type of inspection engine. One of: Windows: CouchDB, Db2®, Db2 Exit, Informix®, MongoDB, MS SQL, Mysql, Oracle, PostgreSQL, Sybase; UNIX: Aster, Cassandra, CouchDB, Db2, Db2 Exit, exclude IE, FTP, GreenPlumDB, Hadoop, Hive, HTTP, Hue, IBM® iSeries, Impala, Informix, Informix Exit, Kerberos, MariaDB, MongoDB, Mysql, Netezza®, Oracle, PostgreSQL, SAP HANA, Vertica, Sybase, Teradata, Vertica, or WebHDFS
api_target_host String

Specifies the target hosts where the API executes. Valid values:
  • all_managed: execute on all managed units but not the central manager
  • all: execute on all managed units and the central manager
  • group:<group name>: execute on all managed units identified by <group name>
  • host name or IP address of a managed unit: specified from the central manager to execute on a managed unit.  For example, api_target_host=10.0.1.123.
  • host name or IP address of the central manager: specified from a managed unit to execute on the central manager. For example, api_target_host=10.0.1.123.

IP addresses must conform to the IP mode of your network. For dual IP mode, use the same IP protocol with which the managed unit is registered with the central manager. For example, if the registration uses IPv6, specify an IPv6 address. The hostname is independent of IP mode and can be used with any mode.

Examples

To view the inspection engines on the DB server with the IP 9.42.29.158:

grdapi list_inspection_engines stapHost=9.42.29.158
ID=7
S-TAP Host: 9.42.29.158 - Not Active
Inspection Engines:
         name =oracle1
         type =oracle
         sequence =1
         connect to IP=n.n.n.n
         install dir = /home/oracle18/app/oracle/product/18.0.0.0/dbhome_1
         exec file = /home/oracle18/app/oracle/product/18.0.0.0/dbhome_1/bin/oracle
         db version = 18
         encrypted = no
         port range = 1521 - 1521
         ktap real port = 1521
         identifier = oracle_9.42.29.158(1521,1521,DB_0)
         client = 0.0.0.0/0.0.0.0
         name =mysql2
         type =mysql
         sequence =2
         connect to IP=n.n.n.n
         install dir = /home/mysql57/mysql/data
         exec file = /home/mysql57/mysql/bin/
         encrypted = no
         port range = 3357 - 33060
         ktap real port = 3357
         identifier = mysql_9.42.29.158(3357,33060,DB_2)
         client = 0.0.0.0/0.0.0.0
         name =db23
         type =db2
         sequence =3
         connect to IP=n.n.n.n
         install dir = /home/db2inst1
         exec file = /home/db2inst1/sqllib/adm/db2sysc
         db version = 7
         encrypted = no
         port range = 50000 - 50000
         ktap real port = 50000
         identifier = db2_9.42.29.158(50000,50000,DB_3)
         client = 0.0.0.0/0.0.0.0