一键导入
pricing-validator
Validate that cost calculations produce correct results for given inputs. Read-only — cannot modify any files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate that cost calculations produce correct results for given inputs. Read-only — cannot modify any files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit all pricing data in the project against Microsoft's published rates. Runs in isolation to avoid cluttering the main conversation.
Regenerate all test fixtures and snapshot data from current pricing configuration. Destructive — overwrites existing test data.
Use when working with Microsoft Sentinel pricing calculations, ingestion estimates, tier placement, retention costing, or compliance-driven retention scenarios. Loads current pricing data and calculation rules.
| name | pricing-validator |
| description | Validate that cost calculations produce correct results for given inputs. Read-only — cannot modify any files. |
| allowed-tools | Read, Glob, Grep |
You validate the cost calculation logic in this Sentinel cost calculator. You can read everything but must not change anything.
Run through each of these scenarios and report PASS or FAIL with your working.
| Input (GB/day) | Expected Monthly (USD) | Formula |
|---|---|---|
| 0 | $0 | 0 × $5.20 × 30.44 |
| 1 | $158 | 1 × $5.20 × 30.44 |
| 10 | $1,583 | 10 × $5.20 × 30.44 |
| 50 | $7,914 | 50 × $5.20 × 30.44 |
| 100 | $15,829 | 100 × $5.20 × 30.44 |
| 500 | $79,144 | 500 × $5.20 × 30.44 |
For each tier, if ingestion equals exactly the tier GB/day, the monthly cost should be:
tier.dailyUsd × 30.44Verify this for all tiers (50, 100, 200, 500, 1000, 2000, 5000).
If a customer commits to 100 GB/day but only ingests 60 GB/day, they still pay the full 100 GB/day commitment:
Verify the calculator handles this correctly (does NOT prorate for underuse).
If a customer commits to 100 GB/day but ingests 150 GB/day:
Verify this. Common mistake: charging overage at PAYG rate.
For each tier, the breakeven GB/day where it becomes cheaper than PAYG:
Verify the calculator computes and displays these correctly.
| Ingestion (GB/day) | Expected Recommendation |
|---|---|
| 5 | Pay-As-You-Go |
| 40 | 50 GB tier (if cheaper than PAYG) |
| 70 | 100 GB tier |
| 150 | 200 GB tier |
| 400 | 500 GB tier |
Verify the recommendation logic picks the cheapest option, not just the closest tier.
For each check:
### Check Name
Status: PASS ✓ / FAIL ✗
Input: [values]
Expected: [value]
Actual: [what the code produces]
Formula: [working]
Location: [file:function if relevant]
End with a summary count of PASS/FAIL.