{ "uuid": "d36fca66-084d-4c76-96a6-70bf6504719f", "lastMigration": 29, "name": "Binary Authorization API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "18a819a6-82af-4f54-974b-29c25e8028c6", "documentation": "Returns whether the given Attestation for the given image URI was signed by the given Attestor", "method": "post", "endpoint": "v1beta1/:attestor:validateAttestationOccurrence", "responses": [ { "uuid": "cc4fe717-7796-4975-abb2-539d5e43fbef", "body": "{\n \"denialReason\": \"\",\n \"result\": \"{{oneOf (array 'RESULT_UNSPECIFIED' 'VERIFIED' 'ATTESTATION_NOT_VERIFIABLE')}}\"\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": "b374636e-0a35-4cce-a0f8-4723435b146b", "documentation": "Deletes an attestor. Returns NOT_FOUND if the attestor does not exist.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "82b02ba6-3bca-442a-b250-800e1b0294a5", "body": "{}", "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": "6cb77234-f5a3-46c0-8961-133107936dc6", "documentation": "Gets the current system policy in the specified location.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "7ac90269-84fb-44b9-b312-5ffb16da8455", "body": "{\n \"admissionWhitelistPatterns\": [\n {\n \"namePattern\": \"\"\n }\n ],\n \"clusterAdmissionRules\": {},\n \"defaultAdmissionRule\": {\n \"enforcementMode\": \"{{oneOf (array 'ENFORCEMENT_MODE_UNSPECIFIED' 'ENFORCED_BLOCK_AND_AUDIT_LOG' 'DRYRUN_AUDIT_LOG_ONLY')}}\",\n \"evaluationMode\": \"{{oneOf (array 'EVALUATION_MODE_UNSPECIFIED' 'ALWAYS_ALLOW' 'REQUIRE_ATTESTATION' 'ALWAYS_DENY')}}\",\n \"requireAttestationsBy\": [\n \"\"\n ]\n },\n \"description\": \"\",\n \"etag\": \"\",\n \"globalPolicyEvaluationMode\": \"{{oneOf (array 'GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED' 'ENABLE' 'DISABLE')}}\",\n \"istioServiceIdentityAdmissionRules\": {},\n \"kubernetesNamespaceAdmissionRules\": {},\n \"kubernetesServiceAccountAdmissionRules\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\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": "2838e548-e2cf-4e26-b14c-bc23fbaac6a0", "documentation": "Updates an attestor. Returns NOT_FOUND if the attestor does not exist.", "method": "put", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "91344475-bed1-4265-8533-f0f55ce84cb3", "body": "{\n \"description\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"updateTime\": \"\",\n \"userOwnedDrydockNote\": {\n \"delegationServiceAccountEmail\": \"\",\n \"noteReference\": \"\",\n \"publicKeys\": [\n {\n \"asciiArmoredPgpPublicKey\": \"\",\n \"comment\": \"\",\n \"id\": \"\",\n \"pkixPublicKey\": {\n \"publicKeyPem\": \"\",\n \"signatureAlgorithm\": \"{{oneOf (array 'SIGNATURE_ALGORITHM_UNSPECIFIED' 'RSA_PSS_2048_SHA256' 'RSA_SIGN_PSS_2048_SHA256' 'RSA_PSS_3072_SHA256' 'RSA_SIGN_PSS_3072_SHA256' 'RSA_PSS_4096_SHA256' 'RSA_SIGN_PSS_4096_SHA256' 'RSA_PSS_4096_SHA512' 'RSA_SIGN_PSS_4096_SHA512' 'RSA_SIGN_PKCS1_2048_SHA256' 'RSA_SIGN_PKCS1_3072_SHA256' 'RSA_SIGN_PKCS1_4096_SHA256' 'RSA_SIGN_PKCS1_4096_SHA512' 'ECDSA_P256_SHA256' 'EC_SIGN_P256_SHA256' 'ECDSA_P384_SHA384' 'EC_SIGN_P384_SHA384' 'ECDSA_P521_SHA512' 'EC_SIGN_P521_SHA512')}}\"\n }\n }\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": "73e6a4a3-43f0-453b-aaa6-2ebb3684574f", "documentation": "Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.", "method": "get", "endpoint": "v1beta1/:parent/attestors", "responses": [ { "uuid": "2a499bac-26fa-4458-882b-88eed8e2c77d", "body": "{\n \"attestors\": [\n {\n \"description\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"updateTime\": \"\",\n \"userOwnedDrydockNote\": {\n \"delegationServiceAccountEmail\": \"\",\n \"noteReference\": \"\",\n \"publicKeys\": [\n {\n \"asciiArmoredPgpPublicKey\": \"\",\n \"comment\": \"\",\n \"id\": \"\",\n \"pkixPublicKey\": {\n \"publicKeyPem\": \"\",\n \"signatureAlgorithm\": \"{{oneOf (array 'SIGNATURE_ALGORITHM_UNSPECIFIED' 'RSA_PSS_2048_SHA256' 'RSA_SIGN_PSS_2048_SHA256' 'RSA_PSS_3072_SHA256' 'RSA_SIGN_PSS_3072_SHA256' 'RSA_PSS_4096_SHA256' 'RSA_SIGN_PSS_4096_SHA256' 'RSA_PSS_4096_SHA512' 'RSA_SIGN_PSS_4096_SHA512' 'RSA_SIGN_PKCS1_2048_SHA256' 'RSA_SIGN_PKCS1_3072_SHA256' 'RSA_SIGN_PKCS1_4096_SHA256' 'RSA_SIGN_PKCS1_4096_SHA512' 'ECDSA_P256_SHA256' 'EC_SIGN_P256_SHA256' 'ECDSA_P384_SHA384' 'EC_SIGN_P384_SHA384' 'ECDSA_P521_SHA512' 'EC_SIGN_P521_SHA512')}}\"\n }\n }\n ]\n }\n }\n ],\n \"nextPageToken\": \"\"\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": "4b1a31a6-db1e-47cb-b182-4bfb3d36ea11", "documentation": "Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists.", "method": "post", "endpoint": "v1beta1/:parent/attestors", "responses": [ { "uuid": "b8245b44-9ef2-48dc-be88-53318ae2d01d", "body": "{\n \"description\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"updateTime\": \"\",\n \"userOwnedDrydockNote\": {\n \"delegationServiceAccountEmail\": \"\",\n \"noteReference\": \"\",\n \"publicKeys\": [\n {\n \"asciiArmoredPgpPublicKey\": \"\",\n \"comment\": \"\",\n \"id\": \"\",\n \"pkixPublicKey\": {\n \"publicKeyPem\": \"\",\n \"signatureAlgorithm\": \"{{oneOf (array 'SIGNATURE_ALGORITHM_UNSPECIFIED' 'RSA_PSS_2048_SHA256' 'RSA_SIGN_PSS_2048_SHA256' 'RSA_PSS_3072_SHA256' 'RSA_SIGN_PSS_3072_SHA256' 'RSA_PSS_4096_SHA256' 'RSA_SIGN_PSS_4096_SHA256' 'RSA_PSS_4096_SHA512' 'RSA_SIGN_PSS_4096_SHA512' 'RSA_SIGN_PKCS1_2048_SHA256' 'RSA_SIGN_PKCS1_3072_SHA256' 'RSA_SIGN_PKCS1_4096_SHA256' 'RSA_SIGN_PKCS1_4096_SHA512' 'ECDSA_P256_SHA256' 'EC_SIGN_P256_SHA256' 'ECDSA_P384_SHA384' 'EC_SIGN_P384_SHA384' 'ECDSA_P521_SHA512' 'EC_SIGN_P521_SHA512')}}\"\n }\n }\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": "404b7dce-8067-4c2f-ae23-25b65cca0cbd", "documentation": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "method": "get", "endpoint": "v1beta1/:resource:getIamPolicy", "responses": [ { "uuid": "018340d1-8ed2-4f75-8f91-028936d3d477", "body": "{\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}", "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": "adecb2ea-2222-41aa-960b-55d2797d2896", "documentation": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "method": "post", "endpoint": "v1beta1/:resource:setIamPolicy", "responses": [ { "uuid": "d3692792-395b-4254-bb57-488bc38f89fe", "body": "{\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}", "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": "31a8690d-704d-4d9e-ad28-99dcc2eaf155", "documentation": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", "method": "post", "endpoint": "v1beta1/:resource:testIamPermissions", "responses": [ { "uuid": "bcd8e0f0-877c-4c12-803a-bbb19ea87b69", "body": "{\n \"permissions\": [\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": "18a819a6-82af-4f54-974b-29c25e8028c6" }, { "type": "route", "uuid": "b374636e-0a35-4cce-a0f8-4723435b146b" }, { "type": "route", "uuid": "6cb77234-f5a3-46c0-8961-133107936dc6" }, { "type": "route", "uuid": "2838e548-e2cf-4e26-b14c-bc23fbaac6a0" }, { "type": "route", "uuid": "73e6a4a3-43f0-453b-aaa6-2ebb3684574f" }, { "type": "route", "uuid": "4b1a31a6-db1e-47cb-b182-4bfb3d36ea11" }, { "type": "route", "uuid": "404b7dce-8067-4c2f-ae23-25b65cca0cbd" }, { "type": "route", "uuid": "adecb2ea-2222-41aa-960b-55d2797d2896" }, { "type": "route", "uuid": "31a8690d-704d-4d9e-ad28-99dcc2eaf155" } ] }