Cisco Cisco Firepower Management Center 2000 Entwickleranleitung
3-18
FireSIGHT System Host Input API Guide
Chapter 3 Using the Host Input Import Tool
Host Input Import Syntax
Host Attribute Functions
You can use the host input import tool to set attribute values for hosts in your network map. For more
information, see the following sections:
information, see the following sections:
•
•
•
•
AddHostAttribute
You can use the
AddHostAttribute
function to add text or URL attributes. Note that adding a host
attribute does not add a value for the attribute. For more information on setting an attribute value, see
, below.
Use this syntax:
AddHostAttribute, attributename, attributetype
where
attributename
is the name of the attribute (consisting of alphanumeric characters and spaces.)
and
attributetype
is the type of attribute (
text
or
URL
).
DeleteHostAttribute
You can use the
DeleteHostAttribute
function to delete attributes.
Use this syntax:
DeleteHostAttribute, attributename
where
attributename
is the name of the attribute. (Valid names consist of alphanumeric characters and
spaces.)
SetAttributeValue
You can use the
SetAttributeValue
function to set the value of an existing attribute to the specified
value for specified hosts. This function can set the value of user-defined host attributes and the
Criticality
attribute. You can use this function to set the host criticality by using
“criticality”
as
the attribute id.
proto
With the
port
field, identifies
the server affected by the fix
on the host where the import
occurs.
on the host where the import
occurs.
No
Either the strings
tcp
or
udp
or the appropriate
protocol IDs
6
(tcp) or
17
(udp).
fix
Indicates the identification
string for the fix.
string for the fix.
Yes
A Cisco fix name or a fix name defined in a third-party
product map that you use by calling the
product map that you use by calling the
SetMap
function before invoking the
AddFix
function. For
more information, see
Table 3-14
RemoveFix Fields (continued)
Field
Description
Required
Values