{ "uuid": "aa0ba2b9-8378-4227-a23c-cadd062fdca0", "lastMigration": 29, "name": "Policy Simulator API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "0d484d0d-5cd8-4125-abec-25d2a171f0c8", "documentation": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", "method": "get", "endpoint": "v1beta1/operations", "responses": [ { "uuid": "9e588106-cb0a-4f51-be43-39a9949255f1", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "59db9a6f-b69a-463e-8d21-58f8c87cbfb7", "documentation": "Gets the specified Replay. Each `Replay` is available for at least 7 days.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "dd58f485-05b2-44ee-800e-1135358ed594", "body": "{\n \"config\": {\n \"logSource\": \"{{oneOf (array 'LOG_SOURCE_UNSPECIFIED' 'RECENT_ACCESSES')}}\",\n \"policyOverlay\": {}\n },\n \"name\": \"\",\n \"resultsSummary\": {\n \"differenceCount\": {{faker 'number.int' max=99999}},\n \"errorCount\": {{faker 'number.int' max=99999}},\n \"logCount\": {{faker 'number.int' max=99999}},\n \"newestDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"oldestDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"unchangedCount\": {{faker 'number.int' max=99999}}\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'PENDING' 'RUNNING' 'SUCCEEDED' 'FAILED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dde1ee61-2c1b-466a-b5d3-023e8f2f7d7f", "documentation": "Creates and starts a Replay using the given ReplayConfig.", "method": "post", "endpoint": "v1beta1/:parent/replays", "responses": [ { "uuid": "18e4a97a-bd19-4520-a2de-e4235b096f72", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c326ca5d-26c6-42f1-94a7-e4635edaae16", "documentation": "Lists the results of running a Replay.", "method": "get", "endpoint": "v1beta1/:parent/results", "responses": [ { "uuid": "536fde4b-c224-458e-9865-6e766c35a774", "body": "{\n \"nextPageToken\": \"\",\n \"replayResults\": [\n {\n \"accessTuple\": {\n \"fullResourceName\": \"\",\n \"permission\": \"\",\n \"principal\": \"\"\n },\n \"diff\": {\n \"accessDiff\": {\n \"accessChange\": \"{{oneOf (array 'ACCESS_CHANGE_TYPE_UNSPECIFIED' 'NO_CHANGE' 'UNKNOWN_CHANGE' 'ACCESS_REVOKED' 'ACCESS_GAINED' 'ACCESS_MAYBE_REVOKED' 'ACCESS_MAYBE_GAINED')}}\",\n \"baseline\": {\n \"accessState\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"errors\": [\n {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n ],\n \"policies\": [\n {\n \"access\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"bindingExplanations\": [\n {\n \"access\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"memberships\": {},\n \"relevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\",\n \"role\": \"\",\n \"rolePermission\": \"{{oneOf (array 'ROLE_PERMISSION_UNSPECIFIED' 'ROLE_PERMISSION_INCLUDED' 'ROLE_PERMISSION_NOT_INCLUDED' 'ROLE_PERMISSION_UNKNOWN_INFO_DENIED')}}\",\n \"rolePermissionRelevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\"\n }\n ],\n \"fullResourceName\": \"\",\n \"policy\": {\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n },\n \"relevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\"\n }\n ]\n },\n \"simulated\": {\n \"accessState\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"errors\": [\n {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n ],\n \"policies\": [\n {\n \"access\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"bindingExplanations\": [\n {\n \"access\": \"{{oneOf (array 'ACCESS_STATE_UNSPECIFIED' 'GRANTED' 'NOT_GRANTED' 'UNKNOWN_CONDITIONAL' 'UNKNOWN_INFO_DENIED')}}\",\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"memberships\": {},\n \"relevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\",\n \"role\": \"\",\n \"rolePermission\": \"{{oneOf (array 'ROLE_PERMISSION_UNSPECIFIED' 'ROLE_PERMISSION_INCLUDED' 'ROLE_PERMISSION_NOT_INCLUDED' 'ROLE_PERMISSION_UNKNOWN_INFO_DENIED')}}\",\n \"rolePermissionRelevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\"\n }\n ],\n \"fullResourceName\": \"\",\n \"policy\": {\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n },\n \"relevance\": \"{{oneOf (array 'HEURISTIC_RELEVANCE_UNSPECIFIED' 'NORMAL' 'HIGH')}}\"\n }\n ]\n }\n }\n },\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"lastSeenDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"\",\n \"parent\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "0d484d0d-5cd8-4125-abec-25d2a171f0c8" }, { "type": "route", "uuid": "59db9a6f-b69a-463e-8d21-58f8c87cbfb7" }, { "type": "route", "uuid": "dde1ee61-2c1b-466a-b5d3-023e8f2f7d7f" }, { "type": "route", "uuid": "c326ca5d-26c6-42f1-94a7-e4635edaae16" } ] }