Read a Helm release runtime vulnerability report (browser session)
import requests
url = "https://api.platform.ankra.app/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/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://api.platform.ankra.app/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report \
--cookie ankra_session={
"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": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Security
Read a Helm release runtime vulnerability report (browser session)
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
/
org
/
security
/
clusters
/
{cluster_id}
/
helm-releases
/
{namespace}
/
{release_name}
/
report
Read a Helm release runtime vulnerability report (browser session)
import requests
url = "https://api.platform.ankra.app/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/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://api.platform.ankra.app/org/security/clusters/{cluster_id}/helm-releases/{namespace}/{release_name}/report \
--cookie ankra_session={
"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": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
Response
Successful response