{"id":50396,"date":"2026-11-20T16:53:40","date_gmt":"2026-11-20T11:23:40","guid":{"rendered":"https:\/\/www.getastra.com\/blog\/?p=50396"},"modified":"2026-11-20T16:54:21","modified_gmt":"2026-11-20T11:24:21","slug":"sp-api-guard-vs-pentesting","status":"publish","type":"post","link":"https:\/\/www.getastra.com\/blog\/compliance\/sp-api-guard-vs-pentesting\/","title":{"rendered":"SP-API Guard vs. Pentesting: What Each Covers"},"content":{"rendered":"<div class=\"gb-container gb-container-e43a8917\">\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_Takeaways\"><\/span>Key Takeaways<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SP-API Guard grades your AWS configuration against the DPP; a pentest finds out what an attacker could do with the whole environment.<\/li>\n\n\n\n<li>Anything above or outside of AWS (i.e. app logic, APIs, Azure, Atlas, etc.) is completely invisible to Guard.<\/li>\n\n\n\n<li>Run Guard first so the pentest hours are spent on the auth flaws and attack chains rather than a public bucket.<\/li>\n\n\n\n<li>Astra fills the gap with human pentesters, an Autonomous Pentest facility and a retest that culminates in a signed report and a security certificate which is then displayed on your bespoke trust centre.<\/li>\n<\/ul>\n\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Sooner or later someone on the team is going to say it: we&#8217;ve run Guard, so the pentest is all covered, right? That&#8217;s a perfectly reasonable assumption, just utterly misleading. Both are governed by <a href=\"https:\/\/sellercentral.amazon.com\/mws\/static\/policy?documentType=DPP&amp;locale=en_US\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Amazon&#8217;s Data Protection Policy (DPP)<\/a>; both produce a report, and both reports end up in the hands of the same assessor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The issue is really what questions are they answering? Guard checks your AWS config against the DPP. Conversely, a pentest is about whether an attacker could actually get to Amazon data via your app, your APIs, or the cloud behind them. Amazon asks for the pentest separately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post covers what Guard does, where it stops, and how you can use it alongside a pentest without doing the same work twice or having your engineers\/security people go Ragnarok.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_SP-API_Guard\"><\/span><strong>What is SP-API Guard<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer-docs.amazon\/sp-api\/docs\/sp-api-guard-implementation-guide\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">SP-API Guard<\/a> is a serverless application you deploy into your AWS account. It runs scan rules built on AWS security services against your AWS data and returns a findings report after 24 hours. Each finding comes with a risk type, severity, DPP policy reference and a suggested fix. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The report sits in a read-only S3 bucket, and you decide whether Amazon sees it. Per Amazon, it runs on least privilege and doesn\u2019t collect or share data about the specific tools in your environment or your proprietary information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Guard is a wrapper around the existing AWS services, so its depth is the depth of those services. The checks you get will vary depending on your deployment.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Macie<\/strong> looks for unencrypted PII in S3 only.<\/li>\n\n\n\n<li><strong>GuardDuty<\/strong> raises threat signals from account activity logs. It\u2019s detective, so it says nothing about whether your app is exploitable.<\/li>\n\n\n\n<li><strong>IAM Access Analyzer<\/strong> flags roles shared outside your account.<\/li>\n\n\n\n<li><strong>Inspector<\/strong> finds package vulnerabilities and network exposure on EC2, from configuration and version data.<\/li>\n\n\n\n<li><strong>AWS Config<\/strong> tracks resource configuration against rules, so it flags drift but sees nothing beyond configuration.<\/li>\n\n\n\n<li><strong>AWS Security Hub<\/strong> collects findings from other AWS services in one place, which adds visibility and no extra testing depth.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The 24-hour return also means each report is a dated snapshot. That&#8217;s useful as evidence of what happened, but it shouldn&#8217;t be read as continuous monitoring.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Amazon positions Guard as a self-service way of assessing and maintaining your DPP compliance. Check whether your own assessment request treats it as required.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_a_Pentest\"><\/span><strong>What is a Pentest?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A pentest is an authorized attempt to find and exploit vulnerabilities in the systems that hold Amazon&#8217;s data (web apps, APIs, cloud config, networks, databases and file storage). Amazon\u2019s <a href=\"https:\/\/developer-docs.amazon\/sp-api\/docs\/vulnerability-management\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Vulnerability Management guidance<\/a> requires one at least every 365 days and the use of an industry-recognised methodology (<a href=\"https:\/\/owasp.org\/www-project-web-security-testing-guide\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">OWASP WSTG<\/a>, <a href=\"http:\/\/www.pentest-standard.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">PTES<\/a> or <a href=\"https:\/\/csrc.nist.gov\/pubs\/sp\/800\/115\/final\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">NIST SP 800-115)<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It also calls for a second test following remediation to confirm that the fixes have in fact been applied, and a report with a &#8216;recommended actions&#8217; section. That&#8217;s the sequence that distinguishes a pentest from a scan with a slightly more attractive cover page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_SP-API_Guard_Cant_See\"><\/span><strong>What SP-API Guard Can&#8217;t See?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Amazon don&#8217;t publish a complete list of Guard&#8217;s limits. They&#8217;re all derived from what the underlying services do, so you&#8217;ll need to check them against the deployment guide for your particular setup.<\/p>\n\n\n\n<div id=\"tablepress-517-scroll-wrapper\" class=\"tablepress-scroll-wrapper\">\n<table id=\"tablepress-517\" class=\"tablepress tablepress-id-517 column1-color tablepress-responsive\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Gap<\/th><th class=\"column-2\">Why Guard misses it<\/th><th class=\"column-3\">What a pentest does<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">App logic<\/td><td class=\"column-2\">Nothing in the stack reasons about your code<\/td><td class=\"column-3\">Tests trust boundaries, like an endpoint that accepts a seller ID the client sends<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">APIs<\/td><td class=\"column-2\">Authorization, mass assignment &amp; excess data exposure sit above the layer Guard reads<\/td><td class=\"column-3\">Works the OWASP API Top 10 with real tokens across tenants<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Attack chains<\/td><td class=\"column-2\">Each service sees its own finding in isolation<\/td><td class=\"column-3\">Follows an SSRF to instance metadata to role credentials to a bucket<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">SP-API tokens<\/td><td class=\"column-2\">LWA credentials and seller refresh tokens live in your app and data store<\/td><td class=\"column-3\">Checks where they\u2019re stored, how they\u2019re encrypted and whether tenant A can reach tenant B\u2019s<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Non-AWS stacks<\/td><td class=\"column-2\">Guard scans AWS data only<\/td><td class=\"column-3\">Covers Azure, MongoDB Atlas (open network access lists, user privileges) and Cloudflare when in scope<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<!-- #tablepress-517 from cache -->\n\n\n\n<p class=\"wp-block-paragraph\">\u200bSay Guard flags an S3 bucket containing unencrypted PII. That&#8217;s a good catch, easy to fix and precisely what it&#8217;s for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now say your order API returns another seller\u2019s order when someone changes the ID in the request. Guard isn\u2019t designed to find that. It\u2019s an object-level authorization flaw, the sort of thing that tops the <a href=\"https:\/\/www.getastra.com\/blog\/api-security\/owasp-api-top-10\/\">OWASP API Security Top 10<\/a>, and it takes someone testing the API with a real account and a curious mind. Both problems matter to an assessor. Only one needs a pentest.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Use Both<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run Guard first. The pentest hours are the expensive part, and they shouldn&#8217;t be spent rediscovering a public bucket that Guard would have found in a day.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Run Guard and close the easy findings.<\/strong> Keep the tickets and note the report date.<\/li>\n\n\n\n<li><strong>Give the output to your testers.<\/strong> It saves them time on your AWS layout. Scope the test to name the web app, APIs, cloud configuration, databases, object storage, and network boundaries, as <a href=\"https:\/\/developer-docs.amazon\/sp-api\/docs\/vulnerability-management\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Amazon\u2019s guidance<\/a> lists them.<\/li>\n\n\n\n<li><strong>Point the pentest at what Guard can&#8217;t reach:<\/strong> authorisation, API abuse, chained paths, token handling, non-AWS systems.<\/li>\n\n\n\n<li><strong>Remediate, then retest.<\/strong> Amazon will expect a second test and has 7-day and 30-day fix windows for critical and high findings, respectively.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Pro tip: Guard doesn&#8217;t replace the 30-day scans, the change-triggered scans or the pre-release code scans.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SP-API_Guard_vs_Pentesting_A_Detailed_Look\"><\/span>SP-API Guard vs. Pentesting: A Detailed Look<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div id=\"tablepress-518-scroll-wrapper\" class=\"tablepress-scroll-wrapper\">\n<table id=\"tablepress-518\" class=\"tablepress tablepress-id-518 column1-color tablepress-responsive\">\n<thead>\n<tr class=\"row-1\">\n\t<td class=\"column-1\"><\/td><th class=\"column-2\">SP-API Guard<\/th><th class=\"column-3\">Penetration test<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Question it answers<\/td><td class=\"column-2\">How does our AWS setup compare to the DPP?<\/td><td class=\"column-3\">Can an attacker reach Amazon data through our systems?<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Scope<\/td><td class=\"column-2\">AWS data, using AWS security service rules<\/td><td class=\"column-3\">Network, cloud, web apps, APIs, databases, file and object storage<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Method<\/td><td class=\"column-2\">Automated scans, policy-mapped findings<\/td><td class=\"column-3\">Manual and automated testing, controlled exploitation<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Misses<\/td><td class=\"column-2\">App logic, APIs, exploitability, non-AWS<\/td><td class=\"column-3\">AWS drift between tests<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Human judgment<\/td><td class=\"column-2\">Limited<\/td><td class=\"column-3\">Central: context, chaining, business logic<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">Non-AWS systems<\/td><td class=\"column-2\">Outside its model<\/td><td class=\"column-3\">Covered when authorised and in scope<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Output<\/td><td class=\"column-2\">Findings with severity, policy reference and fixes, after 24 hours<\/td><td class=\"column-3\">Report with methodology, scope, findings, evidence, recommended actions and retest<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">Cadence<\/td><td class=\"column-2\">After deployment and AWS changes<\/td><td class=\"column-3\">Every 365 days, plus retest at least per the DPP requirements<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">Amazon\u2019s position<\/td><td class=\"column-2\">A self-service assessment and remediation aid<\/td><td class=\"column-3\">Required every 365 days<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<!-- #tablepress-518 from cache -->\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Astra_can_Help\"><\/span><strong>How Astra can Help<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Guard is a very good first read on AWS. Astra picks up where Guard leaves off: it&#8217;s an Autonomous Pentest with human pentesters doing the hands-on work, complete with an engagement letter, report, retest, and signed executive summary.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1907\" height=\"954\" src=\"\/cdn-cgi\/image\/quality=80,format=auto,onerror=redirect,metadata=none\/https:\/\/cdn-blog.getastra.com\/2026\/11\/797c52e4-astra-ap-spi-pentest.png\" alt=\"Astra's pentesting platform\" class=\"wp-image-50402\" srcset=\"\/cdn-cgi\/image\/quality=80,format=auto,onerror=redirect,metadata=none\/https:\/\/cdn-blog.getastra.com\/2026\/11\/797c52e4-astra-ap-spi-pentest.png 1907w, \/cdn-cgi\/image\/quality=80,format=auto,onerror=redirect,metadata=none\/https:\/\/cdn-blog.getastra.com\/2026\/11\/797c52e4-astra-ap-spi-pentest.png 1536w\" sizes=\"auto, (max-width: 1907px) 100vw, 1907px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It also includes authenticated DAST scans for the 30-day, after-change, and pre-release cycles, plus a Cloud Scanner if you&#8217;re going beyond AWS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: Amazon calls the shots on that, and neither tool guarantees you&#8217;ll get approved. Talk to Astra, have a look at our SP-API pentest page or pick up the <a href=\"https:\/\/www.getastra.com\/blog\/security-audit\/amazon-sp-api-dpp-checklist\/\">DPP checklist and templates<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span><strong>Final Thoughts<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Guard and a pentest are frequently mentioned as alternatives, and the confusion is entirely understandable. They&#8217;re really just two different tools for the same job. One will give you a very quick, cheap read on your AWS config. The other will actually test whether your systems can withstand someone trying to break in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Teams that do it well use Guard to clear the easy issues early on so the pentest budget can be applied to the things only a human can find. Amazon&#8217;s <a href=\"https:\/\/developer.amazonservices.com\/policy-update-for-sp-api\" target=\"_blank\" rel=\"noopener\">policy update<\/a> has broadened pentest and scanning expectations to include APIs, which makes getting that split right even more important.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQs\"><\/span><strong>FAQs<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1795167141521\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Is SP-API Guard a penetration test?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>No. Guard is an automated check of your AWS environment against the DPP and returns findings with fix recommendations. A pentest is an authorised attempt to exploit weaknesses across a much wider scope (apps, APIs, databases, etc.) carried out by people who can think about the context.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1795167161073\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Does Amazon require SP-API Guard?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Amazon positions Guard as a self-service way of assessing and maintaining your DPP compliance, so check that your own assessment request treats it as such. Separately, the vulnerability management rules require 30-day scans, an annual pentest, pre-release code scans and fix deadlines, and Guard doesn&#8217;t take the place of any of that.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1795167173550\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Does Guard replace a pentest?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>No. Guard scans the AWS data against the DPP-aligned rules. The Amazon pentest requirement is much broader, covering web apps, APIs, cloud, databases, object storage, and network infrastructure with a retest after fixes. You can use the Guard findings to drive your remediation, but don&#8217;t expect the report to be a substitute for a pentest.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1795167183438\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Can Guard test Azure or MongoDB Atlas?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>No. Guard is built for AWS and will only look at AWS data. Azure, MongoDB Atlas, Cloudflare, and the like are all out of scope. A pentest would cover those if they&#8217;re in scope and you have authorisation to do so, which is why it&#8217;s so important for so many organisations who have a mix of cloud and SaaS.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1795167236366\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How often should I run Guard?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Amazon describes Guard as a means of continuous assessment and management of security, with no prescribed schedule in the implementation guidance. A sensible cadence would be after the first deployment and then again after any significant AWS change. You need to keep every report, ticket and fix with the dates on them so that you have the history if and when you need it.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Key Takeaways Sooner or later someone on the team is going to say it: we&#8217;ve run Guard, so the pentest is all covered, right? That&#8217;s a perfectly reasonable assumption, just utterly misleading. Both are governed by Amazon&#8217;s Data Protection Policy (DPP); both produce a report, and both reports end up in the hands of the &#8230; <a title=\"SP-API Guard vs. Pentesting: What Each Covers\" class=\"read-more\" href=\"https:\/\/www.getastra.com\/blog\/compliance\/sp-api-guard-vs-pentesting\/\" aria-label=\"Read more about SP-API Guard vs. Pentesting: What Each Covers\">Read more<\/a><\/p>\n","protected":false},"author":111,"featured_media":50401,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[696],"tags":[],"class_list":["post-50396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-compliance"],"_links":{"self":[{"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/posts\/50396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/users\/111"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/comments?post=50396"}],"version-history":[{"count":2,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/posts\/50396\/revisions"}],"predecessor-version":[{"id":50405,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/posts\/50396\/revisions\/50405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/media\/50401"}],"wp:attachment":[{"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/media?parent=50396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/categories?post=50396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getastra.com\/blog\/wp-json\/wp\/v2\/tags?post=50396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}