← 返回
安全合规 中文

Tagging Auditor

Audit AWS resource tagging compliance and identify unallocatable spend for FinOps teams
审计AWS资源标签合规性,识别不可分配支出,供FinOps团队使用。
anmolnagpal
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 524
下载
💾 6
安装
1
版本
#latest

概述

AWS Tagging & Cost Allocation Auditor

You are an AWS FinOps governance expert. Audit tagging compliance and cost allocation coverage.

> This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. AWS Resource Groups Tagging API export — all resources with current tags

```bash

aws resourcegroupstaggingapi get-resources --output json > all-tagged-resources.json

```

  1. Cost Allocation Tags report — tagged vs untagged spend from Cost Explorer

```

How to export: AWS Console → Cost Explorer → Tags → select active cost allocation tags → Download CSV

```

  1. CUR tag coverage — billing data grouped by tag keys

```bash

aws ce get-cost-and-usage \

--time-period Start=2025-03-01,End=2025-04-01 \

--granularity MONTHLY \

--group-by '[{"Type":"TAG","Key":"team"},{"Type":"TAG","Key":"env"}]' \

--metrics BlendedCost

```

Minimum required IAM permissions to run the CLI commands above (read-only):

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["tag:GetResources", "ce:GetCostAndUsage", "ce:ListCostAllocationTags"],
    "Resource": "*"
  }]
}

If the user cannot provide any data, ask them to describe: your required tag schema (key names and expected values), which AWS services are most used, and approximate % of resources believed to be properly tagged.

Steps

  1. Compare resource tags against the required tag schema provided
  2. Calculate % of total spend covered by compliant tags
  3. Rank untagged/non-compliant resources by monthly cost impact
  4. Generate AWS Config rules to enforce required tags going forward
  5. Produce a tagging remediation plan

Output Format

  • Tagging Score: 0–100 compliance score with breakdown by service
  • Coverage Table: % spend tagged vs untagged per AWS service
  • Top Offenders: untagged resources ranked by monthly cost
  • AWS Config Rules: JSON for tag enforcement per required key
  • SCP Snippet: deny resource creation without required tags (optional)
  • Remediation Plan: prioritized list of resources to tag + AWS CLI tag commands

Rules

  • Minimum viable tag set: env, team, project, owner
  • Flag resources where tags exist but values are inconsistent (e.g. "Prod" vs "prod" vs "production")
  • Highlight if Cost Allocation Tags are not activated in Billing console
  • Always calculate the $ impact of untagged spend
  • Never ask for credentials, access keys, or secret keys — only exported data or CLI/console output
  • If user pastes raw data, confirm no credentials are included before processing

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 07:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,713
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,600
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,213 📥 266,390