Skip to content

NAIS maintained: Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.

License

Notifications You must be signed in to change notification settings

nais/dependencytrack

Repository files navigation

Dependencytrack

Dependencytrack is a tool for scanning dependencies for vulnerabilities.

Overview

NAIS maintains this repository, which includes:

  • 📦 Helm charts for Kubernetes deployments
  • 🔧 Pre-install and post-install bootstrap configuration
  • 🗄️ StatefulSet configuration for persistence and zero-downtime deployments

Table of Contents

Dependencytrack Client

This repository includes a Go client for Dependencytrack, making it easy to integrate with your implementations. The client is designed to be extensible—feel free to expand the interface with additional functionality as needed.

Using the Client

To use the client in your projects, import it as follows:

go get -u github.com/nais/dependencytrack@HEAD

Local Development

Prerequisites

Install the required tools:

asdf install

Getting Started

  1. Start Dependencytrack locally:

    make compose
  2. Configure environment variables:

    • Copy .env.sample to .env
    • Fill in the necessary configuration values
  3. Access the services:

Test Users

The users.yaml file contains pre-configured users for automated testing. You can modify this file to add or update test users as needed.

Image Verification

The container images are signed using Sigstore cosign for authenticity verification.

Verify Image Signature

cosign verify \
  --certificate-identity "https://github.com/nais/depedencytrack/.github/workflows/main.yaml@refs/heads/main" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  europe-north1-docker.pkg.dev/nais-io/nais/images/dependencytrack@sha256:<shasum>

Verify Image Attestation (SBOM)

Images are attested with CycloneDX SBOMs. To verify the attestation:

cosign verify-attestation --type cyclonedx \
  --certificate-identity "https://github.com/nais/depedencytrack/.github/workflows/main.yaml@refs/heads/main" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  europe-north1-docker.pkg.dev/nais-io/nais/images/dependencytrack@sha256:<shasum>

License

nais/Dependencytrack is licensed under the MIT License. See LICENSE.md for details.

About

NAIS maintained: Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12