AWS Certified Cloud Practitioner
Amazon Inspector vs Macie vs Security Hub: what each one checks
Amazon Inspector scans EC2 instances, container images in Amazon ECR and Lambda functions for software vulnerabilities and unintended network exposure. Amazon Macie finds sensitive data such as personal information in Amazon S3. AWS Security Hub (now documented as Security Hub CSPM) checks your account against standards such as PCI DSS and collects findings from Inspector, Macie and GuardDuty in one place.
Amazon Inspector: software vulnerabilities
Amazon Inspector is a vulnerability management service. It finds Amazon EC2 instances, container images in Amazon ECR and AWS Lambda functions, then keeps scanning them for software vulnerabilities and unintended network exposure.
You do not schedule scans. Inspector rescans a resource automatically when something changes that could add a vulnerability, such as a new package being installed, a patch being applied, or a new CVE that affects the resource being published.
Inspector reports each problem as a finding with remediation advice. It does not patch anything itself. When you fix the issue, Inspector detects it and closes the finding.
Amazon Macie: sensitive data in S3
Amazon Macie is a data security service that discovers sensitive data using machine learning and pattern matching. It looks inside objects in Amazon S3 for data such as personally identifiable information, financial information and credentials.
Macie also keeps an inventory of your S3 general purpose buckets and checks them for security and access control. A bucket that becomes publicly accessible, for example, produces a finding.
AWS Security Hub: one view and standards checks
Security Hub CSPM runs automatic checks against security standards: AWS Foundational Security Best Practices, CIS, PCI DSS and NIST. Each standard is made of controls, and each failed check becomes a control finding.
It also receives findings from Amazon GuardDuty, Amazon Inspector, Amazon Macie and supported third-party products, puts them in one format and helps you rank the most important ones.
A quick way to separate them: Inspector looks at the software on your compute, Macie looks at the data in your S3 buckets, GuardDuty looks at activity in your logs, and Security Hub brings their findings together.
Where the exam catches people
- Believing Amazon Inspector needs scheduled assessment runs: it scans continuously and rescans automatically, including when a new CVE affecting a resource is published.
- Believing Amazon Inspector patches what it finds: it creates findings with remediation advice; fixing them is your job.
- Believing Amazon Macie scans EC2 instances: Macie works on data in Amazon S3.
- Believing Security Hub replaces GuardDuty, Inspector and Macie: it collects and prioritizes their findings; they still do the detecting.
- Believing AWS Artifact checks your resources against PCI DSS: Artifact supplies AWS's own reports; Security Hub CSPM runs PCI DSS checks on your resources.