Modules for Adding Security Log Profiles #2403
Labels
awaiting-user-action
issue awaiting user's response and/or requested action
enhancement
PRs or Issues for basic feature requests for an existing module.
untriaged
issue that needs an initial response from the developers
Is your feature request related to a problem? Please describe.
I do not believe an ansible module exists that can build "security log profiles". These are located at
Security --> Event Logs --> Logging Profile
s in the GUI andsecurity log profile
in tmshDescribe the solution you'd like
F5 creates an ansible module that implements this capability so future users will not be dependent on using non-idempotent tmsh shell commands to create these in an automated build.
Describe alternatives you've considered
I wound up using tmsh shell and doing it twice doesn't hurt anything. But Ansible modules would be cleaner.
Additional context
Hello, hope you are doing well today. I am working on automating the deployment and configuration of an F5 Big-IP VM using Ansible. After spending a week or two getting fairly familiar with all of the configuration options and behind the scenes configurations that happen when building objects through the GUI I was able to use Ansible modules to do just about everything I wanted to do. These modules are great! Thank you for your hard work.
The only module I was not able to find or figure out a way to do with another existing related module was a module to build "security log profiles". I believe these are a feature of ASM (and possibly other security features.) They correlate to Security --> Event Logs --> Logging Profiles in the GUI.
I was able to work around my issue by building the desired profiles in the GUI, grabbing the config via CLI, and then figuring out how to build them automatically using tmsh shell. That Ansible module tells you to create a feature request if you need to use it, so this is that request!
For clarity, my full workflow is something like this:
Code I wound up using for the log profiles:
ansible vars / tmsh code:
The actual commands with some variables filled in:
Hopefully this is a helpful feature request for someone at F5. It doesn't really impact my project since I have two fairly static configs that are unlikely to change but for others it could.
If I totally blew it and there IS a pre-existing module to do this I apologize for wasting your time. In this case, please let me know and it would be greatly appreciated
Additionally, If there is anything else I can do to help, please let me know. Thanks!
The text was updated successfully, but these errors were encountered: