# dependency-track **Repository Path**: huashan_mountain123/dependency-track ## Basic Information - **Project Name**: dependency-track - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-14 - **Last Updated**: 2021-01-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://github.com/DependencyTrack/dependency-track/workflows/CI%20Build/badge.svg)](https://github.com/DependencyTrack/dependency-track/actions?workflow=CI+Build) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b2ecd06dab57438a9a55bc4a71c5a8ce)](https://www.codacy.com/gh/DependencyTrack/dependency-track/dashboard?utm_source=github.com&utm_medium=referral&utm_content=DependencyTrack/dependency-track&utm_campaign=Badge_Grade) [![Alpine](https://img.shields.io/badge/built%20on-Alpine-blue.svg)](https://github.com/stevespringett/Alpine) [![License][license-image]][license-url] [![OWASP Flagship](https://img.shields.io/badge/owasp-flagship%20project-orange.svg)](https://www.owasp.org/index.php/OWASP_Dependency_Track_Project) [![Website](https://img.shields.io/badge/https://-dependencytrack.org-blue.svg)](https://dependencytrack.org/) [![Documentation](https://img.shields.io/badge/read-documentation-blue.svg)](https://docs.dependencytrack.org/) [![Slack](https://img.shields.io/badge/chat%20on-slack-46BC99.svg)](https://dependencytrack.org/slack) [![Group Discussion](https://img.shields.io/badge/discussion-groups.io-blue.svg)](https://dependencytrack.org/discussion) [![YouTube Subscribe](https://img.shields.io/badge/youtube-subscribe-%23c4302b.svg)](https://dependencytrack.org/youtube) [![Twitter](https://img.shields.io/twitter/follow/dependencytrack.svg?label=Follow&style=social)](https://twitter.com/dependencytrack) [![Downloads](https://img.shields.io/github/downloads/DependencyTrack/dependency-track/total.svg)](https://github.com/DependencyTrack/dependency-track/releases) [![Latest](https://img.shields.io/github/release/DependencyTrack/dependency-track.svg)](https://github.com/DependencyTrack/dependency-track/releases) [![Docker Pulls](https://img.shields.io/docker/pulls/owasp/dependency-track.svg)](https://hub.docker.com/r/owasp/dependency-track/) ![logo preview](https://raw.githubusercontent.com/DependencyTrack/branding/master/dt-logo-black-text.svg?sanitize=true) Dependency-Track is an intelligent [Component Analysis] platform that allows organizations to identify and reduce risk in the software supply chain. Dependency-Track takes a unique and highly beneficial approach by leveraging the capabilities of [Software Bill of Materials] (SBOM). This approach provides capabilities that traditional Software Composition Analysis (SCA) solutions cannot achieve. Dependency-Track monitors component usage across all versions of every application in its portfolio in order to proactively identify risk across an organization. The platform has an API-first design and is ideal for use in CI/CD environments.

## Ecosystem Overview ![alt text](https://raw.githubusercontent.com/DependencyTrack/dependency-track/master/docs/images/integrations.png) ## Features * Tracks application, library, framework, operating system, container, firmware, and hardware components * Tracks component usage across every application in an organizations portfolio * Identifies multiple forms of risk including * Components with known vulnerabilities * Out-of-date components * Modified components * License risk * More coming soon... * Integrates with multiple sources of vulnerability intelligence including: * [National Vulnerability Database] (NVD) * [NPM Public Advisories] * [Sonatype OSS Index] * [VulnDB] from [Risk Based Security] * More coming soon. * Robust policy engine with support for global and per-project policies * Security risk and compliance * License risk and compliance * Operational risk and compliance * Ecosystem agnostic with built-in repository support for: * Composer (PHP) * Gems (Ruby) * Hex (Erlang/Elixir) * Maven (Java) * NPM (Javascript) * NuGet (.NET) * Pypi (Python) * More coming soon. * Includes a comprehensive auditing workflow for triaging results * Configurable notifications supporting Slack, Microsoft Teams, Webhooks, and Email * Supports standardized SPDX license ID’s and tracks license use by component * Supports importing [CycloneDX] and [SPDX] Software Bill of Materials (SBOM) formats * Easy to read metrics for components, projects, and portfolio * Native support for Kenna Security, Fortify SSC, ThreadFix and DefectDojo * API-first design facilitates easy integration with other systems * API documentation available in OpenAPI format * OAuth 2.0 + OpenID Connect (OIDC) support for single sign-on (authN/authZ) * Supports internally managed users, Active Directory/LDAP, and API Keys * Simple to install and configure. Get up and running in just a few minutes
![alt text](https://raw.githubusercontent.com/DependencyTrack/dependency-track/master/docs/images/screenshots/dashboard.png) ### Quickstart (Docker Compose) ```bash # Downloads the latest Docker Compose file curl -LO https://dependencytrack.org/docker-compose.yml # Starts the stack using Docker Compose docker-compose up -d ``` ### Quickstart (Docker Swarm) ```bash # Downloads the latest Docker Compose file curl -LO https://dependencytrack.org/docker-compose.yml # Initializes Docker Swarm (if not previously initialized) docker swarm init # Starts the stack using Docker Swarm docker stack deploy -c docker-compose.yml dtrack ``` ### Quickstart (Manual Execution) ```bash # Pull the image from the Docker Hub OWASP repo docker pull dependencytrack/bundled # Creates a dedicated volume where data can be stored outside the container docker volume create --name dependency-track # Run the bundled container with 8GB RAM on port 8080 docker run -d -m 8192m -p 8080:8080 --name dependency-track -v dependency-track:/data dependencytrack/bundled ``` **NOTICE: Always use official binary releases in production.** ## Distributions Dependency-Track has four distribution variants. They are: | Package | Package Format | Recommended | Supported | Docker | Download | | :---------- | :---------- | :---------: | :---------: | :---------: | :---------: | | API Server | Executable WAR | ✅ | ✅ | ✅ | ✅ | | Frontend | Single Page Application | ✅ | ✅ | ✅ | ✅ | | Bundled | Executable WAR | ❌ | ☑️ | ✅ | ✅ | | Traditional WAR | WAR | ❌ | ❌ | ❌ | ✅ | #### API Server The API Server contains an embedded Jetty server and all server-side functionality, but excludes the frontend user interface. This variant is new as of Dependency-Track v4.0. #### Frontend The Frontend is the user interface that is accessible in a web browser. The Frontend is a Single Page Application (SPA) that can be deployed independently of the Dependency-Track API Server. This variant is new as of Dependency-Track v3.8. #### Bundled The Bundled variant combines the API Server and the Frontend user interface. This variant was previously referred to as the executable war and was the preferred distribution from Dependency-Track v3.0 - v3.8. This variant is supported but deprecated and will be discontinued in a future release. #### Traditional The Traditional variant combines the API Server and the Frontend user interface and must be deployed to a Servlet container. This variant is not supported, deprecated, and will be discontinued in a future release. ## Deploying on Kubernetes with Helm You can install on Kubernetes using the [community-maintained chart](https://github.com/evryfs/helm-charts/tree/master/charts/dependency-track) like this: ```shell helm repo add evryfs-oss https://evryfs.github.io/helm-charts/ helm install evryfs-oss/dependency-track --name dependency-track --namespace dependency-track ``` by default, it will install PostgreSQL and use persistent volume claims for the data-directory used for vulnerability feeds. ## Compiling From Sources (optional) To create the API Server executable WAR that is ready to launch: ```shell mvn clean package -P embedded-jetty ``` To create the API Server executable WAR that is ready to be deployed in a Docker container: ```shell mvn clean package -P embedded-jetty -Dlogback.configuration.file=src/main/docker/logback.xml ``` To create the Bundled (API Server + Frontend) executable WAR that is ready to be deployed in a Docker container: ```shell mvn clean package -P embedded-jetty -P bundle-ui -Dlogback.configuration.file=src/main/docker/logback.xml ``` ## Resources * Website: * Documentation: * Component Analysis: ## Community * Twitter: * YouTube: * Slack: (Invite: ) * Discussion (Groups.io): ## Copyright & License Dependency-Track is Copyright (c) Steve Springett. All Rights Reserved. Permission to modify and redistribute is granted under the terms of the [Apache License 2.0] [license-url] Dependency-Track makes use of several other open source libraries. Please see the [NOTICES.txt] [notices] file for more information. [National Vulnerability Database]: https://nvd.nist.gov [NPM Public Advisories]: https://www.npmjs.com/advisories [Sonatype OSS Index]: https://ossindex.sonatype.org [VulnDB]: https://vulndb.cyberriskanalytics.com [Risk Based Security]: https://www.riskbasedsecurity.com [Component Analysis]: https://owasp.org/www-community/Component_Analysis [Software Bill of Materials]: https://owasp.org/www-community/Component_Analysis#software-bill-of-materials-sbom [CycloneDX]: https://cyclonedx.org [SPDX]: https://spdx.org [license-image]: https://img.shields.io/badge/license-apache%20v2-brightgreen.svg [license-url]: https://github.com/DependencyTrack/dependency-track/blob/master/LICENSE.txt [Apache License 2.0]: https://github.com/DependencyTrack/dependency-track/blob/3.0-dev/LICENSE.txt [notices]: https://github.com/DependencyTrack/dependency-track/blob/master/NOTICES.txt [Alpine]: https://github.com/stevespringett/Alpine