[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EEA7BMPCK385YYS94MB0QX":3,"skill-same:01M7EEA7BMPCK385YYS94MB0QX":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7EEA7BMPCK385YYS94MB0QX","analyzing-kubernetes-audit-logs",null,"Parses Kubernetes API server audit logs (JSON lines) to detect exec-into-pod, secret access, RBAC modifications, privileged pod creation, and anonymous API access, and builds SIEM detection rules from the event patterns. Use when investigating a suspected cluster compromise, reconstructing what an attacker did through the API server, or writing Kubernetes-specific detection content. Keywords: audit policy, audit log, kube-apiserver, exec into pod, RBAC change, anonymous access, detection rules. Do not use for syscall-level detection inside a running container - use detecting-container-runtime-threats-with-falco.\n'","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fanalyzing-kubernetes-audit-logs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analyzing-kubernetes-audit-logs\ndescription: >-\n  Parses Kubernetes API server audit logs (JSON lines) to detect exec-into-pod, secret access,\n  RBAC modifications, privileged pod creation, and anonymous API access, and builds SIEM\n  detection rules from the event patterns. Use when investigating a suspected cluster\n  compromise, reconstructing what an attacker did through the API server, or writing\n  Kubernetes-specific detection content. Keywords: audit policy, audit log, kube-apiserver,\n  exec into pod, RBAC change, anonymous access, detection rules. Do not use for syscall-level\n  detection inside a running container - use detecting-container-runtime-threats-with-falco.\n\n  '\ndomain: cybersecurity\nsubdomain: container-security\ntags:\n- kubernetes-security\n- container-security\n- audit-log-analysis\n- rbac\n- privilege-escalation\n- k8s-api-server\n- threat-detection\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- PR.IR-01\n- ID.AM-08\n- DE.CM-01\nmitre_attack:\n- T1610\n- T1613\n- T1078\n- T1552.007\n---\n\n# Analyzing Kubernetes Audit Logs\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing kubernetes audit logs\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Familiarity with container security concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Instructions\n\nParse Kubernetes audit log files (JSON lines format) to detect security-relevant\nevents including unauthorized access, privilege escalation, and data exfiltration.\n\n```python\nimport json\n\nwith open(\"\u002Fvar\u002Flog\u002Fkubernetes\u002Faudit.log\") as f:\n    for line in f:\n        event = json.loads(line)\n        verb = event.get(\"verb\")\n        resource = event.get(\"objectRef\", {}).get(\"resource\")\n        user = event.get(\"user\", {}).get(\"username\")\n        if verb == \"create\" and resource == \"pods\u002Fexec\":\n            print(f\"Pod exec by {user}\")\n```\n\nKey events to detect:\n1. pods\u002Fexec and pods\u002Fattach (shell into containers)\n2. secrets access (get\u002Flist\u002Fwatch)\n3. clusterrolebindings creation (RBAC escalation)\n4. Privileged pod creation\n5. Anonymous or system:unauthenticated access\n\n## Examples\n\n```python\n# Detect secret enumeration\nif verb in (\"get\", \"list\") and resource == \"secrets\":\n    print(f\"Secret access: {user} -> {event['objectRef'].get('name')}\")\n```\n","# Analyzing Kubernetes Audit Logs\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing kubernetes audit logs\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Familiarity with container security concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Instructions\n\nParse Kubernetes audit log files (JSON lines format) to detect security-relevant\nevents including unauthorized access, privilege escalation, and data exfiltration.\n\n```python\nimport json\n\nwith open(\"\u002Fvar\u002Flog\u002Fkubernetes\u002Faudit.log\") as f:\n    for line in f:\n        event = json.loads(line)\n        verb = event.get(\"verb\")\n        resource = event.get(\"objectRef\", {}).get(\"resource\")\n        user = event.get(\"user\", {}).get(\"username\")\n        if verb == \"create\" and resource == \"pods\u002Fexec\":\n            print(f\"Pod exec by {user}\")\n```\n\nKey events to detect:\n1. pods\u002Fexec and pods\u002Fattach (shell into containers)\n2. secrets access (get\u002Flist\u002Fwatch)\n3. clusterrolebindings creation (RBAC escalation)\n4. Privileged pod creation\n5. Anonymous or system:unauthenticated access\n\n## Examples\n\n```python\n# Detect secret enumeration\nif verb in (\"get\", \"list\") and resource == \"secrets\":\n    print(f\"Secret access: {user} -> {event['objectRef'].get('name')}\")\n```\n",{"name":5,"tags":24,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":26,"description":7,"mitre_attack":40},[25,26,27,28,29,30,31],"kubernetes-security","container-security","audit-log-analysis","rbac","privilege-escalation","k8s-api-server","threat-detection","mahipal","cybersecurity","1.0",[36,37,38,39],"PR.PS-01","PR.IR-01","ID.AM-08","DE.CM-01",[41,42,43,44],"T1610","T1613","T1078","T1552.007","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fanalyzing-kubernetes-audit-logs",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-kubernetes-audit-logs",{"tool":59,"command":60},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-kubernetes-audit-logs",{"tool":62,"command":63},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-kubernetes-audit-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fanalyzing-kubernetes-audit-logs\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fapi-reference.md","REFERENCE","参考文档",1620,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fanalyzing-kubernetes-audit-logs\u002Freferences\u002Fapi-reference.md",[74,83,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":84,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":82},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":82},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":82},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":82},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]