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
Copy file name to clipboardExpand all lines: docs/agent/config.en.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,16 @@ You can manage the parameters of the CLI agent by adding the configuration file
63
63
-**match** – condition for matching suitable manifests, can be by name (`equal`) or extension (`extension`);
64
64
-**properties** – additional properties for environment parsers, such as the path to executables;
65
65
-**dotnet-path**, **maven-path**, **gradle-path**, **yarn-path**, **go-path**, **sbt-path**, **npm-path**, **pnpm-path**, **composer-path**, **pip-path**, **poetry-path**, **conda-lock-path** – paths to package managers for dependency resolution in the environment;
66
+
- <ahref="/changelog/on-premise-changelog.en/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **pipdeptree-path** – path to `pipdeptree` for dependency resolution in the environment;
67
+
- <ahref="/changelog/on-premise-changelog.en/#202630-2026-01-16"class="version-tag">2026.3.0</a> **bun-path** – path to `bun` for dependency resolution in the environment;
68
+
- <ahref="/changelog/on-premise-changelog.en/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **uv-path** – path to `uv` for dependency resolution in the environment;
69
+
- <ahref="/changelog/on-premise-changelog.en/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **swift-path** – path to `swift` for dependency resolution in the environment;
66
70
-**resolve-enabled** – enables dependency resolution in the environment. Default value is `false`;
67
-
-**dotnet-args**, **gradle-args**, **maven-args**, **sbt-args**, **npm-args**, **yarn-args**, **pnpm-args**, **composer-args**, **poetry-args**, **conda-args**, **swift-args** – arguments to pass to the corresponding package managers when resolving dependencies in the environment;
71
+
-**dotnet-args**, **gradle-args**, **maven-args**, **sbt-args**, **npm-args**, **yarn-args**, **pnpm-args**, **composer-args**, **poetry-args**, **conda-args** – arguments to pass to the corresponding package managers when resolving dependencies in the environment;
72
+
- <ahref="/changelog/on-premise-changelog.en/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **pipdeptree-args** – arguments to pass to `pipdeptree` during dependency resolution in the environment;
73
+
- <ahref="/changelog/on-premise-changelog.en/#202630-2026-01-16"class="version-tag">2026.3.0</a> **bun-args** – arguments to pass to `bun` during dependency resolution in the environment;
74
+
- <ahref="/changelog/on-premise-changelog.en/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **uv-args** – arguments to pass to `uv` during dependency resolution in the environment;
75
+
- <ahref="/changelog/on-premise-changelog.en/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **swift-args** – arguments to pass to `swift` during dependency resolution in the environment;
68
76
-**configuration** – configuration for the `gradle-dependency-tree_txt` parser;
69
77
-**depth** – parsing depth for the `jar` parser. Default value is `1`;
70
78
-**python-version** – Python version used for dependency resolution in the environment.
@@ -76,16 +84,16 @@ You can manage the parameters of the CLI agent by adding the configuration file
76
84
77
85
### Output parameters
78
86
79
-
-**format** – output format for found vulnerabilities. Default value is `coloredtable`. Export to formats `table`, `text`, `junit`, `sarif`, `csv`, `gl-dependency-scanning-report`, `gl-code-quality-report` is available;
80
-
-**group-vulnerabilities-by** – field used to group vulnerabilities in the table;
81
-
-**sort-vulnerabilities-by** – order of fields for sorting vulnerabilities in the table;
82
-
-**alerts-format** – output format for the policy alerts report. Supported formats: `coloredtable`, `table`, `text`, `json`, `csv`. Default value is `coloredtable`.
87
+
-<ahref="/changelog/on-premise-changelog.en/#2023480-2023-11-22"class="version-tag">2023.48.0</a> **format** – output format for found vulnerabilities. Default value is `coloredtable`. Export to formats `table`, `text`, `junit`, `sarif`, `csv`, `gl-dependency-scanning-report`, `gl-code-quality-report` is available;
88
+
-<ahref="/changelog/on-premise-changelog.en/#2023480-2023-11-22"class="version-tag">2023.48.0</a> **group-vulnerabilities-by** – field used to group vulnerabilities in the table;
89
+
-<ahref="/changelog/on-premise-changelog.en/#2023480-2023-11-22"class="version-tag">2023.48.0</a> **sort-vulnerabilities-by** – order of fields for sorting vulnerabilities in the table;
90
+
-<ahref="/changelog/on-premise-changelog.en/#2025290-2025-07-18"class="version-tag">2025.29.0</a> **alerts-format** – output format for the policy alerts report. Supported formats: `coloredtable`, `table`, `text`, `json`, `csv`. Default value is `coloredtable`.
83
91
84
92
### Platform parameters
85
93
86
94
-**api_url** – platform address;
87
95
-**api_token** – token for access to the platform;
88
-
-**localization** — CLI output localization language. Possible values: `en`, `ru`. The default value is `en`.
96
+
-<ahref="/changelog/on-premise-changelog.en/#202630-2026-01-16"class="version-tag">2026.3.0</a> **localization** — CLI output localization language. Possible values: `en`, `ru`. The default value is `en`.
89
97
90
98
### Secret scanning launch parameters
91
99
@@ -103,13 +111,12 @@ You can manage the parameters of the CLI agent by adding the configuration file
103
111
- <ahref="/changelog/on-premise-changelog.en/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **max-decode-depth** – maximum depth for recursive decoding. A value of `0` disables decoding;
104
112
- <ahref="/changelog/on-premise-changelog.en/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **max-target-megabytes** – maximum file size (in megabytes) to be processed. Files exceeding this size will be skipped. Default: `0` (no limit);
- <ahref="/changelog/on-premise-changelog.en/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **redact** – masks detected secrets in logs and console output. A value of 0 fully reveals secrets, while 100 completely hides them. Intermediate values, such as 20, mask 20% of the secret. Default: `0`;
Copy file name to clipboardExpand all lines: docs/agent/config.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,16 @@ hide:
63
63
-**match** – условие для определения подходящих манифестов, может быть по названию (`equal`) или расширению (`extension`);
64
64
-**properties** – дополнительные свойства для парсеров окружения, такие как путь к исполняемым файлам;
65
65
-**dotnet-path**, **maven-path**, **gradle-path**, **yarn-path**, **go-path**, **sbt-path**,**npm-path**, **pnpm-path**, **composer-path**, **pip-path**, **poetry-path**, **conda-lock-path** – пути к пакетным менеджерам для разрешения зависимостей в окружении;
66
+
- <ahref="/changelog/on-premise-changelog/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **pipdeptree-path** – путь к `pipdeptree` для разрешения зависимостей в окружении;
67
+
- <ahref="/changelog/on-premise-changelog/#202630-2026-01-16"class="version-tag">2026.3.0</a> **bun-path** – путь к `bun` для разрешения зависимостей в окружении;
68
+
- <ahref="/changelog/on-premise-changelog/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **uv-path** – путь к `uv` для разрешения зависимостей в окружении;
69
+
- <ahref="/changelog/on-premise-changelog/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **swift-path** – путь к `swift` для разрешения зависимостей в окружении;
66
70
-**resolve-enabled** – разрешение зависимостей в окружении. По умолчанию значение `false`;
67
-
-**dotnet-args**, **gradle-args**, **maven-args**, **sbt-args**, **npm-args**, **yarn-args**, **pnpm-args**, **composer-args**, **poetry-args**, **conda-args**, **swift-args** – аргументы для передачи соответствующим пакетным менеджерам при разрешении зависимостей в окружении;
71
+
-**dotnet-args**, **gradle-args**, **maven-args**, **sbt-args**, **npm-args**, **yarn-args**, **pnpm-args**, **composer-args**, **poetry-args**, **conda-args** – аргументы для передачи соответствующим пакетным менеджерам при разрешении зависимостей в окружении;
72
+
- <ahref="/changelog/on-premise-changelog/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **pipdeptree-args** – аргументы для передачи `pipdeptree` при разрешении зависимостей в окружении;
73
+
- <ahref="/changelog/on-premise-changelog/#202630-2026-01-16"class="version-tag">2026.3.0</a> **bun-args** – аргументы для передачи `bun` при разрешении зависимостей в окружении;
74
+
- <ahref="/changelog/on-premise-changelog/#2025450-2025-11-07"class="version-tag">2025.45.0</a> **uv-args** – аргументы для передачи `uv` при разрешении зависимостей в окружении;
75
+
- <ahref="/changelog/on-premise-changelog/#2025130-2025-03-28"class="version-tag">2025.13.0</a> **swift-args** – аргументы для передачи `swift` при разрешении зависимостей в окружении;
68
76
-**configuration** – конфигурация для парсера `gradle-dependency-tree_txt`;
69
77
-**depth** – глубина парсинга для парсера `jar`. По умолчанию значение `1`;
70
78
-**python-version** – версия Python, используемая для разрешения зависимостей в окружении.
@@ -76,16 +84,16 @@ hide:
76
84
77
85
### Параметры вывода результатов
78
86
79
-
-**format** – формат вывода найденных уязвимостей. По умолчанию `coloredtable`. Возможна выгрузка в форматы `table`, `text`, `junit`, `sarif`, `csv`, `gl-dependency-scanning-report`, `gl-code-quality-report`;
80
-
-**group-vulnerabilities-by** – переменная для группировки уязвимостей в таблице;
81
-
-**sort-vulnerabilities-by** – порядок переменных для сортировки уязвимостей в таблице;
82
-
-**alerts-format** – формат вывода отчёта по срабатываниям политик. Поддерживаются форматы: `coloredtable`, `table`, `text`, `json`, `csv`. Значение по умолчанию – `coloredtable`.
-<ahref="/changelog/on-premise-changelog/#2023480-2023-11-22"class="version-tag">2023.48.0</a> **group-vulnerabilities-by** – переменная для группировки уязвимостей в таблице;
89
+
-<ahref="/changelog/on-premise-changelog/#2023480-2023-11-22"class="version-tag">2023.48.0</a> **sort-vulnerabilities-by** – порядок переменных для сортировки уязвимостей в таблице;
90
+
-<ahref="/changelog/on-premise-changelog/#2025290-2025-07-18"class="version-tag">2025.29.0</a> **alerts-format** – формат вывода отчёта по срабатываниям политик. Поддерживаются форматы: `coloredtable`, `table`, `text`, `json`, `csv`. Значение по умолчанию – `coloredtable`.
83
91
84
92
### Параметры платформы
85
93
86
94
-**api_url** – адрес платформе;
87
95
-**api_token** – токен для доступа к платформе;
88
-
-**localization** — язык локализации вывода CLI. Возможные значения: `en`, `ru`. Значение по умолчанию — `en`.
96
+
-<ahref="/changelog/on-premise-changelog/#202630-2026-01-16"class="version-tag">2026.3.0</a> **localization** — язык локализации вывода CLI. Возможные значения: `en`, `ru`. Значение по умолчанию — `en`.
Copy file name to clipboardExpand all lines: docs/agent/gitlab-ci.en.md
+53-55Lines changed: 53 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,35 +9,34 @@ The CLI agent supports integration into Gitlab CI using the `.gitlab-ci.yaml` fi
9
9
10
10
### Johnny Docker image
11
11
12
-
An example of the contents of the `.gitlab-ci.yaml` file when using a Docker image of the agent:
13
-
14
-
`<version>` must be replaced with the agent version. A list of current versions with descriptions is available in [Changelog](/changelog/johnny-changelog.en/).
15
-
16
-
```yaml
17
-
stages:
18
-
- test
19
-
20
-
sca:
21
-
stage: test
22
-
23
-
script:
24
-
- docker pull REGISTRY_URL/johnny-depp:<version>
25
-
->
26
-
docker run -v $(pwd):/code
27
-
<registry-address>/johnny-depp
28
-
--api_token $CODESCORING_API_TOKEN
29
-
--api_url $CODESCORING_API_URL
30
-
--ignore.git
31
-
--ignore fixtures
32
-
--ignore parsers
33
-
.
34
-
35
-
artifacts:
36
-
paths:
37
-
-bom.json
38
-
when: always
39
-
expire_in: 1 week
40
-
```
12
+
!!! example "Example .gitlab-ci.yaml file (Docker image)"
13
+
`<version>` must be replaced with the agent version. A list of current versions with descriptions is available in [Changelog](/changelog/johnny-changelog.en/).
14
+
15
+
```yaml
16
+
stages:
17
+
- test
18
+
19
+
sca:
20
+
stage: test
21
+
22
+
script:
23
+
- docker pull REGISTRY_URL/johnny-depp:<version>
24
+
->
25
+
docker run -v $(pwd):/code
26
+
<registry-address>/johnny-depp
27
+
--api_token $CODESCORING_API_TOKEN
28
+
--api_url $CODESCORING_API_URL
29
+
--ignore.git
30
+
--ignore fixtures
31
+
--ignore parsers
32
+
.
33
+
34
+
artifacts:
35
+
paths:
36
+
-bom.json
37
+
when: always
38
+
expire_in: 1 week
39
+
```
41
40
42
41
### Johnny binary file
43
42
@@ -57,29 +56,28 @@ To use the agent binary file, you must first perform the following steps on the
57
56
chmod +x /usr/local/bin/johnny
58
57
```
59
58
60
-
An example of executing the binary file in `.gitlab-ci.yaml`:
61
-
62
-
```yaml
63
-
stages:
64
-
-test
65
-
66
-
sca:
67
-
stage: test
68
-
69
-
script:
70
-
->
71
-
johnny
72
-
scan dir
73
-
--api_token $JOHNNY_API_TOKEN
74
-
--api_url $JOHNNY_API_URL
75
-
--ignore.git
76
-
--ignore fixtures
77
-
--ignore parsers
78
-
.
79
-
80
-
artifacts:
81
-
paths:
82
-
-bom.json
83
-
when: always
84
-
expire_in: 1 week
85
-
```
59
+
!!! example "Example .gitlab-ci.yaml (binary file)"
0 commit comments