Xpersona
A

alibabacloud-governance-evaluation-report

CLAWHUB · Unverified

Alibaba Cloud Governance Center evaluation report skill. Use for querying governance maturity check results, generating structured risk reports, and account compliance analysis. Triggers: "云治理", "成熟度检测", "合规检查", "安全风险", "治理检测", "governance evaluation", "maturity check", "compliance report", "risk report", "governance center".

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.2K 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-governance-evaluation-report
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-governance-evaluation-report` 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-governance-evaluation-report before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-governance-evaluation-report/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

117,606 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-governance-evaluation-report
description: |
  Alibaba Cloud Governance Center evaluation report skill.
  Use for querying governance maturity check results, generating structured risk reports, and account compliance analysis.
  Triggers: "云治理", "成熟度检测", "合规检查", "安全风险", "治理检测", "governance evaluation",
  "maturity check", "compliance report", "risk report", "governance center".
---

# Alibaba Cloud Governance Center Evaluation Report

Guide users to discover governance risks, focus on critical issues, and take remediation actions through a progressive drill-down workflow.

## Scenario Description

This skill is a **problem-discovery and resolution guide** — not a comprehensive audit report generator. It operates as a progressive disclosure funnel:

1. **Overview (quick diagnosis)** — Score + pillar distribution + top critical risks → guide user to choose a direction
2. **Pillar analysis (focused drill-down)** — All risks in a specific domain, controlled by severity → guide user to specific items
3. **Detail (deep dive)** — Single check item with full remediation steps → guide user to related items or resources
4. **Resources (action)** — Non-compliant resource listing for targeted remediation

Each layer focuses on **the most important information** and guides the user to the next level. Avoid information overload — keep output concise and actionable.

**Architecture**: `Governance Center API → CLI (aliyun governance) → governance_query.py (merge + cache) → JSON output → Agent report`

## How It Works

**Data Sources** — Three APIs provide all data:
1. `list-evaluation-metadata` — Check item definitions (name, description, pillar, level, remediation)
2. `list-evaluation-results` — Actual results (status, risk, compliance rate, score)
3. `list-evaluation-metric-details` — Non-compliant resource details for a specific check item

**Processing** — The script ([governance_query.py](scripts/governance_query.py)) merges data sources and caches results for 1 hour. It provides 4 query modes: `overview`, `pillar`, `detail`, `resources`.

**Output** — Structured JSON for Agent to generate user-friendly reports. Reports are output directly in the conversation as formatted text, NOT written to files.

---

## Prerequisites

> **Pre-check: Aliyun CLI >= 3.3.3 required**
> Run `aliyun version` to verify >= 3.3.3. If not installed or version too low,
> use a package manager or the pinned, SHA256-verified packages in
> [references/cli-installation-guide.md](references/cli-installation-guide.md).
> Do not pipe a remotely downloaded installation script directly into a shell.
>
> Then [MUST] run `aliyun plugin update` to ensure that any existing plugins on your local machine are always up-to-date.
>
> **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.

```bash
aliyun version                                    # >= 3.3.3
aliyun configure set --auto-plugin-install true   # Enable auto plugin

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-governance-evaluation-report",
  "version": "0.0.2",
  "publishedAt": 1786531469673
}

references/acceptance-criteria.md

# Acceptance Criteria: alicloud-it-gov-evaluation-report

**Scenario**: Alibaba Cloud Governance Center Maturity Evaluation Report
**Purpose**: Skill testing acceptance criteria

---

# Correct CLI Command Patterns

## 1. Correct Product Pattern

#### ✅ CORRECT: governance product
```bash
aliyun governance list-evaluation-metadata
```

#### ❌ INCORRECT: Wrong product name
```bash
aliyun gov list-evaluation-metadata  # Wrong - 'gov' is not a valid product
aliyun cgc list-evaluation-metadata  # Wrong - 'cgc' is not a valid product
```

## 2. Correct Command Pattern

#### ✅ CORRECT: kebab-case subcommands
```bash
aliyun governance list-evaluation-metadata
aliyun governance list-evaluation-results
aliyun governance list-evaluation-metric-details
aliyun governance run-evaluation
```

#### ❌ INCORRECT: PascalCase or wrong command
```bash
aliyun governance ListEvaluationMetadata  # Wrong - should be kebab-case
aliyun governance get-evaluation-metadata  # Wrong - command is 'list-evaluation-metadata'
aliyun governance query-results  # Wrong - command is 'list-evaluation-results'
```

## 3. Correct Parameter Patterns

#### ✅ CORRECT: kebab-case parameters
```bash
aliyun governance list-evaluation-metadata --language zh
aliyun governance list-evaluation-results --account-id 123456789
aliyun governance list-evaluation-metric-details --id apbxftkv5c
```

#### ❌ INCORRECT: Wrong parameter names
```bash
aliyun governance list-evaluation-metadata --Language zh  # Wrong - should be --language
aliyun governance list-evaluation-results --accountId 123  # Wrong - should be --account-id
aliyun governance list-evaluation-metric-details --metric-id abc  # Wrong - should be --id
```

## 4. User-Agent Flag

#### ✅ CORRECT: Include user-agent
```bash
aliyun governance list-evaluation-results --user-agent AlibabaCloud-Agent-Skills/alibabacloud-governance-evaluation-report/{session-id}
```

#### ❌ INCORRECT: Missing user-agent
```bash
aliyun governance list-evaluation-results  # Missing --user-agent flag
```

## 5. Profile Parameter

#### ✅ CORRECT: Use --profile flag
```bash
aliyun governance list-evaluation-metadata --profile myprofile
```

#### ❌ INCORRECT: Wrong profile parameter
```bash
aliyun governance list-evaluation-metadata -p myprofile  # Wrong - should be --profile
```

# Correct Python Script Patterns

## 1. Script Invocation

#### ✅ CORRECT: Valid modes
```bash
python3 scripts/governance_query.py overview
python3 scripts/governance_query.py overview -r Error
python3 scripts/governance_query.py overview -r Error,Warning
python3 scripts/governance_query.py pillar -c Security --risky
python3 scripts/governance_query.py detail --id apbxftkv5c
python3 scripts/governance_query.py detail --keyword "MFA"
```

#### ❌ INCORRECT: Invalid modes or parameters
```bash
python3 scripts/governance_query.py summary  # Wrong - mode should be 'overview'
python3 scripts/governance_query.py pillar Security  # Wrong - need -c flag
python3 scripts/governance_query.py detail MFA  # W

references/cli-installation-guide.md

# Aliyun CLI Installation & Configuration Guide

Complete guide for installing and configuring Aliyun CLI.

> **Aliyun CLI 3.3.3+**: Supports installing and using all published Alibaba Cloud product plugins. Make sure to upgrade to 3.3.3 or later for full plugin ecosystem coverage.

## Installation

Prefer a package manager because it verifies package integrity as part of the
installation workflow. If a package manager is unavailable, use a version-pinned
release and verify its SHA256 digest **before** extracting or executing it.

### macOS

**Using Homebrew (Recommended)**
```bash
brew install aliyun-cli
# Upgrade to latest
brew upgrade aliyun-cli

# Verify version (>= 3.3.3)
aliyun version
```

**Using a verified binary (fallback)**

The example below pins Aliyun CLI `3.4.8`. When updating the version, copy the new
digest from the official [GitHub release page](https://github.com/aliyun/aliyun-cli/releases)
and update `EXPECTED_SHA256` at the same time. Never reuse a digest from a different
version or architecture.

```bash
VERSION="3.4.8"
ARCHIVE="aliyun-cli-macosx-${VERSION}-universal.tgz"
EXPECTED_SHA256="ec3b300f6aca79b8317d1cbcd051fefd77f75ab9b5ec1afc7b54f113b29d512b"
DOWNLOAD_URL="https://github.com/aliyun/aliyun-cli/releases/download/v${VERSION}/${ARCHIVE}"

# Require HTTPS, download the pinned archive, and verify it before extraction.
curl --proto '=https' --tlsv1.2 --fail --location \
  --output "${ARCHIVE}" "${DOWNLOAD_URL}"
printf '%s  %s\n' "${EXPECTED_SHA256}" "${ARCHIVE}" | shasum -a 256 --check -
tar -xzf "${ARCHIVE}"

# Install for the current user; no administrator privileges are required.
install -d "${HOME}/.local/bin"
install -m 0755 aliyun "${HOME}/.local/bin/aliyun"
export PATH="${HOME}/.local/bin:${PATH}"

aliyun version
```

To persist the user-local installation, add
`export PATH="${HOME}/.local/bin:${PATH}"` to your shell profile.

### Linux

The same verified installation works on Debian, Ubuntu, CentOS, and RHEL. The
architecture check below rejects unsupported values instead of downloading an
unrelated executable.

```bash
VERSION="3.4.8"
case "$(uname -m)" in
  x86_64|amd64)
    ARCH="amd64"
    EXPECTED_SHA256="359419867fb8e850f327745315a312f1ec9749e64ec8747cc8b09f67d6df4868"
    ;;
  aarch64|arm64)
    ARCH="arm64"
    EXPECTED_SHA256="a8b22c72c1984e0ef4db441ab1e7f1720a03553fae79cff9fb113806229e7876"
    ;;
  *)
    echo "Unsupported architecture: $(uname -m)" >&2
    exit 1
    ;;
esac

ARCHIVE="aliyun-cli-linux-${VERSION}-${ARCH}.tgz"
DOWNLOAD_URL="https://github.com/aliyun/aliyun-cli/releases/download/v${VERSION}/${ARCHIVE}"

curl --proto '=https' --tlsv1.2 --fail --location \
  --output "${ARCHIVE}" "${DOWNLOAD_URL}"
printf '%s  %s\n' "${EXPECTED_SHA256}" "${ARCHIVE}" | sha256sum --check -
tar -xzf "${ARCHIVE}"

install -d "${HOME}/.local/bin"
install -m 0755 aliyun "${HOME}/.local/bin/aliyun"
export PATH="${HOME}/.local/bin:${PATH}"

aliyun version
```

To persist the user-local installation, add
`export PAT

references/ram-policies.md

# RAM Policies

## Required Permissions

The following RAM permissions are required to use the Governance Center evaluation features.

### Minimum Required Policy

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "governance:ListEvaluationMetadata",
        "governance:ListEvaluationResults",
        "governance:ListEvaluationMetricDetails"
      ],
      "Resource": "*"
    }
  ]
}
```

## System Policy

Alternatively, attach the system policy:

- **AliyunGovernanceReadOnlyAccess** - Read-only access to Governance Center

## Permission Details

| API Action | Permission | Description |
|------------|------------|-------------|
| ListEvaluationMetadata | `governance:ListEvaluationMetadata` | Query check item definitions |
| ListEvaluationResults | `governance:ListEvaluationResults` | Query evaluation results |
| ListEvaluationMetricDetails | `governance:ListEvaluationMetricDetails` | Query non-compliant resource details |

Sponsored

Ads related to alibabacloud-governance-evaluation-report and adjacent AI workflows.