Reformat OpenSCAP CSV Report Creation Code
Current Behavior
The functions to create the OpenSCAP CSV reports in the pipeline_csv_gen.py script should be cleaned up.
Purpose
The Anchore report gen functions were improved recently and this improvement was mimicked in an updated Twistlock function. This improvement should be brought to the OpenSCAP report functions as well.
Plan
Mimic the existing code used to create the Anchore and Twistlock reports in the scanning stage of the pipeline.
Acceptance Criteria
OSCAP reports no longer require two functions each to generate their respective CSV reports. The new code should also get rid of hard coded lists with empty strings used to print an empty row in the CSVs, and again mimic the updated Anchore and Twistlock code.