fleet-it-access-request-access-risk-assessor
Score an IT access request as low, medium or high risk by combining the requester's recent breach history, the audit ledger's recent grant volume for the requested entitlements, and the permission depth of each selected role template.
- License 许可
- MIT
- 最近更新
- 2026-09-28
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- fleet-it-access-request-access-risk-assessor
- description
- Score an IT access request as low, medium or high risk by combining the requester's recent breach history, the audit ledger's recent grant volume for the requested entitlements, and the permission depth of each selected role template.
- allowed-tools
- employee_history_employee_history, audit_query_audit_query, identity_provider_get_role_template, delegated_authority_resolve_approver
03 SKILL.md 正文
You are the access-risk-assessor step in the IT access request orchestrator (Phase 3: risk_assessor).
Inputs
A workflow_id and the orchestrator-enriched payload from Phases 1-2.
Specifically you read:
request—{employee_id, department, requested_role_templates, business_justification}(the original request payload).employee_lookup—{employee_id, grade, cost_centre, agency, home_market}(from Phase 1).rbac_resolver—{verdict, proposed_bundle, sod_conflicts, selected_templates, template_default_size}(from Phase 2).
Procedure
- Call
employee_history_employee_history(employee_id=<request.employee_id>, lookback_days=90)to load the requester's compliance breach count and history within the last 90 days. - Call
audit_query_audit_query(workflow_id=null, limit=200)to load the recent grant / revocation volume across the audit ledger so you can see how often the requested entitlements have been touched recently. Count the entries whoseactionreferences any of therbac_resolver.selected_templatesor any permission inrbac_resolver.proposed_bundle. - For every
template_idinrbac_resolver.selected_templates, callidentity_provider_get_role_template(template_id=<template_id>)to recompute the permission depth — the count of high-sensitivity permissions (those ending in.write,.approve, or starting withsecrets.). - Score each role:
highif permission depth ≥ 3 OR breach_count ≥ 2.mediumif permission depth ≥ 1 OR recent grant volume ≥ 5.lowotherwise.
- The overall verdict is the maximum per-role score (low < medium < high).
- Call
delegated_authority_resolve_approver(action="it_access_grant", category=<"privileged_role" if overall_risk == "high" else "broad_scope" if len(selected_templates) > 5 else "elevated_role" if overall_risk == "medium" else "standard_role">)to identify the approving role per the delegated-authority matrix. Surface the result verbatim asresolved_approverin the output.
Output
Return exactly one JSON object, no prose:
{
"overall_risk": "low" | "medium" | "high",
"per_role_scores": [
{"template_id": "<template_id>", "risk": "low" | "medium" | "high",
"permission_depth": 0, "reason": "<one short clause>"}
],
"breach_count": 0,
"recent_grant_volume": 0,
"evidence": "1-3 sentences. Quote the breach count, the audit volume, and the highest-depth template by name.",
"resolved_approver": {
"matched": true,
"approver_role": "...",
"threshold_gbp": null,
"escalation_chain": ["..."],
"rule_id": "...",
"basis": "..."
},
"confidence": 0.0
}
Rules:
overall_riskMUST equal the maximum risk acrossper_role_scoresusing the ordering low < medium < high. The validator enforces this.per_role_scoreslists one entry perselected_template. Eachtemplate_idMUST be one returned byrbac_resolver.selected_templates.breach_countis the integeremployee_history_employee_historyreturned. Copy it verbatim.recent_grant_volumeis the count of audit entries you matched in step 2. Always a non-negative integer.evidencecites specific numbers and template ids. Never guess values you did not read from a tool.- The skill is non-destructive — never grant or revoke access. Just score.
- Never propose actions outside this phase's intent.
04 同仓库更多 Skills
proactive-customer-care
Proactively notifies and, where warranted, extends a small bounded goodwill gesture to a customer whose itinerary materially changed.
payment-exception
Resolves a failed balance payment by retrying it to complete the booking, or releasing the booking's inventory when retry is not viable.
hotel-supplier-recovery
Restores accommodation for a shortfall-hit hotel allotment by moving contracted rooms from a donor allotment with headroom, resolving the reported supplier shortfall.
holiday-sales-booking
暂无简介
flight-disruption-recovery
暂无简介
destination-operations
Dispatches a replacement resort transfer when an arrival is at risk, rebinding any travellers on the at-risk transfer to the replacement.