Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
See a breakdown of the file formats and features supported in C#.
OpenText Core SCA currently supports the tracking of C# dependencies through:
NuGet, using .csproj, packages.lock.json and packages.config files
file fingerprinting, to find dependencies not defined in manifest-files
Paket, using paket.lock file
If there is a modern NuGet project where dependencies are defined in .csproj files, OpenText Core SCA recommends using the packages.lock.json file. This file allows OpenText Core SCA to analyze the dependency tree and suggest root fixes. By default, NuGet does not generate this file, but you can create it using the technology with the OpenText Core SCA CLI or by enabling and then committing the generated file. When you run the resolve command, the OpenText Core SCA CLI automatically detects all manifest files that lack the recommended lock files and generates them as needed.
In older NuGet projects, dependencies are typically stored in a packages.config ile. OpenText Core SCA recommends that users generate the necessary lock file for dependency management and root fixes using High Performance Scans with the Debricked CLI. The command debricked resolve will create a packages.lock.json style file by first translating the packages.config into a .csproj file using NuGet. From there, the lock file is generated. Once the process is complete, the .csproj file is deleted, leaving only the newly created lock file. To avoid potential conflicts with NuGet, the specially created NuGet lock file is named as packages.config.nuget.debricked.lock.
By default, in all integrations except the GitHub app, the Debricked scan command will automatically try to generate the necessary lock files before sending your dependency files for scanning.
OpenText Core SCA also supports sending only .csproj or packages.config files for scanning, but the packages.lock.json or packages.config.nuget.debricked.lock file is preferred, as it provides the most accurate tracking of dependency versions and trees, enabling root fixes.
for NuGet utilize native commands when resolving and include all dependencies defined with NuGet, including those managed through .
If at least one of the supported files is committed to your repository, it will be automatically scanned for dependencies when you have done any of our integrations to your CI/CD pipeline.
OpenText Core SCA supports scanning for C# dependencies not defined in manifest files through file fingerprinting. OpenText Core SCA database contains the hashes of .nupkg files as well as their unpacked contents (including .dll files) for all packages in the NuGet gallery. This is used when comparing with the contents of your application, to ensure as accurate matches as possible. For more information on file fingerprinting and how to set it up, see .
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
**When building the knowledge base, the files are downloaded, unpacked and fingerprints are created for all file contents, except for certain excluded patterns. The fingerprints are created for the contents of each file. For example, Debricked matches .dll files for C# and .class files within .jar files for Java, along with similar files from other programming languages.
Yes
Nuget
package.lock.json
Yes*
Nuget
packages.config
Yes
Paket
paket.lock
Yes*
-
fingerprinted files (.dll, .nupkg and more**)
-
Nuget
.csproj
See a breakdown of the file formats and features supported in Rust.
The support for this language is currently in beta. Vulnerability results may be less accurate than normal.
OpenText Core SCA now tracks Rust dependencies through Cargo, using its associated Cargo.lock files. This file is generated whenever one of the following commands is executed:
cargo build
cargo updateIf the file is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
Cargo
Cargo.lock
Yes*
See a breakdown of the file formats and features supported in Linux.
Apart from the various programming package management systems, OpenText Core SCA also supports package managers for various Linux distributions, allowing you to find and monitor potential vulnerabilities of your server or Docker container.
To start tracking your server or Docker vulnerabilities, you should first execute your package manager(s) list command and redirect the output to a text file:
For Debian, Ubuntu and most derivatives, execute the following command:
apt list --installed > apt.listFor Alpine Linux which is widely used by Docker containers, execute the following command:
apk list --installed > apk.listTo scan them for dependencies, the output file(s) should be either committed to the repository or manually uploaded.
This page provides a detailed overview of the file formats and features that Scala supports.
OpenText Core SCA now supports tracking Scala dependencies through the following methods:
SBT, by utilizing pom.xml files
file fingerprinting, to find dependencies not specified in manifest files
OpenText Core SCA does not directly support scanning build.sbt files. However, SBT provides commands to generate a corresponding pom.xml file. This pom.xml file can be used to create a lock file, which allows OpenText Core SCA to analyze the complete list of direct and indirect dependencies along with their relationships.
You can do this using the High-Performance Scans technology available in . By running the resolve command, the CLI will automatically detect any build.sbt files and use them to generate the needed maven dependency files. This is also run by default within the scan command.
You can manually create the recommended file(s) by running the following commands and saving the output into a maven.debricked.lock file.
OpenText Core SCA offers the capability to scan for Scala dependencies that are not specified in manifest files through file fingerprinting. The OpenText Core SCA database includes the hashes of .jar and .war files, along with their unpacked contents, for all packages in the largest Maven repository. This information is used to compare with the contents of your application, ensuring the most accurate matches possible.
For more information on file fingerprinting and how to set it up, see .
This section provides a breakdown of the file formats and features supported in Go.
OpenText Core SCA supports tracking Go dependencies through:
Go Modules, using go.mod files
Go Dep, using gopkg.lok files
Bazel, using WORKSPACE files
OpenText Core SCA supports tracking Go dependencies using the Go Modules dependency management system and its associated go.mod file. To achieve the fastest and most accurate results, it is necessary to create a file containing the resolved dependency tree, .gomod.debricked.lock, before scanning.
This can be done using the technology in . If you execute the resolve command, the CLI automatically identifies all manifest files that lack the recommended go.lock files and generates them as needed.
You can manually generate the recommended file(s) by running go mod graph followed by go list -m all, and storing the outputs separated by two new lines between the sections in the gomod.debricked.lock file.
Every gomod.debricked.lock must be put in the same directory as the corresponding go.mod.
OpenText Core SCA recommends running go mod tidy to clean up unused modules before pushing the go.mod files, ensuring more accurate service results.
OpenText Core SCA supports Go projects that utilize Bazel, scanning the WORKSPACE file format alongside any Go file formats in use. Although Bazel does not have native support for Go, support can be added using .
Go Dep and its associated file Gopkg.lock is deprecated and will not get any improvements present in other formats, such as Go Modules.
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
See a breakdown of the file formats and features supported in Objective-C.
OpenText Core SCA now tracks Objective-C dependencies through CocoaPods using Podfile.lock files. If this file is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
See a breakdown of the file formats and features supported in Python.
OpenText Core SCA now tracks Python dependencies through:
Pip (using the older requirements.txt files)
Pipenv (using the newer Pipfile.lock files)
, to find dependencies not defined in manifest-files
See a breakdown of the file formats and features supported in PHP.
OpenText Core SCA currently tracks PHP dependencies installed through Composer dependency manager, using either the composer.json or composer.lock files.
OpenText Core SCA recommends including the composer.lock file, as it contains resolved versions of both direct and indirect dependencies, leading to more accurate scan results.
The composer.lock file is generated whenever one of the following commands is executed:
If at least one of the supported files is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
See a breakdown of the file formats and features supported in Swift.
OpenText Core SCA now tracks Swift dependencies through CocoaPods using Podfile.lock files.
If the file is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
This section provides a breakdown of the file formats and features supported in Java/Kotlin.
OpenText Core SCA currently supports tracking Java or Kotlin dependencies using:
Gradle (using build.gradle and build.gradle.kts files)
Maven (using pom.xml files)
Bazel (using WORKSPACE and install.json
This section provides a breakdown of the file formats and features supported in CycloneDX SBOM.
OpenText Core SCA supports tracking dependencies in using files in JSON and XML formats.
To ensure that OpenText Core SCA identifes the SBOM files as CycloneDX SBOMs, please name them using one of the following conventions:
.bom..json
.*cdx.json
CocoaPods
podfile.lock
Yes*
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
CocoaPods
podfile.lock
Yes*
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
No
Yes
SBT
build.sbt
-
Bazel
install.json
Yes*
Go Modules
go.mod
Yes
Go Dep
gopkg.lock
Yes*
Bazel
WORKSPACE
// sbt makePomSome code
mv target/scala-*/*.pom pom.xml
mvn dependency:tree -DoutputFile=maven.debricked.lock -DoutputType=tgfprintf "$(go mod graph)\n\n$(go list -mod=readonly -e -m all)" > gomod.debricked.lockTo achieve the fastest and most accurate results, create a file containing the resolved dependency tree before scanning. This can be accomplished using the High Performance Scans technology in OpenText Core SCA CLI. By executing the resolve command, the CLI automatically identifies all manifest files that lack the recommended lock files and generates them as needed. The first part of the name is based on the name of the file it was generated from. The file naming format is as follows:
Example: .requirements.txt.pip.debricked.lock
If at least one of the supported files is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
OpenText Core SCA supports scanning for Python dependencies not defined in manifest files through file fingerprinting. OpenText Core SCA database contains the hashes of .whl files as well as their unpacked contents (including .py files) for all packages in the Python package index (PyPI). This is used when comparing with the contents of your application, to ensure as accurate matches as possible.
For more information on file fingerprinting and how to set it up, see file fingerprinting.
Pip
Composer
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
composer install
composer required
composer updateFile fingerprinting to detect dependencies not specified in manifest files
To achieve the fastest and most accurate results, create a file containing the resolved dependency tree named .gradle.debricked.lock before scanning.
This can be accomplished using the High Performance Scans technology in OpenText Core SCA CLI. If you execute the resolve command, the CLI automatically identifies all manifest files that lack the recommended Gradle lock files and generates them as needed.
You can create the recommended file(s) manually by running the Gradle dependencies command and saving the output in a gradle.debricked.lock file.
Every gradle.debricked.lock file should be placed in the same directory as its corresponding build.gradle or build.gradle.kts file.
To achieve the fastest and most accurate results, create a file containing the resolved dependency tree named .maven.debricked.lock before scanning.
This can be accomplished using the High Performance Scans technology in our OpenText Core SCA CLI. If you execute the resolve command, the CLI automatically identifies all manifest files that lack the recommended maven lock files and generates them as needed.
You can manually generate the recommended file(s) by running the Maven dependency:tree plugin and saving the output to a maven.debricked.lock file.
Every maven.debricked.lock file should be placed in the same directory as the corresponding pom.xml file.
OpenText Core SCA supports Java projects that utilize Bazel by scanning the WORKSPACE file format along with any Java file formats in use. To ensure fast and accurate scans, OpenText Core SCA recommends utilizing rules_jvm_external to generate an install.json file, which resolves and pins all indirect dependencies in a lock file.
For more information on setting this up in your project, see Bazel blog.
OpenText Core SCA supports scanning for Java dependencies not defined in manifest-files through file fingerprinting. Our database contains the hashes of .jar and .war files as well as their unpacked contents for all packages in the largest maven repository. This is used when comparing with the contents of your application, to ensure as accurate matches as possible.
For more information on file fingerprinting and how to set it up, see file fingerprinting.
Gradle
*When building the knowledge base, the files are downloaded, unpacked and fingerprints are created for all file contents, except for certain excluded patterns. The fingerprints are created for the contents of each file. For example, OpenText Core SCA matches .dll files used in C# and .class files found within .jar files from Java, among others.
.bom..xml
The specific features available for the SBOM will depend on the libraries included and the individual package managers used.
CycloneDX SBOM
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
See a breakdown of the file formats and features supported in Ruby.
OpenText Core SCA now tracks Ruby dependencies through RubyGems, using its associated Gemfile.lock files. If at least one of the supported files is committed to the repository, it will be automatically scanned for dependencies when integrated with OpenText Core SCA CI/CD pipeline.
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
See a breakdown of the file formats and features supported in JavaScript.
OpenText Core SCA now tracks JavaScript and TypeScript dependencies through:
NPM (using package.json and package-lock.json files)
Yarn (using package.json and yarn.lock files)
<FILE_NAME>.pip.debricked.lockgradle dependencies > gradle.debricked.lockmvn dependency:tree -DoutputFile=maven.debricked.lock -DoutputType=tgfrequirements.txt
Yes
Pipenv
Pipfile
Pipenv
Pipfile.lock
Yes
-
fingerprinted files (.py, .txt, .sh, .c, .egg, .h and more**)
-
composer.json
Yes
Composer
composer.lock
Yes*
build.gradle
Gradle
build.gradle.kts
Maven
pom.xml
Bazel
WORKSPACE
Bazel
install.json
-
fingerprinted files (.jar, .war, pom.xml and more*)
RubyGems
Gemfile.lock
Yes*
file fingerprinting to detect dependencies not specified in manifest files
OpenText Core SCA recommends committing the lock files to achieve the most accurate tracking, as these files include the specific resolved versions of both direct and indirect dependencies. If you only commit the package.json file, OpenText Core SCA will update all dependencies to the latest available versions based on the specified version constraints.
If at least one supported file is committed to the repository, it will automatically be scanned for dependencies when you integrate with the CI/CD pipeline.
To achieve the fastest and most accurate results, create a file containing the resolved dependency tree before scanning. This can be accomplished using the High Performance Scans technology in OpenText Core SCA CLI. By executing the resolve command, the CLI automatically identifies all manifest files that lack the recommended bower.debricked.lock files and generates them as needed.
OpenText Core SCA supports scanning for JavaScript dependencies not defined in manifest-files through file fingerprinting. The database contains the hashes of relevant files (including .js and .ts files) for all packages in the npm registry. This is used when comparing with the contents of your application, to ensure as accurate matches as possible.
For more information on file fingerprinting and how to set it up, see file fingerprinting.
NPM
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
bom.json, cdx.json
Yes*
package.json
Yes
NPM
package.lock.json
Yes*
Yarn
package.json
Yes
Yarn
yarn.lock
Yes*
Bower
bower.json
Yes
-
fingerprinted files (.js, .ts and more**)
-
See the full list of the languages and package managers currently supported by OpenText Core SCA.
OpenText Core SCA now supports a broad array of programming languages and package managers, allowing you to scan your code in your native language. Here is the complete list of languages and their level of support:
Following is the complete list of supporting languages, including root dependencies, indirect dependencies, security scanning, and license scanning.
*This is a native lock file format. Native lock file formats are the fastest formats to scan.
**When constructing our knowledge base, OpenText Core SCA downloads files, extracts their contents, and creates fingerprints for all file content, except for a few excluded patterns. After that, fingerprints are generated for all the content within each file. For example, OpenText Core SCA specifically matches .dll files used in C# applications and .class files found within .jar files.
Nuget
packages.config
Yes
C#
Packet
paket.lock
Yes*
C#
-
fingerprinted files (.dll, .nupkg and more**)
-
CycloneDX SBOM
-
bom.json
Yes*
CycloneDX SBOM
-
bom.xml
Yes*
Go
Bazel
WORKSPACE
-
Go
Bazel
install.json
Yes*
Go
Go Modules
go.mod
Yes
Go
Go Dep
gopkg.lock
Yes*
Java / Kotlin
Gradle
build.gradle
Yes
Java / Kotlin
Gradle
build.gradle.kts
Yes
Java / Kotlin
Maven
pom.xml
Yes
Java / Kotlin
Bazel
WORKSPACE
-
Java / Kotlin
Bazel
install.json
-
Java / Kotlin
-
fingerprinted files (.jar, .war, pom.xml and more*)
-
JavaScript
NPM
package.json
Yes
JavaScript
NPM
package.lock.json
Yes*
JavaScript
Yarn
package.json
Yes
JavaScript
Yarn
yarn.lock
Yes*
JavaScript
Bower
bower.json
Yes
JavaScript
-
fingerprinted files (.js, .ts and more**)
-
Objective-C
CocoaPods
podfile.lock
Yes*
PHP
Composer
composer.json
Yes
PHP
Composer
composer.lock
Yes*
Python
Pip
requirements.txt
Yes
Python
Pipenv
Pipfile
-
Python
Pipenv
Pipfile.lock
-
Python
-
fingerprinted files (.py, .txt, .sh, .c, .egg, .h and more**)
-
Ruby
RubyGems
Gemfile.lock
Yes*
Rust
Cargo
Cargo.lock
Yes*
Swift
CocoaPods
podfile.lock
Yes*
Scala
SBT
build.sbt
Yes
C#
Nuget
.csproj
Yes
C#
Nuget
package.lock.json
Yes*
C#