Cisco Cisco Firepower Management Center 4000 Guía Del Desarrollador

Descargar
Página de 60
 
2-10
FireSIGHT System Remediation API Guide
 
Chapter 2      Planning and Packaging Your Remediation Module 
  Data Available from the Remediation Subsystem
  •
host
  •
netmask
  •
network
  •
ipaddress
  •
enumeration
  •
list
See 
 for more details on how these fields are specified in 
the 
module.template
 file.
For example, if the 
module.template
 document contains the following 
config_template
 element 
definition:
<config_template>
<ipaddress>
<name>host_ip</name>
<display_name>Host IP</display_name>
</ipaddress>
<string>
<name>user_name</name>
<display_name>Username</display_name>
<constraints>
<pcre>\S+</pcre>
</constraints>
</string>
<password>
<name>login_password</name>
<display_name>Login Password</display_name>
</password>
</config_template>
The Instance Configuration screen for that element contains the following three fields:
  •
Host IP, which takes an IP address value.
  •
Username, which takes a string value that may not contain white space characters.
  •
Login Password, which takes a string value identified as a password.
Suppose a user configures an instance, named AdminInstance, of the remediation module and provides 
the following values:
The 
instance.conf
 will contain the following:
<instance name=”AdminInstance”>
<config>
<ipaddress name=”host_ip”>192.1.1.1</ipaddress>
<string name=”user_name”>adminuser</string>
<password name=”login_password”>3admin3</password>
</config>
Table 2-10
Sample Values 
Field
Value
Host IP
192.1.1.1
Username
adminuser
Login Password
3admin3