In this example I want to create a wildcard URL entry for
/app/static/*
instead of adding each URL. Why? I don’t want to reoptimize the policy again if the application developer just change some files.
Now I search an option to export all the learned entities to summarize it via Excel or some similar tool. Does anybody know how I can export those entries (GUI, TMHS, …)?
I had the exact same issue - no export of learning suggestions available in ASM GUI.
I wrote a script in Python using f5-common-python SDK which allowed me to export ASM learning suggestions into an Excel spreadsheet with almost all the information you can find in GUI. To export just a simple list of suggestions is pretty easy. Things get complicated when you need to include details about every different type of an attack. But it’s worth the effort.
The current version of the SDK is not complete, for example it does not support Requests and Violations, so I extended it myself, have a look here for inspiration:
I had the exact same issue - no export of learning suggestions available in ASM GUI.
I wrote a script in Python using f5-common-python SDK which allowed me to export ASM learning suggestions into an Excel spreadsheet with almost all the information you can find in GUI. To export just a simple list of suggestions is pretty easy. Things get complicated when you need to include details about every different type of an attack. But it’s worth the effort.
The current version of the SDK is not complete, for example it does not support Requests and Violations, so I extended it myself, have a look here for inspiration: