Skip to content

Commit 8c6890c

Browse files
committed
Merge branch 'task/58869309-alert-page' into 'release/2026.11.0'
[2026.11.0] информация об алертах вынесена на отдельную страницу. Добавлено описание страницы алерта See merge request CodeScoring/docs!631
2 parents 3636e97 + f4f6184 commit 8c6890c

7 files changed

Lines changed: 115 additions & 53 deletions

File tree

docs/assets/img/alerts_page.png

463 KB
Loading

docs/assets/img/alerts_page_en.png

455 KB
Loading

docs/on-premise/how-to/policies.en.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
hide:
3-
- footer
3+
- footer
44
---
55

66
# Managing policies
@@ -169,29 +169,3 @@ The policy becomes active immediately after creation by clicking the **Create**
169169
**Important**: policies are triggered during analysis, so it is important to create them before running the analysis.
170170

171171
**Recommendation**: if you leave the `Proprietors`, `Groups` and `Projects` fields empty, the policy will apply to all active projects in the system.
172-
173-
## Policy results
174-
175-
The results of the policies are displayed in the `Policy alerts` section. The section has three tabs:
176-
177-
- **Active** – a list of alerts based on the results of the last analysis (project, build or component in the proxy repository);
178-
- **Ignored** – a list of ignored alerts;
179-
- **Resolved** – a list of alerts that were resolved after the last analysis (the policy condition is no longer relevant).
180-
181-
The policy trigger is displayed in the **Matched criteria** field, including the specified conditions and the component data found. For example, the value `django@4.2.2 has CVE-2024-38875, CVSS3 Score 7.5 >= 7.00` implies that the component blocking policy with CVSS3 equal to or higher than 7.00 was triggered on the django component version 4.2.2 with a vulnerability score of 7.5.
182-
183-
To create a task or send an email from the list of alerts, you need to select one or more alerts and click the corresponding button.
184-
185-
For example:
186-
187-
- creating tasks
188-
189-
![New task](/assets/img/alerts_new_task-en.png)
190-
191-
- sending emails
192-
193-
![Send email](/assets/img/alerts_send_email-en.png)
194-
195-
Linked Jira issues can be unlinked using the bulk action `Delete the link to the issue`.
196-
197-
![Remove issue link](/assets/img/alerts_remove_issue_link_en.png)

docs/on-premise/how-to/policies.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -169,29 +169,3 @@ hide:
169169
**Важно**: политики срабатывают во время анализа, поэтому важно их создать до запуска анализа.
170170

171171
**Рекомендация**: если оставить поля `Подразделения`, `Группы` и `Проекты` пустыми, политика будет применяться для всех активных проектов в системе.
172-
173-
## Результаты работы политик
174-
175-
Результаты работы политик отображаются в разделе `Алерты`. Раздел имеет три вкладки:
176-
177-
- **Активные** – список алертов по результатам последнего анализа (проекта, сборки или компонента в прокси-репозитории);
178-
- **Игнорированные** – список проигнорированных алертов;
179-
- **Решенные** – список алертов, которые были решены после последнего анализа (условие политики больше не актуально).
180-
181-
Причина срабатывания политики отображается в поле **Условия политики**, включая заданные условия и найденные данные о компоненте. Например, значение `django@4.2.2 has CVE-2024-38875, CVSS3 Score 7.5 >= 7.00` подразумевает, что политика блокировки компонентов с CVSS3 равным или выше 7.00 сработала на компоненте django версии 4.2.2 с оценкой уязвимости 7.5.
182-
183-
Для создания задачи или отправки email из списка алертов необходимо выбрать один или несколько алертов и нажать соответствующую кнопку.
184-
185-
Например, так:
186-
187-
- создание задач
188-
189-
![New task](/assets/img/alerts_new_task.png)
190-
191-
- отправка почтовых сообщений
192-
193-
![Send email](/assets/img/alerts_send_email.png)
194-
195-
Связанные задачи Jira можно отвязать, используя массовое действие `Удалить ссылку на задачу`.
196-
197-
![Remove issue link](/assets/img/alerts_remove_issue_link.png)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
hide:
3+
- footer
4+
---
5+
6+
# Policy alerts
7+
8+
## Policy alerts section
9+
10+
Policy results are displayed in the `Policy alerts` section. The section has three tabs:
11+
12+
- **Active** – a list of alerts based on the results of the last analysis (project, build, or component in the proxy repository);
13+
- **Ignored** – a list of ignored alerts;
14+
- **Resolved** – a list of alerts that were resolved after the last analysis (the policy condition is no longer relevant).
15+
16+
The policy trigger is displayed in the **Matched criteria** field, including the specified conditions and the component data found. For example, the value `django@4.2.2 has CVE-2024-38875, CVSS3 Score 7.5 >= 7.00` implies that the component blocking policy with CVSS3 equal to or higher than 7.00 was triggered on the django component version 4.2.2 with a vulnerability score of 7.5.
17+
18+
## Alert page
19+
20+
The alert page opens when you click an alert in the list. The header shows the key fields:
21+
22+
- **Is actual** – whether the alert is current;
23+
- **Policy** – the policy that triggered the alert (link to the policy page);
24+
- **Matched criteria** – matched conditions that caused the trigger;
25+
- **Level** – policy severity level;
26+
- **Stage** – policy stage;
27+
- **Blocker** – blocking policy flag;
28+
- **Created issues** – created tasks (for example, Jira);
29+
- **Sent emails** – email notification recipents.
30+
31+
Related entities and details are displayed below, depending on the conditions that triggered the alert:
32+
33+
- **Project**/**Container image**/**Package**/**Dependency** – component details and source (repository, tags, licenses);
34+
- **Related vulnerability** – short description, CVE, CVSS, and EPSS values;
35+
- **History** – alert timeline (creation time, ignore time, resolve time).
36+
37+
![Policy alert page](/assets/img/alerts_page_en.png)
38+
39+
## Alert actions
40+
41+
To create a task or send an email from the alerts list, select one or more alerts and click the corresponding button.
42+
43+
For example:
44+
45+
- creating tasks
46+
47+
![New task](/assets/img/alerts_new_task-en.png)
48+
49+
- sending emails
50+
51+
![Send email](/assets/img/alerts_send_email-en.png)
52+
53+
Linked Jira issues can be unlinked using the bulk action `Delete the link to the issue`.
54+
55+
![Remove issue link](/assets/img/alerts_remove_issue_link_en.png)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
hide:
3+
- footer
4+
---
5+
6+
# Алерты политик
7+
8+
## Раздел «Алерты»
9+
10+
Результаты работы политик отображаются в разделе `Алерты`. Раздел имеет три вкладки:
11+
12+
- **Активные** – список алертов по результатам последнего анализа (проекта, сборки или компонента в прокси-репозитории);
13+
- **Игнорированные** – список проигнорированных алертов;
14+
- **Решенные** – список алертов, которые были решены после последнего анализа (условие политики больше не актуально).
15+
16+
Причина срабатывания политики отображается в поле **Условия политики**, включая заданные условия и найденные данные о компоненте. Например, значение `django@4.2.2 has CVE-2024-38875, CVSS3 Score 7.5 >= 7.00` подразумевает, что политика блокировки компонентов с CVSS3 равным или выше 7.00 сработала на компоненте django версии 4.2.2 с оценкой уязвимости 7.5.
17+
18+
## Карточка алерта
19+
20+
Карточка алерта открывается по клику на алерт в списке. В верхней части страницы отображаются ключевые поля:
21+
22+
- **Актуальный** – актуальность алерта;
23+
- **Политика** – политика, по которой сработал алерт (ссылка на карточку политики);
24+
- **Условия политики** – совпавшие критерии, из-за которых сработала политика;
25+
- **Уровень** – уровень критичности политики;
26+
- **Этап** – стадия, на которой сработала политика;
27+
- **Блокер** – признак блокирующей политики;
28+
- **Созданные задачи** – список созданных задач (например, Jira);
29+
- **Отправленные письма** – список получателей отправленных email-уведомлений.
30+
31+
Ниже показывается информация о связанных сущностях и детали, в зависимости от условий, с которыми сработал алерт:
32+
33+
- **Проект**/**Контейнерный образ**/**Пакет**/**Зависимость** – информация о компоненте и источнике (репозиторий, теги, лицензии);
34+
- **Связанная уязвимость** – краткое описание, CVE, оценки CVSS и EPSS;
35+
- **История** – события по алерту (время создания, время игнора, время решения).
36+
37+
![Policy alert page](/assets/img/alerts_page.png)
38+
39+
## Действия с алертами
40+
41+
Для создания задачи или отправки email из списка алертов необходимо выбрать один или несколько алертов и нажать соответствующую кнопку.
42+
43+
Например, так:
44+
45+
- создание задач
46+
47+
![New task](/assets/img/alerts_new_task.png)
48+
49+
- отправка почтовых сообщений
50+
51+
![Send email](/assets/img/alerts_send_email.png)
52+
53+
Связанные задачи Jira можно отвязать, используя массовое действие `Удалить ссылку на задачу`.
54+
55+
![Remove issue link](/assets/img/alerts_remove_issue_link.png)

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ plugins:
105105
general-intro: "General"
106106
policies: "Security policies"
107107
policies-settings: "Managing policies"
108+
policies-results: "Policy results"
108109
artifact-plugins: "Plugins for repositories"
109110
repo-managers: "Connecting a repository manager"
110111
registries: "Connecting a container registry"
@@ -269,6 +270,7 @@ plugins:
269270
general-intro: "Общее"
270271
policies: "Политики безопасности"
271272
policies-settings: "Настройка политик"
273+
policies-results: "Результаты работы политик"
272274
artifact-plugins: "Плагины для хранилищ"
273275
repo-managers: "Подключение менеджера репозиториев"
274276
registries: "Подключение реестра с образами"
@@ -482,6 +484,8 @@ nav:
482484
- policies-settings: on-premise/how-to/policies.en.md
483485
- ignores: on-premise/how-to/ignores.md
484486
- ignores: on-premise/how-to/ignores.en.md
487+
- policies-results: on-premise/how-to/policy-results.md
488+
- policies-results: on-premise/how-to/policy-results.en.md
485489
- project-setup:
486490
- vcs: on-premise/how-to/vcs-git.md
487491
- vcs: on-premise/how-to/vcs-git.en.md

0 commit comments

Comments
 (0)