Skip to content

Commit

Permalink
generic
Browse files Browse the repository at this point in the history
  • Loading branch information
burnettk committed Aug 15, 2024
1 parent 91dcf2e commit 08b4650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wait-for-ecr-scan-and-get-sarif/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def convert_to_sarif(ecr_response):
{
"physicalLocation": {
"artifactLocation": {
"uri": "library/ubuntu",
"uri": ecr_response["repositoryName"],
"uriBaseId": "ROOTPATH"
},
"region": {
Expand All @@ -73,7 +73,7 @@ def convert_to_sarif(ecr_response):
}
},
"message": {
"text": f"library/ubuntu: {finding['attributes'][1]['value']}@{finding['attributes'][0]['value']}"
"text": f"{ecr_response['repositoryName']}: {finding['attributes'][1]['value']}@{finding['attributes'][0]['value']}"
}
}
]
Expand Down

0 comments on commit 08b4650

Please sign in to comment.