# Virtual server in application security policy

**URL:** <https://community.f5.com/t/virtual-server-in-application-security-policy/70648>\
**Category:** Technical Forums\
**Tags:** security, application-delivery\
**Created:** [September 29, 2022, 11:47pm UTC](https://community.f5.com/t/virtual-server-in-application-security-policy/70648 "2022-09-29T23:47:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suthomas1](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@suthomas1](https://community.f5.com/u/suthomas1)\
**Post date:** [September 29, 2022, 11:47pm UTC](https://community.f5.com/t/virtual-server-in-application-security-policy/70648/1 "2022-09-29T23:47:13Z")

</div>

Good day all,

I had the following queries about security policy within ASM.

1) How do i move an existing Virtual server from an existing security policy to a different one? I have checked the GUI but can’t find an option .

2) Our ASM shows blocked requests only but i also want to be able to view allowed requests for each policy. How do i get this done?

Appreciate all help on these ones please, thank you.

---

<div class="post-metadata">

**Author:** ![Samir](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/samir/32/13073_2.png) [@Samir](https://community.f5.com/u/Samir)\
**Post date:** [September 30, 2022, 7:03am UTC](https://community.f5.com/t/virtual-server-in-application-security-policy/70648/2 "2022-09-30T07:03:57Z")

</div>

**1) How do i move an existing Virtual server from an existing security policy to a different one? I have checked the GUI but can’t find an option .**

You can change ams policy from virtual server itself. Go to Click on Virtual server --\> go to Security TAB -- \> then search&nbsp;Application Security Policy --\> choose correct ASM policy.

**2) Our ASM shows blocked requests only but i also want to be able to view allowed requests for each policy. How do i get this done?**

In order to get allowed and block request you need to apply log policy in VIP, which will log all the traffic depend on config it. Meanwhile you can check the ASM policy settings.

Go to Security --\> Application Security --\> Policy Building --\>&nbsp;Learning and Blocking Settings

Hope it will help you.

---

<div class="post-metadata">

**Author:** ![CA\_Valli](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@CA\_Valli](https://community.f5.com/u/CA_Valli)\
**Post date:** [September 30, 2022, 3:58pm UTC](https://community.f5.com/t/virtual-server-in-application-security-policy/70648/3 "2022-09-30T15:58:16Z")

</div>

Both settings are in the Virtual Server “Security” tab

 ![CA_Valli_0-1664553475574.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/4/4e98aa15bb31a2a52188d370f72c4f211cd34f0f.png)
