Using the Basic Auditing Policy

Learn how to enable basic auditing of message size, bindings, and contracts.

About Policies Managing Policies QoS Policies Use Cases for Policy Manager

Supported Platforms: 7.x, 8.0

Table of Contents

  1. Introduction
  2. Configuration
  3. Use Cases for Policy Manager

Introduction

The Basic Auditing Policy is an out-of-the-box policy that is part of the Policy Manager default installation. It is an instance of the Auditing Service Policy; it provides basic auditing of messages and records the message metrics in the Monitoring > Logs tab. The policy is located in the Policies folder of the root Organization.

The following message metrics are recorded, but the policy does not audit the messages themselves. If you need full message auditing, use the Detailed Auditing policy.

  • Message Size: Audits the size of messages in the exchange.
  • Binding: Audits binding information.
  • Contract: Audits the contract governing a message.

The following identities are audited:

  • Consumer: Audits consumer identity sent with a request message.
  • End User: Audits end-user identity sent with a request message.

Back to top

Configuration

Let's take a quick walkthrough of the Basic Auditing Policy configuration process to get you started.

Step 1: Attach Policy

Go to the Policies folder in the Root Organization and attach the Basic Auditing Policy to a web service, operation, or binding that you would like to audit.

Step 2: Test Policy and View Monitoring Data

After you've attached the Basic Auditing Policy to a web service, operation, or binding, send a request to your service and go to the Services > Monitoring section to view the results for Logs, Real Time Charts, and Historical Charts. For more information on using the monitoring functions, refer to the Policy Manager Online Help, available via the Help button.

Back to top

Use Cases for Policy Manager

For a list of Policy Manager-specific use cases for the Basic Auditing Policy, refer to Basic Auditing Policy Usage Scenario for Policy Manager.

Back to top