Hi,
in our deployment pipeline we want to check the config of an app.
At the moment I try to parse the default.meta file.
For the other confs we use the configparser and python to check our quality.
The first problem was the nameless stanza ("[]"). I don't found a way that the configparser parse stanzas without name.
The workaround was, that I "rename" the stanza before using configparser. If someone has a better variant I would be very pleased.
My problem now is, that I want to check that the "access":
access = read : [ * ], write : [ admin, power ]
I want to check if the right groups are permitted.
Any of you know what format that's written in?
Unfortunately I haven't found anything yet.
Thanks for your help.
I'm running into the same issues. btool won't even read these. There's got to be a way to manipulate these files?
You have to do it manually. Format of the file is documented here - https://help.splunk.com/en/data-management/splunk-enterprise-admin-manual/10.4/configuration-file-re... (for some reason it's incorrectly named in the docs but the description is OK).