01.01.2013 Views

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

+ Number.ToString (Block.ID) + ““”<br />

+ List.LastMatches + “ ”<br />

Monitoring<br />

Logging 8<br />

FileSystemLogging.WriteLogEntry (User-Defined.logLine)<br />

When the rule is processed, it is always executed. It uses two events: one to set values for a log<br />

line and another to write this line into the Access Log on the appliance.<br />

The first event uses the User-Defined.logLine property to set a log line that is written into the<br />

Access Log, for example, when a request has been received on the appliance. The elements of the<br />

log line are the values of the properties specified for the event. The List.LastMatches property<br />

provides the key word or words that triggered the blocking of access to a web object.<br />

The second event writes the log line with the values it has been set to into the Access Log. The log<br />

line is specified as a parameter of this event. The Access Log is specified by the event settings.<br />

The Continue action lets processing continue with the next rule, which can be contained in this or<br />

the next rule set.<br />

Create a list of key words<br />

To create a string list of key words that can have matches in a given text:<br />

1 Go to Policy | Lists.<br />

2 On the lists tree, go to Custom Lists | String.<br />

3 Click Add on the toolbar. The Add List window opens.<br />

4 On the Add List tab, configure the following general settings:<br />

• Name — For example: BadWords<br />

• Comment — [Optional] Plain-text comment on the list<br />

• Type — String (preselected)<br />

5 [Optional] Click the Permissions tab and configure who is allowed to view and edit the list.<br />

6 Click OK. The Add List window closes and the new list appears on the lists tree.<br />

7 Click Save Changes.<br />

For information on how to fill the new list with entries, see Add entries to a key word list.<br />

Add entries to a key word list<br />

To add entries to a key word list:<br />

1 Go to Policy | Lists.<br />

2 On the lists tree, go to Custom Lists | String, and select the list you created for entering key words,<br />

for example, BadWords.<br />

3 On the settings pane, click Add. The Add String window opens.<br />

4 Under String, type an entry, for example, Travel.<br />

Note: To add multiple entries at once, click Add multiple and use a new line of the window for each<br />

entry.<br />

5 [Optional] In the Comment field, type a plain-text comment on the list entry.<br />

6 Click OK. The Add String window closes and the entry is added to the list.<br />

Repeat steps 3 to 6 as often as needed to add more entries.<br />

7 Click Save Changes.<br />

<strong>McAfee</strong> <strong>Web</strong> <strong>Gateway</strong> <strong>7.1.5</strong> <strong>Product</strong> <strong>Guide</strong> 285

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!