Cisco Cisco Firepower Management Center 2000 Guía Del Desarrollador
3-8
FireSIGHT System Remediation API Guide
Chapter 3 Communicating with the Remediation Subsystem
Defining the Configuration Template
The following portion of a
config_template
element definition indicates that the web interface displays
a field labeled “Rate”, which accepts an integer value between 0 and 500 but defaults to 430.
<integer>
<name>rate</name>
<display_name>Rate</display_name>
<default_value>430</default_value>
<constraints>
<min>0</min>
<max>500</max>
</constraints>
</integer>
The string Element
Each
string
element you use in a
config_template
represents a field in the web interface that accepts
a string value.
The following diagram illustrates the child elements of the
string
element instance.
example
element
Provides an example of the input that the remediation module
expects to receive.
expects to receive.
Note
This value is not displayed in the web interface.
no
constraints
element
Constrains the values that the user can enter in this field to fall
between specified minimum and maximum values, inclusive.
between specified minimum and maximum values, inclusive.
The
constraints
element has two child elements:
min
and
max
.
Each is an optional, single-occurrence child element that accepts an
integer value.
integer value.
no
Table 3-3
integer Attributes, Child Elements, and Grandchild Elements (continued)
Name
Type
Description
Required?