Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 887 Bytes

config-file-copyright-garbage-yml.md

File metadata and controls

23 lines (16 loc) · 887 Bytes

The copyright-garbage.yml file

The copyright-garbage.yml file allows for removal of incorrect copyright holder detections from the reporter output.

You can use the copyright-garbage.yml example as the base file for your scans.

When to Use

No scanner is perfect and many detect code statements or binary code as copyright holders, copyright-garbage.yml provides a way to clean up such errors across all scans.

Command Line

To use the copyright-garbage.yml file put it to $ORT_CONFIG_DIR/copyright-garbage.yml or pass it to the --copyright-garbage-file option of the reporter:

cli/build/install/ort/bin/ort report
  -i [evaluator-output-dir]/evaluation-result.yml
  -o [reporter-output-dir]
  --report-formats NoticeTemplate,StaticHtml,WebApp
  --copyright-garbage-file $ORT_CONFIG_DIR/copyright-garbage.yml