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. |
| Renewal | Continuous monitoring; independent assessment at least annually |
| Scope | Cloud services with moderate-impact federal information; now Class C (Advanced) in the 2026 rules |
| Governing body | U.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.
What compliance.tf covers and what you handle
| Area | Compliance.tf automates | You handle |
|---|---|---|
| Identity and Access Management | Checks 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 Logging | CloudTrail 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 Protection | Checks 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 Transit | Encryption 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 Resilience | Verifies 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 Scanning | Confirms 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.
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.
Related frameworks
| Framework | Control overlap | Note |
|---|---|---|
| FedRAMP Rev. 5 High Baseline | High 100% | |
| NIST SP 800-53 Rev 5 | High 100% | |
| PCI DSS v4.0 | High 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.