Skip to main content
The test.sh script checks that the SCANOSS Engine, Knowledge Base, and API work after installation.
Before you run this script, make sure the resources/ directory has read permissions. If it doesn’t, run chmod -R +r /resources.

Running the script

The script shows this menu:
Option 1, Verify scanning feature, generates a scan_results.json file. The file should include a match for the test file in the /resources directory. Option 2, Check API service status, should return:
Option 3, Check API service metrics, returns JSON with request counts, performed scans, and related metrics. If all three checks return the expected output, your on-premise SCANOSS installation is complete.