Use GUI attributes in a custom StyleBook
Add a label with tooltip for parameters
name: ip
label: Virtual Server IP Address
description: IP address of the virtual server that represents the load balanced application.
type: ipaddress
required: true
Set a collapsible pane for the parameter
name: svcg-advanced
label: Advanced Application Server Settings
type: object
required: false
gui:
collapse_pane: true
columns: 2
type: object[] (list of objects) as a table with the inner parameters representing the columns. To include or exclude an inner parameter from the summary view, you can use the summary_display attribute in the gui section as follows:
name: settings
label: Settings
type: object[]
parameters:
-
name: name
label: Name
description: Name of this setting
type: string
gui:
summary_display: true
Set the user options as radio buttons
layout and allowed-values attributes. So, when the user is creating a configuration pack, the parameter values appear as radio buttons.
-
name: block-by-category-action
label: Action
description: Set an action if the bot is detected.
type: string
default: RESET
gui:
layout: radio
allowed-values:
- NONE
- DROP
- REDIRECT
- RESET
- MITIGATION