whizard-auditing
यह क्या करती है
यह स्किल AI एजेंट को KubeSphere में auditing extension सेट करने और उसे इस्तेमाल करने में मदद करती है। यह उन एडमिनिस्ट्रेटरों के लिए है जिन्हें क्लस्टर में यह रिकॉर्ड चाहिए कि किसने क्या किया।
कब इस्तेमाल करें
- ✓जब आप Kubernetes audit events इकट्ठा करने के लिए auditing extension इंस्टॉल करना चाहते हैं।
- ✓जब आपको उपयोगकर्ता, क्रिया या समय के हिसाब से audit events खोजने हों।
- ✓जब आपको समझना हो कि audit events कैसे इकट्ठा और संग्रहित होते हैं।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-auditing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मुझे दिखा सकते हैं कि कल shop namespace में किसने एक deployment हटाया?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट इकट्ठा किए गए audit events खोजने के लिए audit query API इस्तेमाल करता है। इसके लिए पहले auditing extension और उसकी निर्भरताएँ इंस्टॉल होनी चाहिए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
WizTelemetry Auditing
Overview
WizTelemetry Auditing is an extension component in the KubeSphere Observability Platform for Kubernetes and KubeSphere audit event collection, processing, and storage.
When to Use
- Installing or configuring the WizTelemetry Auditing extension
- Understanding audit event collection architecture
- Using the audit query API to query audit events
Components
| Component | Description | Default Enabled |
|---|---|---|
| kube-auditing | Kubernetes audit event collection and export | true |
Dependencies
- WizTelemetry Platform Service (whizard-telemetry): Required
- WizTelemetry Data Pipeline (vector): Required
Installation
Prerequisites
REQUIRED: Complete all steps in order before generating InstallPlan.
Step 1: Get Available Clusters and Confirm Target
⚠️ CRITICAL: DO NOT proceed until target clusters are determined.
Step 1.1: Get available clusters
kubectl get clusters -o jsonpath='{.items[*].metadata.name}'
Step 1.2: Determine target clusters
- If user explicitly specified target clusters in the request → Use those clusters directly, proceed to Step 2
- If user did NOT specify target clusters → Ask user to confirm which clusters to deploy to, then proceed to Step 2
Ask user (if not specified):
Available clusters: host, dev
Which clusters do you want to deploy WizTelemetry Auditing to?
Step 2: Get Latest Version (if not provided by user)
MUST do this to get the latest version:
kubectl get extensionversions -l kubesphere.io/extension-ref=whizard-auditing -o jsonpath='{range .items[*]}{.spec.version}{"\n"}{end}' | sort -V | tail -1
This outputs the latest version (e.g., 1.4.0). Note this down - you'll use it in the InstallPlan.
Install WizTelemetry Auditing
⚠️ IMPORTANT: Complete prerequisite steps BEFORE this step.
Based on your selections:
- Target clusters: User-confirmed cluster names
⚠️ CRITICAL: InstallPlan metadata.name MUST be whizard-auditing. DO NOT use any other name.
⚠️ CRITICAL: config field is YAML format. You MUST:
- Use the config structure exactly as shown in the template
- DO NOT add configuration fields that are not shown in the template
- DO NOT modify the structure or hierarchy
⚠️ CRITICAL: All placeholders MUST be replaced with actual values. DO NOT leave them as placeholders.
Template
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-auditing
spec:
extension:
name: whizard-auditing
version: <VERSION> # From Step 2
enabled: true
upgradeStrategy: Manual
clusterScheduling:
placement:
clusters:
- <TARGET_CLUSTERS>
Replace placeholders:
<VERSION>: From Step 2 (e.g.,1.4.0)<TARGET_CLUSTERS>: User-confirmed cluster names
Note: OpenSearch sink configuration (endpoints, auth) is provided by the vector extension. Make sure vector is installed and configured with OpenSearch before installing auditing.
Enable Doris Sink
To enable Doris sink for audit storage:
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-auditing
spec:
extension:
name: whizard-auditing
version: <VERSION> # From Step 2
enabled: true
upgradeStrategy: Manual
config: |
kube-auditing:
sinks:
opensearch:
enabled: true
index:
prefix: "{{ .cluster }}-auditing"
timestring: "%Y.%m.%d"
doris:
enabled: true
fe: <DORIS_FE>
be: <DORIS_BE>
table:
partitionUnit: DAY
retentionPartition: 7
replicationNum: 2
clusterScheduling:
placement:
clusters:
- <TARGET_CLUSTERS>
Enable ISM Policy
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-auditing
spec:
extension:
name: whizard-auditing
version: <VERSION> # From Step 2
enabled: true
upgradeStrategy: Manual
config: |
kube-auditing:
sinks:
opensearch:
enabled: true
index:
prefix: "{{ .cluster }}-auditing"
timestring: "%Y.%m.%d"
ism_policy:
enable: true
min_index_age: "7d"
clusterScheduling:
placement:
clusters:
- <TARGET_CLUSTERS>
Configuration Parameters
OpenSearch Sink Paramete
अक्सर पूछे जाने वाले सवाल
auditing extension को पहले क्या चाहिए?
इसे WizTelemetry Platform Service और Data Pipeline extensions इंस्टॉल होने चाहिए।
यह कौन-से events इकट्ठा करता है?
यह Kubernetes audit events इकट्ठा करता है और उन्हें storage में भेजता है।
क्या मैं पुराने events क्वेरी कर सकता हूँ?
हाँ। स्किल इकट्ठा किए गए events खोजने के लिए audit query API का उपयोग कवर करती है।
जानकारी
लेखक का मूल विवरण
Use when working with WizTelemetry Auditing extension for KubeSphere, including installation, configuration, and audit query API
repo: kubesphere/kubesphere
लोकप्रियता
- GitHub स्टार
- 17k
- रैंकिंग में स्थान
- #10786
- लाइसेंस
- —
- अपडेट की गई
- 14/7/2026
कमेंट
- …
इस repository की और skills
frontend-forge-fe-operations
17kआपके एजेंट को KubeSphere में FrontendExtension संसाधनों को बनाने, प्रकाशित करने और डीबग करने में मदद करती है।
frontend-forge-fi-operations
17kआपके एजेंट को KubeSphere में FrontendIntegration संसाधन और frontend-forge extension बनाने, अपडेट करने, चालू या बंद करने और जाँचने में मदद करती है।
frontend-integration-yaml
17kआपके एजेंट को एक मेनू और उसके एक या अधिक पेजों के लिए सबमिट करने योग्य FrontendIntegration YAML बनाने में मदद करती है।
kubeeye
17kआपके एजेंट को KubeEye इंस्टॉल करने, क्लस्टर निरीक्षण नियम और योजनाएँ सेट करने, और फिर निरीक्षण रिपोर्ट पढ़ने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।