@@ -7,27 +7,26 @@ Sample Output(JSON)
77``` json
88{
99 "findings" : [
10- {
11- "accountId" : " 333333333333" ,
12- "imageDigest" : " sha256:88d5da4609681df482d51c4e898d107317c32bd3c4951793138570cc18c1294d" ,
13- "imageTag" : " latest" ,
14- "repositoryName" : " dig/pingfederate-server" ,
15- "region" : " us-east-1" ,
16- "comments" : " NEW_FINDING" ,
10+ {
11+ "accountId" : " 3333333333333" ,
12+ "imageDigest" : " sha256:b20c71bdd914b436f9d4745cb5392cd86c3e2esd4517f5cc442060a1ec3193ed" ,
13+ "imageTag" : " stage-2021-09-28.060926,prod-2021-10-09.031013,deploy-2.3,nonprod-2021-10-07.01" ,
14+ "repositoryName" : " dig/sample-server" ,
1715 "imageFindingsCount" : {
18- "HIGH" : 1
19- }
16+ "MEDIUM" : 8
17+ },
18+ "comments" : " NEW_FINDING" ,
19+ "region" : " us-east-1"
2020 },
2121 {
22- "accountId" : " 333333333333" ,
23- "imageDigest" : " sha256:99d0ab34e24a87884b104e76dea5d917ab026c0cfc352bc9cf2665d5d70f973a" ,
24- "imageTag" : " v0.0.16" ,
25- "repositoryName" : " dig/service-gateway" ,
26- "region" : " us-east-1" ,
27- "comments" : " **EXCEPTION** Patch will applied this weekend" ,
22+ "accountId" : " 3333333333333" ,
23+ "imageDigest" : " sha256:33f43a94fdac3b494ae340c964facaead8b83b0arebddefd65de08c98c7c6fcf4" ,
24+ "imageTag" : " prod-2021-09-06.01,nonprod-2021-09-03.1,release-P8-1" ,
25+ "repositoryName" : " dig/sample-server" ,
2826 "imageFindingsCount" : {
29- "HIGH" : 5 ,
30- "MEDIUM" : 4
27+ "HIGH" : 1 ,
28+ "LOW" : 2 ,
29+ "MEDIUM" : 18
3130 }
3231 }
3332 ]
@@ -46,9 +45,17 @@ cloudig get scan --tag latest -o mdtable
4645``` markdown
4746Sample output with mdtable format, with specific tag "latest"
4847
49- | ACCOUNT ID | REGION | REPOSITORY NAME | TAG | VULNERABILITIES(COUNT) | COMMENTS |
50- | ------------ | --------- | ----------------------------------- | ------ | ---------------------- | ----------- |
51- | 111111111111 | us-east-1 | temporary-custom-terraform-provider | latest | LOW: 6 | NEW_FINDING |
52- | | | | | HIGH: 18 | |
53- | | | | | MEDIUM: 19 | |
48+ | ACCOUNT ID | REGION | REPOSITORY NAME | TAG | VULNERABILITIES(COUNT) | COMMENTS |
49+ |--------------|-----------|-----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|------------------------|-------------|
50+ | 111111111111 | us-east-1 | dig/sample-server | alpha-2.17.1-pr-394.2 | MEDIUM: 9 | NEW_FINDING |
51+ | | | | | HIGH: 1 | |
52+ | | | | alpha-2.18.1-pr-393.10 | MEDIUM: 9 | NEW_FINDING |
53+ | | | | | HIGH: 1 | |
54+ | | | | alpha-2.17.1-pr-394.1 | MEDIUM: 9 | NEW_FINDING |
55+ | | | | | HIGH: 1 | |
56+ | | | | stage-2021-09-28.060926,prod-2021-10-08.031013,deploy-2.15.1-3,nonprod-2021-10-07.051031 | MEDIUM: 8 | NEW_FINDING |
57+ | | | | prod-2021-09-06.020935,nonprod-2021-09-03.040916,release-P84-1 | LOW: 2 | NEW_FINDING |
58+ | | | | | HIGH: 1 | |
59+ | | | | | MEDIUM: 18 | |
60+
5461```
0 commit comments