Inventory Scanner
Table of Contents
Purpose
A build/deploy pipeline automates software delivery through a series of processes and tools. These include source control, build tools, continuous integration, automated testing (unit, integration, and regression tests), validation, reporting, and software distribution.
The assets involved in build/deploy pipelines are called SDLC assets, and in the Xygeni platform an inventory of SDLC assets and their relations, for the pipelines used in an organization, are discovered automatically. Security issues and unusual activity events, as captured by the Xygeni platform,
In build/deploy pipelines, the assets involved are referred to as SDLC assets. The Xygeni platform automatically discovers an inventory of SDLC assets and their relationship within an organization's pipelines. Security issues and unusual activity detected by Xygeni is subsequently mapped to the target SDLC assets.
Use the xygeni inventory CLI command to discover SDLC assets.
Discovery involves extracting information from available sources like project and dependency descriptors, build files, CI/CD workflow pipelines, and IaC templates. This process can be enhanced by utilizing the tools APIs to fetch additional data for better qualifying each asset discovered.
Quick Start
The CLI command to run an inventory scan:
This scans for assets related to build/deployment pipelines to compile an inventory. Then upload the results to the Xygeni platform unless you use --no-upload instead.
The CLI command produces the following output:
The command has the following options:
The most important properties are:
Name of the project
-nor--name.Specify either a directory (
-d|--dir), a repository (-repo|--repository), or a container image (--image). If none is provided, the current local directory is assumed.Enable the
--uploadoption to upload results. Results are not uploaded by default.Specify the output file with the
-oor--outputoption and the format with-for--format. If no output file is specified, or ifstdoutor-is used, the standard output is the default. Use--format=noneif you do not want to generate any output.
Last updated