IBM Tivoli and Cisco Network Card User Manual


 
Chapter 8. Remediation subsystem implementation 403
The wfattribute tag
The simplest variables are workflow attributes. When a posture collector
performs a check that fails, it will often associate a
workflow object with the
element. The workflow object may contain one or more named lists of
attributes.
These attributes may be accessible using the wfattribute tag. When a workflow
tag refers to a list with more than one item, the items are listed separated by
commas. For example, a collector that checks for a required list of users might
have the following attribute lists:
current_values
jdoe
ssmith
admin
required_values
jdoe
ssmith
admin
secureadmin
files
/etc/users
Table 8-4 shows possible HTML and the output that would result.
Table 8-4 Usage of wfattribute tag
The field Tag
The field tag is used to access information contained in the actual posture
element
and posture item objects.
HTML Output
<html>
<head>
<head>
<body>
<strong>Current Values:</strong>
<wfattribute:current_values>
<p>
<strong>Required Values:</strong>
<wfattribute:required_values>
<p>
Files: <wfattribute:files>
<p>
Details: <wfattribute:details>
</body>
</html>
Current values: jdoe, ssmith, admin
Required values: jdoe, ssmith, admin,
secureadmin
Files: /etc/users
Details: