access-lifecycle
Skill này làm gì
Skill này kiểm tra ai có quyền truy cập vào hệ thống của bạn so với danh sách nhân viên, và chuẩn bị bằng chứng cho các đợt kiểm toán. Nó dành cho nhân sự IT, bảo mật và tuân thủ thực hiện các đợt rà soát quyền truy cập.
Khi nào nên dùng
- ✓Khi bạn đang chuẩn bị hoặc thực hiện một đợt rà soát quyền truy cập người dùng.
- ✓Khi bạn cần xác nhận những người đã rời công ty đã mất quyền truy cập.
- ✓Khi kiểm toán viên yêu cầu bằng chứng kiểm soát truy cập cho SOC 2, ISO 27001 hoặc tiêu chuẩn tương tự.
Liên kết skill
https://github.com/alirezarezvani/claude-skills/blob/main/ra-qm-team/access-lifecycle/skills/access-lifecycle/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy so sánh danh sách nhân viên trong HR với file xuất tài khoản và cho tôi biết ai vẫn còn quyền truy cập sau khi đã nghỉ việc.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy ba kiểm tra. Nó ghép tài khoản với danh sách nhân viên, kiểm tra xem đợt rà soát đã bao phủ mọi thứ chưa, và ánh xạ các khoảng trống đến các kiểm soát và bằng chứng mà kiểm toán viên mong đợi. Skill làm việc từ các file xuất, không có kết nối trực tiếp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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)
- A leaver with an enabled account, or any login after the exit date.
- A privileged orphan account, or a privileged service account with no owner.
- An enabled account the campaign never reviewed.
- An undecided line, a self-review, or a decision with no reviewer named.
- A revoke or modify with no removal recorded past your remediation window.
Hard rules
- Periods are policy.
--inactive-daysand--remediation-dayshave 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
references/joiner_mover_leaver_standards.md— what each framework requires for provisioning, change and removal (7 sources)references/access_review_campaigns.md— population, reviewers, cadence, remediation, what auditors reject (6 sources)references/control_crosswalk.md— finding codes to controls across six frameworks, with the caveats (7 sources)assets/hr_roster.example.csv,assets/accounts.example.csv,assets/campaign.example.csv— input formatsassets/access_review_signoff.md— campaign sign-off with the evidence fields a reviewer fills in
Câu hỏi thường gặp
Skill có kết nối với hệ thống HR hoặc đăng nhập của tôi không?
Không. Bạn xuất các file CSV và các script chạy trên những file đó mà không cần kết nối mạng.
Skill bao quát những tiêu chuẩn nào?
Skill bao quát các khung như SOC 2, ISO 27001, PCI DSS, HIPAA và NIST 800-53.
Skill có đặt chính sách truy cập cho tôi không?
Không. Bạn đặt các chu kỳ và ngưỡng, và các script yêu cầu bạn nêu rõ chúng. Skill không phải là tư vấn kiểm toán.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9725
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-launcher-orchestrator
29kGiúp agent của bạn lên kế hoạch, xây dựng, kiểm thử và lên lịch một Claude managed agent trong tài khoản riêng, từng bước một, bắt đầu từ một mục tiêu rõ ràng.
grade-iterate
29kCho phép agent của bạn chấm kết quả một managed AI agent theo bảng tiêu chí và cải thiện qua số vòng cố định, nên không bao giờ lặp vô tận.
interview
29kCho phép agent của bạn phỏng vấn bạn về ý tưởng agent AI và biến câu trả lời thành một kế hoạch xây dựng đơn giản trước khi khởi chạy bất cứ điều gì.
run-without-you
29kGiúp agent của bạn thiết lập một managed AI agent chạy theo lịch hoặc khi có sự kiện xảy ra, với thời gian cron được kiểm tra trước khi khởi chạy.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.