Optimize identity assurance response portfolio
Choose one preauthorized identity-assurance response per aggregate account-risk case by maximizing simulated net access value minus security, false-positive, operating and CVaR costs under budget, capacity, control, availability and due-process constraints.
What it's for
Converts identity-risk exposure into a costed, capacity-aware and human-governed response frontier that explicitly prices both compromise and false-positive harm.
What you give it
Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.
| Field | Type | Role | Required |
|---|---|---|---|
| beam_width | integer ≥ 1, ≤ 100000 | Numerical control | Optional |
| exact_state_limit | integer ≥ 1, ≤ 10000000 | Your calibration | Optional |
| identity_provider_groups | array of objects (3 fields) | Evidence | Yes |
| identity_risk_cases | array of objects (11 fields) | Evidence | Yes |
| max_detail_rows | integer ≥ 1, ≤ 500 | Numerical control | Optional |
| random_seed | integer ≥ 0, ≤ 4294967295 | Your calibration | Optional |
| resource_capacities | array of objects (3 fields) ≥ 0 items | Evidence | Yes |
| response_budget | number ≥ 0 | Your calibration | Yes |
| response_options | array of objects (20 fields) | Evidence | Yes |
| risk_aversion | number ≥ 0 | Your calibration | Optional |
| scenarios | array of objects (7 fields) | Evidence | Yes |
| simulation_count | integer ≥ 1000, ≤ 200000 | Your calibration | Optional |
| tail_probability | number > 0, < 1 | Your calibration | Optional |
Each response_options
record
| Field | Type | Required |
|---|---|---|
| action_type | string (non-empty) | Yes |
| available_scenario_ids | array of string | Yes |
| case_id | string (non-empty) | Yes |
| common_compromise_detection_probability_scenarios | array of number (≥ 1 item) | Yes |
| compromise_detection_probability_scenarios | array of number (≥ 1 item) | Yes |
| dependency_option_ids | array of string | Yes |
| due_process_ready | boolean | Yes |
| evidence_verified | boolean | Yes |
| exclusion_option_ids | array of string | Yes |
| false_positive_probability_scenarios | array of number (≥ 1 item) | Yes |
| human_approval_recorded | boolean | Yes |
| id | string (non-empty) | Yes |
| implementation_cost | number (≥ 0) | Yes |
| is_current_state | boolean | Yes |
| legal_basis_verified | boolean | Yes |
| legitimate_access_retention_fraction | number (≥ 0, ≤ 1) | Yes |
| operating_cost_scenarios | array of number (≥ 1 item) | Yes |
| remediation_success_probability_scenarios | array of number (≥ 1 item) | Yes |
| resource_demands | object | Yes |
| satisfied_control_ids | array of string | Yes |
{
"identity_provider_groups": [
{
"evidence_verified": true,
"id": "idp-core",
"unique_common_loss_scenarios": [
500000,
1000000
]
}
],
"identity_risk_cases": [
{
"allowed_action_type_ids": [
"monitor",
"reverify"
],
"compromise_prior_alpha": 2,
"compromise_prior_beta": 8,
"direct_loss_scenarios": [
200000,
400000
],
"evidence_verified": true,
"id": "case-admin",
"identity_provider_group_id": "idp-core",
"legitimate_access_value_scenarios": [
300000,
250000
],
"maximum_residual_compromise_probability": 0.15,
"minimum_legitimate_access_retention_fraction": 0.8,
"required_control_ids": [
"identity-check"
]
}
],
"random_seed": 42,
"resource_capacities": [
{
"capacity": 1,
"evidence_verified": true,
"id": "assurance-hours"
} Truncated for display — the full payload is 156 lines.
What you get back
This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.
{
"assumptions": [
"Risk cases use auditable account-security evidence and calibrated priors; response detection, remediation, false-positive, access-retention, cost and resource effects are prospectively validated in the local organization.",
"Disruptive options are eligible only with recorded human approval, legal basis and due-process readiness; common provider loss is counted once and exact optimality is claimed only after complete enumeration."
],
"baseline_current_state": {
"conditional_value_at_risk": 1400010,
"expected_false_positive_disruption_loss": 0,
"expected_net_value": 158619.015,
"expected_security_loss": 126600,
"selected_option_ids": [
"monitor"
]
},
"constraints": {
"resource_capacities": {
"assurance-hours": 1
},
"response_budget": 100,
"risk_aversion": 0.25,
"tail_probability": 0.05
},
"decision": "review_governed_identity_assurance_response_portfolio",
"failed_gates": [
{
"gate": "maximum_residual_compromise_probability_exceeded",
"rejected_state_count": 1
}
],
"limitations": [
"The optimizer chooses among preauthorized account-security responses; it does not infer identity, nationality, espionage, guilt, concurrent employment or employee suitability and cannot recommend hiring, firing or punishment.",
"No output itself authorizes surveillance, investigation, external disclosure, access removal or employment action; accountable humans must review evidence, proportionality, correction rights and applicable law."
],
"method": "beta_binomial_false_positive_common_idp_cvar_response_portfolio_v1",
"portfolio_pareto_frontier": [
{
"conditional_value_at_risk": 1036928.8,
"expected_net_value": 214016.515,
"selected_option_ids": [
"reverify"
]
}
],
"reproducibility": { Truncated for display — the full payload is 82 lines.
How it works
Sequential Bayesian & bandits — Learn while deciding — update beliefs as evidence arrives and choose where the next unit of effort is worth spending.
- 1 Draw calibrated Beta-binomial compromise risk and coherent scenarios, then evaluate each case-option combination for individual and shared-provider security loss, retained legitimate access and false-positive disruption.
- 2 Reject portfolios violating allowed actions, required controls, risk ceilings, retention, scenario availability, dependencies, exclusions, budget, resources or disruptive-action governance.
- 3 Use exact Cartesian enumeration when tractable and a deterministic economic beam otherwise; report the current baseline, selected portfolio, CVaR and non-dominated value-risk frontier.
Before you trust it
Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.
Assumptions & guardrails
- The likelihood or reward model, prior support, action logging, delayed outcomes, and any stationarity assumptions match the deployment process.
- Cases are aggregate auditable account-security cases; response effects and false-positive costs are prospectively validated locally, and every option is preauthorized within applicable security, privacy, labor and access-control policy.
- Posterior probability and adaptive selection are model-conditional; they are not substitutes for randomized propensities or guaranteed safety.
- The optimizer never infers identity, nationality, espionage, guilt, concurrent employment or suitability and its output cannot itself authorize surveillance, access removal, investigation or employment action.
Minimum evidence
- identity_risk_cases: required and organization-defined
- identity_provider_groups: required and organization-defined
- response_options: required and organization-defined
- scenarios: required and organization-defined
- resource_capacities: at least 0 rows/items
- response_budget: required and organization-defined
How to validate it
Backtest the chosen action against simple feasible baselines on held-out scenarios, sweep costs/constraints/risk tolerance, and require constraint feasibility under adverse inputs.
Calibrating it to your org
Same for everyone
The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.
Specific to you
- versioned multiple-choice case-to-response matrix joined to one coherent scenario set and provider-loss group, with full resource demand, option relations, current-state marker and prospectively measured response/false-positive effects
- case and loss boundaries, allowed actions, required controls, risk/retention limits, common-loss uniqueness, response-effect evidence, budget/resources, CVaR appetite, disruptive-action policy, accountable human approval, lawful basis, due process and correction rights
Calibration workflow
- 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
- 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
- 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
- 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
- 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
- 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.
Call it from your AI
You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.
gitrevio_capabilities_search
{ "q": "choose one preauthorized identityassurance response per" }
→ finds "optimize_identity_assurance_response_portfolio"
gitrevio_capability_describe
{ "capability_id": "optimize_identity_assurance_response_portfolio" }
→ returns the input schema and agent guidance shown on this page
gitrevio_capability_run
{ "capability_id": "optimize_identity_assurance_response_portfolio", "arguments": { ... } }
→ returns the result shown above Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.
Related tools
Audit workforce identity access evidence integrity
Audit the point-in-time chain from an opaque workforce subject through authorized accounts, independent identity evidence, approved least-privilege grants and MFA/device-backed access events.
Forecast privileged identity exposure loss
Forecast aggregate privileged-identity compromise frequency and financial tail loss with separate Gamma-Poisson security states, locally pooled log-normal severity and one coherently simulated common identity-provider event.
Audit cyber control evidence integrity
Audit whether claimed defense in depth is supported by current independent control tests mapped to declared attack-path steps, while preserving duplicate mappings and counting each exposed business asset only once.
Audit data sovereignty residency evidence integrity
Audit every governed data asset's point-in-time storage, processing, replica, backup, log/cache and key locations plus cross-region transfers against an effective counsel-supplied residency policy, independent evidence, encryption controls and retention limits.
Audit software supply chain integrity
Audit the deployed runtime software supply chain from application roots through resolved dependency edges: reconcile SBOM freshness, version resolution, source pinning, artifact attestation, support horizon, license policy, vulnerability disposition, evidence coverage and unique application value without treating repository text as provenance or exploitability evidence.
Bayesian account risk triage
Prioritize human review of auditable account-security and policy-conflict evidence using Bayes factors and decision costs.