Include only project-declared licenses in output of 'fossa report licenses'?
Hello - I'm wondering if it's possible to filter down the results of the 'fossa report licenses' CLI command to only include the project declared licenses, rather than the full set of scanned licenses.
I see an option for that in the FOSSA UI for generating reports, but am unable to see a corresponding option in the 'fossa report licenses' CLI.
I also tried looking at the results of fossa report licenses --json but didn't see a field in the "Licenses" key that would allow me to distinguish between project declared licenses and scanned licenses.
Thanks!
Hi @gibsondan, by "Project declared licenses" are you referring to licenses declared by the project you are scanning? For example, if you scanned the fossa-cli you would expect to see MPL-2.0 license?