{ "name": "rules.list \u2014 the routing table in priority order", "description": "Privileged: this is the daemon's policy. The extension gets its narrowed view from capture.getRules.", "request": { "jsonrpc": "2.0", "id": 38, "method": "rules.list", "params": {} }, "response": { "jsonrpc": "2.0", "id": 38, "result": { "items": [ { "ruleId": "iso-to-programs", "name": "Disk images", "enabled": true, "priority": 10, "match": { "extensions": [ "iso", "img" ], "mimeTypes": null, "hostPattern": null, "urlPattern": null, "minSizeBytes": null, "maxSizeBytes": null }, "action": { "categoryId": "programs", "saveDir": null, "queueId": null, "segments": 8, "startMode": null, "capture": null } }, { "ruleId": "never-intranet", "name": "Never capture the intranet", "enabled": true, "priority": 20, "match": { "extensions": null, "mimeTypes": null, "hostPattern": "*.corp.internal", "urlPattern": null, "minSizeBytes": null, "maxSizeBytes": null }, "action": { "categoryId": null, "saveDir": null, "queueId": null, "segments": null, "startMode": null, "capture": "ignore" } } ] } }, "assertions": [ "items are ordered by priority ascending; first match wins", "no rule matching means the default category, never an error" ] }