URL filtering profile - how to set "alert" to all categories?

cancel
Showing results for 
Search instead for 
Did you mean: 

URL filtering profile - how to set "alert" to all categories?

L4 Transporter

Hello


I'm looking for solution how to set "alert" for all actions for every categories in URL profile.
I believe that this is possible via CLI and I hope that someone could help me with that 🙂

 

 

Regards

Slawek

1 ACCEPTED SOLUTION

Accepted Solutions

L5 Sessionator

get list of all categories in text format and use them in following commands:

 

set vsys vsysX profiles url-filtering 'profile_name' enable-container-page yes
set vsys vsysX profiles url-filtering 'profile_name'  log-container-page-only yes
set vsys vsysX profiles url-filtering 'profile_name'  alert [ questionable proxy-avoidance-and-anonymizers ]
set vsys vsysX profiles url-filtering 'profile_name' block [ malware phishing ]
set vsys vsysX profiles url-filtering 'profile_name'  action block

 

 

you can check your existing profiles with:

set cli config-output-format set

configure

show vsys vsysX profiles url-filtering 'profile_name'

View solution in original post

3 REPLIES 3

L5 Sessionator

get list of all categories in text format and use them in following commands:

 

set vsys vsysX profiles url-filtering 'profile_name' enable-container-page yes
set vsys vsysX profiles url-filtering 'profile_name'  log-container-page-only yes
set vsys vsysX profiles url-filtering 'profile_name'  alert [ questionable proxy-avoidance-and-anonymizers ]
set vsys vsysX profiles url-filtering 'profile_name' block [ malware phishing ]
set vsys vsysX profiles url-filtering 'profile_name'  action block

 

 

you can check your existing profiles with:

set cli config-output-format set

configure

show vsys vsysX profiles url-filtering 'profile_name'

View solution in original post

L4 Transporter

Hi slv,

 

The easiest option would just be to click the set all actions option in the GUI:

Screenshot_14.png

 

hope this helps,

Ben

Hi Ben

 

I know that I can do this by GUI but I'd like to learn CLI and this is good example how to do.

As I see on Your screenshot - there is 65 entries and You need to click twice or more for every category - so there is a lot of clicks ... and possible mistake. I prefer to do this in my quicker and safe option.

 

Santonic gave perfect set of command needed to finish this operation - THX

 

Regards

Slawek

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!