gim_assign_latest_bundle_or_module_to_client

Use the gim_assign_latest_bundle_or_module_to_client API to assign the latest (that is, the highest version) available bundle or module to a specified client.

This API is similar to gim_assign_bundle_or_module_to_client_by_version. However gim_assign_latest_bundle_or_module_to_client always assigns the most recent version of the bundle or module to the client.

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

REST API syntax

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

GuardAPI syntax

gim_assign_latest_bundle_or_module_to_client parameter=value

Parameters

Parameter Value type Description
clientIP String Required.
12.2 and later include_custom_bundles Boolean Optional. Valid values are:
  • N - The latest uploaded bundle version does not include the custom bundles
  • Y - The latest uploaded bundle version includes the custom bundles, if applicable
  • Default value is N.
module String Required.

Examples

The following example shows the grdapi assigns the latest BUNDLE_STAP bundle to client 192.168.1.100.
grdapi gim_assign_latest_bundle_or_module_to_client clientIP=192.168.1.100  module=BUNDLE-STAP
12.2 and later The following example shows the grdapi assigns the latest BUNDLE_STAP bundle including the custom bundles to client 192.168.1.100.
grdapi gim_assign_latest_bundle_or_module_to_client clientIP=192.168.1.100  module=BUNDLE-STAP include_custom_bundles=Y