> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/content-collections/governance/create-a-network-policy.md).

# Create a Network Exposure Policy

You can create network exposure policies based on your organization’s requirements. You can build a new network exposure policy based on the `config from network where` query to monitor the network exposure of an asset across your cloud environment.

1. Select **Governance**.
2. Select **Add Policy > Network**.
   1. Enter a **Policy Name**.
   2. Enter a **Description** (optional).
   3. Select a **Severity** level.
   4. Enter **Labels** (optional)

      <figure><img src="https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-497b0eba22a07449d19689481f56846cf4f69055%2Fcreate-nw-policy-1.png?alt=media" alt="create nw policy 1"><figcaption></figcaption></figure>
   5. Select **Next**.
3. Enter your RQL query in the search bar.

   The default option of **New Search** enables you to build a new query from scratch while **Saved Search** enables you to use a query that you previously saved. For example, the following query finds the interfaces that are accessible from any untrusted Internet source:

   ```
   config from network where source.network = UNTRUST_INTERNET and dest.resource.type = 'Interface' and dest.cloud.type = 'AWS' and dest.tag = 'env=prod'
   ```

   A green check mark indicates that you have a valid query and you can view the query results.

   <figure><img src="https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-f3450c6833437e48db74f4da32e6ef5e01d14b90%2Fcreate-nw-policy-3.png?alt=media" alt="create nw policy 3"><figcaption></figcaption></figure>

   You cannot associate compliance standards with network exposure policies.
4. **Save** the policy.

   After you successfully create your new policy, it is displayed in the **Policies** table.

   <figure><img src="https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-4dc034090b23aa36e8b6dfec1b9b7e244b2a11eb%2Fcreate-nw-policy-2.png?alt=media" alt="create nw policy 2"><figcaption></figcaption></figure>

See [Network Queries](https://github.com/PaloAltoNetworks/pc-docs-md/tree/main/enterprise-edition/content-collections/search-and-investigate/network-queries/network-queries.md), to learn about network query attributes and examples.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.prismacloud.io/content-collections/governance/create-a-network-policy.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
