Setting an Encoding Option for the URL
For better data security, Intelligence provides options to encode the Intelligence URL string. Based on your requirement, you can set the limit for the URL string length and then select a preferred URL encoding option.
The supported URL encoding options are:
-
plain: Does not encode and/or compress the URL string.
-
base64: Compresses the URL string with zLib and encodes the string to base64.
-
hash: Stores the encoded base64 URL string as JSON in localstorage. Then, it uses a hash of the base64 encoded URL string as the key values.
-
limitLength: The URL string uses the plain and then base64 encoding options if either of the encoding options have lesser characters than urlLimit. The URL string uses the hash encoding option if both the plain and base64 encoding options are above urlLimit.
urlLimit is an integer, which sets the maximum URL length (in characters) for encoding options before using localstorage. urlLimit is only available for the limitLength and limitAndObscure encoding options. -
limitAndObscure: The URL string uses the base64 encoding option if it has lesser characters than urlLimit. The URL uses the hash encoding option if it has more characters than urlLimit.
To set an encoding option for the URL string:
-
Login to the Management portal as the administrator.
https://<virtual_FQDN>:5443 -
Click CLUSTER > Dashboard. You will be redirected to the Kubernetes Dashboard.
-
Under Namespace, search and select the
arcsight-installer-xxxxnamespace. -
Under Config and Storage, click Config Maps.
-
Click the filter icon, and search for
investigator-default-yaml. -
Click
and select Edit.
-
In the YAML tab, specify the preferred URL encoding option in
urlEncodingand the preferred URL string length limit inurlLimit. -
Click Update.
-
Restart the
interset-apipods:-
Launch a terminal session and log in to the master or worker node.
-
Execute the following command to retrieve the namespace:
export NS=$(kubectl get namespaces | grep arcsight|cut -d ' ' -f1) -
Execute the following commands to restart the
interset-apipods:kubectl -n $NS scale deployment interset-api --replicas=0kubectl -n $NS scale deployment interset-api --replicas=2
-