0Pricing
AWS Solutions Architect · Lesson

Conformance Packs and Organisation Trails

Apply Conformance Packs across an AWS Organisation for CIS or PCI-DSS benchmarks, and deploy organisation-level trails for centralised auditing.

Conformance Packs and Organisation Trails is a free AWS Solutions Architect lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Solutions Architect learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

What Are Conformance Packs?

AWS Config Conformance Packs are collections of Config rules and remediation actions packaged together as a single deployable unit using a CloudFormation-like YAML template. They represent a set of compliance controls for a specific standard or framework — such as the CIS AWS Foundations Benchmark, PCI-DSS, HIPAA, or NIST 800-53. Instead of deploying dozens of individual Config rules manually, you deploy a conformance pack and get comprehensive coverage in minutes.

Sample Conformance Packs

AWS provides dozens of sample conformance pack templates on GitHub and in the AWS console. Examples include: Operational-Best-Practices-for-CIS-AWS-v1.4-Level1 (foundational security controls), Operational-Best-Practices-for-PCI-DSS (payment card industry controls), and Operational-Best-Practices-for-HIPAA-Security (healthcare data controls). You can use these templates as-is or customise them by adding, removing, or modifying individual rules before deployment.

# Deploy a sample CIS conformance pack
aws configservice put-conformance-pack \
  --conformance-pack-name CIS-AWS-Foundations-Level1 \
  --template-s3-uri s3://my-templates-bucket/cis-aws-foundations-level1.yaml \
  --delivery-s3-bucket my-config-conformance-results

# Check deployment status
aws configservice describe-conformance-packs \
  --conformance-pack-names CIS-AWS-Foundations-Level1 \
  --query 'ConformancePackDetails[].{Name:ConformancePackName,Status:ConformancePackState}'

Conformance Pack Template Structure

A conformance pack template is a YAML document containing a Parameters section and a Resources section. Each resource in the template is a Config rule definition using the AWS::Config::ConfigRule CloudFormation resource type. You can also include AWS::Config::RemediationConfiguration resources to attach automatic remediation actions. Parameters make the template reusable — for example, you can parameterise which S3 bucket stores results or which IAM role the remediation assumes.

# Minimal conformance pack template (YAML)
# Parameters:
#   RemediationRoleArn:
#     Type: String
# Resources:
#   S3BucketPublicReadProhibited:
#     Type: AWS::Config::ConfigRule
#     Properties:
#       ConfigRuleName: s3-bucket-public-read-prohibited
#       Source:
#         Owner: AWS
#         SourceIdentifier: S3_BUCKET_PUBLIC_READ_PROHIBITED
#   RootMFAEnabled:
#     Type: AWS::Config::ConfigRule
#     Properties:
#       ConfigRuleName: root-account-mfa-enabled
#       Source:
#         Owner: AWS
#         SourceIdentifier: ROOT_ACCOUNT_MFA_ENABLED

Conformance Pack Compliance Summary

Once deployed, you can view a compliance summary for each conformance pack — showing how many rules pass, how many fail, and how many resources are non-compliant for each rule. You can drill down from the pack level to the rule level to the individual resource level. The compliance data can be exported to S3 in a results bucket you specify, enabling you to ingest it into a SIEM or compliance reporting dashboard.

# Get overall compliance status for a conformance pack
aws configservice get-conformance-pack-compliance-summary \
  --conformance-pack-names CIS-AWS-Foundations-Level1 \
  --query 'ConformancePackComplianceSummaryList[].{Pack:ConformancePackName,Status:ConformancePackComplianceSummary.ComplianceType}'

# Drill into non-compliant rules
aws configservice get-conformance-pack-compliance-details \
  --conformance-pack-name CIS-AWS-Foundations-Level1 \
  --filters ComplianceType=NON_COMPLIANT

Organisation Conformance Packs

An Organisation Conformance Pack deploys a conformance pack to all accounts in an AWS Organisation simultaneously from the management account (or a delegated administrator account). Member accounts cannot delete or modify the deployed rules. New accounts joining the organisation automatically receive the conformance pack. This is the most efficient way to enforce compliance baselines across hundreds of accounts without visiting each account individually.

# Deploy a conformance pack to the entire organisation
aws configservice put-organization-conformance-pack \
  --organization-conformance-pack-name OrgSecurityBaseline \
  --template-s3-uri s3://my-org-templates/security-baseline.yaml \
  --delivery-s3-bucket central-config-results \
  --excluded-accounts '111111111111' '222222222222'

# Check deployment status across accounts
aws configservice get-organization-conformance-pack-detailed-status \
  --organization-conformance-pack-name OrgSecurityBaseline

Delegated Administrator for AWS Config

In an AWS Organisation, you can designate a delegated administrator account for AWS Config so the management account does not need to be used for day-to-day Config operations. The delegated administrator can deploy organisation Config rules, conformance packs, and aggregators, and can view compliance data from all member accounts. This follows the best practice of keeping the management account minimally used for operational tasks.

# Register a delegated administrator for AWS Config
aws organizations register-delegated-administrator \
  --account-id 333333333333 \
  --service-principal config.amazonaws.com

# The delegated admin can now deploy org-wide Config resources
# without using the management account for daily operations

Organisation Trails: Centralised API Auditing

An organisation trail in AWS CloudTrail captures API activity from every account in the AWS Organisation — current and future members — and delivers logs to a centralised S3 bucket in the management account. Unlike account-level trails that each account must maintain, an organisation trail is created once and automatically applies everywhere. Member accounts can see the organisation trail in their CloudTrail console but cannot modify or delete it.

# Create an organisation trail from the management account
aws cloudtrail create-trail \
  --name OrgCentralAuditTrail \
  --s3-bucket-name central-org-audit-logs \
  --is-multi-region-trail \
  --is-organization-trail \
  --include-global-service-events \
  --enable-log-file-validation

# Organisation member accounts automatically contribute
# to this trail without any per-account configuration

Centralised Log Bucket Structure

The organisation trail S3 bucket uses a structured key prefix: AWSLogs/ORGANIZATION_ID/ACCOUNT_ID/CloudTrail/REGION/YYYY/MM/DD/. This hierarchy allows you to query all accounts' logs with a single Athena table partitioned by organisation ID and account ID, or to use S3 object prefixes to grant specific accounts read access to only their own logs. The bucket policy must explicitly allow cloudtrail.amazonaws.com to write from all accounts in the organisation.

# S3 bucket policy for org trail (key permission addition)
# {
#   "Sid": "AWSCloudTrailWrite-OrgTrail",
#   "Effect": "Allow",
#   "Principal": {"Service": "cloudtrail.amazonaws.com"},
#   "Action": "s3:PutObject",
#   "Resource": "arn:aws:s3:::central-org-audit-logs/AWSLogs/o-ORGID/*",
#   "Condition": {
#     "StringEquals": {
#       "s3:x-amz-acl": "bucket-owner-full-control",
#       "aws:SourceArn": "arn:aws:cloudtrail:us-east-1:MGMT_ACCOUNT_ID:trail/OrgCentralAuditTrail"
#     }
#   }
# }

Service Control Policies and Config

Service Control Policies (SCPs) in AWS Organisations are a complementary preventive control that restricts what member accounts are allowed to do. Pairing SCPs with Config rules creates a layered defence: SCPs prevent non-compliant actions from being taken at all (for example, deny creation of unencrypted EBS volumes), while Config rules detect non-compliant states and trigger remediation. The SAA-C03 exam tests your ability to choose between preventive controls (SCPs) and detective controls (Config) for different scenarios.

# SCP that prevents disabling CloudTrail in any member account
# {
#   "Version": "2012-10-17",
#   "Statement": [{
#     "Sid": "DenyCloudTrailDisable",
#     "Effect": "Deny",
#     "Action": [
#       "cloudtrail:StopLogging",
#       "cloudtrail:DeleteTrail",
#       "cloudtrail:UpdateTrail"
#     ],
#     "Resource": "*"
#   }]
# }

Security Hub for Aggregated Findings

AWS Security Hub ingests findings from Config (compliance check results), GuardDuty (threat detections), Inspector (vulnerability findings), Macie (data sensitivity), and partner tools into a single, normalised view. It maps findings against security standards like CIS Foundations, PCI-DSS, and the AWS Foundational Security Best Practices. While Config focuses on configuration state, Security Hub is where you go to get an overall security score and prioritised list of findings across all services.

# Enable Security Hub with default standards
aws securityhub enable-security-hub \
  --enable-default-standards \
  --tags SecurityScope=Production

# View aggregated findings by severity
aws securityhub get-findings \
  --filters '{
    "SeverityLabel":[{"Value":"CRITICAL","Comparison":"EQUALS"}],
    "RecordState":[{"Value":"ACTIVE","Comparison":"EQUALS"}]
  }' \
  --max-results 10 \
  --query 'Findings[].{Title:Title,Source:ProductName}'

Enterprise Governance Architecture

The complete enterprise governance architecture uses multiple services together: SCPs prevent violations before they happen, AWS Config + Organisation Conformance Packs detect and remediate violations automatically, Organisation CloudTrail records all API activity centrally, Security Hub aggregates findings into a prioritised security score, and EventBridge + Lambda provides automated responses to high-severity findings. This layered approach is what AWS calls the defence-in-depth model for cloud governance.

Quick Check

Test your understanding of AWS Solutions Architect (SAA-C03) concepts from this lesson.

Lesson Recap

In this lesson you learned: Conformance Packs bundle multiple Config rules into a single deployable YAML template for framework compliance, Organisation Conformance Packs apply automatically to all AWS Organisation accounts and cannot be modified by members, and Organisation Trails centralise API audit logs from all accounts without per-account configuration. Next up we explore EBS Volume Types in the Storage Deep Dive.

Frequently asked questions

Is the “Conformance Packs and Organisation Trails” lesson free?

Yes — the full text of “Conformance Packs and Organisation Trails” is free to read here on the web, and the AWS Solutions Architect course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Solutions Architect course, upgrade to CoddyKit PRO.

What will I learn in “Conformance Packs and Organisation Trails”?

Apply Conformance Packs across an AWS Organisation for CIS or PCI-DSS benchmarks, and deploy organisation-level trails for centralised auditing. You practise AWS Solutions Architect with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start AWS Solutions Architect?

No prior experience is required. AWS Solutions Architect on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Conformance Packs and Organisation Trails” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this AWS Solutions Architect lesson?

Yes. Every AWS Solutions Architect lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. CloudTrail Trails and Event History
  2. CloudTrail Insights and Log File Integrity
  3. AWS Config Rules and Remediation
  4. Conformance Packs and Organisation Trails
← Back to AWS Solutions Architect