Skillpedia
الأمان29k · #9725

access-lifecycle

ما الذي تفعله

تتحقق هذه المهارة من الأشخاص الذين لديهم صلاحية الوصول إلى أنظمتك مقارنةً بقائمة موظفيك، وتعد أدلة لعمليات التدقيق. وهي مخصصة لموظفي تقنية المعلومات والأمن والامتثال الذين يجرون مراجعات الصلاحيات.

متى تستخدمها

  • ✓عندما تُعد أو تُجري مراجعة لصلاحيات المستخدمين.
  • ✓عندما تحتاج إلى التأكد أن من غادروا الشركة فقدوا صلاحية وصولهم.
  • ✓عندما يطلب المدقق أدلة على ضوابط الوصول وفق SOC 2 أو ISO 27001 أو معيار مشابه.

رابط المهارة

https://github.com/alirezarezvani/claude-skills/blob/main/ra-qm-team/access-lifecycle/skills/access-lifecycle/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/alirezarezvani/claude-skills/blob/main/ra-qm-team/access-lifecycle/skills/access-lifecycle/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“قارن قائمة موظفي الموارد البشرية لدينا مع تصدير الحسابات، وأخبرني من ما زال لديه صلاحية وصول بعد مغادرته.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يجري الوكيل ثلاثة فحوص: يطابق الحسابات مع قائمة الموظفين، ويتحقق من أن المراجعة شملت كل شيء، ويربط أي ثغرات بالضوابط والأدلة التي يطلبها المدققون. ويعمل من ملفات مُصدَّرة دون اتصال مباشر.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Access Lifecycle

Portability: 3 stdlib scripts, no network, no IdP or HR connection. Export CSV, run, keep the output as evidence. Not audit advice. Periods and thresholds are your policy; the scripts make you state them.

Access reviews fail audits in four ordinary ways: the review ran on an incomplete export, someone approved their own access, a revoke was decided and never carried out, and leavers kept working accounts nobody looked at. Each script catches one class of these before the auditor does.

Workflow

# 1 - Diff: who has access that the HR roster says they should not?
python scripts/access_diff.py --roster hr_roster.csv --accounts accounts.csv \
  --inactive-days 90 --privileged-review-days 90 --as-of 2026-10-31
# 2 - Campaign: did the review cover everything, and did the revokes happen?
python scripts/access_review_campaign.py --decisions campaign.csv --population accounts.csv \
  --remediation-days 10 --close-date 2026-10-20
# 3 - Map: which controls do the exceptions break, and what evidence do you keep?
python scripts/control_evidence_mapper.py --diff diff.json --campaign campaign.json --framework soc2,iso27001

Step 1 joins each account to the roster on employee ID, then email. A terminated person with an enabled account is a blocker; one who logged in after their exit date is a worse one. Accounts that match nobody are orphans; service accounts need a named owner. Inactivity and privileged-review age use your periods.

Step 2 checks the campaign against the export it was built from. An enabled account missing from the campaign means the review did not cover the population, whatever the sign-off sheet says. It also catches undecided lines, self-review, revokes not removed inside your window, late decisions, and a reviewer who kept every line of a large batch at machine speed.

Step 3 turns findings into a per-control table: FAIL, EXCEPTIONS, NO_EXCEPTIONS, PARTLY_TESTED, NOT_TESTED or NOT_COVERED, each with what an auditor tests and the evidence to keep. There is no PASS.

The gates block on (exit 4)

  1. A leaver with an enabled account, or any login after the exit date.
  2. A privileged orphan account, or a privileged service account with no owner.
  3. An enabled account the campaign never reviewed.
  4. An undecided line, a self-review, or a decision with no reviewer named.
  5. A revoke or modify with no removal recorded past your remediation window.

Hard rules

  • Periods are policy. --inactive-days and --remediation-days have no default. PCI DSS 8.2.6 says 90 days; your policy may differ.
  • Prove removals by re-export. A closed ticket is not evidence the access is gone.
  • The export is evidence too. Keep the query, the pull time and the row count (PCAOB AS 1105.10).
  • A rubber-stamp flag is a signal, not proof. Ask the reviewer what they checked; do not call it fraud.
  • No PASS from a script. Operating effectiveness is the auditor's conclusion.

Scripts

Script Role Exit codes
scripts/access_diff.py Roster vs account export: leavers, orphans, ownerless service accounts, movers, privileged review age, inactivity 0 clean · 2 findings · 3 bad input · 4 blocked
scripts/access_review_campaign.py Population coverage, undecided, self-review, unremoved revokes, late decisions, rubber-stamp signal 0 · 2 · 3 · 4 incomplete
scripts/control_evidence_mapper.py Findings → per-control status for ISO 27001, SOC 2, NIST 800-53, PCI DSS, HIPAA, SOX IPE 0 · 2 exceptions · 3 · 4 fail

All support --help, --sample and --output json.

References and assets

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

هل تتصل بنظام الموارد البشرية أو تسجيل الدخول لدي؟

لا. تصدّر ملفات CSV، وتعمل السكربتات عليها دون اتصال بالشبكة.

ما المعايير التي تغطيها؟

تغطي أطرًا مثل SOC 2 وISO 27001 وPCI DSS وHIPAA وNIST 800-53.

هل تضع سياسة الوصول لدي؟

لا. أنت تحدد الفترات والعتبات، وتطلب منك السكربتات أن تذكرها. والمهارة ليست نصيحة تدقيق.

التفاصيل

الوصف الأصلي من المؤلف

Use when preparing or running a user access review, checking that leavers lost their access, finding orphaned or ownerless service accounts, answering an auditor's access-control request for SOC 2, ISO 27001, PCI DSS, HIPAA or NIST 800-53, or checking whether a finished review campaign will hold up. Diffs the HR roster against account exports, tests the campaign for coverage, self-review, unremoved revokes and rubber-stamping, and maps every exception to the controls it breaks.

repo: alirezarezvani/claude-skills

الشعبية

نجوم GitHub
29k
الترتيب
#9725
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة