10 CNCF Fossa
James Magowan edited this page 2022-05-26 00:31:54 +01:00

Work in Progress to record using CNCF Fossa to fulfil our license scanning requirement for onboarding

Setup connection between Fossa and Github Organisation

FossaAddProject
  • Quick Import from Github

From https://github.com/organizations/confidential-containers/settings/oauth_application_policy

  • Connect with Service (Choosing Proceed without linking) Screenshot 2022-04-27 at 16 25 48

  • Ensure Fossa is an approved third party application for confidential containers

Fossa View

Screenshot 2022-04-27 at 22 02 14

Github View

Screenshot 2022-04-27 at 22 02 24
  • Finally Authorise Fossa using your Github Account (??Should we eventually setup a service account for this??)

Add a Project

  • Add Projects
FossaAddProject
  • Quick Import - From Github

  • select Confidential Container organization from drop down and should now see list of repositories Screenshot 2022-04-27 at 22 23 44

  • Check a repository and import

Initial Repository License Status

image-rs

ocicrypt-rs

operator

td-shim

enclave-cc

Attestation Agent

Attestation Service

kbs

simple-kbs

cloud-api-adaptor

community

.github

documentation

Other repos

Addressing reported Issues

Suggest to use servicedesk (https://cncfservicedesk.atlassian.net/servicedesk) which I believe is available to maintainers.

  • "File a Service Desk ticket with the topic of "Legal" (whatever that drop down is called) and cc @Amye Scavarda Perrin)"

I have examined further and actually the problem licenses are being found in a deep scan for license strings within the source code repo of the dependency. Amye guidance is that we should use service desk tickets which will route us to Legal guidance or interaction to resolve the fossa issues.

Investigation into reported dependency issues

afl (attestation-agent, image-rs, td-shim)

cortex-m-semihosting (attestation-agent, image-rs, ocicrypt-rs, td-shim)

freetype-sys (attestation-agent, image-rs, ocicrypt-rs, td-shim)

glommio (ocicrypt-rs)

gmp-mpfr-sys (attestation-agent, image-rs, ocicrypt-rs, td-shim)

lz4-sys (td-shim)

lzma-sys (attestation-agent, image-rs, ocicrypt-rs, td-shim)

rug (attestation-agent, image-rs, ocicrypt-rs, td-shim)

  • Flagged: GPL-3.0-only in rug
  • Flagged: LGPL-3.0-only in rug
  • https://crates.io/crates/rug/1.15.0 LGPL-3.0+
  • https://gitlab.com/tspiteri/rug LPGL and GPL though README says "Rug is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the full text of the GNU LGPL and GNU GPL for details."
  • Requires you to (effectively) disclose your source code if the library is statically linked to your project. Not triggered if dynamically linked or a separate process.

sdl2-sys (td-shim)

servo-freetype-sys (attestation-agent, image-rs, ocicrypt-rs, td-shim)