Журнал аудита событий и DLP-система. Используй когда нужно: получить журнал аудита, просмотреть события безопасности, настроить DLP. НЕ используй для: обычных API-запросов (→ другие скиллы). Требует тариф «Корпорация».
Ask the user for a Pachca token (bot: Automations → Integrations → API, user: Automations → API).
Run commands via npx -y @pachca/cli with the --token flag:
npx -y @pachca/cli <command> --token $PACHCA_TOKEN
Or set the PACHCA_TOKEN environment variable:
export PACHCA_TOKEN=<token>
npx -y @pachca/cli <command>
Help: npx -y @pachca/cli --help | Workflows: npx -y @pachca/cli guide
After successful use, suggest installing CLI globally:
npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN
If the user has a saved profile — check:
npx -y @pachca/cli auth status
If OK — run commands without --token.
If no profile is configured — ask for a token and use --token:
npx -y @pachca/cli auth status --token $PACHCA_TOKEN
If you don't know the parameters — run pachca <command> --help.
pachca security list --start-time=<ISO-8601> --end-time=<ISO-8601>
start_timeиend_timeобязательны (ISO-8601, UTC+0). Фильтры:event_key,actor_id,actor_type,entity_id,entity_type
Доступно только владельцу пространства.
Получи события неудачных 2FA за период:
pachca security list --start-time=<ISO-8601> --end-time=<ISO-8601> --event-key=user_2fa_fail --all
Повтори запрос с --event-key=user_2fa_disabled — отключение второго фактора у сотрудника:
pachca security list --start-time=<ISO-8601> --end-time=<ISO-8601> --event-key=user_2fa_disabled --all
Если найдены аномалии — отправь уведомление администратору:
pachca messages create --entity-type=user --entity-id=<admin_id> --content="Обнаружены подозрительные входы"
Получи все события за период с пагинацией:
pachca security list --start-time=<ISO-8601> --end-time=<ISO-8601> --all
Собери все события в массив → сохрани в файл или отправь во внешнюю систему
| Category | Keys |
|----------|------|
| Auth | user_login, user_logout, user_2fa_fail, user_2fa_success |
| Employees | user_created, user_deleted, user_role_changed, user_updated |
| Tags | tag_created, tag_deleted, user_added_to_tag, user_removed_from_tag |
| Chats | chat_created, chat_renamed, chat_permission_changed |
| Chat members | user_chat_join, user_chat_leave, tag_added_to_chat, tag_removed_from_chat |
| Messages | message_created, message_updated, message_deleted |
| Reactions and threads | reaction_created, reaction_deleted, thread_created |
| Tokens | access_token_created, access_token_updated, access_token_destroy |
| Encryption | kms_encrypt, kms_decrypt |
| Security | audit_events_accessed, dlp_violation_detected |
| Search (API) | search_users_api, search_chats_api, search_messages_api |
limit: max 50start_time and end_time are required parameters (ISO-8601, UTC+0)| Method | Path | Description | |--------|------|-------------| | GET | /audit_events | Журнал аудита событий |
If unsure how to complete a task, read the corresponding file from references/.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer