Read stack profile summary evidence (browser session)
import requests
url = "https://api.platform.ankra.app/org/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id}"
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/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id}', 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/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id} \
--cookie ankra_session={
"summary_revision": 2,
"fact": {
"id": "<string>",
"resource_id": "<string>",
"predicate": "log_collection",
"subject_id": "<string>",
"applicability": "fixed",
"evidence": [
{
"resource_id": "<string>",
"document": 1,
"path": "<string>",
"artifact_digest": "<string>"
}
],
"enabled": true,
"count": 1,
"scope_id": "<string>",
"condition": {
"operator": "equals",
"parameter_id": "<string>",
"equals": true,
"children": "<array>"
}
}
}Stack Profiles
Read stack profile summary evidence (browser session)
Reads and decisions use the primary database with fresh permission, credential and source checks. Responses are private/no-store. Summary revisions never create or advance a workload profile version. No request accepts snapshots, approval identities or provider configuration.
GET
/
org
/
stack-profiles
/
{profile_id}
/
versions
/
{version}
/
summary
/
evidence
/
{fact_id}
Read stack profile summary evidence (browser session)
import requests
url = "https://api.platform.ankra.app/org/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id}"
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/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id}', 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/stack-profiles/{profile_id}/versions/{version}/summary/evidence/{fact_id} \
--cookie ankra_session={
"summary_revision": 2,
"fact": {
"id": "<string>",
"resource_id": "<string>",
"predicate": "log_collection",
"subject_id": "<string>",
"applicability": "fixed",
"evidence": [
{
"resource_id": "<string>",
"document": 1,
"path": "<string>",
"artifact_digest": "<string>"
}
],
"enabled": true,
"count": 1,
"scope_id": "<string>",
"condition": {
"operator": "equals",
"parameter_id": "<string>",
"equals": true,
"children": "<array>"
}
}
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
Required range:
x >= 1Pattern:
^[a-z][a-z0-9_-]{0,63}$