一键导入
stave-snapshot-your-account
Capture a read-only configuration snapshot of your real AWS account and evaluate it with Stave on a local, deterministic snapshot
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture a read-only configuration snapshot of your real AWS account and evaluate it with Stave on a local, deterministic snapshot
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Build Stave from source and verify the binary and control catalog work, adapting to what is already installed
Author, test, and verify a custom Stave control using the forge toolchain
Run Stave against a tiny example observation and read your first findings — no AWS account required
Deploy a known-vulnerable Bishop Fox IAM lab, evaluate it with Stave, and confirm findings match the documented attack paths — trust via an independent oracle
Export Stave observation facts to JSONL/SMT-LIB and derive compound cross-asset chains with Z3, Soufflé, or Prolog — detection CEL alone cannot express
Verify cloud infrastructure security using the Stave platform with machine-verifiable contracts at every step
基于 SOC 职业分类
| name | stave-snapshot-your-account |
| description | Capture a read-only configuration snapshot of your real AWS account and evaluate it with Stave on a local, deterministic snapshot |
| triggers | ["evaluate my account","scan my AWS","snapshot my environment","real environment findings","run Stave for real"] |
| requires | ["a built stave binary (run stave-setup first)","AWS CLI with a READ-ONLY profile (SecurityAudit / ReadOnlyAccess)"] |
Captures a point-in-time config snapshot of your AWS account and evaluates it. This is the real thing — but Stave only ever reads a LOCAL snapshot; it never connects to or writes to AWS.
Time: ~30 minutes. Real AWS, read-only.
aws sts get-caller-identity --profile <your-readonly-profile>
The profile MUST be read-only (e.g. the AWS-managed SecurityAudit or
ReadOnlyAccess policy). Do NOT use admin/write credentials — capture needs
only reads.
Verify the caller's attached policies are read/audit only before proceeding.
Pull the configuration you want to evaluate with read-only AWS CLI calls (e.g.
aws iam list-users, list-attached-user-policies, get-policy-version,
aws s3api get-bucket-policy, …) and save the raw JSON. This is the same
capture pattern used in the lab-validation skill — adapt the resource list and
naming to your account.
Transform the captured config into obs.v0.1 observation files:
schema_version: obs.v0.1, source: deployed,properties populated with the exact fields the relevant controls
read (find them with ./stave search + the control's observation_fields,
same as lab-validation step 4).jq . <your-obs-dir>/*.json > /dev/null && echo "valid JSON"
./stave apply --observations <your-obs-dir>/ --eval-time <RFC3339-now>
Each finding is a property of YOUR environment, with evidence and remediation. Triage by severity; the remediation field says what to change.
--eval-time → identical findings, always.You've evaluated your real environment. Findings are specific to your infrastructure, each with evidence and remediation guidance.