indexer
Index a Manifest
By submitting a Manifest object to this endpoint Clair will fetch the layers, scan each layer's contents, and provide an index of discovered packages, repository and distribution information.
post/indexer/api/v1/index_report
Request body
Example request
{
"hash": "sha256:fc84b5febd328eccaa913807716887b3eb5ed08bc22cc6933a9ebf82766725e3",
"layers": [
{
"hash": "sha256:2f077db56abccc19f16f140f629ae98e904b4b7d563957a7fc319bd11b82ba36",
"uri": "https://storage.example.com/blob/2f077db56abccc19f16f140f629ae98e904b4b7d563957a7fc319bd11b82ba36",
"headers": {
"Authoriztion": [
"Bearer hunter2"
]
}
}
]
}Response
IndexReport created.
Clients may want to avoid reading the body if simply submitting the manifest for later vulnerability reporting.
Changes
No recorded changes to this endpoint across all 1 revision of this API.