CtrlK
BlogDocsLog inGet started
Tessl Logo

nitinjain999/platform-skills

Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.

67

Quality

84%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

README.mdexamples/compliance/

Status: Stable

Compliance Examples

SOC 2 Trust Services Criteria controls implemented as Terraform — covering IAM, encryption, audit logging, network security, detection, incident response, vulnerability management, and backup.

Examples

ExampleTSC CriterionDescription
iam/main.tfCC6.1, CC6.2IRSA application role, GitHub Actions OIDC trust, SCP enforcing MFA
logging/main.tfCC6.6, CC7.2Multi-region CloudTrail, AWS Config recorder, VPC flow logs
network/main.tfCC6.6WAF with rate limiting, least-privilege security group baseline
encryption-data-services/CC6.7KMS encryption for DynamoDB, ECR, ElastiCache, OpenSearch, Kinesis, EFS, Redshift
detection/main.tfCC7.1GuardDuty, CIS CloudWatch alarms, Security Hub
incident-response/main.tfCC7.3KMS-encrypted SNS for GuardDuty HIGH/CRITICAL events
vulnerability/main.tfCC6.8Inspector v2 with ECR enhanced scanning
backup/main.tfA1.2, A1.3AWS Backup plan, vault lock, and cross-region DR
checkov-config.yamlAllCheckov config grouping SOC 2 check IDs by criterion

Quick Start

# Install Checkov
pip install checkov

# Run all SOC 2 checks against your Terraform
checkov -d . --config-file examples/compliance/checkov-config.yaml

# Run checks for a specific criterion (e.g. CC6.7 encryption)
checkov -d . --check CKV_AWS_7,CKV_AWS_19,CKV_AWS_16,CKV_AWS_17

# Validate a single file
checkov -f logging/cloudtrail.tf

Apply an example

cd examples/compliance/logging
terraform init
terraform plan -var="environment=production"

SOC 2 Coverage Map

CriterionControlExample File
CC6.1IAM least privilege, IRSAiam/irsa-role.tf
CC6.2MFA enforcement, OIDCiam/scp-mfa.tf
CC6.6Network security, WAF, flow logsnetwork/, logging/vpc-flow-logs.tf
CC6.7Encryption at rest (11 services)encryption-data-services/
CC6.8Vulnerability scanningvulnerability/inspector.tf
CC7.1Detection: GuardDuty, CIS alarms, Security Hubdetection/
CC7.2Audit logging: CloudTrail, Config, VPC flow logslogging/
CC7.3Incident response: SNS, EventBridgeincident-response/
CC8.1Change management: S3 backend, lockingreferenced in references/compliance.md
A1.1Availability: multi-AZreferenced in references/compliance.md
A1.2/A1.3Backup and recoverybackup/backup-plan.tf

Checkov Suppressions

Use the documented suppression format in checkov-config.yaml to acknowledge accepted risks:

#checkov:skip=CKV_AWS_18:Access logging not required for this internal bucket
resource "aws_s3_bucket" "internal_logs" { ... }

See Also

  • references/compliance.md — full SOC 2 TSC mapping, Terraform patterns, Checkov rules, evidence commands, pre-audit checklist
  • /platform-skills:compliance — gap analysis, control implementation, evidence collection, Checkov remediation, full readiness checklist

examples

BEFORE_AFTER.md

CHANGELOG.md

CODE_OF_CONDUCT.md

COMMANDS.md

CONTRIBUTING.md

EDITOR_INTEGRATIONS.md

GETTING_STARTED.md

HOW_IT_WORKS.md

install.sh

INSTALLATION.md

LAUNCH.md

PROMPTS.md

QUICKSTART.md

README.md

renovate.json

SECURITY.md

SKILL.md

tessl.json

tile.json