Skip to content

Commit

Permalink
Merge pull request #877 from snyk/feat/IA-676-add-dra-endpoint
Browse files Browse the repository at this point in the history
feat: add DRA endpoint - get image metadata
  • Loading branch information
DanielTal87 authored Nov 17, 2024
2 parents 7e2b566 + 88c23d8 commit 05c27b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions client-templates/container-registry-agent/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
"method": "POST",
"path": "/scan",
"origin": "${CR_AGENT_URL}"
},
{
"//": "returns image-metadata for given repository and image reference",
"method": "GET",
"path": "/image-metadata/*",
"origin": "${CR_AGENT_URL}"
}
]
}
8 changes: 7 additions & 1 deletion defaultFilters/container-registry-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
"method": "POST",
"path": "/scan",
"origin": "${CR_AGENT_URL}"
},
{
"//": "returns image-metadata for given repository and image reference",
"method": "GET",
"path": "/image-metadata/*",
"origin": "${CR_AGENT_URL}"
}
]
}
}

0 comments on commit 05c27b9

Please sign in to comment.