whizard-auditing
하는 일
이 스킬은 AI 에이전트가 KubeSphere의 감사 확장 기능을 설정하고 사용하도록 돕습니다. 클러스터에서 누가 무엇을 했는지 기록이 필요한 관리자를 위한 스킬입니다.
사용하는 경우
- ✓Kubernetes 감사 이벤트를 수집하도록 감사 확장 기능을 설치하고 싶을 때.
- ✓사용자, 동작, 시간별로 감사 이벤트를 검색해야 할 때.
- ✓감사 이벤트가 어떻게 수집되고 저장되는지 이해하고 싶은 경우.
스킬 링크
https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-auditing/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“어제 shop 네임스페이스에서 누가 디플로이먼트를 삭제했는지 보여 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 감사 조회 API로 수집된 감사 이벤트를 검색합니다. 먼저 감사 확장 기능과 그 의존성이 설치되어 있어야 합니다.
기술 내용 (원본 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
자주 묻는 질문
감사 확장 기능에 먼저 필요한 것은 무엇인가요?
WizTelemetry Platform Service와 Data Pipeline 확장 기능이 설치되어 있어야 합니다.
어떤 이벤트를 수집하나요?
Kubernetes 감사 이벤트를 수집하고 저장소로 내보냅니다.
과거 이벤트를 조회할 수 있나요?
네. 감사 조회 API로 수집된 이벤트를 검색하는 방법을 다룹니다.
상세 정보
작성자의 원본 설명
Use when working with WizTelemetry Auditing extension for KubeSphere, including installation, configuration, and audit query API
repo: kubesphere/kubesphere
인기도
- GitHub 스타
- 17k
- 순위
- #10786
- 라이선스
- —
- 업데이트
- 2026. 7. 14.
댓글
- …
이 저장소의 다른 스킬
frontend-forge-fe-operations
17k에이전트가 KubeSphere에서 FrontendExtension 리소스를 관리하도록 돕습니다. 빌드, 게시, 문제 해결까지 포함됩니다.
frontend-forge-fi-operations
17k에이전트가 KubeSphere의 FrontendIntegration 리소스와 frontend-forge 확장 기능을 만들고 관리하도록 돕습니다.
frontend-integration-yaml
17k에이전트가 메뉴 하나와 하나 이상의 페이지로 구성된, 바로 제출할 수 있는 FrontendIntegration YAML을 만들도록 돕습니다.
kubeeye
17k에이전트가 KubeEye를 설치하고, 클러스터 점검 규칙과 계획을 설정한 뒤 점검 보고서를 읽도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.