{"id":18400854,"url":"https://github.com/elomagic/dt-tool","last_synced_at":"2025-04-12T16:58:56.547Z","repository":{"id":244253162,"uuid":"814661434","full_name":"elomagic/dt-tool","owner":"elomagic","description":"Dependency Track Tool","archived":false,"fork":false,"pushed_at":"2025-04-09T14:45:17.000Z","size":538,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T15:45:02.505Z","etag":null,"topics":["dependency-track","dependencytrack","sbom"],"latest_commit_sha":null,"homepage":"","language":"Java","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/elomagic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-06-13T12:53:36.000Z","updated_at":"2025-04-09T14:45:19.000Z","dependencies_parsed_at":"2024-06-20T11:23:28.503Z","dependency_job_id":"d54487fa-9352-4bed-86ce-a1930f8c1e2b","html_url":"https://github.com/elomagic/dt-tool","commit_stats":null,"previous_names":["elomagic/dt-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fdt-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fdt-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fdt-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elomagic%2Fdt-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elomagic","download_url":"https://codeload.github.com/elomagic/dt-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602097,"owners_count":21131612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dependency-track","dependencytrack","sbom"],"created_at":"2024-11-06T02:37:05.287Z","updated_at":"2025-04-12T16:58:56.541Z","avatar_url":"https://github.com/elomagic.png","language":"Java","funding_links":["https://www.buymeacoffee.com/elomagic"],"categories":[],"sub_categories":[],"readme":"# Tool for Dependency Track\n\n---\n\n[![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/apache/maven.svg?label=License)][license]\n[![build workflow](https://github.com/elomagic/dt-tool/actions/workflows/maven.yml/badge.svg)](https://github.com/elomagic/dt-tool/actions)\n[![GitHub issues](https://img.shields.io/github/issues-raw/elomagic/dt-tool)](https://github.com/elomagic/dt-tool/issues)\n[![Latest](https://img.shields.io/github/release/elomagic/dt-tool.svg)](https://github.com/elomagic/dt-tool/releases)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/elomagic/dt-tool/graphs/commit-activity)\n[![Buymeacoffee](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee\u0026label)](https://www.buymeacoffee.com/elomagic)\n\nA tool that helps you to manage Dependency Track content better.\n\n* Delete outdated projects\n* Collect SBOMs of projects to one ZIP file\n* tbc\n\n## Using the library\n\nDownload the latest version of DT-Tool https://github.com/elomagic/dt-tool/releases\n\n### Configuration\n\n#### File ```${sys:user.home}/.dt-tool/configuration.json5```\n\nThe configuration `file, named ```configuration.json5```, must be placed in a sub folder named ```.dt-tool``` of the users home folder.\n\n```json5\n{\n    // Base URL of Dependency Track\n    \"baseUrl\": \"https://dependencytrackapi.local\",\n    // API key to access REST API of the Dependency Track\n    \"apiKey\": \"\u003cAPI-KEY\u003e\",\n}\n```\n\n### Execute\n\nExecute following line to see all supported options:\n\n```shell\ndt-tool.sh --help\n```\n\n#### Example - Delete outdated SNAPSHOTS (30 days and older)\n\n```shell\ndt-tool.sh delete-projects -v\n```\n\n#### Example - Collect SBOMs\n\n```shell\ndt-tool.sh collect-boms -v --notBeforeDays=10 --projectFilter=\"b83457bd-5c89-4dc6-b6e1-eda408507dcd\",\"117a619b-da93-4a85-8f8f-0e3ab9efce4c\" -f=\"solution-stack-sboms.zip\"\n```\n\n#### Example - Export simple report\n\n```shell\ndt-tool.cmd report -v --file dt-report.csv --decimalSymbol=, --fillGaps=true\n```\n\n#### Example - Print invalid license IDs\n\n```shell\ndt-tool.sh check-licenses -v --projectFilter=\"dt-tool\"\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Versioning\n\nVersioning follows the semantic of [Semantic Versioning 2.0.0](https://semver.org/)\n\n## License\n\nThe dt-tool is distributed under [Apache License, Version 2.0][license]\n\n[license]: https://www.apache.org/licenses/LICENSE-2.0\n\n## Donations\n\nDonations will ensure the following:\n\n* 🔨 Long term maintenance of the project\n* 🛣 Progress on the roadmap\n* 🐛 Quick responses to bug reports and help requests\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felomagic%2Fdt-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felomagic%2Fdt-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felomagic%2Fdt-tool/lists"}