Cisco Cisco Firepower Management Center 2000 开发者指南

下载
页码 60
 
3-17
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 “Day”, which allows users to select one of the values provided (Monday, Tuesday, 
Wednesday, Thursday, and Friday).
<enumeration>
<name>day</name>
<display_name>Day</display_name>
<constraints>
<value>Monday</value>
<value>Tuesday</value>
<value>Wednesday</value>
<value>Thursday</value>
<value>Friday/value>
</constraints>
</enumeration>
The list Element
Each 
list
 element you use in a 
config_template
 represents a field in the web interface that allows users 
to enter a list of values, one per line, whose type is specified by the required 
item_type
 child element.
The following diagram illustrates the child and grandchild elements of the 
list
 element.