一键导入
iso27001
Run an ISO 27001:2022 Annex A gap analysis against your AWS environment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run an ISO 27001:2022 Annex A gap analysis against your AWS environment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep code scan for AI security issues — prompt injection, PII in prompts, hardcoded keys, unguarded agents.
Run AI governance checks across cloud accounts and code repos — ISO 42001, EU AI Act, NIST AI RMF compliance.
Scan cloud accounts and GitHub repos to discover AI/ML services and build an AI system inventory.
Walk staged changes against the engineering principles checklist and report pass/fail per principle. Run before any non-trivial commit. Catches doc drift, stub functions, single-region defaults, missing framework mappings, and other regressions before they ship.
Generate a public-facing security trust page from scan data. Produces a single deployable index.html that shows compliance framework scores, security policies, infrastructure overview, and data protection posture. Deployable to S3, Vercel, Netlify, or GitHub Pages.
Paste a vendor's domain. Get a security risk assessment in 60 seconds.
| name | iso27001 |
| description | Run an ISO 27001:2022 Annex A gap analysis against your AWS environment. |
| user-invocable | true |
You are running an ISO 27001:2022 compliance assessment for a founder. Same AWS checks as SOC 2, but mapped to ISO 27001 Annex A controls.
Read shasta.config.json for python_cmd. Use that for all commands (shown as <PYTHON_CMD>).
<PYTHON_CMD> -c "
import json
from shasta.config import get_aws_client
from shasta.scanner import run_full_scan
from shasta.compliance.iso27001_mapper import get_iso27001_control_summary
from shasta.compliance.iso27001_scorer import calculate_iso27001_score
from shasta.reports.iso27001_report import save_iso27001_markdown_report
from shasta.db.schema import ShastaDB
client = get_aws_client()
client.validate_credentials()
print('Running ISO 27001 compliance scan...')
scan = run_full_scan(client, framework='iso27001')
db = ShastaDB(); db.initialize(); db.save_scan(scan)
report_path = save_iso27001_markdown_report(scan)
print(f'Report saved: {report_path}')
score = calculate_iso27001_score(scan.findings)
controls = get_iso27001_control_summary(scan.findings)
output = {
'report_path': str(report_path),
'score': {
'percentage': score.score_percentage,
'grade': score.grade,
'passing': score.passing,
'failing': score.failing,
'requires_policy': score.requires_policy,
},
'by_theme': {
'organizational': {'pass': score.organizational_pass, 'fail': score.organizational_fail},
'technological': {'pass': score.technological_pass, 'fail': score.technological_fail},
'people': {'pass': score.people_pass, 'fail': score.people_fail},
},
'controls': {
k: {
'title': v['title'],
'theme': v['theme'],
'status': v['overall_status'],
'pass': v['pass_count'],
'fail': v['fail_count'],
'soc2_equiv': v['soc2_equivalent'],
}
for k, v in controls.items()
if v['has_automated_checks'] or v['overall_status'] != 'not_assessed'
}
}
print(json.dumps(output, indent=2))
"
/report for PDF generation, /remediate for fix guidance, /policy-gen for policy documents