Skip to content

ScanCode.io

Starting the server

To have a close integration between SecObserve and ScanCode.io, the script

./bin/scancodeio_dev.sh

starts both SecObserve and ScanCode.io in one Docker Compose environment. The ScanCode.io UI can then be accessed with http://localhost:4100/.

SecObserve only supports ScanCode.io installations with activated authentication, so a user needs to be created in a shell of the secobserve-scancodeio-1 container with:

./manage.py create-user --generate-api-key --admin --super admin

The API key of this user must be stored in the SecObserve settings for ScanCode.io.

The base URL of ScanCode.io in the SecObserve settings is http://nginx. The SecObserve backend runs in its own container, so localhost would not reach ScanCode.io. The host name nginx is allowed for ScanCode.io in docker/scancodeio/.env.

ScanCode.io notifies SecObserve with a webhook when a pipeline has finished. The SecObserve URL for ScanCode.io webhooks in the SecObserve settings is http://backend:8000. The webhook is registered when a project is created.

Using the integration

How ScanCode.io projects are managed and how their results are imported is described in ScanCode.io integration.

Funding

NLNet     NGI0 Commons Fund     https://nlnet.nl/project/SecObservePlus

Integration of SecObserve with ScanCode.io is funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429. Additional funding is made available by the Swiss State Secretariat for Education, Research and Innovation (SERI).