You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to retrieve the kubeconfig of the target cluster from the Devtron UI and use it locally with kubectl to access Kubernetes resources. Additionally, we want to log every operation performed using kubectl.
Currently, the audit log contains the following data:
Here, the updatedBy field is null. To identify who performed the operation, we need to correlate this with the normal orchestrator logs, which provide information like:
Our goal is to merge the relevant information from these two logs, updating the updatedBy field in the audit log so that it provides a single, comprehensive source for audit purposes.
👟 Reproduction steps
NA
👍 Expected behavior
NA
👎 Actual Behavior
NA
☸ Kubernetes version
1.30
Cloud provider
AWS
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
📜 Description
We are trying to retrieve the kubeconfig of the target cluster from the Devtron UI and use it locally with kubectl to access Kubernetes resources. Additionally, we want to log every operation performed using kubectl.
Currently, the audit log contains the following data:
"log":"2024/08/14 07:13:00 AUDIT_LOG: requestMethod: DELETE, urlPath: /orchestrator/k8s/proxy/cluster/dev-mumbai/api/v1/namespaces/default/pods/nginx, queryParams: , updatedBy: , updatedOn: 2024-08-14 07:13:00.571039569 +0000 UTC m=+473543.194180702, apiResponseCode: 200, requestPayload: {\"propagationPolicy\":\"Background\"}"
Here, the updatedBy field is null. To identify who performed the operation, we need to correlate this with the normal orchestrator logs, which provide information like:
{"level":"info","ts":1723627156.3477376,"caller":"application/k8sApplicationRestHandler.go:1425","msg":"K8sProxyRequest","Method:":"DELETE","Path:":"/api/v1/namespaces/default/pods/analytics-exporter-7bd87786bb-4wpb9","Email:":"[email protected]"}
Our goal is to merge the relevant information from these two logs, updating the updatedBy field in the audit log so that it provides a single, comprehensive source for audit purposes.
👟 Reproduction steps
NA
👍 Expected behavior
NA
👎 Actual Behavior
NA
☸ Kubernetes version
1.30
Cloud provider
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: