360 Secure SkillHub
360 安全技能中心

Appian Inspectpkg

调用 Appian v2 Deployment Management API 对包 ZIP 执行部署前检查:上传安装包、轮询检查结果,返回预期对象数量以及错误或警告。凭据从环境变量读取,未注入时回退到当前工作目录的 appian.json 文件。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add appian-inspectpkg
Metadata
name
appian-inspectpkg
description
Inspect an Appian package ZIP against the target environment to identify errors or warnings before deploying. Use before appian-deploy to validate a package.
metadata
{"clawdbot":{"emoji":"🔍","requires":{"env":["APPIAN_BASE_URL","APPIAN_API_KEY"]},"primaryEnv":"APPIAN_BASE_URL"}}

Appian Inspect

Runs a pre-deployment inspection of a package ZIP against the Appian environment using the v2 Deployment Management API. Returns expected object counts and any errors or warnings.

A FAILED inspection status indicates a system error, not an invalid package. Errors and warnings are predictions about what deploying will do, not hard blockers.

Usage

node {baseDir}/scripts/index.js <zipPath> [customizationFilePath]

Example

node {baseDir}/scripts/index.js "./appian-exports/MyPackage.zip"

Exported packages are saved to ./appian-exports/ by appian-export.

External endpoints

  • POST ${APPIAN_BASE_URL}/inspections — submits the package for inspection
  • GET ${APPIAN_BASE_URL}/inspections/{uuid} — polls for results

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.
  • The package ZIP is uploaded only to your configured Appian environment.
  • No data is sent to any third-party service.
  • No shell commands are executed; all operations use Node.js built-in APIs.