Forum Discussion
Steve_Brown_882
Mar 17, 2008Historic F5 Account
ASM Policy from the CLI?
I am crossing my fingers that someone can help me find a better way to add object types to an ASM Policy. I have 450+ object types that need to be added to a policy I am working on. We are going live shortly and have not lerned many of these yet, so I need to enter them manualy. The problem is I can only figure out how to do this from the GUI, which is a real speed deamon. :D Compounding this is the fact that I have agreed to enter them as both upper and lower case variants. If anyone can tell me how to enter these from the command line or in bulk some how I would really be greatful.
- hoolio
Cirrostratus
If the application isn't case sensitive, it would be good to use a simple rule to set the path in requests to lower case. This ensures that you only need to configure one version (in lowercase) of each object type/object. To set the path to lowercase, you can use the following rule:when HTTP_REQUEST { Set path to lower case (ie, /PATH/To/File.Ext?Parameter1=VALUE1 would be changed to /path/to/file.ext?Parameter1=VALUE1) HTTP::path [string tolower [HTTP::path]] }
- Steve_Brown_882Historic F5 AccountI am running 9.4.3, but I have never used icontrol before. Maybe some thing to play with in the future, but probabaly to much to learn to be of any help this time. And I sorta figured that my only hope was to write some custom script to dump it into mysql. Not sure I am really interested in trying that even on my test box. Guess I am stuck with the gui. Thanks for digging up the mysql locations etc.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects