Read what a cluster is for
import requests
url = "https://api.platform.ankra.app/org/clusters/{cluster_id}/criticality"
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/clusters/{cluster_id}/criticality', 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/clusters/{cluster_id}/criticality \
--cookie ankra_session={
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"criticality": "production"
}Clusters
Read what a cluster is for
Reports the cluster’s criticality, the denominator the insight scanner grades blast radius against. Clusters that have never been classified read as production, which is the column’s default and the value the grading falls back to.
GET
/
org
/
clusters
/
{cluster_id}
/
criticality
Read what a cluster is for
import requests
url = "https://api.platform.ankra.app/org/clusters/{cluster_id}/criticality"
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/clusters/{cluster_id}/criticality', 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/clusters/{cluster_id}/criticality \
--cookie ankra_session={
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"criticality": "production"
}