Skip to content

Commit

Permalink
fix: fixes the status error associated with continuous enhanced scann…
Browse files Browse the repository at this point in the history
…ing in ECR
  • Loading branch information
jdew89 authored and alexjurkiewicz committed Mar 26, 2024
1 parent ac357ae commit c520ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`)
}

Expand Down

0 comments on commit c520ae3

Please sign in to comment.