Read a Helm release runtime vulnerability report
import requests
url = "https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report \
--header 'Authorization: Bearer <token>'{
"other_controllers": [
{
"uid": "<string>",
"name": "<string>",
"kind": "<string>",
"manager": "<string>"
}
],
"other_controllers_more": true,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"namespace": "<string>",
"release": "<string>",
"pods": 123,
"distinct_findings": 123,
"pagination": {
"page": 123,
"page_size": 123,
"total_count": 123,
"total_pages": 123
},
"scanner": {
"fresh_clusters": 123,
"last_scan": "2023-11-07T05:31:56Z",
"stale_after_seconds": 123,
"stale_clusters": 123,
"status": "fresh",
"unscanned_clusters": 123,
"endpoint_scanner": {
"present": true,
"targets": 123,
"reports": 123,
"last_success_at": "2023-11-07T05:31:56Z",
"clusters": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targets": 123,
"reports": 123,
"last_success_at": "2023-11-07T05:31:56Z"
}
]
}
},
"last_observed": "2023-11-07T05:31:56Z",
"result": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advisory": "<string>",
"package": "<string>",
"severity": "<string>",
"installed": "<string>",
"fixed": "<string>",
"image": "<string>",
"digest": "<string>",
"namespace": "<string>",
"workload": "<string>",
"kind": "<string>",
"container": "<string>",
"disposition": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
}
]
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Security
Read a Helm release runtime vulnerability report
Image scanner occurrences attributed by Helm ownership annotations and workload UID, including independently installed releases. Results describe observations of currently attributed workloads. Historical revision scans are not inferred.
GET
/
api
/
v1
/
org
/
security
/
clusters
/
{cluster_id}
/
helm-releases
/
{namespace}
/
{release_name}
/
report
Read a Helm release runtime vulnerability report
import requests
url = "https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report \
--header 'Authorization: Bearer <token>'{
"other_controllers": [
{
"uid": "<string>",
"name": "<string>",
"kind": "<string>",
"manager": "<string>"
}
],
"other_controllers_more": true,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"namespace": "<string>",
"release": "<string>",
"pods": 123,
"distinct_findings": 123,
"pagination": {
"page": 123,
"page_size": 123,
"total_count": 123,
"total_pages": 123
},
"scanner": {
"fresh_clusters": 123,
"last_scan": "2023-11-07T05:31:56Z",
"stale_after_seconds": 123,
"stale_clusters": 123,
"status": "fresh",
"unscanned_clusters": 123,
"endpoint_scanner": {
"present": true,
"targets": 123,
"reports": 123,
"last_success_at": "2023-11-07T05:31:56Z",
"clusters": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targets": 123,
"reports": 123,
"last_success_at": "2023-11-07T05:31:56Z"
}
]
}
},
"last_observed": "2023-11-07T05:31:56Z",
"result": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advisory": "<string>",
"package": "<string>",
"severity": "<string>",
"installed": "<string>",
"fixed": "<string>",
"image": "<string>",
"digest": "<string>",
"namespace": "<string>",
"workload": "<string>",
"kind": "<string>",
"container": "<string>",
"disposition": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
}
]
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
Response
Successful response