{"id":18867872,"url":"https://github.com/trustsource/ts-docker","last_synced_at":"2026-03-06T07:02:53.454Z","repository":{"id":63365890,"uuid":"477802400","full_name":"TrustSource/ts-docker","owner":"TrustSource","description":"Allows to scan docker images and transfer the data to TrustSource https://app.trustsource.io","archived":false,"fork":false,"pushed_at":"2025-05-26T13:38:33.000Z","size":32,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T15:19:02.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrustSource.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-04T17:23:01.000Z","updated_at":"2024-09-05T12:21:05.000Z","dependencies_parsed_at":"2024-12-30T22:41:43.635Z","dependency_job_id":"869e1c27-f281-40f0-9ac0-e9fdecb971d8","html_url":"https://github.com/TrustSource/ts-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TrustSource/ts-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustSource%2Fts-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustSource%2Fts-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustSource%2Fts-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustSource%2Fts-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrustSource","download_url":"https://codeload.github.com/TrustSource/ts-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrustSource%2Fts-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T05:11:42.244Z","updated_at":"2026-03-06T07:02:53.411Z","avatar_url":"https://github.com/TrustSource.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrustSource Docker scanner\n\n[![Gitter](https://badges.gitter.im/TrustSource/community.svg)](https://gitter.im/TrustSource/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n![Supported Versions](https://img.shields.io/badge/Python-3.7,%203.8-blue)\n\nThis is a wrapper for Syft, allowing to decompose a docker image - pulled from default\nregistry - and transferring the results to TrustSource or writing it into a local JSON.\n\n# Prerequisites\n\n**Syft** - a tool for generating a Software Bill of Materials (SBOM) from container images\nand filesystems.\nFor the installation instruction, refer to [anchore:syft](https://github.com/anchore/syft).\nts-docker will use the default path set during the installation to find syft and handle it.\nYou may specify a path, in case this is required. See below for more information.\n\n# Installation\n\nTo install, please clone the repo and install from there:\n\n- Clone repository\n\n```shell\ngit clone https://github.com/TrustSource/ts-docker.git\n```\n\n- Install using PIP from the base directory (where you have cloned the repo in)\n\n```shell\npip3 install ./ts-docker \n```\n\n# Usage\n\nYou may execute the utility without any further connection to TrustSource. However, to\ntransfer data into TrustSource, you require a valid API key and a projectname to associate\ntransfered data with. To retrieve a valid API key, please contact your project manager or see\nour [knowledgebase](https://support.trustsource.io/hc/en-us/search?utf8=✓\u0026query=api+key)\n\n## Execute Help\n\nts-docker has a CLI. To learn more, run `--help`\n\n```shell\nts-docker --help\n```\n\nThis will display the different options available:\n\n```shell\nUsage: ts-docker [OPTIONS] IMAGE\n\nOptions:\n  --syft-path TEXT     Path to the Syft executable.\n  --apiKey TEXT        API Key for data transfer to TrustSource.\n  --projectName TEXT   Project name to associate data with.\n  --skipTransfer       Skip transfer of results to TrustSource (local use only).\n  --settingsFile TEXT  Path to a settings file, e.g. containing the API key\n  --outputFile TEXT    Path to an output file, to store upload data locally (will be JSON).\n  --help               Show this message and exit. \n```\n\n## Examples\n\n### Prepare data without transfering\n\n```shell\nts-docker --skipTransfer \u003clocal Docker image name\u003e \n```\n\nWill execute the scan and write scan result to stdout.\n\n### Prepare data and transfer to TrustSource  \n\n```shell\nts-docker --apiKey \u003cKEY\u003e --projectName \u003cNAME\u003e \u003clocal Docker image name\u003e \n```\n\nWill execute the scan, upload data to TrustSource and associate it with project *NAME*.\n\n# Questions \u0026 Support\n\nPlease find further information at our [knowledgebase](https://support.trustsource.io) or\ncontact [TrustSource Support](mailto:support@trustsource.io) for more questions.\n\nFeel free to star, fork and improve. We are looking forward to get your feedback!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustsource%2Fts-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustsource%2Fts-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustsource%2Fts-docker/lists"}