Sub topic 10
Inherited, shared, and customer-specific controls
This chapter assumes you know the split between security of the cloud and security in the cloud. It also assumes you know how responsibility shifts across infrastructure, container, and abstracted services. You should be able to read a short AWS CLI command. The chapter shows how to turn the model into a list of controls, each tagged with a type, which is the form auditors and security teams work with.
Why controls need a type
"AWS secures the cloud, you secure what is in it" is accurate, but it is too coarse for an audit. An auditor asks about specific controls, such as patching, configuration management, and physical access. For each one you must say who performs it and who can show evidence of it.
AWS sorts controls into three types:
- Inherited controls: you fully inherit them from AWS. You do nothing to operate them.
- Shared controls: they apply to both AWS and you, but each party covers a different layer.
- Customer-specific controls: they are solely your responsibility, because they depend on how you use a service.
The type is a property of the control, not of the service. The same service can involve controls of all three types.
Inherited controls
You inherit a control when AWS operates it end to end and you cannot operate it yourself. The standard example is physical and environmental security:
- Physical access to data centers, including guards, badge systems, and surveillance.
- Power, cooling, fire suppression, and environmental monitoring.
- Disposal of storage media.
You can't visit an AWS data center to inspect it, and you can't swap its disks. You also can't configure its fire suppression. So you rely on AWS's attestations. Your audit evidence is a report, such as a SOC 2 report or an ISO 27001 certificate, which you retrieve from AWS Artifact. A later chapter covers Artifact.
Inheriting a control does not remove your obligation to prove it. If your own framework requires "physical access to systems is restricted," you still need to show an auditor how that is satisfied. Your answer is "inherited from AWS, evidence in report X, section Y."
Edge case: physical controls you do own
Physical controls are inherited only for the AWS facility. If you connect a corporate office to AWS with a VPN or Direct Connect, the router in your office closet is yours. Your office's door locks, your laptops, and your hardware security keys are also yours. A control about "physical security" can be inherited for the data center and customer-specific for your endpoint devices.
Shared controls
Shared controls are the ones people most often get wrong. AWS and the customer both perform the control, in different contexts. AWS names three:
| Shared control | AWS part | Customer part |
|---|---|---|
| Patch management | Patches the host, hypervisor, and underlying infrastructure | Patches guest operating systems and applications |
| Configuration management | Maintains the configuration of its infrastructure devices and service software | Configures guest operating systems, databases, and applications |
| Awareness and training | Trains AWS employees | Trains your own employees |
The pattern is the same in each row: the control name is the same, but the scope differs. If a framework item says "systems are patched within 30 days of a critical release," AWS's work covers only part of the systems in your scope.
Shared depends on the service category
How much of a shared control falls to you depends on the service category.
- EC2 (infrastructure service): you own guest OS patching. AWS patches the host.
- RDS (container service): AWS patches the database engine and OS during maintenance windows. You choose the window, the engine version, and whether minor upgrades are applied automatically.
- S3 (abstracted service): there is no OS or engine for you to patch. The patch-management control is essentially inherited. Configuration management remains yours, in the form of bucket policies, encryption settings, and Block Public Access.
So patch management is shared for EC2 but nearly inherited for S3. Configuration management stays shared or customer-owned across all three. Control types are therefore assigned per workload component, never once per account.
Gotcha: "managed" does not mean "your part is gone"
With RDS, AWS applies the engine patch only when a maintenance event or an upgrade setting triggers it. If you pin an old major engine version, or defer maintenance indefinitely, the patch is not applied. The mechanism is AWS's, but the decision is yours. When you write down the owner of that control, record both parts: AWS performs the patch, and you own the version, the window, and the schedule.
Customer-specific controls
Customer-specific controls depend on what you build. AWS can't perform them for you, because it doesn't know your data, your users, or your regulations. The two examples AWS gives are service and communications protection, and zone security. Both can require you to route or zone data inside specific security environments. Common customer-specific controls include:
- Data classification and handling rules.
- Identity design: who gets which role, and how permissions are reviewed.
- Encryption choices: which data is encrypted, with which keys, and who can use them.
- Network segmentation: which workloads sit in which VPCs and subnets, and what traffic is allowed between them.
- Data residency: which Regions you permit your data to be stored in.
- Application-level controls, such as input validation and session handling.
AWS provides the tools, such as IAM, AWS KMS, security groups, and Block Public Access. Whether the controls exist in your account depends on your configuration.
Here is a customer-specific control in practice. S3 is run by AWS, but whether a bucket is public is your configuration choice. This command turns on all four Block Public Access settings for one bucket:
aws s3api put-public-access-block \
--bucket amzn-s3-demo-bucket \
--public-access-block-configuration \
BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=trueAWS built the setting. You decide to apply it, and you are the one an auditor asks about it.
Encryption works the same way. AWS provides the encryption capability and the key infrastructure. You decide to use it. This command makes new EBS volumes in the Region encrypted by default:
aws ec2 enable-ebs-encryption-by-default --region us-east-1
aws ec2 get-ebs-encryption-by-default --region us-east-1Two points about this command. The setting is per Region, so you must repeat it in every Region you use. It also affects only volumes created after you enable it. Existing unencrypted volumes remain unencrypted until you copy or recreate them.
A decision path for classifying a control
When you meet a control you haven't classified, ask three questions in order.
- Can you operate or change the control? If not, it is inherited.
- If you can, does AWS perform a part of it on a layer you can't reach? If so, it is shared. Write down both parts.
- If AWS does no part of it, the control is customer-specific.
Question 2 is where most mistakes happen. Teams answer "no" because they can't see AWS's part. They then treat a shared control as fully theirs, and they spend effort on something AWS already does. The opposite error is more dangerous: answering "yes" to AWS performing part of it, and then assuming the customer part is covered too.
Recording the classification
A control register is a simple, durable way to hold these decisions. The script below keeps a small register as data, checks that every control has a valid type and an owner, and prints a summary. It uses only the Python standard library.
from collections import Counter
VALID_TYPES = {"inherited", "shared", "customer-specific"}
controls = [
{"id": "PHY-01", "name": "Data center physical access", "type": "inherited",
"aws_part": "Facility access control", "customer_part": "", "owner": "AWS",
"evidence": "SOC 2 report via AWS Artifact"},
{"id": "PAT-01", "name": "Guest OS patching (EC2)", "type": "shared",
"aws_part": "Host and hypervisor patching", "customer_part": "Guest OS patches",
"owner": "Platform team", "evidence": "Patch compliance report"},
{"id": "NET-01", "name": "Security group rules", "type": "customer-specific",
"aws_part": "", "customer_part": "Allowed ports and sources",
"owner": "Network team", "evidence": "AWS Config rule results"},
]
def validate(register):
problems = []
for c in register:
if c["type"] not in VALID_TYPES:
problems.append(f'{c["id"]}: unknown type {c["type"]!r}')
if c["type"] == "shared" and not (c["aws_part"] and c["customer_part"]):
problems.append(f'{c["id"]}: shared control must record both parts')
if c["type"] != "inherited" and not c["customer_part"]:
problems.append(f'{c["id"]}: no customer part recorded')
if not c["owner"]:
problems.append(f'{c["id"]}: no owner')
return problems
issues = validate(controls)
print(Counter(c["type"] for c in controls))
print("Problems:", issues or "none")The checks encode the rules from this chapter. A shared control must name both parts. Any control that isn't inherited must have something you do. Every control needs an owner. The last chapter extends this idea into a full responsibility matrix.
Checking your part
Classifying a control does not show that you perform it. For the parts that are yours, you need evidence. AWS Config rules evaluate your resources against the settings you expect. This command lists the rules that currently report non-compliant resources:
aws configservice describe-compliance-by-config-rule \
--compliance-types NON_COMPLIANTAn empty result means no rule currently reports a non-compliant resource. It does not mean all your controls are met. It covers only the rules you have enabled, so a control with no rule is invisible to it.
Common errors
- Treating a shared control as inherited. A team reads "AWS patches the infrastructure" and stops patching guest operating systems. The host is patched, but the guest OS is not.
- Treating a shared control as fully customer-owned. A team builds a process to evidence physical security of a facility it can never enter. The correct evidence is an AWS Artifact report.
- Classifying per service instead of per control. "EC2 is shared" is too vague to be useful. Patching, network configuration, and key management on EC2 each have their own answer.
- Assuming a default is a decision. A default setting, such as the encryption default on a service, is still configuration you must understand and record. Defaults can change, and the Region-level EBS setting shown above is off unless you turn it on.
- Forgetting that types change with architecture. Moving a database from EC2 to RDS changes who patches the engine. Re-classify controls when the architecture changes.
Exercise
A workload runs a web application on EC2 and stores uploads in S3. For each of these controls, state whether it is inherited, shared, or customer-specific, and name who owns the evidence: (a) fire suppression in the data center, (b) patching the guest operating system on the EC2 instances, (c) the S3 bucket's Block Public Access settings.
Show answer
(a) Inherited. You can't operate it, and the evidence is an AWS report such as SOC 2 from AWS Artifact. (b) Shared. AWS patches the host and hypervisor, and you patch the guest OS, so the register must record both parts, and your evidence is your own patch compliance report. (c) Customer-specific. AWS provides the setting, but you choose to apply it, and your evidence is the bucket's configuration, which you can check with AWS Config.