360 Secure SkillHub
360 安全技能中心

catalyst-stratus

该 Skill 面向 Catalyst Stratus 对象存储开发,说明桶命名、上传/下载/删除、250GB 单次上传限制、分片上传和签名 URL,并给出桶权限、CORS、加密与响应语法建议;Stratus 使用自有 SDK API,不兼容 S3 API。

分类:开发
catalystbyzoho
热度 0.00
最近更新 2026-11-27 05:11:58

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add catalystbyzoho/agent-skills/catalyst-stratus
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
catalyst-stratus
description
Catalyst Stratus — object storage service with upload/download, signed URLs, and multipart upload support. Stratus uses its own SDK-based APIs (not S3-API-compatible). Migrate from AWS S3 or GCS using the Stratus Migration Tool. Trigger on 'Stratus', 'object storage', 'upload file', 'signed URL', 'putObject', 'getObject', or 'bucket'.
metadata
{"version":"2.2.0"}

How It Works

  1. Bucket naming — Bucket names are globally unique. Use {app-name}-{project-id-prefix} pattern to avoid collisions.
  2. Load references/stratus-basics.md — for upload/download/delete patterns, the 250 GB single-upload limit, signed URL generation, and multipart setup.
  3. Large files — Multipart upload is recommended (not required) for files ≥ 100 MB. Single-shot upload supports up to 250 GB per object. Load the multipart section of stratus-basics.md.
  4. Signed URLs — For user-facing direct downloads/uploads, generate a signed URL server-side and return it to the client.

Security Checklist

  • Use the Authenticated permission template for sensitive files. The Public template lets anyone with an object URL open it without signing in.
  • Scope access per user or org with custom permissions (GetObject, PutObject, DeleteObject) and the X_ZUID / X_ORGID dynamic variables in object paths. A deny rule overrides every matching allow rule.
  • Whitelist only trusted domains in Bucket CORS, and enable Data Encryption plus PII/ePHI for personal or health data. Full go-live checklist: ../catalyst-basics/references/secure-practices.md.

Response Syntax Default

When writing function code that returns a Stratus result to the client, default to native Node.js response syntax — not Express. Advanced I/O exposes raw http.ServerResponse; res.status() and res.json() do not exist unless the user explicitly chose the Express template.

  • Native (default): res.writeHead(200, { 'Content-Type': 'application/json' }); res.end(JSON.stringify(data));
  • Express (opt-in only): only if the user has express installed and wired as middleware

Triggers

Use this skill for: "Stratus", "object storage", "file storage", "upload file", "download file", "signed URL", "pre-signed URL", "multipart upload", putObject, getObject, "bucket", "Stratus bucket", "store files on Catalyst", "Stratus vs File Store", "250GB limit", "file download link", "bucket permissions", "public bucket", or "Bucket CORS".

References

Reference Load when the query is about…
references/stratus-basics.md Upload/download/delete, 250GB single-shot limit, multipart (recommended for ≥100 MB), signed URLs, busboy upload pattern, bucket naming rules