Sign in
Menu
Sign up
Docs

FedRAMP Rev. 5 Moderate Baseline

ActiveCore framework

Best for: Cloud service providers handling moderate-impact federal information who want to sell to U.S. federal agencies. Certification gets a service listed in the FedRAMP Marketplace, which agencies search to find certified cloud services, authorizing agencies and FedRAMP recognized assessors. Typical audience: AWS-hosted SaaS, PaaS and managed service vendors targeting federal buyers.

Mandatory?FedRAMP Certification required for in-scope U.S. federal agency cloud use
Who validates?FedRAMP Recognized independent assessor (formerly 3PAO); the agency authorizes its system. No self-assessment.
RenewalContinuous monitoring; independent assessment at least annually
ScopeCloud services with moderate-impact federal information; now Class C (Advanced) in the 2026 rules
Governing bodyU.S. General Services Administration (GSA), FedRAMP Rev. 5 Moderate. Official source

Get started

Point the module source at the FedRAMP Rev. 5 Moderate Baseline endpoint and pin a version range you reviewed:

module "..." {
  source  = "fedrampmoderate.compliance.tf/terraform-aws-modules/<module>/aws"
  version = "<version>"
}

fedrampmoderate.compliance.tf lists every FedRAMP Rev. 5 Moderate Baseline module with its versions, inputs and outputs.

Enforce 61 FedRAMP Rev. 5 Moderate Baseline controls with one registry endpoint change.

Start free trialGet started

What compliance.tf covers and what you handle

AreaCompliance.tf automatesYou handle
Identity and Access ManagementChecks IAM password policy settings, MFA on root and console users, unused credentials, user-attached and wildcard policies, and resource policies on SNS, SQS, KMS and SSM documents that would allow public access.Account provisioning and review workflows, role definitions, separation of duties, and any identity provider or PIV integration outside AWS IAM.
Audit LoggingCloudTrail trail configuration (multi-region, S3 data events, log validation, KMS encryption), service-level logging for databases, EKS, API Gateway and other services, and log retention and log bucket protection.You define which events are auditable, review logs on a set schedule, and keep retention aligned with your SSP and agency requirements.
Network Boundary ProtectionChecks security group and network ACL ingress rules, default security groups, internet gateway and route table exposure, S3 public access blocks, Network Firewall policies, and public accessibility of data services.Documenting the authorization boundary and data flows, approving each allowed port and CIDR, and managing connections to external systems.
Encryption at Rest and in TransitEncryption at rest on storage, database, cache and backup resources, plus TLS or secure protocol settings on load balancers, CloudFront, database connections and Transfer Family servers.Confirming cryptographic module validation status, KMS key ownership and rotation procedures, and certificate lifecycle management.
Backup and ResilienceVerifies that data resources sit under AWS Backup plans or native automated backups with minimum retention, and that production services span multiple Availability Zones.You write and test the contingency plan, run restore tests, and set recovery time and recovery point objectives.
Threat Detection and Vulnerability ScanningConfirms GuardDuty and its protection plans, Security Hub, and Inspector scanning for EC2, ECR and Lambda are enabled, that CloudWatch alarms have actions, and that SSM patch compliance is reported.Triage and remediation of findings within agency timelines, monthly continuous monitoring deliverables, and incident response procedures.

Controls by category

61 of 112 mapped controls are Enforced by compliance.tf modules at terraform plan. The other 51 are Mapped only: FedRAMP Rev. 5 Moderate Baseline lists them, no compliance.tf module checks them.

Access Control and Authentication (AC-2, AC-3, AC-6, IA-2, IA-5)

Stale credentials past 90 days and resource policies open to anonymous principals are the usual findings here. Assessors also check that IAM permissions attach to groups or roles rather than individual users, that no policy grants service-wide wildcards, and that the account password policy and MFA status for root and console users hold up.

Audit Logging and Protection (AU-2, AU-3, AU-9, AU-11, AU-12)

The baseline evidence is a multi-region CloudTrail trail with log file validation, KMS encryption and S3 data events, plus service-level logs for databases, EKS control planes and API Gateway. Retention on CloudWatch log groups and S3 lifecycle rules get verified too. Log buckets without Object Lock or versioning are a common gap under AU-9.

ControlStatus
API Gateway stages should have logging enabledMapped
AppSync GraphQL APIs should have field-level logging enabledEnforced
Athena workgroups should have logging enabledMapped
DataSync tasks should have logging enabledMapped
EKS clusters should have control plane audit logging enabledEnforced
MQ brokers should have audit log streaming to CloudWatch enabledMapped
MSK connectors should have logging enabledMapped
Aurora MySQL DB clusters should have audit logging enabledEnforced
Aurora PostgreSQL DB clusters should publish logs to CloudWatch LogsEnforced
RDS for PostgreSQL DB instances should publish logs to CloudWatch LogsEnforced
RDS for SQL Server DB instances should publish logs to CloudWatch LogsEnforced
Redshift Serverless namespaces should export logs to CloudWatch LogsMapped
S3 buckets should have logging enabledEnforced
S3 buckets should have object logging enabledMapped
EC2 VPN connections should have logging enabledEnforced
CloudTrail trails should have log file validation enabledMapped
CloudTrail trails should have logs encrypted using a customer managed KMS keyMapped
Log groups should have encryption at rest enabledEnforced
S3 buckets should have object lock enabledEnforced
S3 buckets should have versioning enabledEnforced
S3 buckets should not use ACLs for user access controlEnforced
S3 buckets should not be accessible to all authenticated usersEnforced
CloudWatch log groups should have retention period of at least 365 daysEnforced
S3 buckets should have lifecycle policies configuredEnforced
S3 buckets with versioning enabled should have lifecycle policies configuredEnforced

Boundary Protection and Information Flow (SC-7, AC-4, AC-17)

Assessors compare security group, network ACL and route table rules against the documented authorization boundary and the deny-by-default requirement in SC-7(5). Open SSH or RDP from 0.0.0.0/0, permissive default security groups and publicly reachable data services show up most.

Configuration Management (CM-2, CM-3, CM-6, CM-8)

Running resources get compared against the documented baseline configuration, and changes need to show a trail through change control. EC2 instances outside Systems Manager, launch templates that still allow IMDSv1 and default database usernames all point to drift from that baseline.

Contingency Planning and Backup (CP-6, CP-7, CP-9, CP-10(2))

Configuration alone does not satisfy this category. Assessors match AWS Backup plans and native snapshot settings against the recovery objectives in the contingency plan, look for resources left out of backup plans and for production data stores running in a single AZ, and ask to see evidence of restore tests.

Continuous Monitoring, Detection and Flaw Remediation (CA-7, SI-2, SI-4, RA-5, IR-4)

Most findings in continuous monitoring reviews come from alarms with no actions configured and patch compliance gaps on SSM-managed instances. Before that, assessors confirm GuardDuty, its protection plans, Security Hub and Inspector are enabled across all in-scope accounts and regions, then follow findings through to tickets and remediation.

Cryptographic Protection (SC-8, SC-12, SC-13, SC-17, SC-28)

Every storage and database resource inside the boundary needs encryption at rest, and every listener and replication path needs TLS. Assessors also ask how the cryptographic modules are validated and who controls the KMS keys. Plaintext FTP endpoints, deprecated TLS policies on CloudFront or load balancers, and expired server certificates are typical findings.

ControlStatus
AppSync API caches should have encryption at rest enabledEnforced
AppSync API caches should have encryption in transit enabledEnforced
CloudFront distributions should require encryption in transitEnforced
CloudFront distributions should use custom SSL/TLS certificatesEnforced
CodeBuild report group exports should be encrypted at restMapped
DynamoDB Accelerator clusters should be encrypted in transitMapped
DynamoDB Accelerator (DAX) clusters should be encrypted at restMapped
DMS endpoints for Redis OSS should have TLS enabledMapped
DMS endpoints should use SSLEnforced
DocumentDB clusters should have encryption at rest enabledMapped
Attached EBS volumes should have encryption enabledEnforced
EKS clusters should be configured to have kubernetes secrets encrypted using KMSMapped
ELB application and network load balancer listeners should use secure protocolsEnforced
Elasticsearch domain node-to-node encryption should be enabledMapped
Kinesis firehose delivery streams should have server side encryption enabledMapped
MSK clusters should require TLS for client-broker connectionsEnforced
OpenSearch domains node-to-node encryption should be enabledEnforced
Redshift cluster encryption in transit should be enabledEnforced
API Gateway stages should have cache encryption at rest enabledMapped
Athena workgroups should be encrypted at restMapped
DynamoDB tables should have AWS KMS encryption enabledEnforced
DynamoDB tables should have encryption enabledEnforced
EFS file systems should have encryption at rest enabledEnforced
EFS file systems should be encrypted with CMKEnforced
ElastiCache for Redis replication groups should be encrypted at restEnforced
ElastiCache for Redis replication groups should be encrypted in transitEnforced
Neptune DB clusters should be encrypted at restMapped
RDS DB clusters should be encrypted at restEnforced
RDS DB instance encryption at rest should be enabledEnforced
Redshift clusters should have audit logging and encryption enabledEnforced
Redshift clusters should have KMS encryption enabledEnforced
S3 buckets should have default encryption enabledEnforced
S3 buckets should have default encryption enabled using KMSEnforced
FrameworkControl overlapNote
FedRAMP Rev. 5 High BaselineHigh 100%
NIST SP 800-53 Rev 5High 100%
PCI DSS v4.0High 95%

Frequently asked questions

Does the FedRAMP Moderate baseline apply to my cloud service?

It applies if your service handles moderate-impact federal information and you want federal agencies to use it. Agencies find certified services through the FedRAMP Marketplace, which also lists authorizing agencies and FedRAMP recognized assessors. The impact level comes from categorizing the federal information your service will handle.

How does FedRAMP Moderate relate to NIST SP 800-53?

Moderate is the control selection FedRAMP Rev. 5 makes from NIST SP 800-53 Revision 5 for moderate-impact systems. In compliance.tf, every check mapped to Moderate also maps to NIST SP 800-53 Rev 5.

If my AWS Terraform passes the compliance.tf Moderate checks, am I covered for FedRAMP High?

Only partly. The overlap figure measures compliance.tf checks: every check mapped to Moderate also maps to High. It does not mean the two baselines require the same controls. You still need to assess High-specific requirements, plus the procedural controls no Terraform check can evaluate.

Is compliance.tf output enough evidence for a FedRAMP assessment?

No. compliance.tf checks Terraform configuration and can draw on AWS Config rule results and CloudTrail logs for deployed-state evidence. That covers technical settings such as encryption, logging and network rules. Policies, procedures, training and incident response exercises are outside its scope, and so is the assessment itself, which a FedRAMP recognized assessor performs.

What is FedRAMP 20x and does it change the Rev. 5 Moderate process?

FedRAMP.gov lists FedRAMP 20x certified services separately from the overall certified service total. It also publishes Consolidated Rules for 2026 and open Requests for Comment on 20x development tracks. The program is updating these actively, so read the current rules on FedRAMP.gov before you plan an authorization path.

Enforce 61 FedRAMP Rev. 5 Moderate Baseline controls with one module source change.

Start free trialGet started

On this page

Ask AI about this

Help improve this page