Scan
Update registry
patch/scan/registry/{name}
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Name of the registry
Headers
X-Auth-Tokenstring required
Request body
Example request
{
"config": {
"name": "myregistry",
"registry_type": "docker",
"registry": "https://registry.hub.docker.com/",
"filters": [
"neuvector/*:*"
],
"username": "myusername",
"password": "mypassword",
"auth_with_token": true,
"repo_limit": 1,
"tag_limit": 1,
"schedule": {
"schedule": "manual",
"interval": 5
},
"aws_key": {
"id": "831010404316",
"access_key_id": "AKIAIHUHS4BTYUDKVV4Q",
"secret_access_key": "D7XGZO34AMUfTbunL",
"region": "us-west-2"
},
"jfrog_xray": {
"url": "https://docker-virtual.com",
"enable": true,
"username": "myUser",
"password": "password"
}
}
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.