Currently the baseline log file is determined automatically by the parser, based on the version of the parsed log and the available baseline logs.
A user might be using a different baseline than what is found in the parser which they want to check against and in that case, its good to be able to supply it externally.
To implement this the following is needed:
- Adding an optional parameter to the parser's command line arguments.
- Verifying that the specified file exists and is a valid log file
- A baseline should only contain options for the default cf. Handle files that are not compliant (ignore other cf-s? Reject? Other?)
- Write unit tests to test this capability
Currently the baseline log file is determined automatically by the parser, based on the version of the parsed log and the available baseline logs.
A user might be using a different baseline than what is found in the parser which they want to check against and in that case, its good to be able to supply it externally.
To implement this the following is needed: