audit-mime-types

Use the audit-mime-types stanza entry to configure WebSEAL to use the mime type to determine whether to generate an audit event for a particular HTTP request.

mime-pattern = {yes|no}

Description

WebSEAL determines whether the content-type of the HTTP response matches any of the configured MIME patterns. If the HTTP response does match one of the MIME patterns, WebSEAL uses this entry to determine whether to generate an audit event.

  1. More specific MIME patterns take precedence over less specific MIME patterns. For example, if image/* = yes (general), but image/jpeg = no (more specific), then an HTTP response with an image MIME-type other than JPEG generates an audit event; a response with a JPEG MIME-type does not generate an audit event.
  2. If an HTTP response does not match any of the MIME patterns that are listed in this stanza, WebSEAL does not generate an audit event.

Options

Usage: Optional

Default: None.

Example:

image/jpeg = no 
image/* = no
*/* = no

Parent topic: [logging] stanza