> 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="/files/ZfCfhHpvjukrVrrBs24V" 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="/files/LG8dpjHklkpa7g1Z63uU" 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="/files/xdQniHT0rZvySSdLilhY" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
