How to Run a Cloud Security Assessment on AWS and Azure

Most AWS and Azure environments don’t fail due to a security tool not being present. They fail because no one realized that several vulnerabilities along one route to sensitive information would link together. A cloud security assessment tool on AWS and Azure uncovers those paths before an attacker does. It examines identity, network exposure, workloads, data protection, logging, and governance on both platforms and then transforms the results into a remediation plan that teams can take ownership of.

This guide is presented in the order that an operations administrator would take it. It details the process to trace and rank an attack path, access that the assessors require, native tools that we can use for each platform, and how we scope the work. It also demonstrates the methods by which the environment can be prevented from reverting to risk after the report is presented. The steps are applicable to one AWS account or Azure subscription, and to a multi-account, multi-subscription estate that is across both clouds.

How Do You Run a Cloud Security Assessment on AWS and Azure?

If you want to conduct a cloud security assessment across AWS and Azure, specify the scope and inventory all accounts, subscriptions, and resources. Check identities and privileged access, and draw a line to Internet exposure and vulnerabilities and sensitive data. Confirm logging, threat detection and backups; prioritize threat findings by attack path and business impact. Lastly, resolve the critical issues, re-test and make these fixes permanent guardrails.

This tutorial will explain each of those steps in detail further on. It identifies AWS and Azure services, the artifacts created at each stage, and common pitfalls that detract from the outcome.

What Is a Cloud Security Assessment?

A cloud security assessment is an organized audit of the protection of an AWS or Azure environment, its identities, workloads, networks, and data. It covers configuration, access, exposure, logging, recovery and governance. It then prioritizes weaknesses based on the business impact to determine which attack paths pose actual risk and are prioritized for resolution by teams. It’s more extensive than a vulnerability scan. A scan informs you that a virtual machine is using an old package. Is that machine reachable from the internet?

Does that machine exist on the network? It examines what the identity has access to, if anyone would know if it were misused and how fast the business would bounce back. That context is what makes a list of observations into a risk decision. It is important because of the shared responsibility model. AWS and Microsoft secure the physical data centres, the hypervisor and the core platform services. Users are still able to set up identities, networks, storage, encryption and workloads.

An assessment is a means for measuring the effectiveness of the customer side of that model. Let’s assume an application running on AWS and accessible via the internet. A medium severity finding is reported by a scanner on the web server.

The assessment then indicates that the server has an IAM role that has the Amazon S3 GetObject permission on all S3 buckets in the account, including one containing customer exports. The medium finding is now added to a critical attack path, and it is placed at the top of the remediation list.

Key Terms Used in AWS and Azure Security Assessments

Security assessment reports use a dense vocabulary, and teams on either platform don’t always share the same terms. The definitions below explain the concepts referenced throughout this guide.

TermDefinition
Shared responsibility modelThe division of security duties in which the cloud provider secures the underlying platform and the customer secures identities, data, configuration, and workloads
CSPM (Cloud Security Posture Management)Tools and processes that continuously check cloud configurations against security standards; AWS Security Hub and Microsoft Defender for Cloud provide CSPM capabilities
CIEM (Cloud Infrastructure Entitlement Management)The practice of finding and reducing excessive permissions held by human and workload identities
CNAPP (Cloud-Native Application Protection Platform)A category combining CSPM, workload protection, and entitlement management in one platform
Attack pathA chain of individual weaknesses that together allow an attacker to reach a valuable asset
Least privilegeGranting each identity only the permissions it needs to perform its function
Just-in-time accessGranting elevated permissions only for a limited period when needed, rather than permanently
SCP (Service Control Policy)An AWS Organizations policy that sets the maximum permissions available to accounts in an organization
Azure PolicyAn Azure service that evaluates and enforces rules on resource configuration at scale
PIM (Privileged Identity Management)A Microsoft Entra feature for time-bound, approved activation of privileged roles
IMDSv2Version 2 of the AWS EC2 instance metadata service, which uses session tokens to block common credential-theft techniques
Configuration driftThe gradual divergence of a live environment from its approved, secure baseline

Why AWS and Azure Environments Need Regular Assessment

Cloud environments change daily. Engineers create resources, pipelines deploy new workloads, vendors receive access, and temporary troubleshooting rules quietly become permanent. A configuration that was correct at go-live can be exposed three months later without any application breaking. That is exactly why the drift goes unnoticed.

Multicloud adds a second layer of difficulty. AWS and Azure use different identity models, policy languages, logging services, and network constructs. Teams fluent in one platform often carry assumptions into the other, and gaps form at the boundary. A common example is an organization with strong IAM discipline in AWS that grants broad Contributor roles at the subscription level in Azure, because the RBAC model feels unfamiliar.

LayerProvider ResponsibilityCustomer Responsibility
Physical data centres and hardwareAWS or MicrosoftNone
Hypervisor and core platformAWS or MicrosoftNone
Identity and access configurationProvides the toolsConfigures users, roles, MFA, and permissions
Network configurationProvides the toolsConfigures exposure, segmentation, and firewalls
Data protectionProvides encryption servicesClassifies data, configures encryption and access
Operating systems on virtual machinesNonePatching and hardening
Logging and monitoringProvides the servicesEnables, retains, and acts on logs

The practical answer is one risk framework applied to both clouds, with platform-specific checks underneath it. That keeps leadership reporting consistent while letting engineers work with the native tools they already know.

Public incidents show the cost of skipping this discipline. In 2024, Mandiant reported that around 165 organizations using a major cloud data platform were potentially exposed. Attackers had used credentials stolen by infostealer malware to log in to accounts that did not enforce multi-factor authentication. The platform itself was not breached. Customer identity controls were the gap, and a basic identity assessment would have flagged it.

The CSG PATH Framework for AWS and Azure Security Assessments

Most assessment guides are organized as checklists. Checklists are useful, but they treat every control as independent, and attackers don’t.

Our view at Cloud Secure Group is that a cloud security assessment should be judged by the attack paths it closes, not by the number of controls it marks as passed. An assessment is only finished when every fix has an owner inside day-to-day operations.

The PATH framework structures the work around that principle. It has four stages, and each one feeds the next.

StageFocusCore QuestionPrimary Output
P: ProfileScope, inventory, asset criticality, data locationWhat exists, who owns it, and what matters most?Scoped asset inventory with criticality ratings
A: AccessHuman identities, workload identities, privileged rolesWho and what can act in this environment, and with how much power?Identity risk register
T: Threat exposureNetwork reachability, vulnerabilities, data and secretsWhere can an attacker get in, and what can they reach next?Validated attack paths
H: Hold and hand overLogging, detection, recovery, remediation, ownershipWould we notice, could we recover, and who keeps it fixed?Prioritized roadmap with named owners

The framework runs in sequence the first time and as a loop afterwards. Each reassessment starts from the previous profile, which makes drift visible instead of rediscovering the same environment from scratch.

What to Prepare Before a Cloud Security Assessment

An assessment should begin with read-only access, because the assessors need to see everything without being able to change anything. Granting broad write access to an assessment team creates the same risk the assessment is meant to find.

On AWS, the usual approach is a dedicated IAM role in each account, deployed through AWS Organizations or a StackSet. The role carries the AWS managed policies SecurityAudit and ViewOnlyAccess, can be assumed only by named assessor identities with MFA, and expires when the engagement ends. On Azure, the equivalent is the built-in Reader and Security Reader roles, assigned at the root management group so every subscription is covered. Read access to Entra ID sign-in and audit logs is also needed, typically through the Security Reader or Global Reader directory role.

Beyond access, the preparation should gather architecture diagrams, a list of business-critical applications and their owners, any previous audit or penetration test reports, and details of third-party integrations. Teams should also confirm which change windows apply if any validation testing is in scope. Missing documentation is not a blocker, but it is a finding in itself, because an organization that cannot describe its own architecture will struggle to respond to an incident within it.

A simple example shows why the access model matters. If an assessor is given Owner on a subscription “to save time,” the assessment’s own identity becomes one of the most privileged and least monitored accounts in the tenant, and a well-run assessment should flag it as a finding.

Step 1: Profile the Environment

Define the Assessment Scope

The first task is deciding exactly what is in and out of scope. Without that boundary, stakeholders assume areas were reviewed that never were, and the final report carries false assurance.

On AWS, scope starts with the AWS Organizations structure, organizational units, member accounts, active regions, and any shared-services or security accounts. On Azure, it starts with the Microsoft Entra tenant, management groups, subscriptions, and resource groups.

Development and test environments belong in scope wherever they hold production credentials, copies of real data, or network connectivity into production. Attackers favour the least-watched route.

Scope ElementAWSAzureWhy It Matters
Governance boundaryAWS Organizations and OUsManagement groupsDefines where central policy applies
Administrative unitAccountsSubscriptionsDefines blast radius and ownership
Identity planeIAM and IAM Identity CenterMicrosoft Entra ID tenantControls every human and workload action
Network boundaryVPCs and Transit GatewayVNets and hub networksDetermines reachability between systems
Critical workloadsEC2, EKS, ECS, Lambda, RDSVMs, AKS, App Service, Functions, Azure SQLIdentifies high-value targets
Data storesS3, RDS, DynamoDB, EBSStorage accounts, Azure SQL, Cosmos DBLocates sensitive information
External accessCross-account roles, SaaS integrationsGuest users, service principals, app registrationsExposes third-party risk

A useful scoping test is to ask each application owner one question: if this system were offline or leaked tomorrow, what would the business lose? The answer sets the criticality rating that drives prioritization later.

Build a Complete Asset Inventory

If you are not aware that resources exist you are not able to protect them and nearly all first assessments reveal some resources. The typical finds include orphaned snapshots, unused test accounts, public IP addresses that need to be freed up, or storage that was allocated for a single data transfer.

AWS Config maintains a configuration-level history of resources across accounts and regions on AWS, and an aggregator can gather all that information in one place. Azure Resource Graph can query all resources in all subscriptions in seconds on Azure. It is the quickest to discover public IPs, unencrypted disks or storage accounts that can be accessed by the public. For instance, this Resource Graph query returns the list of all the Public IPs in the tenant along with the resource to which they are attached:

kusto

Resources
| where type =~ 'microsoft.network/publicipaddresses'
| project name, resourceGroup, subscriptionId, ipAddress = properties.ipAddress, attachedTo = properties.ipConfiguration.id

Owners and environments should be assigned to each resource and criticality level should be recorded, preferably by forced tagging to ensure inventory is up to date.

There is a practical example which explains why ownership is important. A storage account may appear in an inventory that was created for a project which was completed last year. It is yet to hold exported reports and it still can be accessed by a shared access signature with a long expiry date. Nobody cares about it anymore, it’s forgotten. The fix takes minutes once the owner knows about it and it wouldn’t be found without the inventory.

Step 2: Assess Access, Identity, and Privilege

The control plane of the cloud is identity. Compromised identity with wide-ranging permissions may lead to infrastructure, deactivating logging, reading data, and deleting backups without touching a single server. This is why identity review is the top dollar item on most evaluations.

Assessing AWS IAM

Begin with root user for all accounts. It may not have access keys, should be in use for no routine purposes, and should include MFA. This assessment should confirm this account, not assume it, as AWS has been enabling MFA for root users on all account types since 2024.

The IAM credential report is a preliminary first pass. aws iam generate-credential-report and aws iam get-credential-report will be run in each account, and will return a list of all IAM users, including their MFA status, access key age, and last-used dates. Access keys that are long-lived, attached to IAM users, are a common occurrence, particularly in older automation. Replace with roles and temporary credentials whenever possible and human access should be moved to IAM Identity Center via federation.

Next, review roles and policies. IAM Access Analyzer identifies resources shared outside the account or organization, and its unused access analysis highlights permissions that are granted but never exercised. Wildcard actions granted to deployment roles deserve close attention. So do trust policies that let any principal in another account assume a role.

The organization level checks to see if services are denied, like disabling CloudTrail, leaving the organization, or operating outside approved regions, by service control policies. Introduced in late 2024, resource control policies are a complementary guardrail on what resources will accept. When used in concert, they restrict the actions that even an admin in a member account can take.

Assessing Microsoft Entra ID and Azure RBAC

Azure’s identity review is for both Entra tenant and Azure RBAC assignments on resources. First list all those who have Global Administrator, Privileged Role Administrator, or Owner roles at management group or subscription scope. Microsoft suggests that there are no more than five Global Administrators with a few emergency break-glass accounts monitored.

Conditional Access policies should use MFA for everyone and forbid legacy authentication methods that are unable to implement MFA. Microsoft has also been rolling out MFA for Azure management sign-in, which will be required starting in 2024. Microsoft Entra Privileged Identity Management enables administrators to temporarily and conditionally grant elevated roles with approval and justification when they are needed. It is required to have Entra ID P2 or Entra ID Governance licensing. One of the most frequently missed controls in Azure is standing privileged access, and PIM is the built-in control to address that.

Workload identities need the same scrutiny. Three patterns each expand the blast radius of a single compromised application:

  • service principals with client secrets that never expire
  • app registrations with broad Microsoft Graph permissions
  • managed identities granted Contributor at subscription scope

Entra access reviews provide a recurring process for confirming that guest users, group memberships, and role assignments are still needed.

Identity TypeTypical Access NeedCommon FindingAssessment Focus
Standard userBusiness applicationsMFA gaps, legacy authenticationAuthentication strength
DeveloperSpecific resource groups or accountsSubscription-wide ContributorScope of deployment rights
Cloud engineerInfrastructure managementPermanent admin rightsJust-in-time elevation
Root or Global AdministratorBreak-glass onlyDaily use, too many holdersRestricted use and alerting
Service principal or IAM roleOne workloadWildcard permissions, non-expiring secretsLeast privilege and credential lifetime
Guest or external identityLimited collaborationStale accounts with broad accessAccess reviews and expiry

Our guide on how secure Microsoft Azure is for business covers the Entra identity model in more depth for teams new to the platform.

Step 3: Map Threat Exposure Across Networks, Workloads, and Data

Once identities are known, the second stage of the assessment is exposure: how an attacker could gain access and what they can access upon gaining access. This is where individual discoveries are merged to attack paths.

Network Reachability and Internet Exposure

Write down all the resources that you can find online. On AWS, that means:

  • public IPs on EC2 instances
  • internet-facing load balancers
  • API Gateway endpoints
  • security groups allowing inbound traffic from 0.0.0.0/0

On Azure, it means:

  • public IP resources
  • network security groups with permissive inbound rules
  • Application Gateways
  • PaaS services with public network access enabled

One of the areas to be taken into consideration is management ports. SSH, RDP, DB ports, and Kubernetes API servers should be rarely open on the internet. Both AWS Systems Manager Session Manager and Azure Bastion allow administrative access without opening these ports. Private endpoints on either platform allow access to the database and storage only from within the network.

Now try segmentation from an attack perspective. Could there be communication between the compromised web server and production databases, identity infrastructure, and/or backup systems? A single question says more than reviewing hundreds of rules one by one. Outbound traffic is also important, as an open port allows a compromised workload to communicate with anything it is connected to.

Vulnerability Management on Cloud Workloads

Amazon Inspector scans EC2 instances, container images in Amazon ECR and Lambda functions for known vulnerabilities and network exposure. Microsoft Defender for Servers and Defender for Containers offer vulnerability assessment of virtual machines and container registries, respectively, on Azure.

The order of work should not be determined based on severity. Verizon says vulnerability exploitation grew by 34%, making it an emergency to patch. However, the proper sequence involves severity, exposure, exploitability, asset criticality and privileges of the impacted workload. A critical vulnerability on an isolated build server is reasonable to expect to have a high severity vulnerability in an internet facing application with a privileged role. If there is public evidence of an exploit (e.g., an entry in the CISA Known Exploited Vulnerabilities catalog), then so is the finding.

Data Protection, Encryption, and Secrets

Before assessing the security of sensitive data, determine where it is stored. Amazon Macie identifies and classifies sensitive data in S3; Microsoft Purview provides data discovery and classification for Azure data services.

Then validate encryption at rest and in motion, and check permissions for using encryption keys. Data on disk are encrypted using AWS KMS or Azure Key Vault. However, if an identity can read the data and also access the key, then plaintext will be seen, and key policies and Key Vault access should be evaluated in conjunction with data access.

There are secrets that must be searched for separately. The top three sources of cloud compromise are credentials in source code, CI/CD variables, container images and virtual machine start-up scripts. The native stores are AWS Secrets Manager and Azure Key Vault, and with IAM roles or managed identities, many credentials are not even stored. When an exposed secret is found, it must be rotated or revoked. Removing it from the repository doesn’t help with copies already in commit history, or in an attacker’s hands.

The Capital One breach that occurred in 2019 is the clearest public recorded case of the linking of all three elements. An adversary used a misconfigured web application firewall to send requests for credentials to the EC2 instance metadata service, court papers and regulatory findings indicate. The person with these credentials might have been authorized to list the contents of S3 buckets and read the data associated with about 106 million people. There is no single setting that can account for the result. One path was a server side request forgery weakness, over permissioned role, and wide storage access. The use of this type of request is now being recommended against and is now one of the standard checks for IMDSv2.

Step 4: Validate Detection, Logging, and Recovery

It is impossible to prevent, at some point, so the assessment must show that the organization would detect and would be able to recover.

Logging and Audit Trails

For AWS, an organization-wide CloudTrail trail should include management events from all AWS accounts and regions. It needs to provide them to a special log archive account (which cannot be changed by workload administrators). The detail investigators are included with VPC Flow Logs, S3 data events on sensitive buckets, and application logs.

Azure Activity Log logs control plane operations, and Entra sign-in and audit logs log identity operations. These should be directed to a Log Analytics workspace or storage account, since by default, they have short retention settings. Microsoft is transitioning away from NSG flow logs to virtual network flow logs for network telemetry, and new deployments should use virtual network flow logs.

Log SourceDefault RetentionWhat It RecordsAssessment Check
AWS CloudTrail event history90 daysManagement API activityIs an organization trail delivering logs to a protected archive?
Azure Activity Log90 daysSubscription-level operationsAre diagnostic settings exporting logs for longer retention?
Microsoft Entra sign-in and audit logs7 days on the free tier, 30 days with P1 or P2Authentication and directory changesAre logs exported to cover investigation windows?
VPC Flow Logs and Azure flow logsNot enabled by defaultNetwork traffic metadataAre they enabled on critical networks?

Retention values reflect AWS and Microsoft documentation at the time of writing and should be confirmed against current documentation during each assessment.

Threat Detection

Amazon GuardDuty monitors for unusual activity such as credential usage, or traffic to known malicious sources by using CloudTrail events, VPC Flow Logs, and DNS logs. Microsoft Defender for Cloud provides the same type of threat protection for Azure resources, and can be connected to AWS and Google Cloud accounts. Organizations can turn on SIEM correlation with Microsoft Sentinel when needed.

This assessment should be done throughout the chain and not at the “enabled” point. Discuss a recent high severity finding, who it was found for, how long it took to be done and what action was taken next. No one sees it and it’s not a control; it’s an expense.

Backup and Recovery

Confirm that AWS Backup or Azure Backup covers critical workloads and that backups sit in a separate account or vault. Vault lock or immutability settings should protect them from deletion. Most importantly, check when a restore was last tested.

Ransomware operators increasingly target backups first. A privileged identity that can delete both production and backups turns recovery into hope. Our guides to AWS backup and disaster recovery and disaster recovery for Microsoft 365 and Azure go deeper on recovery design.

Step 5: Prioritize, Remediate, Verify, and Hand Over

Prioritizing Findings by Business Risk

A first assessment often produces hundreds of automated findings. Working through them in severity order wastes effort on low-impact items while real attack paths stay open. A consistent scoring model works better. It rates each finding from 1 to 3 on four factors and adds the scores, which gives a total between 4 and 12.

Factor1 (Low)2 (Medium)3 (High)
ExposureInternal only, segmentedReachable from internal networksReachable from the internet
ExploitabilityTheoretical, no known exploitExploit exists, requires conditionsActively exploited or trivial
Asset criticalityNon-production, no sensitive dataSupports business operationsHolds sensitive data or runs critical services
Privilege gainedLimited to one resourceAccess to a resource group or accountAdministrative or cross-account access

A total of 10 to 12 indicates a critical finding that should be addressed within days. A total of 7 to 9 is high priority for the first 30 days, and lower scores can be scheduled into normal operations. The model is a decision aid rather than a formal standard, and its value comes from applying it consistently across both clouds.

Example FindingExposureExploitabilityCriticalityPrivilegeTotal
Storage with sensitive data publicly readable333211
Global Administrator without MFA333312
Vulnerable internet-facing app with privileged role333312
Standing Owner rights across subscriptions223310
No protected central audit logging22318
Unused test resource with no data11114

How Findings Move From Discovery to Closure

It helps to treat the assessment as a funnel, because the stages where findings get stuck reveal operational weaknesses.

Funnel StageWhat HappensWhat Usually Goes Wrong
DiscoveryTools and reviewers identify potential issuesIncomplete scope hides assets
ValidationFalse positives and duplicates removedTeams skip this and lose trust in the report
PrioritizationFindings ranked by attack path and impactSeverity scores used without context
RemediationOwners fix or formally accept the riskNo named owner, so tickets stall
VerificationFixes re-tested against the original evidenceClosed tickets assumed to mean closed risk
MonitoringGuardrails prevent the issue returningDrift reintroduces the same finding

The last two stages are where most programmes lose ground. Verification means re-running the original check, not reading a ticket status. Monitoring means converting each important fix into a guardrail so the same mistake cannot be redeployed. That guardrail can be Azure Policy, an AWS Config rule, a service control policy, or a rule in infrastructure-as-code templates.

Accepted risks belong in the register too. A legacy application may genuinely need public connectivity, or a vendor platform may not support modern authentication. In those cases, compensating controls, tighter monitoring, and a documented review date keep the decision visible instead of forgotten.

A Worked Example: Tracing One Attack Path Across AWS and Azure

A scenario is provided here as an example and constructed for this guide. It demonstrates how moderate results can link together to form a critical path that traverses both clouds.

A business has a customer portal hosted on AWS and a corporate identity and analytics platform on Azure. There are five issues found in the assessment. None seems to be a problem individually.

First of all, a contractor’s Entra ID account is not included in the Conditional Access MFA policy, and an old integration continues to work. Second is that that account has Contributor rights on the analytics subscription. Thirdly, a runbook is stored in Azure Automation in that subscription that contains an AWS IAM key as a plain-text variable. Fourth, the access key is an IAM user’s key that was created for a data export job and added to a policy that allows this user to read all S3 buckets. Fifth, the S3 bucket containing nightly customer exports will not have data event logging, therefore reads from the bucket would not show up in CloudTrail.

Followed in sequence, these findings form one path. A phished contractor password leads to Azure Contributor access, then to the stored AWS key, then to unrestricted reads of customer data, with no audit trail of the reads.

Scored in isolation, most of these findings would rank medium. Scored as a path, the outcome is a critical data exposure.

The remediation also trails the trail. The team eliminates the MFA exclusion and clarifies the role of the contractor. It will store the credential in Key Vault, replace the IAM user with a role that can be trusted via federation, limit the policy to the one bucket the job requires and allow S3 data events. Breaking the chain at any one point reduces the risk. By breaking it in a few spots and putting in guardrails, it will not reform.

Evidence Each Assessment Stage Should Produce

A credible assessment produces evidence, not just opinions. The table below lists the artefacts each stage should leave behind, which makes the work auditable and repeatable.

StageEvidence ProducedPrimary Audience
PreparationRead-only access records, scope statement, architecture referencesSecurity lead, project sponsor
ProfileAsset inventory with owners and criticality ratingsIT operations, cloud engineering
AccessIAM credential reports, privileged role listings, access analyzer findingsIdentity and security teams
Threat exposureInternet exposure list, vulnerability reports, data classification results, attack path diagramsCloud engineering, application owners
HoldLogging coverage map, detection response test results, restore test recordsSecurity operations, infrastructure
Hand overRisk register, scored findings, remediation roadmap, named owners, re-test resultsLeadership, engineering, compliance

The executive summary should translate technical findings into business terms. “Security group allows TCP 22 from 0.0.0.0/0” belongs in the technical appendix. The leadership version explains that a production server exposes an administrative service to the entire internet, and that restricting it materially reduces external risk.

AWS vs Azure: How the Assessment Differs

AWS and Azure security assessments pursue the same objectives: least-privilege identity, controlled exposure, protected data, reliable logging, effective detection, and tested recovery. The difference lies in the tooling. AWS relies on IAM, Security Hub, Config, GuardDuty, and CloudTrail. Azure relies on Entra ID, Defender for Cloud, Azure Policy, and Activity Logs.

Security ObjectiveAWSAzureAssessment Question
Identity and authorizationIAM, IAM Identity Center, Access AnalyzerMicrosoft Entra ID, Azure RBACWho can do what, and is it more than they need?
Privileged accessRole assumption, permission boundariesPrivileged Identity ManagementIs admin access temporary and approved?
Posture managementAWS Security HubMicrosoft Defender for CloudWhich controls are failing, and where?
Preventive guardrailsService control policies, resource control policies, AWS ConfigAzure PolicyCan risky configurations be blocked at creation?
Threat detectionAmazon GuardDutyDefender for Cloud plans, Microsoft SentinelWould suspicious behaviour be noticed?
VulnerabilitiesAmazon InspectorDefender for Servers and ContainersWhich weaknesses are exploitable and exposed?
Sensitive data discoveryAmazon MacieMicrosoft PurviewWhere does sensitive data live?
Network controlSecurity groups, NACLs, Network FirewallNSGs, Azure FirewallIs reachability limited to what is needed?
Audit trailCloudTrailActivity Log, Entra logsCan activity be reconstructed after an incident?
Keys and secretsKMS, Secrets ManagerKey VaultWho can use keys and read secrets?
BackupAWS BackupAzure BackupCan critical systems be restored on time?

Security Hub evaluates resources against standards including AWS Foundational Security Best Practices and the CIS AWS Foundations Benchmark. Defender for Cloud uses the Microsoft cloud security benchmark as its default standard, and its Defender CSPM plan adds attack path analysis that maps how weaknesses connect. Both are strong evidence sources. Neither replaces human judgement about business context, and a high secure score does not cancel out one critical attack path. For a broader platform comparison, see our breakdown of AWS vs Azure vs GCP.

Choosing the Right Assessment Approach

Organizations usually choose between four approaches, and each produces a different quality of finding.

ApproachWhat It Finds WellWhat It MissesBest Fit
Internal checklist reviewKnown baseline gapsHidden assets, chained risksSmall single-cloud environments
Open-source scanner, such as Prowler or ScoutSuiteBroad misconfigurations quicklyBusiness context, attack paths, false positive filteringRegular hygiene checks between reviews
Native CSPM through Security Hub and Defender for CloudContinuous control monitoringCross-cloud correlation, process gapsOngoing posture management
Expert-led attack path assessmentValidated, prioritized risks with ownersRequires more effort and stakeholder timeMulticloud estates, regulated data, pre-audit preparation

The most effective programmes combine them. Native CSPM runs continuously, open-source scanners provide an independent second opinion, and an expert-led assessment periodically connects everything into a risk view that leadership can act on.

Questions to Ask a Cloud Security Assessment Provider

If you engage an external provider, their answers to a few direct questions reveal how they will run the work and what you will receive.

QuestionWhat a Strong Answer Includes
What access will your team need?Read-only roles, time-limited and MFA-protected, with no write permissions
How do you prioritize findings?A defined model combining exposure, exploitability, criticality, and privilege, with attack path analysis
Do you cover both AWS and Azure in one report?A single risk register with platform-specific technical evidence underneath
How do you handle false positives?Manual validation before findings reach the report
What happens after the report?Remediation support, named owners, re-testing, and guardrail recommendations
How will findings map to our compliance needs?Control mapping to the frameworks you report against, such as ISO 27001, SOC 2, or CIS

A provider that cannot explain its prioritization model or offers no re-testing will usually deliver a long report and little lasting change.

Cloud Security Assessment vs Penetration Testing vs Audit

These three activities are often confused, and buying the wrong one leaves gaps.

ActivityPurposeOutput
Cloud security assessmentEvaluate posture, configuration, access, and readinessPrioritized risk register and roadmap
Penetration testProve whether specific weaknesses can be exploited within an agreed scopeExploitation evidence and attack narratives
Compliance auditConfirm that defined controls exist and evidence supports themAudit opinion or certification report

An assessment typically comes first, because it tells a penetration tester where to focus. Neither AWS nor Microsoft requires pre-approval for penetration testing of most customer-managed services, but both publish rules of engagement that testers must follow. An audit against ISO 27001, SOC 2, or PCI DSS checks that controls are documented and evidenced. Whether those controls actually stop attackers is a different question.

How Often Should You Run a Cloud Security Assessment?

Keep track of the security posture of cloud resources over time; perform a formal, expert assessment at least once per year. Conduct repeat reviews following major migrations, acquisitions, new Internet-facing applications, changes to identity platforms, or security incidents; these all create a new attack surface.

This continual view is supported by frameworks. In 2024, NIST Cybersecurity Framework 2.0 introduced Govern as a new sixth function to Identify, Protect, Detect, Respond, and Recover. The change is that ownership and oversight, not just the technical controls, determine the security posture. Security is also an ongoing operational capability, not a project milestone—this is the focus of the AWS Well-Architected Security Pillar and also the Microsoft Cloud Adoption Framework.

In reality, an effective cadence involves ongoing CSPM monitoring, monthly review of new critical findings, quarterly access reviews for privileged accounts and an annual comprehensive review. Frequent changes to the infrastructure or regulated data may shift to twice-a-year reviews.

Common Mistakes That Weaken Cloud Security Assessments

Treating a tool’s score as the result. Scores summarize posture, but a single critical attack path matters more than dozens of minor recommendations. Organizations sometimes raise their secure score by fixing easy items while the dangerous path stays open.

Reviewing only production. Development accounts typically contain copies of real data, reused credentials, network routes back to production and are subject to much less monitoring.

Ignoring workload identities. Service principals with non-expiring secrets and wildcard IAM roles go unscrutinezd, whereas teams harden user accounts with MFA and Conditional Access. Those are the identities that are targeted by attackers more and more.

Closing findings without verification. A ticket marked done is a statement of intent, and only a re-test confirms the risk is gone.

Ending the engagement at the report. This causes the most regression. Findings without named owners, guardrails, and a review cadence return within months. Our article on the benefits of managed cloud security services explains how ongoing ownership prevents that drift.

A 30/60/90-Day Remediation Roadmap

Remediation works best when it is sequenced by risk and tied to owners and dates. The following structure suits most first assessments, though the exact order should follow your own findings.

PeriodFocusTypical Actions
First 72 hoursCritical attack pathsRemove public access to sensitive data, enforce MFA on privileged accounts, rotate exposed secrets
Days 1 to 30Identity and exposureRemove standing admin rights, enable PIM, restrict management ports, enforce IMDSv2
Days 31 to 60Detection and loggingCentralize and protect logs, enable GuardDuty and Defender plans, assign alert ownership
Days 61 to 90Guardrails and recoveryDeploy Azure Policy and SCPs, codify fixes in infrastructure as code, test restores
OngoingContinuous assuranceMonthly posture reviews, quarterly access reviews, annual reassessment

If you are still building cloud security foundations, our cloud security checklist for SMBs is a useful starting point before a full assessment. Our overview of what cloud security is and why it matters covers the underlying principles.

Questions IT Leaders Ask About AWS and Azure Security Assessments

What is a cloud security assessment?

A cloud security assessment is a comprehensive analysis of the security of a cloud environment, specifically to review the security of identities, workloads, networks, and data. It covers configuration, access, exposure, logging, recovery, and governance. It then prioritizes weaknesses based on their impact to the business and the attack paths to the business that are fixed first are those that have a real impact.

How do you run a cloud security assessment on AWS and Azure?

Begin scope and develop an inventory of accounts, subscriptions, and resources. Next, inspect identities and privileged access, identify internet exposure and vulnerabilities, review data protection and secrets, and review logs, detection and backup. Prioritize business impact, remediate critical attack paths, re-test and convert remediation to permanent guardrails.

What tools are used for a cloud security assessment?

AWS Security Hub, AWS Config, Amazon GuardDuty, Amazon Inspector, IAM Access Analyzer, Amazon Macie and CloudTrail are core tools on AWS. On Azure, they’re Microsoft Defender for Cloud, Azure Policy, Azure Resource Graph, Microsoft Entra ID, Key Vault, and Microsoft Sentinel. Independent cross-cloud view is available using open-source tools like Prowler and ScoutSuite.

What access does a cloud security assessment require?

Assessment should only be accessed read-only. On AWS this is usually a time-bound IAM role that includes the SecurityAudit and ViewOnlyAccess managed policies on each account. On Azure, it translates to the root management group’s Reader and Security Reader roles, and access to Entra ID logs. Write access to Assessors should never be required.

How long does a cloud security assessment take?

The length of time depends on the number of accounts and subscriptions, the workload, the level of maturity of the current tools and the presence of attack path validation or penetration testing. A well documented subscription can be reviewed much quicker than a multicloud estate without any central inventory. The only way to establish a timeline is to have a scoping discussion.

Can one security framework cover both AWS and Azure?

Yes. Both NIST CSF 2.0 and the CIS Controls are framework-agnostic, meaning that one set of risks can apply to both clouds and each control can be mapped to services that exist on each cloud. This ensures executive reporting consistency and enables engineers to work inside the tool they are used to.

What is the most common finding in cloud security assessments?

Too many permissions to identify and too much unnecessary internet exposure is a common problem in initial evaluations, depending upon the environment. Common scenarios include: Internet-accessible storage ports, non-expiring service principle secrets, internet-accessible management ports, and over-privileged roles. The worst cases are when these merge into a single attack path.

Is a cloud security assessment the same as a penetration test?

No. Cloud security assessment checks the environment for configuration, identity, exposure, data protection, logging and recovery. A penetration test is designed to exploit certain vulnerabilities within a defined range of activities, and demonstrate that they exist. The majority of organizations will conduct the assessment first so that the penetration test is more targeted at the areas that pose the highest risk.

Making Cloud Security Assessment Part of Everyday Operations

A cloud security assessment on AWS and Azure is most valuable when it is treated as an operating discipline rather than an annual event. The work starts with knowing what exists and who owns it, then moves through identity, exposure, and data. It confirms that detection and recovery actually function, and ends only when every important fix is verified and protected by a guardrail.

The organizations that manage cloud risk well are not the ones with the greenest dashboards. They are the ones where findings have owners, attack paths are closed in order of impact, and drift is caught in days rather than discovered during an audit or an incident.

Cloud Secure Group runs AWS and Azure security assessments as an embedded part of your team. We work inside your ticketing, escalation paths, and reporting cadence so remediation continues after the report is delivered. If you want a clear view of your attack paths across both clouds and a roadmap your teams can own, talk to our team and schedule a discussion about your environment.

Share on socials:

Table of Contents