add properties
This commit is contained in:
parent
6d581ac535
commit
b4cf99d35d
|
@ -17,6 +17,16 @@ def convert_to_sarif(ecr_response):
|
|||
}
|
||||
},
|
||||
"results": [],
|
||||
"properties": {
|
||||
"imageID": ecr_response["imageId"]["imageDigest"],
|
||||
"imageName": ecr_response["repositoryName"],
|
||||
"repoDigests": [
|
||||
f"{ecr_response['repositoryName']}@{ecr_response['imageId']['imageDigest']}"
|
||||
],
|
||||
"repoTags": [
|
||||
f"{ecr_response['repositoryName']}:{ecr_response['imageId']['imageTag']}"
|
||||
],
|
||||
},
|
||||
}
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue