شعار Operator Security

Operator Security

مؤسسة
RedHatProductSecurity
operator-security

Enforce least-privilege RBAC and secure runtime configuration for Kubernetes Operators. Use when building, reviewing, or auditing Operator manifests, ClusterRoles, Roles, OLM bundles, or CRD definitions.

نظرة عامة

الناشرRedHatProductSecurity
المستودعprodsec-skills
اسم المهارةoperator-security
النجوم
56
التفريعات
9
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها RedHatProductSecurity على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Operator Security في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/RedHatProductSecurity/prodsec-skills/tree/main/module/skills/operator-security
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RedHatProductSecurity/prodsec-skills.git /tmp/prodsec-skills
mkdir -p .claude/skills
cp -r /tmp/prodsec-skills/module/skills/operator-security .claude/skills/operator-security
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Operator Security في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Operator Security تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Operator Security بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Kubernetes Operator Security

Secure Operator manifests, OLM packaging, CRD governance, and runtime configuration for least-privilege operation.

Design Principles

Minimize Scope

  • Restrict cluster-scope and namespace-scope permissions to the minimum required for the Operator to function
  • Justify every cluster-scoped permission; move static cluster-scoped resource creation to the OLM catalog when possible
  • Use OperatorGroup to specify the set of namespaces the Operator manages

Namespace Isolation

  • Deploy the Operator in a separate namespace from its operands
  • Never deploy Operators in namespaces shared with non-privileged users
  • Ensure non-privileged users cannot read Secrets in the Operator's namespace

Fine-Grained Roles

  • Prefer many small Roles with granular permissions over a few broad Roles
  • Each Role should grant the minimum verbs and resources needed for a single responsibility

RBAC Requirements

RuleRationale
No wildcards -- list every verb and resource explicitlyWildcards grant permissions to resources that may not exist yet
No cluster-adminGrants unrestricted access to the entire cluster
No self-escalating RBACRoles must not grant the ability to create or modify their own RoleBindings
No Escalate verbAllows circumventing RBAC restrictions
No Bind verb in role definitionsAllows binding to roles with higher privileges

Container Security

  • Set a numeric USER in the Containerfile; never default to or assume uid=0
  • Accept the high UID (billion+) that OpenShift assigns to the namespace
  • Set readOnlyRootFilesystem: true
  • Set runAsNonRoot: true
  • Set automountServiceAccountToken: false unless the SA token is actually needed
  • Never require host paths unless the Operator is part of the control plane
  • Set no-new-privileges: true in the security context
  • Use group ID permissions for shared file access instead of user ID

OLM Installation

Installation Source

Operators must be installed via the Operator Lifecycle Manager (OLM). Direct deployment of operator pods bypasses OLM's dependency resolution, upgrade management, and security controls.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Installation Status

Operators must report a Succeeded installation status. Failed or pending installations indicate packaging or dependency issues.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

No SCC Privileges

Operators must not require Security Context Constraint (SCC) access privileges during installation.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

No Duplicate Operators

Only one instance of the same operator CSV should exist per cluster.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

CRD Governance

OpenAPI Schema

All Custom Resource Definitions must include an OpenAPI v3 schema specification. This enables validation of custom resources at admission time.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

CRD Versioning

CRDs must have valid versioning with proper served/storage version configuration.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Semantic Versioning

Operators must use semantic versioning (semver) for their CSV version.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Single CRD Owner

Each CRD must be owned by only one operator. Multiple operators claiming ownership of the same CRD creates conflict and unpredictable behavior.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Catalog Source Management

Bundle Count

Catalog sources must contain fewer than 1000 bundles. Large catalogs degrade OLM performance and increase memory consumption.

Required for: all profiles (optional, recommended best practice)

OLM Skip Range

Operators with multiple versions in a catalog must have a valid OLM skip range configured to enable proper upgrade paths.

Required for: all profiles (optional, recommended best practice)

Namespace Scoping

Tenant namespaces can only contain operators with SingleNamespaced or MultiNamespaced install modes. Cluster-scoped operators should not be installed in tenant namespaces.

Required for: all profiles (optional, recommended best practice)

Resource Constraints

Operator pods must not enable hugepages. Hugepage allocation is a node-level resource that should be reserved for application workloads, not operator infrastructure.

Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)

Implementation Checklist

  • Every ClusterRole and Role lists explicit verbs and resources (no wildcards)
  • cluster-admin is not used
  • No Role can escalate its own privileges
  • Escalate and Bind verbs are not granted
  • Operator runs in a dedicated namespace, separate from operands
  • Containerfile sets a numeric non-root USER
  • readOnlyRootFilesystem: true is set
  • runAsNonRoot: true is set
  • automountServiceAccountToken: false unless required
  • No host path mounts unless justified (control plane only)
  • OperatorGroup is used to scope namespace access
  • Operator is installed via OLM
  • Operator reports Succeeded installation status
  • No SCC privileges required during installation
  • Only one instance of the operator CSV per cluster
  • All CRDs have OpenAPI v3 schema
  • CRDs have valid versioning configuration
  • Operator uses semantic versioning
  • Each CRD is owned by only one operator
  • Catalog source has fewer than 1000 bundles
  • Operator pods do not enable hugepages

Certsuite Test Mapping

GuidanceCertsuite Test IDProfiles
Installed via OLMoperator-install-sourceTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Installation succeededoperator-install-status-succeededTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
No SCC privilegesoperator-install-status-no-privilegesTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
No duplicate operatorsoperator-multiple-same-operatorsTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
CRD OpenAPI schemaoperator-crd-openapi-schemaTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
CRD versioningoperator-crd-versioningTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Semantic versioningoperator-semantic-versioningTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Single CRD owneroperator-single-crd-ownerTelco/Far-Edge/Extended: mandatory, Non-Telco: optional
Catalog bundle countoperator-catalogsource-bundle-countAll profiles: optional (recommended)
OLM skip rangeoperator-olm-skip-rangeAll profiles: optional (recommended)
Namespace scopingoperator-single-or-multi-namespaced-allowed-in-tenant-namespacesAll profiles: optional (recommended)
No hugepagesoperator-pods-no-hugepagesTelco/Far-Edge/Extended: mandatory, Non-Telco: optional

References

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Operator Security؟

Enforce least-privilege RBAC and secure runtime configuration for Kubernetes Operators. Use when building, reviewing, or auditing Operator manifests, ClusterRoles, Roles, OLM bundles, or CRD definitions.

لماذا تستخدم Operator Security على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Operator Security عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Operator Security في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/RedHatProductSecurity/prodsec-skills/tree/main/module/skills/operator-security. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Operator Security؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Operator Security؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Operator Security معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Operator Security مجانية؟

نعم. نشرها RedHatProductSecurity على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇