備忘録に使えるコマンドを残しておきます。
ファイルに保存。
$ aws ecr describe-image-scan-findings --repository-name xx --image-id imageDigest=sha256:xx > scan.json
脆弱性の重さと概要をチェック。
$ cat scan.json | jq . | grep -e severity -e title
"severity": "MEDIUM",
"title": "CVE-xx-xx - xx-xx",