For those of you who are interested I have updated the API based audit and remediation tool with a couple new features. After all, what is the use of automation if it isn’t user friendly?
1. Better error handling of remediation errors: In the past you would just get a message to the effect of “Something went wrong” but now the tool will pass the HTTP status code and Error Details from the Log Insight Server’s response to your remediation request. In the below example you can see this in action.
2. Now includes a wizard to help build a simplified JSON configuration file! Now, without having to create a single bit of JSON you can quickly get value from the tool. The wizard is simplified because let’s be honest, if you want the wizard you don’t want to answer 250 questions. Because of this some things are assumed/disabled. If you want them then you can simply add it to the code or use the template in the included docs (use the -d switch).
I hope that this helps you get started in seeing the value of using Configuration APIs to manage your Log Insight Servers!