Skip to content

Commit 7f3d4f7

Browse files
committed
Merge branch 'csharp' into 'master'
updated reachability csharp, agent config tags, scan version, version-tag styles See merge request CodeScoring/docs!642
2 parents 0a86b98 + 29ddd2d commit 7f3d4f7

7 files changed

Lines changed: 51 additions & 25 deletions

File tree

docs/agent/config.en.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,16 @@ You can manage the parameters of the CLI agent by adding the configuration file
6363
- **match** – condition for matching suitable manifests, can be by name (`equal`) or extension (`extension`);
6464
- **properties** – additional properties for environment parsers, such as the path to executables;
6565
- **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+
- <a href="/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+
- <a href="/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+
- <a href="/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+
- <a href="/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;
6670
- **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+
- <a href="/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+
- <a href="/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+
- <a href="/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+
- <a href="/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;
6876
- **configuration** – configuration for the `gradle-dependency-tree_txt` parser;
6977
- **depth** – parsing depth for the `jar` parser. Default value is `1`;
7078
- **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
7684

7785
### Output parameters
7886

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+
- <a href="/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+
- <a href="/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+
- <a href="/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+
- <a href="/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`.
8391

8492
### Platform parameters
8593

8694
- **api_url** – platform address;
8795
- **api_token** – token for access to the platform;
88-
- **localization** — CLI output localization language. Possible values: `en`, `ru`. The default value is `en`.
96+
- <a href="/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`.
8997

9098
### Secret scanning launch parameters
9199

docs/agent/config.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,16 @@ hide:
6363
- **match** – условие для определения подходящих манифестов, может быть по названию (`equal`) или расширению (`extension`);
6464
- **properties** – дополнительные свойства для парсеров окружения, такие как путь к исполняемым файлам;
6565
- **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+
- <a href="/changelog/on-premise-changelog/#2025450-2025-11-07" class="version-tag">2025.45.0</a> **pipdeptree-path** – путь к `pipdeptree` для разрешения зависимостей в окружении;
67+
- <a href="/changelog/on-premise-changelog/#202630-2026-01-16" class="version-tag">2026.3.0</a> **bun-path** – путь к `bun` для разрешения зависимостей в окружении;
68+
- <a href="/changelog/on-premise-changelog/#2025450-2025-11-07" class="version-tag">2025.45.0</a> **uv-path** – путь к `uv` для разрешения зависимостей в окружении;
69+
- <a href="/changelog/on-premise-changelog/#2025130-2025-03-28" class="version-tag">2025.13.0</a> **swift-path** – путь к `swift` для разрешения зависимостей в окружении;
6670
- **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+
- <a href="/changelog/on-premise-changelog/#2025450-2025-11-07" class="version-tag">2025.45.0</a> **pipdeptree-args** – аргументы для передачи `pipdeptree` при разрешении зависимостей в окружении;
73+
- <a href="/changelog/on-premise-changelog/#202630-2026-01-16" class="version-tag">2026.3.0</a> **bun-args** – аргументы для передачи `bun` при разрешении зависимостей в окружении;
74+
- <a href="/changelog/on-premise-changelog/#2025450-2025-11-07" class="version-tag">2025.45.0</a> **uv-args** – аргументы для передачи `uv` при разрешении зависимостей в окружении;
75+
- <a href="/changelog/on-premise-changelog/#2025130-2025-03-28" class="version-tag">2025.13.0</a> **swift-args** – аргументы для передачи `swift` при разрешении зависимостей в окружении;
6876
- **configuration** – конфигурация для парсера `gradle-dependency-tree_txt`;
6977
- **depth** – глубина парсинга для парсера `jar`. По умолчанию значение `1`;
7078
- **python-version** – версия Python, используемая для разрешения зависимостей в окружении.
@@ -76,16 +84,16 @@ hide:
7684

7785
### Параметры вывода результатов
7886

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`.
87+
- <a href="/changelog/on-premise-changelog/#2023480-2023-11-22" class="version-tag">2023.48.0</a> **format** – формат вывода найденных уязвимостей. По умолчанию `coloredtable`. Возможна выгрузка в форматы `table`, `text`, `junit`, `sarif`, `csv`, `gl-dependency-scanning-report`, `gl-code-quality-report`;
88+
- <a href="/changelog/on-premise-changelog/#2023480-2023-11-22" class="version-tag">2023.48.0</a> **group-vulnerabilities-by** – переменная для группировки уязвимостей в таблице;
89+
- <a href="/changelog/on-premise-changelog/#2023480-2023-11-22" class="version-tag">2023.48.0</a> **sort-vulnerabilities-by** – порядок переменных для сортировки уязвимостей в таблице;
90+
- <a href="/changelog/on-premise-changelog/#2025290-2025-07-18" class="version-tag">2025.29.0</a> **alerts-format** – формат вывода отчёта по срабатываниям политик. Поддерживаются форматы: `coloredtable`, `table`, `text`, `json`, `csv`. Значение по умолчанию – `coloredtable`.
8391

8492
### Параметры платформы
8593

8694
- **api_url** – адрес платформе;
8795
- **api_token** – токен для доступа к платформе;
88-
- **localization** — язык локализации вывода CLI. Возможные значения: `en`, `ru`. Значение по умолчанию — `en`.
96+
- <a href="/changelog/on-premise-changelog/#202630-2026-01-16" class="version-tag">2026.3.0</a> **localization** — язык локализации вывода CLI. Возможные значения: `en`, `ru`. Значение по умолчанию — `en`.
8997

9098

9199
### Параметры запуска поиска секретов

docs/agent/reachability.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Johnny CLI agent can analyze whether vulnerabilities are reachable from source c
1212
To use this feature, you need to set two parameters:
1313

1414
- `cg-path` — path to the Svace-format call graph;
15-
- `cg-lang` — programming language for which the call graph was built. Currently supported values are `java`, `python`, `go` and `kotlin`.
15+
- `cg-lang` — programming language for which the call graph was built. Currently supported values are `java`, `python`, `go`, `kotlin`, and `csharp` (C#).
1616

1717
## Building the call graph
1818

@@ -71,4 +71,4 @@ Example for a larger project:
7171

7272
If the `--save-results` flag was specified, reachability results will appear in the "Reachable" column of the vulnerabilities table:
7373

74-
![Vulnerabilities table for json-bug](/assets/img/reachability/json-bug-ui-reachable-column.png)
74+
![Vulnerabilities table for json-bug](/assets/img/reachability/json-bug-ui-reachable-column.png)

docs/agent/reachability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ hide:
1212
Консольный агент Johnny умеет анализировать уязвимости на достижимость из исходного кода. Для использования данной функции необходимо задать два параметра:
1313

1414
- `cg-path` — путь к графу вызовов формата Svace;
15-
- `cg-lang` — язык программирования, для которого был построен граф вызовов. На данный момент поддерживаются значения `java`, `python`, `go` и `kotlin`.
15+
- `cg-lang` — язык программирования, для которого был построен граф вызовов. На данный момент поддерживаются значения `java`, `python`, `go`, `kotlin` и `csharp` (C#).
1616

1717
## Построение графа вызовов
1818

@@ -71,4 +71,4 @@ hide:
7171

7272
Если был указан флаг `--save-results`, то результаты достижимости будут в колонке "Достижимо" таблицы уязвимостей:
7373

74-
![Таблица уязвимостей json-bug](/assets/img/reachability/json-bug-ui-reachable-column.png)
74+
![Таблица уязвимостей json-bug](/assets/img/reachability/json-bug-ui-reachable-column.png)

docs/agent/scan.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Exit codes:
3232
- 4: signing or verification failure
3333
- 5: BOM validation error
3434

35-
Version: 2026.3.1
35+
Version: 2026.11.0
3636

3737
Usage:
3838
scan [command]
@@ -71,7 +71,7 @@ Global Flags:
7171
--bun-args string pass flags to 'bun install --lockfile-only'
7272
--bun-path string Path to bun for resolve (default "bun")
7373
--bun-resolve Enable resolve using bun
74-
--cg-lang string Language to parse call graph with. Supported languages: go,java,kotlin,python
74+
--cg-lang string Language to parse call graph with. Supported languages: csharp,go,java,kotlin,python
7575
--cg-path string Path to call graph for vulnerability reachability analysis
7676
--cloud-resolve Activate cloud resolve
7777
--composer-args string pass flags to 'composer install'
@@ -177,4 +177,4 @@ Since agent startup parameters can be configured in multiple ways, if two or mor
177177

178178
## Launch without the platform
179179

180-
If the `--api_url` and `--api_token` parameters are not specified, the scan will be launched without interacting with the CodeScoring platform. The scan will generate an SBOM file containing only a list of components and their versions without any additional information.
180+
If the `--api_url` and `--api_token` parameters are not specified, the scan will be launched without interacting with the CodeScoring platform. The scan will generate an SBOM file containing only a list of components and their versions without any additional information.

docs/agent/scan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Exit codes:
3232
- 4: signing or verification failure
3333
- 5: BOM validation error
3434

35-
Version: 2026.3.1
35+
Version: 2026.11.0
3636

3737
Usage:
3838
scan [command]
@@ -71,7 +71,7 @@ Global Flags:
7171
--bun-args string pass flags to 'bun install --lockfile-only'
7272
--bun-path string Path to bun for resolve (default "bun")
7373
--bun-resolve Enable resolve using bun
74-
--cg-lang string Language to parse call graph with. Supported languages: go,java,kotlin,python
74+
--cg-lang string Language to parse call graph with. Supported languages: csharp,go,java,kotlin,python
7575
--cg-path string Path to call graph for vulnerability reachability analysis
7676
--cloud-resolve Activate cloud resolve
7777
--composer-args string pass flags to 'composer install'

docs/stylesheets/extra.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,22 @@
326326
align-items: center;
327327
font-size: 0.75em;
328328
font-weight: 500;
329-
color: #5E8BDE; /* Accent color */
330-
background-color: rgba(94, 139, 222, 0.15); /* Light blue background */
331-
border: 1px solid #5E8BDE; /* Border */
329+
color: #2f6fda;
330+
background-color: rgba(47, 111, 218, 0.12);
331+
border: 1px solid #2f6fda;
332332
border-radius: 4px;
333333
padding: 2px 6px;
334334
margin-left: 6px;
335335
line-height: 1;
336336
white-space: nowrap;
337337
}
338338

339+
[data-md-color-scheme="slate"] .version-tag {
340+
color: #a7c7ff;
341+
background-color: rgba(47, 111, 218, 0.25);
342+
border-color: #4d88ff;
343+
}
344+
339345
.version-tag::before {
340346
content: "";
341347
display: inline-block;
@@ -344,7 +350,11 @@
344350
margin-right: 4px;
345351
mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.59 11.41 13 3.83a2 2 0 0 0-1.41-.58H5a2 2 0 0 0-2 2v6.58a2 2 0 0 0 .59 1.41L11.17 20a2 2 0 0 0 2.83 0l6.59-6.59a2 2 0 0 0 0-2.83M6.5 7.5A1.5 1.5 0 1 1 8 9a1.5 1.5 0 0 1-1.5-1.5Z"/></svg>') no-repeat center;
346352
-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.59 11.41 13 3.83a2 2 0 0 0-1.41-.58H5a2 2 0 0 0-2 2v6.58a2 2 0 0 0 .59 1.41L11.17 20a2 2 0 0 0 2.83 0l6.59-6.59a2 2 0 0 0 0-2.83M6.5 7.5A1.5 1.5 0 1 1 8 9a1.5 1.5 0 0 1-1.5-1.5Z"/></svg>') no-repeat center;
347-
background-color: #5E8BDE; /* Set the icon color */
353+
background-color: #2f6fda;
354+
}
355+
356+
[data-md-color-scheme="slate"] .version-tag::before {
357+
background-color: #4d88ff;
348358
}
349359

350360
.md-feedback {

0 commit comments

Comments
 (0)