Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/documentation/admin/actions/types.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ createContent: false

Пример файла `.templateignore` для игнорирования содержимого директорий `helm`, `docs`:

```text
```sh
helm/**
docs/**
```
Expand All @@ -720,7 +720,7 @@ docs/**

### Пример структуры директорий шаблонного репозитория

```text
```sh
├── example-folder-01
│ ├── example-file-01
│ └── {{ .example }}-file-02
Expand All @@ -732,7 +732,7 @@ docs/**

Если переменная **example** при рендере репозитория примет значение **new**, то итоговая структура после рендера будет выглядеть следующим образом:

```text
```sh
├── example-folder-01
│ ├── example-file-01
│ └── new-file-02
Expand Down
6 changes: 3 additions & 3 deletions content/documentation/admin/datasources/types.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,19 +668,19 @@ GenericAPI поддерживает любые типы аутентификац

**Bearer Token:**

```text
```sh
Authorization: Bearer <токен>
```

**Basic Authentication:**

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

**API Key:**

```text
```sh
X-API-Key: <ключ>
```

Expand Down
26 changes: 13 additions & 13 deletions content/documentation/admin/external-services.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ moduleStatus: experimental

**Пример:**

```text
```sh
Authorization: <ваш-api-token>
```

Expand All @@ -97,11 +97,11 @@ Authorization: <ваш-api-token>

**Пример:**

```text
```sh
Authorization: Token <ваш-defectdojo-api-v2-key>
```

Подробнее о том, как получить API v2 Key токен можно узнать в [официальной документации Defectdojo](https://docs.defectdojo.com/en/api/api-v2-docs/).
Подробнее о том, как получить API v2 Key токен можно узнать в [официальной документации](https://docs.defectdojo.com/en/api/api-v2-docs/).

### Docker Registry

Expand All @@ -119,7 +119,7 @@ Authorization: Token <ваш-defectdojo-api-v2-key>
2. Закодируйте её в Base64: `echo "username:password" | base64`
3. Добавьте заголовок:

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

Expand All @@ -135,7 +135,7 @@ Authorization: Basic <base64-encoded-credentials>

**Пример:**

```text
```sh
Private-Token: <ваш-gitlab-token>
```

Expand All @@ -157,7 +157,7 @@ Private-Token: <ваш-gitlab-token>
2. Закодируйте её в Base64: `echo "username:password" | base64`
3. Добавьте заголовок:

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

Expand All @@ -173,7 +173,7 @@ Authorization: Basic <base64-encoded-credentials>

**Пример:**

```text
```sh
Authorization: <ваш-kaiten-api-token>
```

Expand All @@ -189,7 +189,7 @@ Authorization: <ваш-kaiten-api-token>

**Пример:**

```text
```sh
Authorization: Bearer <ваш-kubernetes-token>
```

Expand All @@ -209,7 +209,7 @@ Authorization: Bearer <ваш-kubernetes-token>
2. Закодируйте её в Base64: `echo "username:password" | base64`
3. Добавьте заголовок:

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

Expand All @@ -229,7 +229,7 @@ Authorization: Basic <base64-encoded-credentials>
2. Закодируйте её в Base64: `echo "username:password" | base64`
3. Добавьте заголовок:

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

Expand All @@ -245,13 +245,13 @@ Authorization: Basic <base64-encoded-credentials>

**Пример Bearer Token:**

```text
```sh
Authorization: Bearer <ваш-токен>
```

**Пример Basic Authentication:**

```text
```sh
Authorization: Basic <base64-encoded-credentials>
```

Expand All @@ -267,6 +267,6 @@ Authorization: Basic <base64-encoded-credentials>

**Пример:**

```text
```sh
Authorization: Bearer <ваш-токен>
```
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Content Security Policy (CSP) — это механизм безопасност

### CSP по умолчанию

```text
```sh
default-src 'self';
script-src 'self';
style-src 'self' 'unsafe-inline';
Expand Down
4 changes: 2 additions & 2 deletions content/documentation/admin/widgets/types.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ title: Типы виджетов

Пример корректного запроса для виджета:

```text
```sh
rate(nginx_ingress_controller_nginx_process_connections[5m])
```

Expand Down Expand Up @@ -645,7 +645,7 @@ rate(nginx_ingress_controller_nginx_process_connections[5m])

Пример корректной query для виджета:

```text
```sh
sum(ingress_nginx_detail_requests_total)
```

Expand Down
Loading
Loading