alibabacloud-idaas-conditional-access
БесплатноЗапускает вложенные скриптыНе проверенConfigure conditional access policies on a specified IDaaS instance to control under what conditions accounts can sign in to the IDaaS app portal or access…
от sdk-team184 установки в других каталогахОб этом скилле
IDaaS EIAM Conditional Access Policy Configuration
Configure the requested policies using EIAM OpenAPI and the aliyun CLI. The bundled executors perform read-only discovery, plan generation, and confirmed-plan execution; the agent orchestrates intent mapping, plan confirmation, and result reporting. Do not claim this is a standalone one-command apply engine. Respond in the user's language.
Mode routing table
Fix the mode first, then dispatch the flow; supporting a flow does not mean executing it for every matching request. The user picking a value does not authorize configuration to start. Collection-type requests end immediately after the answer is obtained — load no execution flow, install no CLI, run no discovery.
| User request | Required behavior | Forbidden in this mode |
|---|---|---|
| Concepts / how to configure / how policies take effect | Read api.md (API semantics and live-verified behavior) and scenarios.md (scenario templates), then explain | Any CLI/API call; any confirmation |
| Intent described but key inputs missing (application / IP / subjects / instance / MFA methods) | Ask only for the missing fields, keep the open-item list, and end | No discovery, no plan, no CLI install, no login |
| Local syntax validation (parameters provided) | Run ca_preflight.py --local-only; report the real stdout and exit code | No cloud queries, no software install, no plan |
| Read-only audit / hit preview ("what policies exist / what would someone hit") | Confirm the instance, run ca_preflight.py, and present the policy list + hit-chain explanation | Any write; any plan confirmation |
| Create policies | Full read-only discovery → plan generation (with hit preview) → one confirmation → execute → read-back verification | Zero writes before confirmation; out-of-scope actions |
| Modify existing policies | Discovery bound to target policy IDs → diff plan → one confirmation → agent orchestrates Update under the same plan-hash discipline | No changes to out-of-scope policies; no delete-and-recreate detour |
| Disable / enable existing policies | Save the preflight output to a file → plan-disable/plan-enable binding (zero cloud calls) → one confirmation → apply | No out-of-scope changes |
| Delete policies | Save the preflight output to a file → plan-delete binding → show current state and impact → one confirmation → apply (disable → read back → delete → zero-count verification); the observation gate can be split into a prior plan-disable | No delete-before-disable; never decide the observation period has elapsed on the user's behalf |
Target scope gate
Before any EIAM call (including read-only), the target must come from explicit user input or previously user-confirmed non-sensitive recovery context:
- The instance ID must be provided explicitly, format-validated, and only then discovered; never infer it from the default profile or the only visible instance. When the instance ID is missing, ask once and stop — no cloud calls.
- Application selection must come from user confirmation (when names are ambiguous, list candidates for the user to choose from; do not read back IDs and make the user guess).
- Modify/delete additionally binds the ConditionalAccessPolicyId; re-read before execution and block on disappearance or change — never silently swap targets (the expected_record binding discipline).
- Referenced network zones (NetworkZone), groups, and organizational units likewise: IDs are mapped from List results, and the user confirms names.
Intent-to-scenario mapping
Users state intent, not policy parameters. Read scenarios.md for the mapping; the skeleton ships five templates:
| Scenario | Policy combination | Key points |
|---|---|---|
| Office IP only | Whitelist allow P1 + fallback deny P2 | The fallback deny binds the same access target so it never spills over to all applications and the portal |
| Mandatory second-factor authentication for a specific application | 1 policy: MfaType=mfa_required + multiple methods | Session reuse unspecified means disabled + the MFA-free interval is fixed at 300 seconds |
| High-sensitivity application, MFA on every access | Same as above (unspecified means MFA every time) | Every SSO login requires MFA |
| Differentiated by group | One policy per group | Different decisions per group |
| No MFA on the office network, MFA outside | 1 policy: office IP allow + directly_access | Outside traffic falls back to the default policy (allow + MFA); only one quota slot spent |
Priority runs 1-100, smaller is higher (the default policy at 1001 is the fallback). Preflight reports occupancy and then allocates automatically (custom policy limit is 10); the user never touches the numbers. Before writing, run a semantic conflict check: same access target + same conditions with different decisions → report the conflict, never insert silently.
Network zones (NetworkZone) are instance-
Установить alibabacloud-idaas-conditional-access в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alibabacloud-idaas-conditional-access?
Configure conditional access policies on a specified IDaaS instance to control under what conditions accounts can sign in to the IDaaS app portal or access applications. Use for policy lifecycle management (create, modify, enable, disable, delete), hit preview and policy simulation, read-only policy auditing, and priority allocation. For intent or input collection only, obtain the reply and stop without CLI/API calls. Excludes default-policy global MFA settings (console second-factor authentication page), instance initialization and account onboarding, and application SSO protocol configuration.
Как установить скилл alibabacloud-idaas-conditional-access?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-idaas-conditional-access запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic