Skip to content

Latest commit

 

History

History
79 lines (66 loc) · 7.4 KB

File metadata and controls

79 lines (66 loc) · 7.4 KB
title Dependency graph supported package ecosystems
shortTitle Dependency graph ecosystems
intro Dependency graph supports a variety of ecosystems.
allowTitleToDifferFromFilename true
versions
fpt ghec ghes
*
*
*
redirect_from
/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems
contentType reference
category
Secure your dependencies

Understanding the table

The dependency graph supports different methods of submitting data for direct and indirect (transitive) dependencies. See AUTOTITLE.

In the table below:

  • The Static transitive dependencies, {% data variables.product.prodname_dependabot %} graph jobs (currently not available for {% data variables.product.prodname_ghe_server %}), and Automatic dependency submission columns show you supported methods for submitting data.
  • The Static transitive dependencies column also indicates whether static analysis will add direct and transitive labels for dependent packages in that ecosystem.
  • The {% data variables.product.prodname_dependabot %} graph jobs column indicates whether {% data variables.product.prodname_dependabot %} can generate dependency graphs using its own job infrastructure. Where supported, this method takes precedence over automatic dependency submission. See AUTOTITLE.
  • The Recommended files column suggests formats that explicitly define which versions are used for all direct and all indirect dependencies. These files lock the package versions to those included in the build and enable Dependabot to find vulnerable versions in both direct and indirect dependencies.

Supported package ecosystems

Package manager Languages Static transitive dependencies {% data variables.product.prodname_dependabot %} graph jobs Automatic dependency submission Recommended files Additional files
{% ifversion dependabot-bazel-support %}
Bazel Starlark {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} MODULE.bazel, WORKSPACE MODULE.bazel.lock, maven_install.json, *.MODULE.bazel
{% endif %}
Cargo Rust {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} Cargo.lock Cargo.toml
Composer PHP {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} composer.lock composer.json
NuGet .NET languages (C#, F#, VB), C++ {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} .csproj, .vbproj, .nuspec, .vcxproj, .fsproj packages.config
{% data variables.product.prodname_actions %} workflows YAML {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} .yml, .yaml {% octicon "x" aria-label="None" %}
Go modules Go {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="Not supported" %} go.mod {% octicon "x" aria-label="None" %}
Gradle Java {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="None" %} {% octicon "x" aria-label="None" %}
{% ifversion dependabot-julia-support %}
Julia Julia {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} Manifest.toml Project.toml
{% endif %}
Maven Java, Scala {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} pom.xml {% octicon "x" aria-label="None" %}
npm JavaScript {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} package-lock.json package.json
{% ifversion dependabot-opentofu-support %}
OpenTofu HCL {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} .terraform.lock.hcl .tf, .tofu
{% endif %}
pip Python {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} {% octicon "check" aria-label="Supported" %} requirements.txt, pipfile.lock pipfile, setup.py
pnpm JavaScript {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} pnpm-lock.yaml package.json
pub Dart {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} pubspec.lock pubspec.yaml
Poetry Python {% octicon "x" aria-label="Not supported" %} {% octicon "check" aria-label="Supported" %} {% octicon "check" aria-label="Supported" %} poetry.lock pyproject.toml
RubyGems Ruby {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} Gemfile.lock Gemfile, *.gemspec
Swift Package Manager Swift {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} Package.resolved {% octicon "x" aria-label="None" %}
Yarn JavaScript {% octicon "check" aria-label="Supported" %} {% octicon "x" aria-label="Not supported" %} {% octicon "x" aria-label="Not supported" %} yarn.lock package.json

Note

  • If you list your Python dependencies within a setup.py file, we may not be able to parse and list every dependency in your project.
  • {% data variables.product.prodname_actions %} workflows must be located in the .github/workflows/ directory of a repository to be recognized as manifests. Any actions or workflows referenced using the syntax jobs[*].steps[*].uses or jobs.<job_id>.uses will be parsed as dependencies. For more information, see AUTOTITLE.
  • {% data reusables.dependabot.dependabot-alert-actions-semver %} For more information, see AUTOTITLE and AUTOTITLE.

{% ifversion dependabot-community-ecosystems %}

Community-maintained ecosystems

{% data reusables.dependabot.community-maintained-intro %}

Ecosystem Maintained by
{% ifversion dependabot-julia-support %}
Julia Julia community
{% endif %}
{% ifversion dependabot-opentofu-support %}
OpenTofu OpenTofu community
{% endif %}
pub Dart community

{% endif %}