360 Secure SkillHub
360 安全技能中心

Appian Listpkg

通过 Node 脚本调用 Appian 部署管理 API,只读列出指定应用下的所有软件包,返回名称、UUID、对象数量和时间戳,便于在检查或部署前查找包 UUID。凭证从环境变量读取,未注入时回退到工作目录的配置文件;不写入或上传数据。

solarspiker
solarspiker
热度 46.77
最近更新 2026-05-11 17:42:32
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:API 集成 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add appian-listpkg
Metadata
name
appian-listpkg
description
List all packages for an Appian application by UUID. Use when the user wants to see what packages exist in an application, or to find a package UUID before inspecting or deploying.
metadata
{"clawdbot":{"emoji":"📋","requires":{"env":["APPIAN_BASE_URL","APPIAN_API_KEY"]},"primaryEnv":"APPIAN_BASE_URL"}}

Appian Packages

Lists all packages for an Appian application, including name, UUID, object count, and timestamps. Uses the v2 Deployment Management API.

Usage

node {baseDir}/scripts/index.js <applicationUuid>

Example

node {baseDir}/scripts/index.js _a-0007ee60-0f3e-8000-e0f6-01ef9001ef90_137916

Use the returned package UUID with appian-inspectpkg before deploying, or with appian-export to export a specific package.

External endpoints

  • GET ${APPIAN_BASE_URL}/applications/{uuid}/packages

Security

  • Credentials (APPIAN_BASE_URL, APPIAN_API_KEY) are read from environment variables (injected by OpenClaw at runtime). If not injected, the script falls back to a appian.json file in the current working directory.
  • No data is written or uploaded — read-only API call.
  • No shell commands are executed; all operations use Node.js built-in APIs.