Skip to content

Commit

Permalink
Adding maxResults and setting it to 1000 (max available)
Browse files Browse the repository at this point in the history
  • Loading branch information
nir-limor-coralogix committed Aug 9, 2023
1 parent e3312fe commit a3f1d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function handler(event, context, callback) {

ecr.describeImageScanFindings({ repositoryName, imageId, maxResults }, (err, data) => {
if (err) {
callback(err);;
callback(err);
} else {
const findings = data['imageScanFindings']['findings'];
let summary_log = {"ecr_scan_summary": event['detail']};
Expand Down

0 comments on commit a3f1d8a

Please sign in to comment.