---
schema_version: "1"
id: 266d3336ad218d97e7618f76ded66dbbbe4c42cdc298f675eb8473e33984501e
title: Securing Omni Gateway Instances with Policies
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.13/gateway-secure-apis.md
canonical_url: https://docs.mulesoft.com/gateway/1.13/gateway-secure-apis
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e956e1d9a9ce94f25825e75df45792e836121969c5422828ea3eb71ac9fd32d6
description: MuleSoft Documentation Site
release: "1.13"
latest: false
---
---
product: Omni Gateway
version: 1.13
---

# Securing Omni Gateway Instances with Policies

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Policies enforce rules when Omni Gateway processes requests, enabling you to secure and govern your
Omni Gateway API, agent, and tool instances.

MuleSoft provides policies that you can apply to your instances via Anypoint Platform or declarative
configuration files. The provided policies include rate limiting, caching, authentication,
authorization, threat protection, monitoring, logging. For more information about MuleSoft-provided
policies, see the [Inbound Policies Directory](https://docs.mulesoft.com/gateway/1.13/policies-included-directory) and
[Outbound Policies Directory](https://docs.mulesoft.com/gateway/1.13/policies-outbound-directory).

To extend existing functionality or define new functionality, create custom policies based on your
specific business requirements. For information about creating custom policies, see
[Omni Gateway Policy Development Kit (PDK) Overview](https://docs.mulesoft.com/pdk/latest/policies-pdk-overview).

Automated policies enable your instances to comply with common security and logging requirements by
automatically applying the same set of policies to all instances running in Omni Gateway. See
[Automated Policies](https://docs.mulesoft.com/gateway/1.13/policies-automated-overview) for more information.

To apply a policy for Managed Omni Gateway or Connected Mode, see
[Applying Policies for Managed Omni Gateways and Connected Mode](https://docs.mulesoft.com/gateway/1.13/gateway-secure-conn).

To apply a policy in Local Mode, see [Applying Policies in Local Mode](https://docs.mulesoft.com/gateway/1.13/gateway-secure-local).

For information about policy reordering, see [Ordering Policies](https://docs.mulesoft.com/gateway/1.13/policies-reorder).

For information about DataWeave support, see
[DataWeave Support in Omni Gateway Policies](https://docs.mulesoft.com/gateway/1.13/policies-dataweave-support).

## See Also

- [Omni Gateway Overview](https://docs.mulesoft.com/gateway/1.13/)

- [Getting Started with Omni Gateway](https://docs.mulesoft.com/gateway/1.13/gateway-getting-started-overview)
