- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
11-02-2016 03:55 AM
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
11-02-2016 04:14 AM
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'
11-02-2016 04:14 AM
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'
11-02-2016 07:02 AM
Hi slv,
The easiest option would just be to click the set all actions option in the GUI:
hope this helps,
Ben
11-03-2016 02:21 AM
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
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!