> For the complete documentation index, see [llms.txt](https://docs.meterian.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meterian.io/containers-support/container-scanner/command-line-parameters/producing-reports.md).

# Producing reports

The container scanner can directly generate a few reports: these parameters are used to select which reports should be generated and, in some cases, what they should contain.&#x20;

**It is important to note that the container scanner runs in a Docker container and maps the current folder on the host machine so every generated report will be stored in the current folder. You only need to specify the desired filename of the chosen report and not a path. Should you wish to map a different folder you are free to do so by manually editing the** [`docker-scan.sh`](https://raw.githubusercontent.com/MeterianHQ/docker-scanner-engine/master/inline/docker-scan.sh) **script.**

**`--report-json`**\
Produces a JSON report file of the analysis  (machine-readable)\
Example: **`--report-json=report.json`**

**`--report-pdf`**\
Produces a PDF report file of the analysis (human-readable)\
Example: **`--report-pdf=report.pdf`**

**`--report-junit`**\
Produces a Junit XML report file of the analysis (machine-readable)\
Example: **`--report-junit=report.xml`**

**`--report-console`**\
Emits  an analysis report on the console, a list of options separated by comma should be specified:\
\- color: enable colored output\
\- nocolor: disable colors and enhanced formatting (used on CI with bare-bone consoles)\
\- security: shows the security section\
\- stability; shows the stability section\
\- licensing: shows the licensing section \
Default: color if supported, includes all the sections\
Example: **`--report-console=nocolor,security,licensing`**

**`--report-sbom`**\
Produces a SBOM report, the format is defined based on the extension of the file:

* .json - a standard licensing bible report, JSON format
* .pdf - a standard licensing bible report, PDF format
* .csv - a standard SBOM Meterian report, CSV format
* .cdx.xml - a standard CycloneDX SBOM report, XML format
* .cdx.json - a standard CycloneDX SBOM report, JSON format

**`--report-tree`**\
Produces dependency tree, optionally on file in either JSON or TEXT format\
Example: `--report-tree=tree.txt`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meterian.io/containers-support/container-scanner/command-line-parameters/producing-reports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
