> For the complete documentation index, see [llms.txt](https://newmishka.gitbook.io/newmishka-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newmishka.gitbook.io/newmishka-docs/diagnostika/privatnost-i-json.md).

# Приватность и JSON

## Privacy-режим

Перед передачей отчёта за пределы внутреннего контура используйте:

```bash
sudo arm_info --privacy
```

Короткая форма:

```bash
sudo arm_info -p
```

Privacy-режим скрывает или маскирует инфраструктурные идентификаторы, включая hostname, MAC, DNS, домены SSSD/почты, имена почтовых серверов и Subject/Issuer их сертификатов. Имена интерфейсов и IP маскируются. Printer URI очищается от встроенных учётных данных.

Для анализа failed-services поля `*_likely_cause` также обезличены: они содержат категорию вероятной причины, но не сырые строки journal и не внутренние имена узлов.

## JSON

```bash
sudo arm_info --json --privacy | jq '.summary'
```

Базовый JSON использует schema v1. В `diagnostics` для SSSD/CUPS доступны `*_result`, `*_error_count` и `*_likely_cause`. Корпоративные профили используют schema v2 со стабильными ключами в `checks[]`.

Для передачи корпоративного отчёта:

```bash
sudo arm_info --corp --privacy --json --save -o /tmp/arm-corp.json
```

{% hint style="info" %}
Privacy-режим предназначен для снижения риска утечки инфраструктурных данных, но перед публикацией чувствительного отчёта всё равно полезно просмотреть итоговый файл.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://newmishka.gitbook.io/newmishka-docs/diagnostika/privatnost-i-json.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
