[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AF7HKFMZ7EY82AT7Z89C89":3,"skill-same:01M6AF7HKFMZ7EY82AT7Z89C89":127},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":68,"commitSha":69,"skillDirectory":70,"forksCount":71,"repositoryHtmlUrl":72,"repositoryHomepageUrl":73,"ownerHtmlUrl":74,"ownerBlogUrl":75,"ownerDescription":76,"updatedAt":77,"install":78,"resources":91},"01M6AF7HKFMZ7EY82AT7Z89C89","implementing-kubernetes-network-policy-with-calico","Calico 网络策略配置与调试","Installs Calico as the cluster CNI and writes standard Kubernetes NetworkPolicy under it, covering default-deny baselines, policy ordering and precedence, service-account-based selectors, and verifying that policy is genuinely being enforced. Use when adopting Calico as the enforcement CNI, establishing a default-deny baseline, or debugging why a NetworkPolicy is not taking effect under Calico. Keywords: Calico CNI, NetworkPolicy, default deny, policy order, Felix, service account selector. Do not use for Calico-only CRDs such as GlobalNetworkPolicy or DNS egress - use implementing-container-network-policies-with-calico; for CNI-agnostic policy use implementing-network-policies-for-kubernetes.","安装 Calico 作为集群 CNI，并在其下编写标准的 Kubernetes NetworkPolicy，涵盖默认拒绝（default-deny）基线、策略排序与优先级、基于 service-account 的选择器，以及验证策略是否真正生效。适用于采用 Calico 作为强制执行的 CNI、建立默认拒绝基线，或调试 NetworkPolicy 在 Calico 下为何未生效。关键词：Calico CNI、NetworkPolicy、default deny、policy order、Felix、service account selector。不用于 Calico 专有 CRD（如 GlobalNetworkPolicy 或 DNS egress）——请使用 implementing-container-network-policies-with-calico；与 CNI 无关的通用策略请使用 implementing-network-policies-for-kubernetes。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9076S7ETYWTQVVK45G","云原生计算与容器编排","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"network","implementing kubernetes network policy with calico","calico","kubernetes","policy","pr","debugging","dns","container-security","ZeRO","cybersecurity","service-account","zero-trust","network-segmentation","network-policy","cni","baseline","segmentation","security","2026-11-10 10:12:30",false,"---\nname: implementing-kubernetes-network-policy-with-calico\ndescription: >-\n  Installs Calico as the cluster CNI and writes standard Kubernetes NetworkPolicy under it,\n  covering default-deny baselines, policy ordering and precedence, service-account-based\n  selectors, and verifying that policy is genuinely being enforced. Use when adopting Calico\n  as the enforcement CNI, establishing a default-deny baseline, or debugging why a\n  NetworkPolicy is not taking effect under Calico. Keywords: Calico CNI, NetworkPolicy,\n  default deny, policy order, Felix, service account selector. Do not use for Calico-only CRDs\n  such as GlobalNetworkPolicy or DNS egress - use\n  implementing-container-network-policies-with-calico; for CNI-agnostic policy use\n  implementing-network-policies-for-kubernetes.\ndomain: cybersecurity\nsubdomain: container-security\ntags:\n- calico\n- kubernetes\n- network-policy\n- network-segmentation\n- zero-trust\n- cni\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- T1611\n- T1609\n- T1525\n---\n\n# Implementing Kubernetes Network Policy with Calico\n\n## Overview\n\nCalico is an open-source CNI plugin that provides fine-grained network policy enforcement for Kubernetes clusters. It implements the full Kubernetes NetworkPolicy API and extends it with Calico-specific GlobalNetworkPolicy, supporting policy ordering, deny rules, and service-account-based selectors.\n\n\n## When to Use\n\n- When deploying or configuring implementing kubernetes network policy with calico capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Kubernetes cluster (v1.24+)\n- Calico CNI installed (v3.26+)\n- `kubectl` and `calicoctl` CLI tools\n- Cluster admin RBAC permissions\n\n## Installing Calico\n\n### Operator-based Installation (Recommended)\n\n```bash\n# Install the Tigera operator\nkubectl create -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Ftigera-operator.yaml\n\n# Install Calico custom resources\nkubectl create -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Fcustom-resources.yaml\n\n# Verify installation\nkubectl get pods -n calico-system\nwatch kubectl get pods -n calico-system\n\n# Install calicoctl\nkubectl apply -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Fcalicoctl.yaml\n```\n\n### Verify Calico is Running\n\n```bash\n# Check Calico pods\nkubectl get pods -n calico-system\n\n# Check Calico node status\nkubectl exec -n calico-system calicoctl -- calicoctl node status\n\n# Check IP pools\nkubectl exec -n calico-system calicoctl -- calicoctl get ippool -o wide\n```\n\n## Kubernetes NetworkPolicy\n\n### Default Deny All Traffic\n\n```yaml\n# deny-all-ingress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: default-deny-ingress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Ingress\n\n---\n# deny-all-egress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: default-deny-egress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Egress\n```\n\n### Allow Specific Pod-to-Pod Communication\n\n```yaml\n# allow-frontend-to-backend.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-frontend-to-backend\n  namespace: production\nspec:\n  podSelector:\n    matchLabels:\n      app: backend\n  policyTypes:\n    - Ingress\n  ingress:\n    - from:\n        - podSelector:\n            matchLabels:\n              app: frontend\n      ports:\n        - protocol: TCP\n          port: 8080\n```\n\n### Allow DNS Egress\n\n```yaml\n# allow-dns-egress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-dns-egress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Egress\n  egress:\n    - to:\n        - namespaceSelector: {}\n      ports:\n        - protocol: UDP\n          port: 53\n        - protocol: TCP\n          port: 53\n```\n\n### Namespace Isolation\n\n```yaml\n# allow-same-namespace.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-same-namespace\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Ingress\n  ingress:\n    - from:\n        - podSelector: {}\n```\n\n## Calico-Specific Policies\n\n### GlobalNetworkPolicy (Cluster-Wide)\n\n```yaml\n# global-deny-external.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: GlobalNetworkPolicy\nmetadata:\n  name: deny-external-ingress\nspec:\n  order: 100\n  selector: \"projectcalico.org\u002Fnamespace != 'ingress-nginx'\"\n  types:\n    - Ingress\n  ingress:\n    - action: Deny\n      source:\n        nets:\n          - 0.0.0.0\u002F0\n      destination: {}\n```\n\n### Calico NetworkPolicy with Deny Rules\n\n```yaml\n# calico-deny-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: NetworkPolicy\nmetadata:\n  name: deny-database-from-frontend\n  namespace: production\nspec:\n  order: 10\n  selector: app == 'database'\n  types:\n    - Ingress\n  ingress:\n    - action: Deny\n      source:\n        selector: app == 'frontend'\n    - action: Allow\n      source:\n        selector: app == 'backend'\n      destination:\n        ports:\n          - 5432\n```\n\n### Service Account Based Policy\n\n```yaml\n# sa-based-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: NetworkPolicy\nmetadata:\n  name: allow-by-service-account\n  namespace: production\nspec:\n  selector: app == 'api'\n  ingress:\n    - action: Allow\n      source:\n        serviceAccounts:\n          names:\n            - frontend-sa\n            - monitoring-sa\n  egress:\n    - action: Allow\n      destination:\n        serviceAccounts:\n          names:\n            - database-sa\n```\n\n### Host Endpoint Protection\n\n```yaml\n# host-endpoint-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: GlobalNetworkPolicy\nmetadata:\n  name: restrict-host-ssh\nspec:\n  order: 10\n  selector: \"has(kubernetes.io\u002Fhostname)\"\n  applyOnForward: false\n  types:\n    - Ingress\n  ingress:\n    - action: Allow\n      protocol: TCP\n      source:\n        nets:\n          - 10.0.0.0\u002F8\n      destination:\n        ports:\n          - 22\n    - action: Deny\n      protocol: TCP\n      destination:\n        ports:\n          - 22\n```\n\n## Calico Policy Tiers\n\n```yaml\n# security-tier.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: Tier\nmetadata:\n  name: security\nspec:\n  order: 100\n\n---\n# platform-tier.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: Tier\nmetadata:\n  name: platform\nspec:\n  order: 200\n```\n\n## Monitoring and Troubleshooting\n\n```bash\n# List all network policies\nkubectl get networkpolicy --all-namespaces\n\n# List Calico-specific policies\nkubectl exec -n calico-system calicoctl -- calicoctl get networkpolicy --all-namespaces -o wide\nkubectl exec -n calico-system calicoctl -- calicoctl get globalnetworkpolicy -o wide\n\n# Check policy evaluation for a specific endpoint\nkubectl exec -n calico-system calicoctl -- calicoctl get workloadendpoint -n production -o yaml\n\n# View Calico logs\nkubectl logs -n calico-system -l k8s-app=calico-node --tail=100\n\n# Test connectivity\nkubectl exec -n production frontend-pod -- wget -qO- --timeout=2 http:\u002F\u002Fbackend-svc:8080\u002Fhealth\n```\n\n## Best Practices\n\n1. **Start with default deny** - Apply deny-all policies to every namespace, then allow specific traffic\n2. **Use labels consistently** - Define a labeling standard for app, tier, environment\n3. **Order policies** - Use Calico policy ordering (`order` field) to control evaluation precedence\n4. **Allow DNS first** - Always create DNS egress rules before applying egress deny policies\n5. **Use GlobalNetworkPolicy** for cluster-wide security baselines\n6. **Test policies in staging** - Validate network connectivity after applying policies\n7. **Monitor denied traffic** - Enable Calico flow logs for visibility into blocked connections\n8. **Use tiers** - Organize policies into security, platform, and application tiers\n","# Implementing Kubernetes Network Policy with Calico\n\n## Overview\n\nCalico is an open-source CNI plugin that provides fine-grained network policy enforcement for Kubernetes clusters. It implements the full Kubernetes NetworkPolicy API and extends it with Calico-specific GlobalNetworkPolicy, supporting policy ordering, deny rules, and service-account-based selectors.\n\n\n## When to Use\n\n- When deploying or configuring implementing kubernetes network policy with calico capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Kubernetes cluster (v1.24+)\n- Calico CNI installed (v3.26+)\n- `kubectl` and `calicoctl` CLI tools\n- Cluster admin RBAC permissions\n\n## Installing Calico\n\n### Operator-based Installation (Recommended)\n\n```bash\n# Install the Tigera operator\nkubectl create -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Ftigera-operator.yaml\n\n# Install Calico custom resources\nkubectl create -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Fcustom-resources.yaml\n\n# Verify installation\nkubectl get pods -n calico-system\nwatch kubectl get pods -n calico-system\n\n# Install calicoctl\nkubectl apply -f https:\u002F\u002Fraw.githubusercontent.com\u002Fprojectcalico\u002Fcalico\u002Fv3.27.0\u002Fmanifests\u002Fcalicoctl.yaml\n```\n\n### Verify Calico is Running\n\n```bash\n# Check Calico pods\nkubectl get pods -n calico-system\n\n# Check Calico node status\nkubectl exec -n calico-system calicoctl -- calicoctl node status\n\n# Check IP pools\nkubectl exec -n calico-system calicoctl -- calicoctl get ippool -o wide\n```\n\n## Kubernetes NetworkPolicy\n\n### Default Deny All Traffic\n\n```yaml\n# deny-all-ingress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: default-deny-ingress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Ingress\n\n---\n# deny-all-egress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: default-deny-egress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Egress\n```\n\n### Allow Specific Pod-to-Pod Communication\n\n```yaml\n# allow-frontend-to-backend.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-frontend-to-backend\n  namespace: production\nspec:\n  podSelector:\n    matchLabels:\n      app: backend\n  policyTypes:\n    - Ingress\n  ingress:\n    - from:\n        - podSelector:\n            matchLabels:\n              app: frontend\n      ports:\n        - protocol: TCP\n          port: 8080\n```\n\n### Allow DNS Egress\n\n```yaml\n# allow-dns-egress.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-dns-egress\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Egress\n  egress:\n    - to:\n        - namespaceSelector: {}\n      ports:\n        - protocol: UDP\n          port: 53\n        - protocol: TCP\n          port: 53\n```\n\n### Namespace Isolation\n\n```yaml\n# allow-same-namespace.yaml\napiVersion: networking.k8s.io\u002Fv1\nkind: NetworkPolicy\nmetadata:\n  name: allow-same-namespace\n  namespace: production\nspec:\n  podSelector: {}\n  policyTypes:\n    - Ingress\n  ingress:\n    - from:\n        - podSelector: {}\n```\n\n## Calico-Specific Policies\n\n### GlobalNetworkPolicy (Cluster-Wide)\n\n```yaml\n# global-deny-external.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: GlobalNetworkPolicy\nmetadata:\n  name: deny-external-ingress\nspec:\n  order: 100\n  selector: \"projectcalico.org\u002Fnamespace != 'ingress-nginx'\"\n  types:\n    - Ingress\n  ingress:\n    - action: Deny\n      source:\n        nets:\n          - 0.0.0.0\u002F0\n      destination: {}\n```\n\n### Calico NetworkPolicy with Deny Rules\n\n```yaml\n# calico-deny-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: NetworkPolicy\nmetadata:\n  name: deny-database-from-frontend\n  namespace: production\nspec:\n  order: 10\n  selector: app == 'database'\n  types:\n    - Ingress\n  ingress:\n    - action: Deny\n      source:\n        selector: app == 'frontend'\n    - action: Allow\n      source:\n        selector: app == 'backend'\n      destination:\n        ports:\n          - 5432\n```\n\n### Service Account Based Policy\n\n```yaml\n# sa-based-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: NetworkPolicy\nmetadata:\n  name: allow-by-service-account\n  namespace: production\nspec:\n  selector: app == 'api'\n  ingress:\n    - action: Allow\n      source:\n        serviceAccounts:\n          names:\n            - frontend-sa\n            - monitoring-sa\n  egress:\n    - action: Allow\n      destination:\n        serviceAccounts:\n          names:\n            - database-sa\n```\n\n### Host Endpoint Protection\n\n```yaml\n# host-endpoint-policy.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: GlobalNetworkPolicy\nmetadata:\n  name: restrict-host-ssh\nspec:\n  order: 10\n  selector: \"has(kubernetes.io\u002Fhostname)\"\n  applyOnForward: false\n  types:\n    - Ingress\n  ingress:\n    - action: Allow\n      protocol: TCP\n      source:\n        nets:\n          - 10.0.0.0\u002F8\n      destination:\n        ports:\n          - 22\n    - action: Deny\n      protocol: TCP\n      destination:\n        ports:\n          - 22\n```\n\n## Calico Policy Tiers\n\n```yaml\n# security-tier.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: Tier\nmetadata:\n  name: security\nspec:\n  order: 100\n\n---\n# platform-tier.yaml\napiVersion: projectcalico.org\u002Fv3\nkind: Tier\nmetadata:\n  name: platform\nspec:\n  order: 200\n```\n\n## Monitoring and Troubleshooting\n\n```bash\n# List all network policies\nkubectl get networkpolicy --all-namespaces\n\n# List Calico-specific policies\nkubectl exec -n calico-system calicoctl -- calicoctl get networkpolicy --all-namespaces -o wide\nkubectl exec -n calico-system calicoctl -- calicoctl get globalnetworkpolicy -o wide\n\n# Check policy evaluation for a specific endpoint\nkubectl exec -n calico-system calicoctl -- calicoctl get workloadendpoint -n production -o yaml\n\n# View Calico logs\nkubectl logs -n calico-system -l k8s-app=calico-node --tail=100\n\n# Test connectivity\nkubectl exec -n production frontend-pod -- wget -qO- --timeout=2 http:\u002F\u002Fbackend-svc:8080\u002Fhealth\n```\n\n## Best Practices\n\n1. **Start with default deny** - Apply deny-all policies to every namespace, then allow specific traffic\n2. **Use labels consistently** - Define a labeling standard for app, tier, environment\n3. **Order policies** - Use Calico policy ordering (`order` field) to control evaluation precedence\n4. **Allow DNS first** - Always create DNS egress rules before applying egress deny policies\n5. **Use GlobalNetworkPolicy** for cluster-wide security baselines\n6. **Test policies in staging** - Validate network connectivity after applying policies\n7. **Monitor denied traffic** - Enable Calico flow logs for visibility into blocked connections\n8. **Use tiers** - Organize policies into security, platform, and application tiers\n",{"name":5,"tags":55,"author":56,"domain":41,"license":16,"version":57,"nist_csf":58,"subdomain":39,"description":7,"mitre_attack":63},[33,34,45,44,43,46],"mahipal","1.0",[59,60,61,62],"PR.PS-01","PR.IR-01","ID.AM-08","DE.CM-01",[64,65,66,67],"T1610","T1611","T1609","T1525","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fimplementing-kubernetes-network-policy-with-calico",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":79,"prompt":89,"zipAvailable":90},[80,83,86],{"tool":81,"command":82},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-kubernetes-network-policy-with-calico",{"tool":84,"command":85},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-kubernetes-network-policy-with-calico",{"tool":87,"command":88},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-kubernetes-network-policy-with-calico","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002FSKILL.md",true,[92,98,103,109,113,117,123],{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"assets\u002Ftemplate.md","ASSET","资产文件",1972,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Fassets\u002Ftemplate.md",{"path":99,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002FLICENSE",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fapi-reference.md","REFERENCE","参考文档",1440,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Freferences\u002Fapi-reference.md",{"path":110,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fstandards.md",2711,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Freferences\u002Fstandards.md",{"path":114,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fworkflows.md",4627,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Freferences\u002Fworkflows.md",{"path":118,"resourceType":119,"resourceTypeDesc":120,"sizeBytes":121,"sourceHtmlUrl":122},"scripts\u002Fagent.py","SCRIPT","脚本",7884,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Fscripts\u002Fagent.py",{"path":124,"resourceType":119,"resourceTypeDesc":120,"sizeBytes":125,"sourceHtmlUrl":126},"scripts\u002Fprocess.py",7865,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-kubernetes-network-policy-with-calico\u002Fscripts\u002Fprocess.py",[128,160,187,217,248,280],{"skillNo":129,"name":130,"nameZh":131,"description":132,"descriptionZh":133,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":142,"publishedAt":50},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[136,139],{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":140,"categoryName":141,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[143,144,145,146,49,41,147,148,36,149,150,151,152,153,154,155,156,157,158,159],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":161,"name":162,"nameZh":163,"description":164,"descriptionZh":165,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":50},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[168,169],{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":170,"categoryName":171,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[173,156,174,175,49,35,41,36,176,40,177,178,179,180,181,182,183,184,185,186],"boot","TPM","validating tpm measured boot attestation","verification","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":188,"name":189,"nameZh":190,"description":191,"descriptionZh":192,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":193,"categories":194,"keywords":199,"publishedAt":50},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[195,196],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":197,"categoryName":198,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[181,200,201,202,203,41,204,205,176,206,207,208,209,210,211,212,213,214,215,216],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":218,"name":219,"nameZh":220,"description":221,"descriptionZh":222,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":223,"categories":224,"keywords":229,"publishedAt":50},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[225,226],{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":227,"categoryName":228,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[230,231,232,41,233,234,235,236,237,238,239,240,241,242,243,244,178,245,246,247],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":249,"name":250,"nameZh":251,"description":252,"descriptionZh":253,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":254,"categories":255,"keywords":260,"publishedAt":50},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[256,259],{"categoryNo":257,"categoryName":258,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},[261,262,263,41,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":281,"name":282,"nameZh":283,"description":284,"descriptionZh":285,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":286,"categories":287,"keywords":292,"publishedAt":50},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[288,289],{"categoryNo":137,"categoryName":138,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":290,"categoryName":291,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[49,293,41,294,295,296,297,298,299,300,301,212,302,213,303,304,305,306,307,308],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]