From security
Reviews AWS Well-Architected Operational Excellence pillar in IaC code, checking CloudWatch logs/alarms, X-Ray tracing, resource tagging, and runbooks for monitoring, logging, and automation.
npx claudepluginhub roboco-io/plugins --plugin securityThis skill uses the workspace's default tool permissions.
운영 효율성, 모니터링, 지속적 개선 관점에서 IaC 코드를 검토합니다.
Orchestrates AWS Well-Architected Framework reviews of IaC code in Terraform, CloudFormation, CDK, and Pulumi across 6 pillars for infrastructure and architecture assessments.
Enforces cloud operational hygiene: resource cleanup after migrations, cost attribution/tagging, monitoring/alerting defaults, Terraform drift detection, lifecycle policies for storage/artifacts.
Analyzes Terraform, CloudFormation, and Pulumi IaC for module structure, state management, drift prevention, and security posture. Use when reviewing configs, auditing modules, or PRs adding cloud resources.
Share bugs, ideas, or general feedback.
운영 효율성, 모니터링, 지속적 개선 관점에서 IaC 코드를 검토합니다.
| 심각도 | 탐지 유형 |
|---|---|
| High | 자동 탐지 |
검토 내용: 모든 리소스에 CloudWatch 로그 그룹이 설정되어 있는지 확인
Terraform 패턴:
# 취약 - 로그 그룹 없음
resource "aws_lambda_function" "example" {
function_name = "my-function"
# CloudWatch 로그 설정 없음
}
# 안전 - 로그 그룹 설정
resource "aws_cloudwatch_log_group" "lambda" {
name = "/aws/lambda/my-function"
retention_in_days = 14
}
| 심각도 | 탐지 유형 |
|---|---|
| High | 자동 탐지 |
검토 내용: 주요 메트릭에 대한 알람이 설정되어 있는지 확인
Terraform 패턴:
# 안전 - 알람 설정
resource "aws_cloudwatch_metric_alarm" "high_cpu" {
alarm_name = "high-cpu-utilization"
comparison_operator = "GreaterThanThreshold"
evaluation_periods = "2"
metric_name = "CPUUtilization"
namespace = "AWS/EC2"
period = "300"
statistic = "Average"
threshold = "80"
alarm_actions = [aws_sns_topic.alerts.arn]
}
| 심각도 | 탐지 유형 |
|---|---|
| Medium | 자동 탐지 |
검토 내용: 분산 트레이싱이 활성화되어 있는지 확인
Terraform 패턴:
# 취약 - 트레이싱 비활성화
resource "aws_lambda_function" "example" {
tracing_config {
mode = "PassThrough"
}
}
# 안전 - 트레이싱 활성화
resource "aws_lambda_function" "example" {
tracing_config {
mode = "Active"
}
}
| 심각도 | 탐지 유형 |
|---|---|
| Low | 자동 탐지 |
검토 내용: 리소스에 적절한 태그가 지정되어 있는지 확인
필수 태그:
Environment: dev/staging/prodProject: 프로젝트 이름Owner: 담당자/팀CostCenter: 비용 센터| 심각도 | 탐지 유형 |
|---|---|
| Low | 수동 확인 필요 |
검토 내용: 운영 문서가 존재하는지 확인
수동 확인 항목:
상세 패턴은 다음 참조:
| 항목 | 가중치 |
|---|---|
| CloudWatch 로그 | 25% |
| CloudWatch 알람 | 25% |
| X-Ray 트레이싱 | 20% |
| 태그 지정 | 15% |
| 런북/플레이북 | 15% |