The Stylish reporter is the default Spectral reporter. It can output a few different "styles" of reports that we've grown accustomed to:
If you want cool CLI-based reports with colors and to-the-point messaging, you don't need to do anything special to configure it, it's enabled by default with an empty
There are a few additional kinds of reports in this reporter below.
Note that we are sunsetting some of these reporters, as the new Spectral account UI cover them in a better way. The
CSV outputs will always exist.
To configure Spectral to output HTML reports for infosec reviews, secops reviews or your periodical security email sendouts:
If you want results in CSV format, to be sliced and diced later, or you have your own report generation pipeline that you only need to feed some CSV into, here's how to configure the stylish reporter to output CSV:
If you want results in JSON format: