delete_stap_inspection_engine

This command deletes one or more inspection engines 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 DELETE method. Call this API as follows:
DELETE https://[Guardium hostname or IP address]:8443/restAPI/inspection_engine

GuardAPI syntax

delete_stap_inspection_engine parameter=value

Parameters

Parameter Value type Description
sequence Integer The sequence number of the inspection engine to be removed within the set of inspection engines of the specified type. Use the grdapi list_inspection_engines command with the type option first to verify the sequence number.
stapHost String Required. The S-TAP host of the inspection engine.
type String Required. The type of data repository that is monitored.
Unix: ASTERDB, Cassandra, CockroachDB, CouchDB, DB2®, Db2 Exit, ElasticSearch, exclude IE, FTP, GreenplumDB, HADOOP, HIVE, HP-Vertica, HTTP, HUE, IMPALA, Informix®, Informix Exit, KERBEROS, MariaDB, MemSQL, MongoDB, Mysql, Netezza®, Oracle, PostgreSQL, REDIS, SAP Hana, Sybase, Teradata, Teradata Exit, WebHDFS, Windows File Share
Windows: ASTER, Cassandra, CouchDB, Db2, Db2 Exit, exclude IE, FTP, GreenplumDB, HIVE, HTTP, HUE, IMPALA, Informix, Informix Exit, MariaDB, MongoDB, MSSQL, Mysql, Oracle, PostgreSQL, Sybase, Teradata, WebHDFS, Windows File Share.
waitForResponse String Specifies whether the API waits for a response from the S-TAP. Valid values:
  • 0: do not wait
  • 1: wait for a response
Default = 1 when stapHost is a single host name or IP address; and 0 in all other cases.
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 delete an inspection engine with sequence number = 3, from the MYSQL database with IP 11.45.12.12:

grdapi delete_stap_insection_engine stapHost=11.45.12.12 sequence=3 type=mysql