curl --request PUT \
--url https://app.kosli.com/api/v2/environments/{org}/{env_name}/report/K8S \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artifacts": [
{
"podName": "<string>",
"namespace": "<string>",
"digests": {},
"creationTimestamp": 123,
"owners": [
{
"apiVersion": "<string>",
"kind": "<string>",
"name": "<string>",
"uid": "<string>",
"controller": true,
"blockOwnerDeletion": true
}
]
}
],
"type": "K8S"
}
'{
"message": "<string>",
"errors": {}
}Process a report for a K8S environment.
curl --request PUT \
--url https://app.kosli.com/api/v2/environments/{org}/{env_name}/report/K8S \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artifacts": [
{
"podName": "<string>",
"namespace": "<string>",
"digests": {},
"creationTimestamp": 123,
"owners": [
{
"apiVersion": "<string>",
"kind": "<string>",
"name": "<string>",
"uid": "<string>",
"controller": true,
"blockOwnerDeletion": true
}
]
}
],
"type": "K8S"
}
'{
"message": "<string>",
"errors": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Report processed successfully, no new snapshots to create
Was this page helpful?