Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bash/aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ function aws::list_findings {
}

function aws::refresh_scan {
@doc Skip re-scanning an ECR image when a COMPLETE scan exists within the days_ago rolling cache window and trigger aws::scan_image otherwise
@arg _1_ ECR repository name
@arg _2_ image tag
@arg _3_ cache window in days default 7 re-scan if last COMPLETE scan is older than this
local repository=${1:?}
local tag=${2:?}
local days_ago=${3:-7}
Expand Down
Loading