Use these commands to set values for the Unified Intelligence Center properties.
Command Syntax
set cuic properties hsts on [max-age value in seconds]
PARAMETER hsts
<on>
[max-age value in seconds]
This command enables HTTP Strict Transport Security (HSTS) for Unified Intelligence Center and sets the value of the property
to on. HSTS is a web security policy mechanism that helps to protect websites against protocol downgrade attacks and cookie hijacking.
It allows web servers to declare that the web browsers (or other complying user agents) interact with it using only secure
HTTPS connections, and never through the insecure HTTP protocol.
The default maximum age of the header is 31,536,000 seconds. If enabled, the value that is set is sent as the value of the
max-age attribute for the 'Strict-Transport-Security' header.
Note
|
If http-enabled is set to on, then this property has no effect and the Strict-Transport-Security header will be sent with a max-age of 0.
|
Command Syntax
set cuic properties hsts off
PARAMETER hsts
off
This command sets the value of the property to off, and that means that the Strict-Transport-Security header will be sent with a max-age of 0. This behaviour is the default
for the Unified Intelligence Center.
Command Syntax
set cuic properties host-to-ip
PARAMETER
<host> <ip-address>
This command sets the IP to be used for the data source host name that is specified while configuring the Unified Intelligence
Center data source. This command allows for scalability and overrides the default Historical or Real-time database server
that is defined in the Data Sources interface.
For <host>, enter the value for the host DNS name for the server, as displayed on the Data Sources interface.
For
<ip-address>, enter the IP address of the server for the
Historical or Real-time database.
Note
|
You must restart the Unified Intelligence Center Reporting Services
for the change to take effect.
|
Command Syntax
set cuic properties purge-time
PARAMETER 1<HH:MM > <AM/PM>
PARAMETER 2
<Interval (in minutes)>
This command sets the time of day when the Unified Intelligence Center
database will be purged and the duration (in minutes) after which the purge
operation should be rerun. The default purge time is 12:00 AM and the default
purge interval is 60 minutes.
For
<HH:MM> and
<AM/PM> specify the time of the day when you want the purge
job to run for the first time.
For
<Interval (in minutes)>, specify the interval in minutes
after which you want the purge job to rerun.
After you run this command with the correct parameters, the system
displays a message as follows:
Next purge is scheduled to run after <x> hours <y> minutes.
Value has been successfully set.
Following are the various categories of data that the system purges when you use these CLI commands:
-
Cached report data - Data in this category is purged based on
the time specified using the
set cuic properties purge-time
command. Note that
the purge time is calculated based on the time when the filter used to run the
report was last used or refreshed.
-
Audit trail - All audit trail data that is older than a month
are purged during the last purge operation of the day.
-
Cached scheduled report data - The
set cuic properties purge-retention
CLI command
applies only to this category.
Each rerun that the system performs using this command, results in the
purging of the cached report data. Other categories are purged only during the
last purge run of the day.
If you restart the Unified Intelligence Center server after the purge start time, the system discontinues the current purge
cycle until the same purge start time on the next day.
For example, if you have set to run the purge job at 11.45 AM on a day with a rerun interval of 1 hour and the Unified Intelligence
Center server was restarted at 2 PM, the following happens with respect to the purge runs and reruns:
-
Purge job runs typically at 11.45 AM, 12.45 PM., and 1.45 PM.
-
After the restart at 2 PM, the system checks for the purge start time and since the purge start time is set as 11.45 AM, the
next purge run happens only at 11.45 AM on the next day.
To have continuous rerun even after the system restarts, you must set
the purge start time and interval again using the
set cuic properties purge-time
CLI command.
Command Syntax
set cuic properties purge-retention
PARAMETER
#number of days
This command sets the number of days that data in the Unified Intelligence Center database is retained before it gets purged.
The default is one day and the maximum permissible value is 31 days.
Note
|
Cached scheduled report data - The set cuic properties purge-retention CLI command applies only to this category.
|
Command Syntax
set cuic properties session-timeout
PARAMETER
#numberofSeconds
This command sets the Session Timeout for the Unified Intelligence Center Reporting web application. The valid range is 1,800-14,400
seconds. The default is 14,400 seconds (4 hours).
Note
|
You must restart the Unified Intelligence Center Reporting Services for the change to take effect.
|
Command Syntax
set cuic properties http-cache
PARAMETER <on|off>
This command sets the http-cache property to on or off. By setting the value to on or off, you can enable and disable the HTTP cache control. By default, the value is set to on.
Command Syntax
set cuic properties http-enabled
PARAMETER <on|off>
This command sets the http-enabled property to on or off. By setting the value to on or off, you can enable and disable the HTTP protocol. By default, the value is set to off.
Note
|
There is no need to restart the Unified Intelligence Center system after setting the http-enabled property.
|
Command Syntax
set cuic properties user-audit-logging
PARAMETER <on|off>
This command sets the user-audit-logging property to on or off. By setting the value to on or off, you can enable or disable the user audit logging. By default, the value is set to off.