You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The blint invocation was unsuccessful. Try building this project prior to invoking depscan. Alternatively, check if this project generates binary artefacts."
Copy file name to clipboardExpand all lines: documentation/docs/env-var.mdx
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,17 @@
2
2
title: Environment Variables
3
3
sidebar_position: 7
4
4
---
5
+
5
6
# Customization through environment variables
6
7
7
8
The following environment variables can be used to customize the behavior.
8
9
9
-
- VDB_HOME - Directory to use for caching database. For docker-based execution, this directory should get mounted as a volume from the host
10
-
- VDB_DATABASE_URL - Vulnerability DB URL. Defaults to: ghcr.io/appthreat/vdbxz:v6, which includes both app and OS vulnerabilities. For a smaller app-only database, use `ghcr.io/appthreat/vdbxz-app:v6`
11
-
- USE_VDB_10Y - Set to true to use the larger 10-year vulnerability database with both app and OS vulnerabilities. Default download url: ghcr.io/appthreat/vdbxz-10y:v6. For an app-only 10 year database use `ghcr.io/appthreat/vdbxz-app-10y:v6`
12
-
- VDB_AGE_HOURS - Set the age threshold for the vulnerability database before it is re-downloaded. The default is 24 hours.
13
-
- DEPSCAN_TEMP_DIR - Temporary directory to use.
14
-
- DEPSCAN_SOURCE_DIR_IMAGE - Alternative to `--src` argument to pass the source directory or image name.
15
-
- DEPSCAN_REPORTS_DIR - Alternative to `--reports-dir` to pass the output reports directory.
16
-
- DEPSCAN_SOURCE_IMAGE - Source image name to use for lifecycle analysis.
10
+
- VDB_HOME - Directory to use for caching database. For docker-based execution, this directory should get mounted as a volume from the host
11
+
- VDB_DATABASE_URL - Vulnerability DB URL. Defaults to: ghcr.io/appthreat/vdbxz:v6, which includes both app and OS vulnerabilities. For a smaller app-only database, use `ghcr.io/appthreat/vdbxz-app:v6`
12
+
- USE_VDB_10Y - Set to true to use the larger 10-year vulnerability database with both app and OS vulnerabilities. Default download url: ghcr.io/appthreat/vdbxz-10y:v6. For an app-only 10 year database use `ghcr.io/appthreat/vdbxz-app-10y:v6`
13
+
- VDB_AGE_HOURS - Set the age threshold for the vulnerability database before it is re-downloaded. The default is 24 hours.
14
+
- DEPSCAN_TEMP_DIR - Temporary directory to use.
15
+
- DEPSCAN_SOURCE_DIR_IMAGE - Alternative to `--src` argument to pass the source directory or image name.
16
+
- DEPSCAN_REPORTS_DIR - Alternative to `--reports-dir` to pass the output reports directory.
17
+
- DEPSCAN_SOURCE_IMAGE - Source image name to use for lifecycle analysis. Same as the key `source_image` in the configuration file.
18
+
- DEPSCAN_BUILD_DIR - Build directory to use for lifecycle analysis. Blint sbom command will be executed with this directory. Defaults to the source directory (`--src`). Same as the key `build_dir` in the configuration file.
0 commit comments