From c520ae3b9e41af988adc8ae8d1d5936b55b387df Mon Sep 17 00:00:00 2001 From: Jeff DeWitt Date: Mon, 12 Feb 2024 09:49:50 -0500 Subject: [PATCH] fix: fixes the status error associated with continuous enhanced scanning in ECR --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a8b2e06..c24af73 100644 --- a/index.js +++ b/index.js @@ -214,7 +214,7 @@ const main = async () => { } // Sanity check - if (status !== 'COMPLETE') { + if (status !== 'COMPLETE' && status !== 'ACTIVE') { throw new Error(`Unhandled scan status "${status}". API response: ${JSON.stringify(findings)}`) }