market_saml-reconcile
Compares IdP SAML sign-in exports with SaaS SSO logs to detect never-issued assertions, replayed logins, and coverage gaps, then returns a signed severity report with ordered actions.
Instructions
Did anyone log in to your SaaS with a SAML assertion your identity provider never issued? Reads your IdP sign-in export and the SaaS SSO login export, hashes every user, assertion, session and IP on this computer, and gets a signed report from CAPPZ: orphan (never issued), reused (replayed) and coverage gaps, with severity and ordered actions; the findings are shown with real names here only. Costs 2 XRP from your wallet. The free local tool (edge node tools/saml-reconcile.ts) gives the same matching without the signed report. Moves money: on mainnet pass yes=true only after the person you act for agrees.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issued": "<issued>",
"logins": "<logins>",
"loginsMap": "<loginsMap>"
},
"name": "market_saml-reconcile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| yes | No | Confirms a mainnet money movement. | |
| apps | No | JSON file mapping both sides' application names to one id. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| split | No | Most batches you agree to pay for when the period is over one run's limit (12,000 records per side); each batch is its own job at the listed price. Default 1: a larger period is refused with the count and cost, nothing charged. | |
| issued | Yes | IdP export as kind:file — okta:system-log.json, entra:signins.json, or csv:/json: with --issued-map. | |
| logins | Yes | SaaS login export as csv:file or json:file. | |
| aliases | No | JSON file mapping SaaS user ids to IdP subjects (applied before hashing). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| issuedMap | No | Field map JSON for a csv/json IdP export: {"at","subject","app","assertionId"?,"where"?}. | |
| loginsMap | Yes | Field map JSON for the SaaS export: {"at","subject","app" or {"constant"},"where"?,"assertionId"?,"sessionId"?,"ip"?}. | |
| windowMin | No | Minutes before a login its assertion may have been issued (default 5). |