Xpersona
A

Alibabacloud Sas Install Agent

CLAWHUB · Unverified

Alibaba Cloud Security Center (SAS) agent onboarding and management assistant. Use this skill when the user wants to onboard servers to Security Center, inst...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-sas-install-agent
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-sas-install-agent` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sdk-team/alibabacloud-sas-install-agent before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-sas-install-agent/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

143,862 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-sas-install-agent
description: >
  Alibaba Cloud Security Center (SAS) agent onboarding and management assistant.
  Use this skill when the user wants to onboard servers to Security Center,
  install the security agent, deploy cloud security protection, connect via proxy,
  troubleshoot agent offline or installation failures, create image templates
  with pre-installed agent, view Security Center version and expiration,
  check authorization quota, upgrade or switch server protection versions,
  toggle pay-as-you-go feature modules, uninstall the Security Center agent
  from a server, find servers with specific software installed (e.g. Nginx,
  MySQL, Redis), or detect security risks (vulnerability scanning, baseline
  checks, security alert queries).
---

# Security Center Agent Onboarding and Management

Manage Alibaba Cloud Security Center agent installation, version authorization, asset queries, and security risk detection via the `aliyun` CLI.

**Architecture**: `Security Center (SAS) + ECS + Cloud Assistant + Proxy Cluster (optional)`

Execution model: read operations execute directly (ReAct), write operations display details and require user confirmation before execution (Command). Keep analysis concise -- output a brief reasoning for each action.

> **Pre-check: Aliyun CLI >= 3.3.3 required**
> Run `aliyun version` to verify >= 3.3.3. If not installed or version too low,
> run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to install/update,
> or see `references/cli-installation-guide.md` for installation instructions.
> Then [MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
> Then [MUST] run `aliyun plugin update` to ensure that any existing plugins on your local machine are always up-to-date.

> **Pre-check: Alibaba Cloud Credentials Required**
>
> **Security Rules:**
> - **NEVER** read, echo, or print AK/SK values (e.g., `echo $ALIBABA_CLOUD_ACCESS_KEY_ID` is FORBIDDEN)
> - **NEVER** ask the user to input AK/SK directly in the conversation or command line
> - **NEVER** use `aliyun configure set` with literal credential values
> - **ONLY** use `aliyun configure list` to check credential status
>
> ```bash
> aliyun configure list
> ```
> Check the output for a valid profile (AK, STS, or OAuth identity).
>
> **If no valid profile exists, STOP here.**
> 1. Obtain credentials from [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak)
> 2. Configure credentials **outside of this session** (via `aliyun configure` in terminal or environment variables in shell profile)
> 3. Return and re-run after `aliyun configure list` shows a valid profile

## Security Guidelines

- Never expose sensitive information (AccessKey, passwords) in output, because leaking credentials could compromise the account
- Never call any Delete-class API, because delete operations are irreversible and may disrupt protection
- Write operations (create install codes, create clus

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-sas-install-agent",
  "version": "0.0.1",
  "publishedAt": 1780367902301
}

references/acceptance-criteria.md

# Acceptance Criteria

Test patterns and verification criteria for the alibabacloud-sas-install-agent skill.

## Prerequisites

- Aliyun CLI >= 3.3.1 installed and configured
- Valid Alibaba Cloud credentials (`aliyun configure list` shows active profile)
- Security Center (SAS) service activated
- Necessary RAM permissions granted (see `references/ram-policies.md`)

## Test Scenarios

### Scenario 1: Alibaba Cloud ECS Onboarding

**Given**: A running Alibaba Cloud ECS instance that is not yet onboarded to Security Center.

**Expected flow**:
1. Skill queries ECS instance info via `describe-instances`
2. Skill queries client status via `describe-cloud-center-instances`
3. If uninstalled: Skill gets/creates install code via `describe-install-codes` / `add-install-code`
4. Skill checks cloud assistant via `describe-cloud-assistant-status`
5. If cloud assistant online: Skill dispatches install via `run-command` (after user confirmation)
6. Skill verifies agent comes online

**Acceptance**: Agent `ClientStatus` = `online` after installation.

### Scenario 2: On-Premises IDC Direct Connection

**Given**: An IDC server with public network or leased-line access to Alibaba Cloud.

**Expected flow**:
1. Skill gets/creates install code with correct VendorName (OTHER for public, ALIYUN for leased-line)
2. Skill provides appropriate install command based on network method
3. User executes manually; skill verifies onboarding

**Acceptance**: Server appears in Security Center asset list with `ClientStatus` = `online`.

### Scenario 5: Version and Feature Query

**Given**: An active Security Center subscription or pay-as-you-go instance.

**Expected flow**:
1. Skill queries version via `describe-version-config`
2. Skill queries authorization via `get-auth-summary`
3. Skill displays version, quota, expiration, module switches in readable format

**Acceptance**: All version info displayed correctly with timestamps converted to human-readable format.

### Scenario 6: Authorization Version Change

**Given**: A server with Security Center agent online, needing version upgrade.

**Expected flow**:
1. Skill queries asset status and current auth version
2. Skill confirms operation type and billing mode
3. For subscription: Skill executes `bind-auth-to-machine` (after secondary confirmation)
4. For pay-as-you-go: Skill executes `update-post-paid-bind-rel` (after secondary confirmation with cost estimate)
5. Skill verifies version change

**Acceptance**: Asset's `AuthVersion` updated to target version.

### Scenario 8: Agent Uninstall

**Given**: A server with Security Center agent online.

**Expected flow**:
1. Skill queries asset info to get UUID
2. Skill displays uninstall details with warnings
3. After explicit confirmation, executes `add-uninstall-clients-by-uuids`
4. Verifies agent is offline/removed

**Acceptance**: Agent `ClientStatus` changes to `offline` or asset removed from list.

### Scenario 9: Security Risk Detection

**Given**: A server with Security Cent

references/agent-install-guide.md

# Security Center Agent Install Guide

## TOC

- [Prerequisites and Preparation](#prerequisites-and-preparation)
- [Installation Method Selection](#installation-method-selection)
- [Installation Steps](#installation-steps)
- [Verify Installation Status](#verify-installation-status)
- [Network Connectivity Requirements](#network-connectivity-requirements)
- [Common Issues and Troubleshooting](#common-issues-and-troubleshooting)

---

## Prerequisites and Preparation

1. **System requirements**: OS must be within the supported range.
2. **Account restriction**: Only supports servers under the current Alibaba Cloud account; cross-account requires multi-account management.
3. **Resource estimate**: Single installation takes approximately 5 minutes; CPU/memory may briefly spike during high-load tasks; no business restart required.
4. **Clean residuals**: If previously installed, uninstall first and manually delete directories:
   - Linux: `/usr/local/aegis`
   - Windows: `C:\Program Files (x86)\Alibaba\Aegis`
5. **Network policy**: Ensure firewall/security group allows outbound traffic to Security Center service IPs or domains (ports 80/443).

---

## Installation Method Selection

| Method | Applicable Scenario | Core Advantage |
|--------|---------------------|----------------|
| One-click install | Running ECS with cloud assistant, VPC network, supported region | Console operation, no server login needed |
| General install | Any server with public network access (Alibaba Cloud ECS or external hosts) | Compatible with mainstream OS, flexible configuration |
| Image batch install | Scale-out creation of new servers with pre-installed agent | One-time setup, batch reuse |
| Network-restricted install | Cannot connect to public network directly, requires proxy or custom endpoint | Adapts to complex network environments |

---

## Installation Steps

### 1. One-Click Install (via Cloud Assistant)

**Prerequisites**:
- ECS status is "Running" with cloud assistant installed
- Network type is VPC (Virtual Private Cloud)
- Region is in the supported list (e.g. Hangzhou, Shanghai, Beijing, Shenzhen, Singapore, Frankfurt, etc.)
- Third-party security software has been closed

**Procedure**:
1. Log into the Security Center console
2. Left navigation: **System Settings > Feature Settings**, select region (Mainland China / Non-Mainland China)
3. **Client > Uninstalled Client** tab, click **Install Client** in the target server's action column
4. Multi-select servers and click **One-Click Install** for batch deployment

### 2. General Install (Manual Command Execution)

**Procedure**:
1. Obtain install command (via console or API `describe-install-codes` / `add-install-code`)
2. Select the corresponding command based on server OS and network access method
3. Log into the server and execute the command with admin privileges

> Install code (`-k=` parameter) is obtained via the describe-install-codes API. Different access methods correspond to different install co

references/api-reference.md

# Security Center Onboarding - API Reference

This document lists all Alibaba Cloud OpenAPIs used by this skill and their invocation via aliyun CLI.

> **Every `aliyun` CLI command MUST include `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-sas-install-agent`.**

## Table of Contents

- [1. describe-cloud-center-instances - Query Asset Information](#1-describe-cloud-center-instances---query-asset-information)
- [2. describe-instances - Query ECS Instances](#2-describe-instances---query-ecs-instances)
- [3. describe-cloud-assistant-status - Query Cloud Assistant Status](#3-describe-cloud-assistant-status---query-cloud-assistant-status)
- [4. invoke-command / run-command - Execute Command via Cloud Assistant](#4-invoke-command--run-command---execute-command-via-cloud-assistant)
- [4b. describe-invocation-results - Query Command Execution Results](#4b-describe-invocation-results---query-command-execution-results)
- [5. refresh-assets - Sync Asset Status](#5-refresh-assets---sync-asset-status)
- [6. describe-install-codes - Query Install Codes](#6-describe-install-codes---query-install-codes)
- [7. add-install-code - Create Install Code](#7-add-install-code---create-install-code)
- [8. create-or-update-asset-group - Create/Update Asset Group](#8-create-or-update-asset-group---createupdate-asset-group)
- [9. describe-version-config - Query Version Details](#9-describe-version-config---query-version-details)
- [10. get-auth-summary - Query Authorization Summary](#10-get-auth-summary---query-authorization-summary)
- [11. get-serverless-auth-summary - Query Serverless Authorization](#11-get-serverless-auth-summary---query-serverless-authorization)
- [12. modify-post-pay-module-switch - Toggle Pay-as-you-go Module Switch](#12-modify-post-pay-module-switch---toggle-pay-as-you-go-module-switch)
- [13. bind-auth-to-machine - Bind Authorization to Server](#13-bind-auth-to-machine---bind-authorization-to-server)
- [14. update-post-paid-bind-rel - Change Pay-as-you-go Version](#14-update-post-paid-bind-rel---change-pay-as-you-go-version)
- [15. describe-property-sca-detail - Query Asset Fingerprint Software](#15-describe-property-sca-detail---query-asset-fingerprint-software)
- [16. add-uninstall-clients-by-uuids - Uninstall Client](#16-add-uninstall-clients-by-uuids---uninstall-client)
- [17. modify-push-all-task - One-click Security Check](#17-modify-push-all-task---one-click-security-check)
- [18. modify-start-vul-scan - Vulnerability Scan](#18-modify-start-vul-scan---vulnerability-scan)
- [19. describe-grouped-vul - Query Vulnerability Information](#19-describe-grouped-vul---query-vulnerability-information)
- [20. exec-strategy - Execute Baseline Check](#20-exec-strategy---execute-baseline-check)
- [21. list-check-item-warning-summary - Query Baseline Risks](#21-list-check-item-warning-summary---query-baseline-risks)
- [22. describe-susp-events - Query Security Alerts](#22-describe-susp-events---query-security-alerts)
- [23. generate-once-task - Asset

Sponsored

Ads related to Alibabacloud Sas Install Agent and adjacent AI workflows.