From f00b2f2ca486fb5ab99267801154b812147366f1 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Wed, 19 Apr 2023 16:45:13 -0300 Subject: [PATCH 1/8] INT-7797: refactor Private CA service --- docs/jupiterone.md | 2 + src/getStepStartStates.ts | 40 +- src/index.test.ts | 23 +- .../recording.har | 1946 ----------------- .../__snapshots__/converters.test.ts.snap | 10 +- .../__snapshots__/index.test.ts.snap | 1210 ---------- src/steps/privateca/client.ts | 68 +- src/steps/privateca/constants.ts | 80 +- src/steps/privateca/converters.test.ts | 33 - src/steps/privateca/converters.ts | 182 +- src/steps/privateca/index.test.ts | 384 ---- src/steps/privateca/index.ts | 242 +- .../recording.har | 1833 +++++++++++++--- .../recording.har | 1563 +++++++++++++ .../recording.har | 968 ++++++++ .../recording.har | 355 ++- .../recording.har | 1327 +++++++++++ .../recording.har | 255 +++ ...lCertificateAuthorityRelationships.test.ts | 47 + ...CAPoolCertificateAuthorityRelationships.ts | 74 + ...ficateAuthorityBucketRelationships.test.ts | 48 + ...CertificateAuthorityBucketRelationships.ts | 78 + ...eAuthorityCertificateRelationships.test.ts | 50 + ...ficateAuthorityCertificateRelationships.ts | 80 + .../steps/fetchAuthorityCertificates.test.ts | 40 + .../steps/fetchAuthorityCertificates.ts | 57 + .../privateca/steps/fetchCaPools.test.ts | 40 + src/steps/privateca/steps/fetchCaPools.ts | 41 + .../steps/fetchCertificateAuthorities.test.ts | 40 + .../steps/fetchCertificateAuthorities.ts | 91 + .../iamBindings/resourceKindToTypeMap.ts | 4 +- .../iamBindings/typeToKeyGeneratorMap.ts | 4 +- test/mocks.ts | 71 - test/recording.ts | 9 +- 34 files changed, 6843 insertions(+), 4452 deletions(-) delete mode 100644 src/steps/privateca/__recordings__/fetchCertificateAuthorities_4032991643/recording.har delete mode 100644 src/steps/privateca/__snapshots__/index.test.ts.snap delete mode 100644 src/steps/privateca/converters.test.ts delete mode 100644 src/steps/privateca/index.test.ts rename src/steps/privateca/{__recordings__/buildCertificateAuthorityBucketRelationships_1185689588 => steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049}/recording.har (51%) create mode 100644 src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har create mode 100644 src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har rename src/steps/privateca/{__recordings__/fetchAuthorityCertificates_2784150724 => steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126}/recording.har (54%) create mode 100644 src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har create mode 100644 src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har create mode 100644 src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts create mode 100644 src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts create mode 100644 src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts create mode 100644 src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts create mode 100644 src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts create mode 100644 src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts create mode 100644 src/steps/privateca/steps/fetchAuthorityCertificates.test.ts create mode 100644 src/steps/privateca/steps/fetchAuthorityCertificates.ts create mode 100644 src/steps/privateca/steps/fetchCaPools.test.ts create mode 100644 src/steps/privateca/steps/fetchCaPools.ts create mode 100644 src/steps/privateca/steps/fetchCertificateAuthorities.test.ts create mode 100644 src/steps/privateca/steps/fetchCertificateAuthorities.ts diff --git a/docs/jupiterone.md b/docs/jupiterone.md index fd2320fa..36c0b1d7 100644 --- a/docs/jupiterone.md +++ b/docs/jupiterone.md @@ -422,6 +422,7 @@ The following entities are created: | Organization | `google_cloud_organization` | `Organization` | | Private CA Certificate | `google_privateca_certificate` | `Certificate` | | Private CA Certificate Authority | `google_privateca_certificate_authority` | `Service` | +| Private CA Pool | `google_privateca_pool` | `Group` | | Project | `google_cloud_project` | `Account` | | PubSub Subscription | `google_pubsub_subscription` | `Service` | | PubSub Topic | `google_pubsub_topic` | `Channel` | @@ -560,6 +561,7 @@ The following relationships are created: | `google_cloud_organization` | **HAS** | `google_cloud_project` | | `google_privateca_certificate_authority` | **CREATED** | `google_privateca_certificate` | | `google_privateca_certificate_authority` | **USES** | `google_storage_bucket` | +| `google_privateca_pool` | **HAS** | `google_privateca_certificate_authority` | | `google_pubsub_subscription` | **USES** | `google_pubsub_topic` | | `google_pubsub_topic` | **USES** | `google_kms_crypto_key` | | `google_redis_instance` | **USES** | `google_compute_network` | diff --git a/src/getStepStartStates.ts b/src/getStepStartStates.ts index f0477262..d2a2ed37 100644 --- a/src/getStepStartStates.ts +++ b/src/getStepStartStates.ts @@ -158,11 +158,7 @@ import { import { monitoringSteps } from './steps/monitoring'; import { STEP_MONITORING_ALERT_POLICIES } from './steps/monitoring/constants'; import { privateCaSteps } from './steps/privateca'; -import { - STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS, - STEP_PRIVATE_CA_CERTIFICATES, - STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES, -} from './steps/privateca/constants'; +import { PrivatecaSteps } from './steps/privateca/constants'; import { pubSubSteps } from './steps/pub-sub'; import { STEP_CREATE_PUBSUB_TOPIC_KMS_RELATIONSHIPS, @@ -413,11 +409,24 @@ function getDefaultStepStartStates(params: { [STEP_API_GATEWAY_APIS]: { disabled: false }, [STEP_API_GATEWAY_API_CONFIGS]: { disabled: false }, [STEP_API_GATEWAY_GATEWAYS]: { disabled: false }, - [STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES]: { disabled: false }, - [STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS]: { + [PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id]: { disabled: false }, + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: { + disabled: false, + }, + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: { + disabled: false, + }, + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id]: { disabled: false, }, - [STEP_PRIVATE_CA_CERTIFICATES]: { disabled: false }, + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id]: { + disabled: false, + }, + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: { disabled: false }, [STEP_DATAPROC_CLUSTERS]: { disabled: false }, [STEP_DATAPROC_CLUSTER_KMS_RELATIONSHIPS]: { disabled: false }, [STEP_CREATE_CLUSTER_STORAGE_RELATIONSHIPS]: { disabled: false }, @@ -806,12 +815,21 @@ async function getStepStartStatesUsingServiceEnablements(params: { [STEP_API_GATEWAY_GATEWAYS]: createStepStartState( ServiceUsageName.API_GATEWAY, ), - [STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES]: createStepStartState( + [PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id]: createStepStartState( ServiceUsageName.PRIVATE_CA, ), - [STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS]: + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: + createStepStartState(ServiceUsageName.PRIVATE_CA), + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: + createStepStartState(ServiceUsageName.PRIVATE_CA), + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id]: createStepStartState(ServiceUsageName.PRIVATE_CA), - [STEP_PRIVATE_CA_CERTIFICATES]: createStepStartState( + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id]: createStepStartState(ServiceUsageName.PRIVATE_CA), + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: createStepStartState( ServiceUsageName.PRIVATE_CA, ), [STEP_DATAPROC_CLUSTERS]: createStepStartState( diff --git a/src/index.test.ts b/src/index.test.ts index d32c06d0..af9caf4e 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -134,11 +134,7 @@ import { STEP_MEMCACHE_INSTANCES, } from './steps/memcache/constants'; import { STEP_MONITORING_ALERT_POLICIES } from './steps/monitoring/constants'; -import { - STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS, - STEP_PRIVATE_CA_CERTIFICATES, - STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES, -} from './steps/privateca/constants'; +import { PrivatecaSteps } from './steps/privateca/constants'; import { STEP_CREATE_PUBSUB_TOPIC_KMS_RELATIONSHIPS, STEP_PUBSUB_SUBSCRIPTIONS, @@ -477,15 +473,26 @@ describe('#getStepStartStates success', () => { [STEP_API_GATEWAY_GATEWAYS]: { disabled: false, }, - [STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES]: { + [PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id]: { disabled: false }, + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: { disabled: false, }, - [STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS]: { + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: + { + disabled: false, + }, + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS + .id]: { disabled: false, }, - [STEP_PRIVATE_CA_CERTIFICATES]: { + [PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id]: { disabled: false, }, + [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: { disabled: false }, [STEP_IAM_BINDINGS]: { disabled: false, }, diff --git a/src/steps/privateca/__recordings__/fetchCertificateAuthorities_4032991643/recording.har b/src/steps/privateca/__recordings__/fetchCertificateAuthorities_4032991643/recording.har deleted file mode 100644 index 92ddadf7..00000000 --- a/src/steps/privateca/__recordings__/fetchCertificateAuthorities_4032991643/recording.har +++ /dev/null @@ -1,1946 +0,0 @@ -{ - "log": { - "_recordingName": "fetchCertificateAuthorities", - "creator": { - "comment": "persister:JupiterOneIntegationFSPersister", - "name": "Polly.JS", - "version": "5.1.1" - }, - "entries": [ - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 739, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "739" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 584, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 584, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:25 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 506, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:25.562Z", - "time": 144, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 144 - } - }, - { - "_id": "7109c375aded16ca2d1083cd0aa7d706", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "orgpolicy.googleapis.com" - } - ], - "headersSize": 1402, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://orgpolicy.googleapis.com/v2/projects/j1-gc-integration-dev-v3/policies/storage.publicAccessPrevention:getEffectivePolicy" - }, - "response": { - "bodySize": 301, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 301, - "text": "{\"name\":\"projects/167984947943/policies/storage.publicAccessPrevention\",\"spec\":{\"rules\":[{\"enforce\":false}]}}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 483, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:25.727Z", - "time": 1452, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1452 - } - }, - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 1, - "cache": {}, - "request": { - "bodySize": 739, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "739" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 629, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 629, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 506, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:27.196Z", - "time": 108, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 108 - } - }, - { - "_id": "7acf0c9bb840f15466eeca7e82f34b42", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1348, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [ - { - "name": "project", - "value": "j1-gc-integration-dev-v3" - } - ], - "url": "https://storage.googleapis.com/storage/v1/b?project=j1-gc-integration-dev-v3" - }, - "response": { - "bodySize": 8859, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 8859, - "text": "{\n \"kind\": \"storage#buckets\",\n \"items\": [\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"id\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"name\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:31.280Z\",\n \"updated\": \"2021-07-20T12:47:31.280Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"id\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"name\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"7\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAc=\",\n \"timeCreated\": \"2021-07-20T12:47:10.911Z\",\n \"updated\": \"2021-09-08T17:19:48.039Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"id\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"name\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:31.407Z\",\n \"updated\": \"2021-07-20T12:47:31.407Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"id\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"name\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:10.793Z\",\n \"updated\": \"2021-07-20T12:47:10.793Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/gcf-sources-167984947943-us-central1\",\n \"id\": \"gcf-sources-167984947943-us-central1\",\n \"name\": \"gcf-sources-167984947943-us-central1\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:26:23.272Z\",\n \"updated\": \"2021-05-31T16:26:23.272Z\",\n \"cors\": [\n {\n \"origin\": [\n \"https://*.cloud.google.com\",\n \"https://*.corp.google.com\",\n \"https://*.corp.google.com:*\"\n ],\n \"method\": [\n \"GET\"\n ]\n }\n ],\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:25:51.614Z\",\n \"updated\": \"2021-05-31T16:25:51.614Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"id\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"name\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"12\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAw=\",\n \"defaultEventBasedHold\": false,\n \"timeCreated\": \"2021-09-13T22:56:02.534Z\",\n \"updated\": \"2021-10-27T18:29:52.571Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"satisfiesPZS\": false,\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-test-tf-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-07-22T13:15:31.543Z\",\n \"updated\": \"2022-02-07T12:41:33.448Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions\",\n \"id\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"name\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"5\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAU=\",\n \"timeCreated\": \"2021-05-31T16:25:44.251Z\",\n \"updated\": \"2021-09-13T17:25:24.390Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:35:42.461Z\",\n \"updated\": \"2021-05-31T16:35:42.461Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "content-length", - "value": "8859" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 567, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:27.316Z", - "time": 423, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 423 - } - }, - { - "_id": "752af354bf22611a0b56f66a85fd7c09", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1372, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7/iam" - }, - "response": { - "bodySize": 502, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 502, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:27 GMT" - }, - { - "name": "content-length", - "value": "502" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:27.744Z", - "time": 197, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 197 - } - }, - { - "_id": "e6207f653440e7c1aac11b385e419f4a", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1370, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7/iam" - }, - "response": { - "bodySize": 620, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 620, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"version\": 1,\n \"etag\": \"CAc=\",\n \"bindings\": [\n {\n \"role\": \"roles/composer.environmentAndStorageObjectViewer\",\n \"members\": [\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"allUsers\",\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAc=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "content-length", - "value": "620" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:28.016Z", - "time": 273, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 273 - } - }, - { - "_id": "f1146ec93342aa07ef810b7f0f492852", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1369, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0/iam" - }, - "response": { - "bodySize": 499, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 499, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "content-length", - "value": "499" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:28.299Z", - "time": 243, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 243 - } - }, - { - "_id": "d32b5df4e7bf4dd8f9f2b3cc465fd7b7", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1367, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo/iam" - }, - "response": { - "bodySize": 497, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 497, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:28 GMT" - }, - { - "name": "content-length", - "value": "497" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:28.548Z", - "time": 331, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 331 - } - }, - { - "_id": "6527f0bc704c7473ac6eb93da2ee38b3", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1356, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/gcf-sources-167984947943-us-central1/iam" - }, - "response": { - "bodySize": 812, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 812, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/gcf-sources-167984947943-us-central1\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "content-length", - "value": "812" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:28.886Z", - "time": 295, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 295 - } - }, - { - "_id": "e0f9ddbf50e9e5dbc87e9ec94af04262", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1364, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-sink-logging-bucket/iam" - }, - "response": { - "bodySize": 494, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 494, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "content-length", - "value": "494" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:29.188Z", - "time": 354, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 354 - } - }, - { - "_id": "b424fd4818c26854f527b565fe455137", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1363, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff/iam" - }, - "response": { - "bodySize": 669, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 669, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"version\": 1,\n \"etag\": \"CAw=\",\n \"bindings\": [\n {\n \"role\": \"organizations/958457776463/roles/NothingToSeeHere\",\n \"members\": [\n \"allUsers\",\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAw=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:29 GMT" - }, - { - "name": "content-length", - "value": "669" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:29.548Z", - "time": 283, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 283 - } - }, - { - "_id": "8d85e19b8f96dbb23b04b36ce15313f2", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1359, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-test-tf-bucket/iam" - }, - "response": { - "bodySize": 489, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 489, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-test-tf-bucket\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAI=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "content-length", - "value": "489" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:29.838Z", - "time": 298, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 298 - } - }, - { - "_id": "dfe939f74ed54a9d42ab204fbeb724ed", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1358, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions/iam" - }, - "response": { - "bodySize": 488, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 488, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3cloudfunctions\",\n \"version\": 1,\n \"etag\": \"CAU=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAU=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "content-length", - "value": "488" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:30.144Z", - "time": 262, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 262 - } - }, - { - "_id": "e6a47336fda03771ef2a23c1c54f6521", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "storage.googleapis.com" - } - ], - "headersSize": 1369, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com/iam" - }, - "response": { - "bodySize": 499, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 499, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" - }, - "cookies": [], - "headers": [ - { - "name": "x-guploader-uploadid", - "value": "[REDACTED]" - }, - { - "name": "etag", - "value": "CAE=" - }, - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "vary", - "value": "Origin, X-Origin" - }, - { - "name": "cache-control", - "value": "private, max-age=0, must-revalidate, no-transform" - }, - { - "name": "expires", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "content-length", - "value": "499" - }, - { - "name": "server", - "value": "UploadServer" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 578, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:30.417Z", - "time": 318, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 318 - } - }, - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 2, - "cache": {}, - "request": { - "bodySize": 739, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "739" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 630, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 630, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:30 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 506, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:30.745Z", - "time": 119, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 119 - } - }, - { - "_id": "3d9ed69941e0a8bbb740f8f44dc81de2", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1383, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v3/locations/-/certificateAuthorities" - }, - "response": { - "bodySize": 50, - "content": { - "mimeType": "application/json; charset=UTF-8", - "size": 50, - "text": "{}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Mon, 28 Feb 2022 18:28:31 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 483, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2022-02-28T18:28:30.874Z", - "time": 1075, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1075 - } - } - ], - "pages": [], - "version": "1.2" - } -} diff --git a/src/steps/privateca/__snapshots__/converters.test.ts.snap b/src/steps/privateca/__snapshots__/converters.test.ts.snap index 7a997329..2d011f01 100644 --- a/src/steps/privateca/__snapshots__/converters.test.ts.snap +++ b/src/steps/privateca/__snapshots__/converters.test.ts.snap @@ -81,7 +81,7 @@ Object { "security", ], "createdOn": 1617893047215, - "crlAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/crl.crl", + "crlAccessUrl": undefined, "deletedOn": undefined, "displayName": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", "extendedKeyUsage.clientAuth": undefined, @@ -107,7 +107,7 @@ Object { "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", "public": false, "state": "ENABLED", - "subject": "acmeName", + "subject": undefined, "subject.countryCode": undefined, "subject.locality": undefined, "subject.organization": "Acme", @@ -219,21 +219,21 @@ Object { "extendedKeyUsage.timeStamping": undefined, "hexSerial": "ec41a22274884f34272ea3dabe37a42daffe41", "issuer": "Test-CA-Name", + "issuerCertificateAuthority": undefined, "keyAlgorithm": "RSA_PKCS1_2048_SHA256", "keyUsage.certSign": undefined, "keyUsage.contentCommitment": undefined, "keyUsage.crlSign": undefined, "keyUsage.dataEncipherment": undefined, "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": true, + "keyUsage.digitalSignature": undefined, "keyUsage.encipherOnly": undefined, "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": true, + "keyUsage.keyEncipherment": undefined, "lifetime": "2592000s", "name": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", "notAfterTime": 1619896668000, "notBeforeTime": 1617304668000, - "publicKeyType": undefined, "subject": undefined, "subject.countryCode": undefined, "subject.locality": undefined, diff --git a/src/steps/privateca/__snapshots__/index.test.ts.snap b/src/steps/privateca/__snapshots__/index.test.ts.snap deleted file mode 100644 index c2732fe9..00000000 --- a/src/steps/privateca/__snapshots__/index.test.ts.snap +++ /dev/null @@ -1,1210 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`#buildCertificateAuthorityBucketRelationships should collect data 1`] = ` -Object { - "collectedEntities": Array [ - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:dataproc-staging-europe-north1-167984947943-oqqo30p7", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "dataproc-staging-europe-north1-167984947943-oqqo30p7", - "kind": "storage#bucket", - "location": "EUROPE-NORTH1", - "locationType": "region", - "metageneration": "1", - "name": "dataproc-staging-europe-north1-167984947943-oqqo30p7", - "projectNumber": "167984947943", - "selfLink": "https://www.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7", - "storageClass": "STANDARD", - "timeCreated": "2021-07-20T12:47:31.280Z", - "updated": "2021-07-20T12:47:31.280Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1626785251280, - "displayName": "dataproc-staging-europe-north1-167984947943-oqqo30p7", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "dataproc-staging-europe-north1-167984947943-oqqo30p7", - "kmsKeyName": undefined, - "location": "EUROPE-NORTH1", - "name": "dataproc-staging-europe-north1-167984947943-oqqo30p7", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1626785251280, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/dataproc-staging-europe-north1-167984947943-oqqo30p7;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:dataproc-staging-us-central1-167984947943-okmnuod7", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAc=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "dataproc-staging-us-central1-167984947943-okmnuod7", - "kind": "storage#bucket", - "location": "US-CENTRAL1", - "locationType": "region", - "metageneration": "7", - "name": "dataproc-staging-us-central1-167984947943-okmnuod7", - "projectNumber": "167984947943", - "selfLink": "https://www.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7", - "storageClass": "STANDARD", - "timeCreated": "2021-07-20T12:47:10.911Z", - "updated": "2021-09-08T17:19:48.039Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1626785230911, - "displayName": "dataproc-staging-us-central1-167984947943-okmnuod7", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAc=", - "id": "dataproc-staging-us-central1-167984947943-okmnuod7", - "kmsKeyName": undefined, - "location": "US-CENTRAL1", - "name": "dataproc-staging-us-central1-167984947943-okmnuod7", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1631121588039, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/dataproc-staging-us-central1-167984947943-okmnuod7;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:dataproc-temp-europe-north1-167984947943-0quq0oz0", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "dataproc-temp-europe-north1-167984947943-0quq0oz0", - "kind": "storage#bucket", - "lifecycle": Object { - "rule": Array [ - Object { - "action": Object { - "type": "Delete", - }, - "condition": Object { - "age": 90, - }, - }, - ], - }, - "location": "EUROPE-NORTH1", - "locationType": "region", - "metageneration": "1", - "name": "dataproc-temp-europe-north1-167984947943-0quq0oz0", - "projectNumber": "167984947943", - "selfLink": "https://www.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0", - "storageClass": "STANDARD", - "timeCreated": "2021-07-20T12:47:31.407Z", - "updated": "2021-07-20T12:47:31.407Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1626785251407, - "displayName": "dataproc-temp-europe-north1-167984947943-0quq0oz0", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "dataproc-temp-europe-north1-167984947943-0quq0oz0", - "kmsKeyName": undefined, - "location": "EUROPE-NORTH1", - "name": "dataproc-temp-europe-north1-167984947943-0quq0oz0", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1626785251407, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/dataproc-temp-europe-north1-167984947943-0quq0oz0;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:dataproc-temp-us-central1-167984947943-c8nlqeyo", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "dataproc-temp-us-central1-167984947943-c8nlqeyo", - "kind": "storage#bucket", - "lifecycle": Object { - "rule": Array [ - Object { - "action": Object { - "type": "Delete", - }, - "condition": Object { - "age": 90, - }, - }, - ], - }, - "location": "US-CENTRAL1", - "locationType": "region", - "metageneration": "1", - "name": "dataproc-temp-us-central1-167984947943-c8nlqeyo", - "projectNumber": "167984947943", - "selfLink": "https://www.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo", - "storageClass": "STANDARD", - "timeCreated": "2021-07-20T12:47:10.793Z", - "updated": "2021-07-20T12:47:10.793Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1626785230793, - "displayName": "dataproc-temp-us-central1-167984947943-c8nlqeyo", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "dataproc-temp-us-central1-167984947943-c8nlqeyo", - "kmsKeyName": undefined, - "location": "US-CENTRAL1", - "name": "dataproc-temp-us-central1-167984947943-c8nlqeyo", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1626785230793, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/dataproc-temp-us-central1-167984947943-c8nlqeyo;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:example-backend-bucket-1", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "defaultEventBasedHold": false, - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": true, - "lockedTime": "2022-06-14T11:31:39.964Z", - }, - "publicAccessPrevention": "enforced", - "uniformBucketLevelAccess": Object { - "enabled": true, - "lockedTime": "2022-06-14T11:31:39.964Z", - }, - }, - "id": "example-backend-bucket-1", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "1", - "name": "example-backend-bucket-1", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "satisfiesPZS": false, - "selfLink": "https://www.googleapis.com/storage/v1/b/example-backend-bucket-1", - "storageClass": "STANDARD", - "timeCreated": "2022-03-16T11:31:39.964Z", - "updated": "2022-03-16T11:31:39.964Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1647430299964, - "displayName": "example-backend-bucket-1", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "example-backend-bucket-1", - "kmsKeyName": undefined, - "location": "US", - "name": "example-backend-bucket-1", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": true, - "updatedOn": 1647430299964, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/example-backend-bucket-1;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:gcf-sources-167984947943-us-central1", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "cors": Array [ - Object { - "method": Array [ - "GET", - ], - "origin": Array [ - "https://*.cloud.google.com", - "https://*.corp.google.com", - "https://*.corp.google.com:*", - ], - }, - ], - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": true, - "lockedTime": "2021-08-29T16:26:23.272Z", - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": true, - "lockedTime": "2021-08-29T16:26:23.272Z", - }, - }, - "id": "gcf-sources-167984947943-us-central1", - "kind": "storage#bucket", - "location": "US-CENTRAL1", - "locationType": "region", - "metageneration": "1", - "name": "gcf-sources-167984947943-us-central1", - "projectNumber": "167984947943", - "selfLink": "https://www.googleapis.com/storage/v1/b/gcf-sources-167984947943-us-central1", - "storageClass": "STANDARD", - "timeCreated": "2021-05-31T16:26:23.272Z", - "updated": "2021-05-31T16:26:23.272Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1622478383272, - "displayName": "gcf-sources-167984947943-us-central1", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "gcf-sources-167984947943-us-central1", - "kmsKeyName": undefined, - "location": "US-CENTRAL1", - "name": "gcf-sources-167984947943-us-central1", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": true, - "updatedOn": 1622478383272, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/gcf-sources-167984947943-us-central1;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:j1-gc-integration-dev-v3-sink-logging-bucket", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "j1-gc-integration-dev-v3-sink-logging-bucket", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "1", - "name": "j1-gc-integration-dev-v3-sink-logging-bucket", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-sink-logging-bucket", - "storageClass": "STANDARD", - "timeCreated": "2021-05-31T16:25:51.614Z", - "updated": "2021-05-31T16:25:51.614Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1622478351614, - "displayName": "j1-gc-integration-dev-v3-sink-logging-bucket", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "j1-gc-integration-dev-v3-sink-logging-bucket", - "kmsKeyName": undefined, - "location": "US", - "name": "j1-gc-integration-dev-v3-sink-logging-bucket", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1622478351614, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/j1-gc-integration-dev-v3-sink-logging-bucket;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:j1-gc-integration-dev-v3-super-secret-stuff", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "defaultEventBasedHold": false, - "etag": "CAw=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "j1-gc-integration-dev-v3-super-secret-stuff", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "12", - "name": "j1-gc-integration-dev-v3-super-secret-stuff", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "satisfiesPZS": false, - "selfLink": "https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff", - "storageClass": "STANDARD", - "timeCreated": "2021-09-13T22:56:02.534Z", - "updated": "2021-10-27T18:29:52.571Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1631573762534, - "displayName": "j1-gc-integration-dev-v3-super-secret-stuff", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAw=", - "id": "j1-gc-integration-dev-v3-super-secret-stuff", - "kmsKeyName": undefined, - "location": "US", - "name": "j1-gc-integration-dev-v3-super-secret-stuff", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1635359392571, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/j1-gc-integration-dev-v3-super-secret-stuff;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:j1-gc-integration-dev-v3-test-tf-bucket", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAI=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "enforced", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "j1-gc-integration-dev-v3-test-tf-bucket", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "2", - "name": "j1-gc-integration-dev-v3-test-tf-bucket", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-test-tf-bucket", - "storageClass": "STANDARD", - "timeCreated": "2021-07-22T13:15:31.543Z", - "updated": "2022-02-07T12:41:33.448Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1626959731543, - "displayName": "j1-gc-integration-dev-v3-test-tf-bucket", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAI=", - "id": "j1-gc-integration-dev-v3-test-tf-bucket", - "kmsKeyName": undefined, - "location": "US", - "name": "j1-gc-integration-dev-v3-test-tf-bucket", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1644237693448, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/j1-gc-integration-dev-v3-test-tf-bucket;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:j1-gc-integration-dev-v3.appspot.com", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "j1-gc-integration-dev-v3.appspot.com", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "1", - "name": "j1-gc-integration-dev-v3.appspot.com", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3.appspot.com", - "storageClass": "STANDARD", - "timeCreated": "2022-03-16T10:53:36.805Z", - "updated": "2022-03-16T10:53:36.805Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1647428016805, - "displayName": "j1-gc-integration-dev-v3.appspot.com", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "j1-gc-integration-dev-v3.appspot.com", - "kmsKeyName": undefined, - "location": "US", - "name": "j1-gc-integration-dev-v3.appspot.com", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1647428016805, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/j1-gc-integration-dev-v3.appspot.com;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:j1-gc-integration-dev-v3cloudfunctions", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAU=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "j1-gc-integration-dev-v3cloudfunctions", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "5", - "name": "j1-gc-integration-dev-v3cloudfunctions", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions", - "storageClass": "STANDARD", - "timeCreated": "2021-05-31T16:25:44.251Z", - "updated": "2021-09-13T17:25:24.390Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1622478344251, - "displayName": "j1-gc-integration-dev-v3cloudfunctions", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAU=", - "id": "j1-gc-integration-dev-v3cloudfunctions", - "kmsKeyName": undefined, - "location": "US", - "name": "j1-gc-integration-dev-v3cloudfunctions", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1631553924390, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/j1-gc-integration-dev-v3cloudfunctions;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:staging.j1-gc-integration-dev-v3.appspot.com", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "staging.j1-gc-integration-dev-v3.appspot.com", - "kind": "storage#bucket", - "lifecycle": Object { - "rule": Array [ - Object { - "action": Object { - "type": "Delete", - }, - "condition": Object { - "age": 15, - }, - }, - ], - }, - "location": "US", - "locationType": "multi-region", - "metageneration": "1", - "name": "staging.j1-gc-integration-dev-v3.appspot.com", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com", - "storageClass": "STANDARD", - "timeCreated": "2022-03-16T10:53:36.905Z", - "updated": "2022-03-16T10:53:36.905Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1647428016905, - "displayName": "staging.j1-gc-integration-dev-v3.appspot.com", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "staging.j1-gc-integration-dev-v3.appspot.com", - "kmsKeyName": undefined, - "location": "US", - "name": "staging.j1-gc-integration-dev-v3.appspot.com", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1647428016905, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/staging.j1-gc-integration-dev-v3.appspot.com;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - Object { - "_class": Array [ - "DataStore", - ], - "_key": "bucket:us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "etag": "CAE=", - "iamConfiguration": Object { - "bucketPolicyOnly": Object { - "enabled": false, - }, - "publicAccessPrevention": "inherited", - "uniformBucketLevelAccess": Object { - "enabled": false, - }, - }, - "id": "us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "kind": "storage#bucket", - "location": "US", - "locationType": "multi-region", - "metageneration": "1", - "name": "us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "projectNumber": "167984947943", - "rpo": "DEFAULT", - "selfLink": "https://www.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "storageClass": "STANDARD", - "timeCreated": "2021-05-31T16:35:42.461Z", - "updated": "2021-05-31T16:35:42.461Z", - }, - }, - ], - "_type": "google_storage_bucket", - "classification": null, - "createdOn": 1622478942461, - "displayName": "us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "encrypted": true, - "encryptionKeyRef": undefined, - "etag": "CAE=", - "id": "us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "kmsKeyName": undefined, - "location": "US", - "name": "us.artifacts.j1-gc-integration-dev-v3.appspot.com", - "public": false, - "retentionDate": undefined, - "retentionPeriod": undefined, - "retentionPolicyEnabled": undefined, - "storageClass": "STANDARD", - "uniformBucketLevelAccess": false, - "updatedOn": 1622478942461, - "versioningEnabled": false, - "webLink": "https://console.cloud.google.com/storage/browser/us.artifacts.j1-gc-integration-dev-v3.appspot.com;tab=objects?forceOnBucketsSortingFiltering=false&project=j1-gc-integration-dev-v3", - }, - ], - "collectedRelationships": Array [], - "encounteredTypes": Array [ - "google_storage_bucket", - ], - "numCollectedEntities": 13, - "numCollectedRelationships": 0, -} -`; - -exports[`#fetchAuthorityCertificates should collect data 1`] = ` -Object { - "collectedEntities": Array [ - Object { - "_class": Array [ - "Service", - ], - "_key": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "accessUrls": Object { - "caCertificateAccessUrl": "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt", - "crlAccessUrl": "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl", - }, - "caCertificateDescriptions": Array [ - Object { - "authorityKeyId": Object { - "keyId": "f4c932216ac01039c8f3c952fab0c2f7db202315", - }, - "certFingerprint": Object { - "sha256Hash": "f9998966e551d9000710508f33b4d50a6b2282473c913de3e5e0057391be909e", - }, - "configValues": Object { - "caOptions": Object { - "isCa": true, - "maxIssuerPathLength": 1, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "certSign": true, - "crlSign": true, - }, - }, - }, - "publicKey": Object { - "type": "PEM_RSA_KEY", - }, - "subjectDescription": Object { - "commonName": "Test CA Name", - "hexSerialNumber": "00b38cb1619dfd6a5fdc5542a97ab9bb09abab0f", - "lifetime": "314496000s", - "notAfterTime": "2031-03-20T19:08:06.481768813Z", - "notBeforeTime": "2021-04-01T19:08:06.481768813Z", - "subject": Object { - "organization": "Test Organization Name", - }, - "subjectAltName": Object {}, - }, - "subjectKeyId": Object { - "keyId": "f4c932216ac01039c8f3c952fab0c2f7db202315", - }, - }, - ], - "config": Object { - "reusableConfig": Object { - "reusableConfigValues": Object { - "caOptions": Object { - "isCa": true, - "maxIssuerPathLength": 1, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "certSign": true, - "crlSign": true, - }, - }, - }, - }, - "subjectConfig": Object { - "commonName": "Test CA Name", - "subject": Object { - "organization": "Test Organization Name", - }, - }, - }, - "createTime": "2021-04-01T19:08:05.695936998Z", - "issuingOptions": Object { - "includeCaCertUrl": true, - "includeCrlAccessUrl": true, - }, - "keySpec": Object { - "algorithm": "RSA_PKCS1_4096_SHA256", - }, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name", - "state": "ENABLED", - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updateTime": "2021-04-07T14:18:36.760073627Z", - }, - }, - ], - "_type": "google_privateca_certificate_authority", - "caCertificateAccessUrl": "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt", - "category": Array [ - "security", - ], - "createdOn": 1617304085695, - "crlAccessUrl": "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl", - "deletedOn": undefined, - "displayName": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name", - "extendedKeyUsage.clientAuth": undefined, - "extendedKeyUsage.codeSigning": undefined, - "extendedKeyUsage.emailProtection": undefined, - "extendedKeyUsage.ocspSigning": undefined, - "extendedKeyUsage.serverAuth": undefined, - "extendedKeyUsage.timeStamping": undefined, - "function": Array [ - "certificate-management", - ], - "keyAlgorithm": "RSA_PKCS1_4096_SHA256", - "keyUsage.certSign": true, - "keyUsage.contentCommitment": undefined, - "keyUsage.crlSign": true, - "keyUsage.dataEncipherment": undefined, - "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": undefined, - "keyUsage.encipherOnly": undefined, - "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": undefined, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name", - "public": false, - "state": "ENABLED", - "subject": "Test CA Name", - "subject.countryCode": undefined, - "subject.locality": undefined, - "subject.organization": "Test Organization Name", - "subject.organizationalUnit": undefined, - "subject.postalCode": undefined, - "subject.province": undefined, - "subject.streetAddress": undefined, - "subjectAltName.dnsNames": undefined, - "subjectAltName.emailAddresses": undefined, - "subjectAltName.ipAddresses": undefined, - "subjectAltName.uris": undefined, - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updatedOn": 1617805116760, - "webLink": "https://console.cloud.google.com/security/cas/manage/locations/us-central1/certificateAuthorities/Test-CA-Name/details?project=j1-gc-integration-dev-v2", - }, - Object { - "_class": Array [ - "Service", - ], - "_key": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "accessUrls": Object { - "caCertificateAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/ca.crt", - "crlAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/crl.crl", - }, - "caCertificateDescriptions": Array [ - Object { - "authorityKeyId": Object { - "keyId": "ec21738d89c6020cfab46e73b1a001d7fb24d34c", - }, - "certFingerprint": Object { - "sha256Hash": "d7de957b8c0903c662332fc8ec4966c5dc01b7426ed778dc389aaa545a37064a", - }, - "configValues": Object { - "caOptions": Object { - "isCa": true, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "certSign": true, - "crlSign": true, - }, - }, - }, - "publicKey": Object { - "type": "PEM_RSA_KEY", - }, - "subjectDescription": Object { - "commonName": "acmeName", - "hexSerialNumber": "008a51de1d92de213728c7733b74700f4a684513", - "lifetime": "314496000s", - "notAfterTime": "2031-03-27T14:44:07.900172684Z", - "notBeforeTime": "2021-04-08T14:44:07.900172684Z", - "subject": Object { - "organization": "Acme", - }, - "subjectAltName": Object {}, - }, - "subjectKeyId": Object { - "keyId": "ec21738d89c6020cfab46e73b1a001d7fb24d34c", - }, - }, - ], - "config": Object { - "reusableConfig": Object { - "reusableConfig": "projects/568668481468/locations/us-central1/reusableConfigs/root-unconstrained", - }, - "subjectConfig": Object { - "commonName": "acmeName", - "subject": Object { - "organization": "Acme", - }, - }, - }, - "createTime": "2021-04-08T14:44:07.215539285Z", - "gcsBucket": "test-bucket-with-labels", - "issuingOptions": Object { - "includeCaCertUrl": true, - "includeCrlAccessUrl": true, - }, - "keySpec": Object { - "algorithm": "RSA_PKCS1_2048_SHA256", - }, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "state": "ENABLED", - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updateTime": "2021-04-08T14:44:09.263990183Z", - }, - }, - ], - "_type": "google_privateca_certificate_authority", - "caCertificateAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/ca.crt", - "category": Array [ - "security", - ], - "createdOn": 1617893047215, - "crlAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/crl.crl", - "deletedOn": undefined, - "displayName": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "extendedKeyUsage.clientAuth": undefined, - "extendedKeyUsage.codeSigning": undefined, - "extendedKeyUsage.emailProtection": undefined, - "extendedKeyUsage.ocspSigning": undefined, - "extendedKeyUsage.serverAuth": undefined, - "extendedKeyUsage.timeStamping": undefined, - "function": Array [ - "certificate-management", - ], - "keyAlgorithm": "RSA_PKCS1_2048_SHA256", - "keyUsage.certSign": undefined, - "keyUsage.contentCommitment": undefined, - "keyUsage.crlSign": undefined, - "keyUsage.dataEncipherment": undefined, - "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": undefined, - "keyUsage.encipherOnly": undefined, - "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": undefined, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "public": false, - "state": "ENABLED", - "subject": "acmeName", - "subject.countryCode": undefined, - "subject.locality": undefined, - "subject.organization": "Acme", - "subject.organizationalUnit": undefined, - "subject.postalCode": undefined, - "subject.province": undefined, - "subject.streetAddress": undefined, - "subjectAltName.dnsNames": undefined, - "subjectAltName.emailAddresses": undefined, - "subjectAltName.ipAddresses": undefined, - "subjectAltName.uris": undefined, - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updatedOn": 1617893049263, - "webLink": "https://console.cloud.google.com/security/cas/manage/locations/us-central1/certificateAuthorities/acmeName/details?project=j1-gc-integration-dev-v2", - }, - Object { - "_class": Array [ - "Certificate", - ], - "_key": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "certificateDescription": Object { - "aiaIssuingCertificateUrls": Array [ - "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt", - ], - "authorityKeyId": Object { - "keyId": "f4c932216ac01039c8f3c952fab0c2f7db202315", - }, - "certFingerprint": Object { - "sha256Hash": "7aeb434082c0ea73d819c1e4fab7a3e31f027a9d4440f666af2e3ac38a26039b", - }, - "configValues": Object { - "caOptions": Object { - "isCa": false, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "digitalSignature": true, - "keyEncipherment": true, - }, - }, - }, - "crlDistributionPoints": Array [ - "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl", - ], - "publicKey": Object { - "type": "PEM_RSA_KEY", - }, - "subjectDescription": Object { - "hexSerialNumber": "ec41a22274884f34272ea3dabe37a42daffe41", - "lifetime": "2592000s", - "notAfterTime": "2021-05-01T19:17:48Z", - "notBeforeTime": "2021-04-01T19:17:48Z", - "subjectAltName": Object { - "dnsNames": Array [ - "google.com", - ], - }, - }, - "subjectKeyId": Object { - "keyId": "abb01889d84091201b6c09b3f4f6cf04d0a91c13", - }, - }, - "config": Object { - "reusableConfig": Object { - "reusableConfigValues": Object { - "caOptions": Object { - "isCa": false, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "digitalSignature": true, - "keyEncipherment": true, - }, - "extendedKeyUsage": Object {}, - }, - }, - }, - "subjectConfig": Object { - "subjectAltName": Object { - "dnsNames": Array [ - "google.com", - ], - }, - }, - }, - "createTime": "2021-04-01T19:17:48.319675789Z", - "lifetime": "2592000s", - "name": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "updateTime": "2021-04-01T19:17:48.319675789Z", - }, - }, - ], - "_type": "google_privateca_certificate", - "alternativeNames": Array [ - "google.com", - ], - "createdOn": 1617304668319, - "displayName": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "extendedKeyUsage.clientAuth": undefined, - "extendedKeyUsage.codeSigning": undefined, - "extendedKeyUsage.emailProtection": undefined, - "extendedKeyUsage.ocspSigning": undefined, - "extendedKeyUsage.serverAuth": undefined, - "extendedKeyUsage.timeStamping": undefined, - "hexSerial": "ec41a22274884f34272ea3dabe37a42daffe41", - "issuer": "Test-CA-Name", - "keyAlgorithm": "RSA_PKCS1_4096_SHA256", - "keyUsage.certSign": undefined, - "keyUsage.contentCommitment": undefined, - "keyUsage.crlSign": undefined, - "keyUsage.dataEncipherment": undefined, - "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": true, - "keyUsage.encipherOnly": undefined, - "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": true, - "lifetime": "2592000s", - "name": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "notAfterTime": 1619896668000, - "notBeforeTime": 1617304668000, - "publicKeyType": "PEM_RSA_KEY", - "subject": undefined, - "subject.countryCode": undefined, - "subject.locality": undefined, - "subject.organization": undefined, - "subject.organizationalUnit": undefined, - "subject.postalCode": undefined, - "subject.province": undefined, - "subject.streetAddress": undefined, - "subjectAltName.dnsNames": Array [ - "google.com", - ], - "subjectAltName.emailAddresses": undefined, - "subjectAltName.ipAddresses": undefined, - "subjectAltName.uris": undefined, - "updatedOn": 1617304668319, - "webLink": "https://console.cloud.google.com/security/cas/certificate/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03?project=j1-gc-integration-dev-v2", - }, - ], - "collectedRelationships": Array [ - Object { - "_class": "CREATED", - "_fromEntityKey": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name", - "_key": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name|created|projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "_toEntityKey": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "_type": "google_privateca_certificate_authority_created_certificate", - "displayName": "CREATED", - }, - ], - "encounteredTypes": Array [ - "google_privateca_certificate_authority", - "google_privateca_certificate", - "google_privateca_certificate_authority_created_certificate", - ], - "numCollectedEntities": 3, - "numCollectedRelationships": 1, -} -`; - -exports[`#fetchCertificateAuthorities should collect data 1`] = ` -Object { - "collectedEntities": Array [], - "collectedRelationships": Array [], - "encounteredTypes": Array [], - "numCollectedEntities": 0, - "numCollectedRelationships": 0, -} -`; diff --git a/src/steps/privateca/client.ts b/src/steps/privateca/client.ts index 1b905b58..5dae0bf9 100644 --- a/src/steps/privateca/client.ts +++ b/src/steps/privateca/client.ts @@ -1,67 +1,85 @@ -import { google, privateca_v1beta1 } from 'googleapis'; +import { google, privateca_v1 } from 'googleapis'; import { Client } from '../../google-cloud/client'; export class PrivateCaClient extends Client { - private client = google.privateca({ version: 'v1beta1', retry: false }); + private client = google.privateca({ version: 'v1', retry: false }); async getAuthorityPolicy( - authorityId: string, + caPoolId: string, location: string, - ): Promise { + ): Promise { const auth = await this.getAuthenticatedServiceClient(); - const result = - await this.client.projects.locations.certificateAuthorities.getIamPolicy({ - resource: `projects/${this.projectId}/locations/${location}/certificateAuthorities/${authorityId}`, - auth, - }); + const result = await this.client.projects.locations.caPools.getIamPolicy({ + resource: `projects/${this.projectId}/locations/${location}/caPools/${caPoolId}`, + auth, + }); return result.data; } - async iterateCertificateAuthorities( - callback: ( - data: privateca_v1beta1.Schema$CertificateAuthority, - ) => Promise, + async iterateCaPools( + callback: (data: privateca_v1.Schema$CaPool) => Promise, ): Promise { const auth = await this.getAuthenticatedServiceClient(); await this.iterateApi( async (nextPageToken) => { - return this.client.projects.locations.certificateAuthorities.list({ + return this.client.projects.locations.caPools.list({ parent: `projects/${this.projectId}/locations/-`, auth, pageToken: nextPageToken, }); }, - async ( - data: privateca_v1beta1.Schema$ListCertificateAuthoritiesResponse, - ) => { - for (const certificateAuthority of data.certificateAuthorities || []) { + async (data: privateca_v1.Schema$ListCaPoolsResponse) => { + for (const certificateAuthority of data.caPools || []) { await callback(certificateAuthority); } }, ); } - async iterateAuthorityCertificates( - caId: string, - caLocation: string, - callback: (data: privateca_v1beta1.Schema$Certificate) => Promise, + async iterateCertificateAuthorities( + caPoolId: string, + location: string, + callback: (data: privateca_v1.Schema$CertificateAuthority) => Promise, ): Promise { const auth = await this.getAuthenticatedServiceClient(); await this.iterateApi( async (nextPageToken) => { - return this.client.projects.locations.certificateAuthorities.certificates.list( + return this.client.projects.locations.caPools.certificateAuthorities.list( { - parent: `projects/${this.projectId}/locations/${caLocation}/certificateAuthorities/${caId}`, + parent: `projects/${this.projectId}/locations/${location}/caPools/${caPoolId}`, auth, pageToken: nextPageToken, }, ); }, - async (data: privateca_v1beta1.Schema$ListCertificatesResponse) => { + async (data: privateca_v1.Schema$ListCertificateAuthoritiesResponse) => { + for (const certificateAuthority of data.certificateAuthorities || []) { + await callback(certificateAuthority); + } + }, + ); + } + + async iterateAuthorityCertificates( + caPoolId: string, + caLocation: string, + callback: (data: privateca_v1.Schema$Certificate) => Promise, + ): Promise { + const auth = await this.getAuthenticatedServiceClient(); + + await this.iterateApi( + async (nextPageToken) => { + return this.client.projects.locations.caPools.certificates.list({ + parent: `projects/${this.projectId}/locations/${caLocation}/caPools/${caPoolId}`, + auth, + pageToken: nextPageToken, + }); + }, + async (data: privateca_v1.Schema$ListCertificatesResponse) => { for (const certificate of data.certificates || []) { await callback(certificate); } diff --git a/src/steps/privateca/constants.ts b/src/steps/privateca/constants.ts index f3513930..73b1c427 100644 --- a/src/steps/privateca/constants.ts +++ b/src/steps/privateca/constants.ts @@ -1,18 +1,68 @@ -export const STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES = - 'fetch-private-ca-certificate-authorities'; -export const STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS = - 'build-private-ca-certificate-authority-bucket-relationships'; -export const STEP_PRIVATE_CA_CERTIFICATES = 'fetch-private-ca-certificates'; +import { RelationshipClass } from '@jupiterone/integration-sdk-core'; +import { StorageEntitiesSpec } from '../storage/constants'; -export const ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY = - 'google_privateca_certificate_authority'; -export const ENTITY_CLASS_PRIVATE_CA_CERTIFICATE_AUTHORITY = 'Service'; +export const PrivatecaSteps = { + STEP_PRIVATE_CA_POOLS: { + id: 'fetch-private-ca-pools', + name: 'Private CA Pool', + }, + STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES: { + id: 'fetch-private-ca-certificate-authorities', + name: 'Private CA Certificate Authorities', + }, + STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS: { + id: 'build-private-ca-pool-certificate-authority-relationships', + name: 'Build Private CA Pool Certificate Authoritity Relationship', + }, + STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS: { + id: 'build-private-ca-certificate-authority-bucket-relationships', + name: 'Build Private CA Certificate Authoritity Bucket Relationships', + }, + STEP_PRIVATE_CA_CERTIFICATES: { + id: 'fetch-private-ca-certificates', + name: 'Private CA Certificates', + }, + STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS: { + id: 'build-private-ca-certificate-authority-certificate-relationships', + name: 'Build Private CA Certificate Authoritity Certificate Relationships', + }, +}; -export const ENTITY_TYPE_PRIVATE_CA_CERTIFICATE = - 'google_privateca_certificate'; -export const ENTITY_CLASS_PRIVATE_CA_CERTIFICATE = 'Certificate'; +export const PrivatecaEntities = { + PRIVATE_CA_POOL: { + resourceName: 'Private CA Pool', + _type: 'google_privateca_pool', + _class: ['Group'], + }, + PRIVATE_CA_CERTIFICATE_AUTHORITY: { + resourceName: 'Private CA Certificate Authority', + _type: 'google_privateca_certificate_authority', + _class: ['Service'], + }, + PRIVATE_CA_CERTIFICATE: { + resourceName: 'Private CA Certificate', + _type: 'google_privateca_certificate', + _class: ['Certificate'], + }, +}; -export const RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CREATED_CERTIFICATE = - 'google_privateca_certificate_authority_created_certificate'; -export const RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_USES_STORAGE_BUCKET = - 'google_privateca_certificate_authority_uses_storage_bucket'; +export const PrivatecaRelationships = { + PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY: { + _type: 'google_privateca_pool_has_certificate_authority', + _class: RelationshipClass.HAS, + sourceType: PrivatecaEntities.PRIVATE_CA_POOL._type, + targetType: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, + }, + PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET: { + _type: 'google_privateca_certificate_authority_uses_storage_bucket', + _class: RelationshipClass.USES, + sourceType: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, + targetType: StorageEntitiesSpec.STORAGE_BUCKET._type, + }, + PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE: { + _type: 'google_privateca_certificate_authority_created_certificate', + _class: RelationshipClass.CREATED, + sourceType: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, + targetType: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type, + }, +}; diff --git a/src/steps/privateca/converters.test.ts b/src/steps/privateca/converters.test.ts deleted file mode 100644 index 1ff87901..00000000 --- a/src/steps/privateca/converters.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { - createCertificateAuthorityEntity, - createCertificateEntity, -} from './converters'; -import { DEFAULT_INTEGRATION_CONFIG_PROJECT_ID } from '../../../test/config'; -import { - getMockCertificate, - getMockCertificateAuthority, -} from '../../../test/mocks'; - -describe('#createCertificateAuthorityEntity', () => { - test('should convert to entity', () => { - expect( - createCertificateAuthorityEntity({ - data: getMockCertificateAuthority(), - projectId: DEFAULT_INTEGRATION_CONFIG_PROJECT_ID, - isPublic: false, - }), - ).toMatchSnapshot(); - }); -}); - -describe('#createCertificateEntity', () => { - test('should convert to entity', () => { - expect( - createCertificateEntity({ - data: getMockCertificate(), - keyAlgorithm: 'RSA_PKCS1_2048_SHA256', - projectId: DEFAULT_INTEGRATION_CONFIG_PROJECT_ID, - }), - ).toMatchSnapshot(); - }); -}); diff --git a/src/steps/privateca/converters.ts b/src/steps/privateca/converters.ts index 751a199f..5018b162 100644 --- a/src/steps/privateca/converters.ts +++ b/src/steps/privateca/converters.ts @@ -1,20 +1,15 @@ import { parseTimePropertyValue } from '@jupiterone/integration-sdk-core'; -import { privateca_v1beta1 } from 'googleapis'; +import { privateca_v1 } from 'googleapis'; import { createGoogleCloudIntegrationEntity } from '../../utils/entity'; import { getGoogleCloudConsoleWebLink } from '../../utils/url'; -import { - ENTITY_CLASS_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ENTITY_CLASS_PRIVATE_CA_CERTIFICATE, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, -} from './constants'; +import { PrivatecaEntities } from './constants'; export function createCertificateAuthorityEntity({ data, projectId, isPublic, }: { - data: privateca_v1beta1.Schema$CertificateAuthority; + data: privateca_v1.Schema$CertificateAuthority; projectId: string; isPublic: boolean; }) { @@ -30,8 +25,8 @@ export function createCertificateAuthorityEntity({ entityData: { source: data, assign: { - _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - _class: ENTITY_CLASS_PRIVATE_CA_CERTIFICATE_AUTHORITY, + _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, + _class: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._class, _key: data.name as string, name: data.name, displayName: data.name as string, @@ -41,7 +36,7 @@ export function createCertificateAuthorityEntity({ type: data.type, tier: data.tier, lifetime: data.lifetime, - subject: data.config?.subjectConfig?.commonName, + subject: data.config?.subjectConfig?.subject?.commonName, 'subject.countryCode': data.config?.subjectConfig?.subject?.countryCode, 'subject.locality': data.config?.subjectConfig?.subject?.locality, 'subject.organization': @@ -60,53 +55,38 @@ export function createCertificateAuthorityEntity({ data.config?.subjectConfig?.subjectAltName?.ipAddresses, 'subjectAltName.uris': data.config?.subjectConfig?.subjectAltName?.uris, 'keyUsage.certSign': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.certSign, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.certSign, 'keyUsage.contentCommitment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.contentCommitment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.contentCommitment, 'keyUsage.crlSign': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.crlSign, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.crlSign, 'keyUsage.dataEncipherment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.dataEncipherment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.dataEncipherment, 'keyUsage.decipherOnly': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.decipherOnly, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.decipherOnly, 'keyUsage.digitalSignature': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.digitalSignature, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.digitalSignature, 'keyUsage.encipherOnly': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.encipherOnly, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.encipherOnly, 'keyUsage.keyAgreement': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.keyAgreement, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.keyAgreement, 'keyUsage.keyEncipherment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.keyEncipherment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.keyEncipherment, 'extendedKeyUsage.clientAuth': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.clientAuth, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.clientAuth, 'extendedKeyUsage.codeSigning': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.codeSigning, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.codeSigning, 'extendedKeyUsage.emailProtection': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.emailProtection, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.emailProtection, 'extendedKeyUsage.ocspSigning': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.ocspSigning, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.ocspSigning, 'extendedKeyUsage.serverAuth': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.serverAuth, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.serverAuth, 'extendedKeyUsage.timeStamping': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.timeStamping, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.timeStamping, keyAlgorithm: data.keySpec?.algorithm, caCertificateAccessUrl: data.accessUrls?.caCertificateAccessUrl, - crlAccessUrl: data.accessUrls?.crlAccessUrl, + crlAccessUrl: data.accessUrls?.crlAccessUrls, state: data.state, webLink: getGoogleCloudConsoleWebLink( `/security/cas/manage/locations/${location}/certificateAuthorities/${authorityId}/details?project=${projectId}`, @@ -124,7 +104,7 @@ export function createCertificateEntity({ keyAlgorithm, projectId, }: { - data: privateca_v1beta1.Schema$Certificate; + data: privateca_v1.Schema$Certificate; keyAlgorithm: string; projectId: string; }) { @@ -141,21 +121,23 @@ export function createCertificateEntity({ entityData: { source: data, assign: { - _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - _class: ENTITY_CLASS_PRIVATE_CA_CERTIFICATE, + _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type, + _class: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._class, _key: data.name as string, name: data.name, displayName: data.name as string, issuer: data.name?.split('/')[5], + issuerCertificateAuthority: data.issuerCertificateAuthority, alternativeNames: data.certificateDescription?.subjectDescription?.subjectAltName ?.dnsNames, - subject: data.certificateDescription?.subjectDescription?.commonName, + subject: + data.certificateDescription?.subjectDescription?.subject?.commonName, hexSerial: data.certificateDescription?.subjectDescription?.hexSerialNumber, lifetime: data.certificateDescription?.subjectDescription?.lifetime, keyAlgorithm: keyAlgorithm, - publicKeyType: data.certificateDescription?.publicKey?.type, + // publicKeyType: data.certificateDescription?.x509Description?, notBeforeTime: parseTimePropertyValue( data.certificateDescription?.subjectDescription?.notBeforeTime, ), @@ -191,50 +173,35 @@ export function createCertificateEntity({ 'subjectAltName.uris': data.certificateDescription?.subjectDescription?.subjectAltName?.uris, 'keyUsage.certSign': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.certSign, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.certSign, 'keyUsage.contentCommitment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.contentCommitment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.contentCommitment, 'keyUsage.crlSign': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.crlSign, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.crlSign, 'keyUsage.dataEncipherment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.dataEncipherment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.dataEncipherment, 'keyUsage.decipherOnly': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.decipherOnly, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.decipherOnly, 'keyUsage.digitalSignature': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.digitalSignature, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.digitalSignature, 'keyUsage.encipherOnly': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.encipherOnly, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.encipherOnly, 'keyUsage.keyAgreement': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.keyAgreement, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.keyAgreement, 'keyUsage.keyEncipherment': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.baseKeyUsage?.keyEncipherment, + data.config?.x509Config?.keyUsage?.baseKeyUsage?.keyEncipherment, 'extendedKeyUsage.clientAuth': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.clientAuth, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.clientAuth, 'extendedKeyUsage.codeSigning': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.codeSigning, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.codeSigning, 'extendedKeyUsage.emailProtection': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.emailProtection, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.emailProtection, 'extendedKeyUsage.ocspSigning': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.ocspSigning, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.ocspSigning, 'extendedKeyUsage.serverAuth': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.serverAuth, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.serverAuth, 'extendedKeyUsage.timeStamping': - data.config?.reusableConfig?.reusableConfigValues?.keyUsage - ?.extendedKeyUsage?.timeStamping, + data.config?.x509Config?.keyUsage?.extendedKeyUsage?.timeStamping, webLink: getGoogleCloudConsoleWebLink( `/security/cas/certificate/locations/${location}/certificateAuthorities/${authorityId}/certificates/${ceritificateId}?project=${projectId}`, ), @@ -244,3 +211,64 @@ export function createCertificateEntity({ }, }); } + +export const createCaPoolEntity = (caPool: privateca_v1.Schema$CaPool) => { + return createGoogleCloudIntegrationEntity(caPool, { + entityData: { + source: caPool, + assign: { + _class: PrivatecaEntities.PRIVATE_CA_POOL._class, + _type: PrivatecaEntities.PRIVATE_CA_POOL._type, + _key: caPool.name as string, + 'issuancePolicy.allowedIssuanceModes.allowConfigBasedIssuance': + caPool.issuancePolicy?.allowedIssuanceModes?.allowConfigBasedIssuance, + 'issuancePolicy.allowedIssuanceModes.allowCsrBasedIssuance': + caPool.issuancePolicy?.allowedIssuanceModes?.allowCsrBasedIssuance, + 'issuancePolicy.allowedKeyTypes': + caPool.issuancePolicy?.allowedKeyTypes?.map((allowedKeyType) => + JSON.stringify(allowedKeyType), + ), + 'issuancePolicy.baselineValues.additionalExtensions': + caPool.issuancePolicy?.baselineValues?.additionalExtensions?.map( + (additionalExtension) => JSON.stringify(additionalExtension), + ), + 'issuancePolicy.baselineValues.aiaOcspServers': + caPool.issuancePolicy?.baselineValues?.aiaOcspServers, + 'issuancePolicy.baselineValues.caOptions.isCa': + caPool.issuancePolicy?.baselineValues?.caOptions?.isCa, + 'issuancePolicy.maximumLifetime': + caPool.issuancePolicy?.maximumLifetime, + 'publishingOptions.publishCaCert': + caPool.publishingOptions?.publishCaCert, + 'publishingOptions.publishCrl': caPool.publishingOptions?.publishCrl, + tier: caPool.tier, + }, + }, + }); +}; + +export function getCaPoolEntityKey({ + projectId, + location, + caPoolId, +}: { + projectId: string; + location: string; + caPoolId: string; +}) { + return `projects/${projectId}/locations/${location}/caPools/${caPoolId}`; +} + +export function getCaAuthorityEntityKey({ + projectId, + location, + caPoolId, + certificateAuthorityId, +}: { + projectId: string; + location: string; + caPoolId: string; + certificateAuthorityId: string; +}) { + return `projects/${projectId}/locations/${location}/caPools/${caPoolId}/certificateAuthorities/${certificateAuthorityId}`; +} diff --git a/src/steps/privateca/index.test.ts b/src/steps/privateca/index.test.ts deleted file mode 100644 index df833e08..00000000 --- a/src/steps/privateca/index.test.ts +++ /dev/null @@ -1,384 +0,0 @@ -import { - createMockStepExecutionContext, - Recording, -} from '@jupiterone/integration-sdk-testing'; -import { integrationConfig } from '../../../test/config'; -import { setupGoogleCloudRecording } from '../../../test/recording'; -import { IntegrationConfig } from '../../types'; -import { - buildCertificateAuthorityBucketRelationships, - fetchAuthorityCertificates, - fetchCertificateAuthorities, -} from '.'; -import { fetchStorageBuckets } from '../storage'; -import { - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_USES_STORAGE_BUCKET, - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CREATED_CERTIFICATE, -} from './constants'; - -const tempNewAccountConfig = { - ...integrationConfig, - serviceAccountKeyFile: integrationConfig.serviceAccountKeyFile.replace( - 'j1-gc-integration-dev-v2', - 'j1-gc-integration-dev-v3', - ), - serviceAccountKeyConfig: { - ...integrationConfig.serviceAccountKeyConfig, - project_id: 'j1-gc-integration-dev-v3', - }, -}; - -describe('#fetchCertificateAuthorities', () => { - let recording: Recording; - - beforeEach(() => { - recording = setupGoogleCloudRecording({ - directory: __dirname, - name: 'fetchCertificateAuthorities', - }); - }); - - afterEach(async () => { - await recording.stop(); - }); - - test('should collect data', async () => { - const context = createMockStepExecutionContext({ - instanceConfig: tempNewAccountConfig, - }); - - await fetchCertificateAuthorities(context); - - expect({ - numCollectedEntities: context.jobState.collectedEntities.length, - numCollectedRelationships: context.jobState.collectedRelationships.length, - collectedEntities: context.jobState.collectedEntities, - collectedRelationships: context.jobState.collectedRelationships, - encounteredTypes: context.jobState.encounteredTypes, - }).toMatchSnapshot(); - - expect( - context.jobState.collectedEntities.filter( - (e) => e._type === ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ), - ).toMatchGraphObjectSchema({ - _class: ['Service'], - schema: { - additionalProperties: false, - properties: { - _type: { const: 'google_privateca_certificate_authority' }, - _rawData: { - type: 'array', - items: { type: 'object' }, - }, - name: { type: 'string' }, - displayName: { type: 'string' }, - public: { type: 'boolean' }, - category: { - type: 'array', - items: { type: 'string' }, - }, - type: { type: 'string' }, - tier: { type: 'string' }, - lifetime: { type: 'string' }, - subject: { type: 'string' }, - 'subject.countryCode': { type: 'string' }, - 'subject.locality': { type: 'string' }, - 'subject.organization': { type: 'string' }, - 'subject.organizationalUnit': { type: 'string' }, - 'subject.postalCode': { type: 'string' }, - 'subject.province': { type: 'string' }, - 'subject.streetAddress': { type: 'string' }, - 'subjectAltName.dnsNames': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.emailAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.ipAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.uris': { - type: 'array', - items: { type: 'string' }, - }, - 'keyUsage.certSign': { type: 'boolean' }, - 'keyUsage.contentCommitment': { type: 'boolean' }, - 'keyUsage.crlSign': { type: 'boolean' }, - 'keyUsage.dataEncipherment': { type: 'boolean' }, - 'keyUsage.decipherOnly': { type: 'boolean' }, - 'keyUsage.digitalSignature': { type: 'boolean' }, - 'keyUsage.encipherOnly': { type: 'boolean' }, - 'keyUsage.keyAgreement': { type: 'boolean' }, - 'keyUsage.keyEncipherment': { type: 'boolean' }, - 'extendedKeyUsage.clientAuth': { type: 'boolean' }, - 'extendedKeyUsage.codeSigning': { type: 'boolean' }, - 'extendedKeyUsage.emailProtection': { type: 'boolean' }, - 'extendedKeyUsage.ocspSigning': { type: 'boolean' }, - 'extendedKeyUsage.serverAuth': { type: 'boolean' }, - 'extendedKeyUsage.timeStamping': { type: 'boolean' }, - keyAlgorithm: { type: 'string' }, - caCertificateAccessUrl: { type: 'string' }, - crlAccessUrl: { type: 'string' }, - state: { type: 'string' }, - webLink: { type: 'string' }, - createdOn: { type: 'number' }, - updatedOn: { type: 'number' }, - deletedOn: { type: 'number' }, - }, - }, - }); - }); -}); - -describe('#buildCertificateAuthorityBucketRelationships', () => { - let recording: Recording; - - beforeEach(() => { - recording = setupGoogleCloudRecording({ - directory: __dirname, - name: 'buildCertificateAuthorityBucketRelationships', - }); - }); - - afterEach(async () => { - await recording.stop(); - }); - - test('should collect data', async () => { - const context = createMockStepExecutionContext({ - instanceConfig: tempNewAccountConfig, - }); - - await fetchStorageBuckets(context); - await fetchCertificateAuthorities(context); - await buildCertificateAuthorityBucketRelationships(context); - - expect({ - numCollectedEntities: context.jobState.collectedEntities.length, - numCollectedRelationships: context.jobState.collectedRelationships.length, - collectedEntities: context.jobState.collectedEntities, - collectedRelationships: context.jobState.collectedRelationships, - encounteredTypes: context.jobState.encounteredTypes, - }).toMatchSnapshot(); - - expect( - context.jobState.collectedRelationships.filter( - (e) => - e._type === - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_USES_STORAGE_BUCKET, - ), - ).toMatchDirectRelationshipSchema({ - schema: { - properties: { - _class: { const: 'USES' }, - _type: { - const: 'google_privateca_certificate_authority_uses_storage_bucket', - }, - }, - }, - }); - }); -}); - -describe('#fetchAuthorityCertificates', () => { - let recording: Recording; - - beforeEach(() => { - recording = setupGoogleCloudRecording({ - directory: __dirname, - name: 'fetchAuthorityCertificates', - }); - }); - - afterEach(async () => { - await recording.stop(); - }); - - test('should collect data', async () => { - const context = createMockStepExecutionContext({ - instanceConfig: integrationConfig, - }); - - await fetchCertificateAuthorities(context); - await fetchAuthorityCertificates(context); - - expect({ - numCollectedEntities: context.jobState.collectedEntities.length, - numCollectedRelationships: context.jobState.collectedRelationships.length, - collectedEntities: context.jobState.collectedEntities, - collectedRelationships: context.jobState.collectedRelationships, - encounteredTypes: context.jobState.encounteredTypes, - }).toMatchSnapshot(); - - expect( - context.jobState.collectedEntities.filter( - (e) => e._type === ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ), - ).toMatchGraphObjectSchema({ - _class: ['Service'], - schema: { - additionalProperties: false, - properties: { - _type: { const: 'google_privateca_certificate_authority' }, - _rawData: { - type: 'array', - items: { type: 'object' }, - }, - name: { type: 'string' }, - displayName: { type: 'string' }, - public: { type: 'boolean' }, - category: { - type: 'array', - items: { type: 'string' }, - }, - type: { type: 'string' }, - tier: { type: 'string' }, - lifetime: { type: 'string' }, - subject: { type: 'string' }, - 'subject.countryCode': { type: 'string' }, - 'subject.locality': { type: 'string' }, - 'subject.organization': { type: 'string' }, - 'subject.organizationalUnit': { type: 'string' }, - 'subject.postalCode': { type: 'string' }, - 'subject.province': { type: 'string' }, - 'subject.streetAddress': { type: 'string' }, - 'subjectAltName.dnsNames': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.emailAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.ipAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.uris': { - type: 'array', - items: { type: 'string' }, - }, - 'keyUsage.certSign': { type: 'boolean' }, - 'keyUsage.contentCommitment': { type: 'boolean' }, - 'keyUsage.crlSign': { type: 'boolean' }, - 'keyUsage.dataEncipherment': { type: 'boolean' }, - 'keyUsage.decipherOnly': { type: 'boolean' }, - 'keyUsage.digitalSignature': { type: 'boolean' }, - 'keyUsage.encipherOnly': { type: 'boolean' }, - 'keyUsage.keyAgreement': { type: 'boolean' }, - 'keyUsage.keyEncipherment': { type: 'boolean' }, - 'extendedKeyUsage.clientAuth': { type: 'boolean' }, - 'extendedKeyUsage.codeSigning': { type: 'boolean' }, - 'extendedKeyUsage.emailProtection': { type: 'boolean' }, - 'extendedKeyUsage.ocspSigning': { type: 'boolean' }, - 'extendedKeyUsage.serverAuth': { type: 'boolean' }, - 'extendedKeyUsage.timeStamping': { type: 'boolean' }, - keyAlgorithm: { type: 'string' }, - caCertificateAccessUrl: { type: 'string' }, - crlAccessUrl: { type: 'string' }, - state: { type: 'string' }, - webLink: { type: 'string' }, - createdOn: { type: 'number' }, - updatedOn: { type: 'number' }, - deletedOn: { type: 'number' }, - }, - }, - }); - - expect( - context.jobState.collectedEntities.filter( - (e) => e._type === ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - ), - ).toMatchGraphObjectSchema({ - _class: ['Certificate'], - schema: { - additionalProperties: false, - properties: { - _type: { const: 'google_privateca_certificate' }, - _rawData: { - type: 'array', - items: { type: 'object' }, - }, - name: { type: 'string' }, - displayName: { type: 'string' }, - issuer: { type: 'string' }, - alternativeNames: { - type: 'array', - items: { type: 'string' }, - }, - subject: { type: 'string' }, - hexSerial: { type: 'string' }, - lifetime: { type: 'string' }, - keyAlgorithm: { type: 'string' }, - publicKeyType: { type: 'string' }, - notBeforeTime: { type: 'number' }, - notAfterTime: { type: 'number' }, - 'subject.countryCode': { type: 'string' }, - 'subject.locality': { type: 'string' }, - 'subject.organization': { type: 'string' }, - 'subject.organizationalUnit': { type: 'string' }, - 'subject.postalCode': { type: 'string' }, - 'subject.province': { type: 'string' }, - 'subject.streetAddress': { type: 'string' }, - 'subjectAltName.dnsNames': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.emailAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.ipAddresses': { - type: 'array', - items: { type: 'string' }, - }, - 'subjectAltName.uris': { - type: 'array', - items: { type: 'string' }, - }, - 'keyUsage.certSign': { type: 'boolean' }, - 'keyUsage.contentCommitment': { type: 'boolean' }, - 'keyUsage.crlSign': { type: 'boolean' }, - 'keyUsage.dataEncipherment': { type: 'boolean' }, - 'keyUsage.decipherOnly': { type: 'boolean' }, - 'keyUsage.digitalSignature': { type: 'boolean' }, - 'keyUsage.encipherOnly': { type: 'boolean' }, - 'keyUsage.keyAgreement': { type: 'boolean' }, - 'keyUsage.keyEncipherment': { type: 'boolean' }, - 'extendedKeyUsage.clientAuth': { type: 'boolean' }, - 'extendedKeyUsage.codeSigning': { type: 'boolean' }, - 'extendedKeyUsage.emailProtection': { type: 'boolean' }, - 'extendedKeyUsage.ocspSigning': { type: 'boolean' }, - 'extendedKeyUsage.serverAuth': { type: 'boolean' }, - 'extendedKeyUsage.timeStamping': { type: 'boolean' }, - webLink: { type: 'string' }, - createdOn: { type: 'number' }, - updatedOn: { type: 'number' }, - }, - }, - }); - - expect( - context.jobState.collectedRelationships.filter( - (e) => - e._type === - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CREATED_CERTIFICATE, - ), - ).toMatchDirectRelationshipSchema({ - schema: { - properties: { - _class: { const: 'CREATED' }, - _type: { - const: 'google_privateca_certificate_authority_created_certificate', - }, - }, - }, - }); - }); -}); diff --git a/src/steps/privateca/index.ts b/src/steps/privateca/index.ts index 63f0fe98..09a6eae3 100644 --- a/src/steps/privateca/index.ts +++ b/src/steps/privateca/index.ts @@ -1,226 +1,18 @@ -import { - createDirectRelationship, - getRawData, - RelationshipClass, -} from '@jupiterone/integration-sdk-core'; -import { privateca_v1beta1 } from 'googleapis'; -import { - GoogleCloudIntegrationStep, - IntegrationStepContext, -} from '../../types'; -import { isMemberPublic } from '../../utils/iam'; -import { PrivateCaClient } from './client'; -import { - STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES, - STEP_PRIVATE_CA_CERTIFICATES, - ENTITY_CLASS_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - ENTITY_CLASS_PRIVATE_CA_CERTIFICATE, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CREATED_CERTIFICATE, - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_USES_STORAGE_BUCKET, - STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS, -} from './constants'; -import { - createCertificateAuthorityEntity, - createCertificateEntity, -} from './converters'; -import { getCloudStorageBucketKey } from '../storage/converters'; -import { StorageEntitiesSpec, StorageStepsSpec } from '../storage/constants'; - -function isCertificateAuthorityPolicyPublicAccess( - caPolicy: privateca_v1beta1.Schema$Policy, -): boolean { - for (const binding of caPolicy.bindings || []) { - for (const member of binding.members || []) { - if (isMemberPublic(member)) { - return true; - } - } - } - - return false; -} - -export async function fetchCertificateAuthorities( - context: IntegrationStepContext, -): Promise { - const { - jobState, - instance: { config }, - } = context; - - const client = new PrivateCaClient({ config }); - - await client.iterateCertificateAuthorities(async (certificateAuthority) => { - const authorityId = certificateAuthority.name?.split('/')[5]; - const location = certificateAuthority.name?.split('/')[3]; - - const policy = await client.getAuthorityPolicy( - authorityId as string, - location as string, - ); - - const caEntity = createCertificateAuthorityEntity({ - data: certificateAuthority, - projectId: client.projectId, - isPublic: isCertificateAuthorityPolicyPublicAccess(policy), - }); - await jobState.addEntity(caEntity); - }); -} - -export async function buildCertificateAuthorityBucketRelationships( - context: IntegrationStepContext, -): Promise { - const { jobState, logger } = context; - - await jobState.iterateEntities( - { _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY }, - async (caAuthorityEntity) => { - const instance = - getRawData( - caAuthorityEntity, - ); - if (!instance) { - logger.warn( - { - _key: caAuthorityEntity._key, - }, - 'Could not find raw data on certificate authority entity', - ); - return; - } - - const bucketName = instance.gcsBucket; - if (!bucketName) { - return; - } - - const storageBucketEntity = await jobState.findEntity( - getCloudStorageBucketKey(bucketName), - ); - if (!storageBucketEntity) { - return; - } - - await jobState.addRelationship( - createDirectRelationship({ - _class: RelationshipClass.USES, - from: caAuthorityEntity, - to: storageBucketEntity, - }), - ); - }, - ); -} - -export async function fetchAuthorityCertificates( - context: IntegrationStepContext, -): Promise { - const { - jobState, - instance: { config }, - } = context; - - const client = new PrivateCaClient({ config }); - - await jobState.iterateEntities( - { - _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - }, - async (certificateAuthorityEntity) => { - const caId = (certificateAuthorityEntity.name as string).split('/')[5]; - const caLocation = (certificateAuthorityEntity.name as string).split( - '/', - )[3]; - - await client.iterateAuthorityCertificates( - caId, - caLocation, - async (certificate) => { - const certificateEntity = createCertificateEntity({ - data: certificate, - keyAlgorithm: certificateAuthorityEntity.keyAlgorithm as string, - projectId: client.projectId, - }); - - await jobState.addEntity(certificateEntity); - - await jobState.addRelationship( - createDirectRelationship({ - _class: RelationshipClass.CREATED, - from: certificateAuthorityEntity, - to: certificateEntity, - }), - ); - }, - ); - }, - ); -} - -export const privateCaSteps: GoogleCloudIntegrationStep[] = [ - { - id: STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES, - name: 'Private CA Certificate Authorities', - entities: [ - { - resourceName: 'Private CA Certificate Authority', - _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - _class: ENTITY_CLASS_PRIVATE_CA_CERTIFICATE_AUTHORITY, - }, - ], - relationships: [], - dependsOn: [], - executionHandler: fetchCertificateAuthorities, - permissions: [ - 'privateca.certificateAuthorities.getIamPolicy', - 'privateca.certificateAuthorities.list', - ], - apis: ['privateca.googleapis.com'], - }, - { - id: STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS, - name: 'Build Private CA Certificate Authoritity Bucket Relationships', - entities: [], - relationships: [ - { - _class: RelationshipClass.USES, - _type: - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_USES_STORAGE_BUCKET, - sourceType: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - targetType: StorageEntitiesSpec.STORAGE_BUCKET._type, - }, - ], - dependsOn: [ - STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES, - StorageStepsSpec.FETCH_STORAGE_BUCKETS.id, - ], - executionHandler: buildCertificateAuthorityBucketRelationships, - }, - { - id: STEP_PRIVATE_CA_CERTIFICATES, - name: 'Private CA Certificates', - entities: [ - { - resourceName: 'Private CA Certificate', - _type: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - _class: ENTITY_CLASS_PRIVATE_CA_CERTIFICATE, - }, - ], - relationships: [ - { - _class: RelationshipClass.CREATED, - _type: - RELATIONSHIP_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CREATED_CERTIFICATE, - sourceType: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, - targetType: ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, - }, - ], - dependsOn: [STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES], - executionHandler: fetchAuthorityCertificates, - permissions: ['privateca.certificates.list'], - apis: ['privateca.googleapis.com'], - }, +import { IntegrationStep } from '@jupiterone/integration-sdk-core'; + +import { fetchCaPoolsStepMap } from './steps/fetchCaPools'; +import { IntegrationConfig } from '../../types'; +import { fetchAuthorityCertificatesStepMap } from './steps/fetchAuthorityCertificates'; +import { fetchCertificateAuthoritiesStepMap } from './steps/fetchCertificateAuthorities'; +import { buildCAPoolCertificateAuthorityRelationshipsStepMap } from './steps/buildCAPoolCertificateAuthorityRelationships'; +import { buildCertificateAuthorityBucketRelationshipsStepMap } from './steps/buildCertificateAuthorityBucketRelationships'; +import { buildCertificateAuthorityCertificateRelationshipsStepMap } from './steps/buildCertificateAuthorityCertificateRelationships'; + +export const privateCaSteps: IntegrationStep[] = [ + fetchCaPoolsStepMap, + fetchAuthorityCertificatesStepMap, + fetchCertificateAuthoritiesStepMap, + buildCAPoolCertificateAuthorityRelationshipsStepMap, + buildCertificateAuthorityBucketRelationshipsStepMap, + buildCertificateAuthorityCertificateRelationshipsStepMap, ]; diff --git a/src/steps/privateca/__recordings__/buildCertificateAuthorityBucketRelationships_1185689588/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har similarity index 51% rename from src/steps/privateca/__recordings__/buildCertificateAuthorityBucketRelationships_1185689588/recording.har rename to src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har index 99e77cd8..a511ef53 100644 --- a/src/steps/privateca/__recordings__/buildCertificateAuthorityBucketRelationships_1185689588/recording.har +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har @@ -1,10 +1,10 @@ { "log": { - "_recordingName": "buildCertificateAuthorityBucketRelationships", + "_recordingName": "build-private-ca-certificate-authority-bucket-relationships", "creator": { "comment": "persister:JupiterOneIntegationFSPersister", "name": "Polly.JS", - "version": "5.1.1" + "version": "6.0.5" }, "entries": [ { @@ -12,7 +12,7 @@ "_order": 0, "cache": {}, "request": { - "bodySize": 739, + "bodySize": 709, "cookies": [], "headers": [ { @@ -28,7 +28,7 @@ { "_fromType": "array", "name": "content-length", - "value": "739" + "value": "709" }, { "_fromType": "array", @@ -62,10 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 584, + "bodySize": 1248, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 584, + "size": 1248, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -80,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:57 GMT" + "value": "Wed, 19 Apr 2023 19:24:18 GMT" }, { "name": "server", @@ -104,21 +105,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 506, + "headersSize": 390, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:56.981Z", - "time": 294, + "startedDateTime": "2023-04-19T19:24:18.546Z", + "time": 229, "timings": { "blocked": -1, "connect": -1, @@ -126,11 +127,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 294 + "wait": 229 } }, { - "_id": "7109c375aded16ca2d1083cd0aa7d706", + "_id": "8c3accf112bb6587d672fc0043521b03", "_order": 0, "cache": {}, "request": { @@ -140,7 +141,1079 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1363, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" + }, + "response": { + "bodySize": 397, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 397, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:20 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:18.784Z", + "time": 1348, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1348 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1244, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1244, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:20 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:20.147Z", + "time": 265, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 265 + } + }, + { + "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1411, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" + }, + "response": { + "bodySize": 2981, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 2981, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:21 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:20.419Z", + "time": 1175, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1175 + } + }, + { + "_id": "00072863c40154315495ff11a610f12b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" + }, + "response": { + "bodySize": 77, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 77, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:22 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:21.599Z", + "time": 1334, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1334 + } + }, + { + "_id": "8962f570ee57399ebff36f53d569ff86", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1406, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" + }, + "response": { + "bodySize": 3001, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 3001, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:23 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:22.944Z", + "time": 526, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 526 + } + }, + { + "_id": "74b32ca955d847028363ed3f3a6be139", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" + }, + "response": { + "bodySize": 111, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 111, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:24 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:23.478Z", + "time": 686, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 686 + } + }, + { + "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1400, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" + }, + "response": { + "bodySize": 3163, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 3163, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:25 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:24.169Z", + "time": 920, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 920 + } + }, + { + "_id": "20b5ce375e07ffa1875948ffffcdd6e1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" + }, + "response": { + "bodySize": 67, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 67, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:26 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:25.100Z", + "time": 1028, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1028 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 2, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1256, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1256, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:26 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:26.134Z", + "time": 125, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 125 + } + }, + { + "_id": "65eab8aa31b6c784d5db3b95c3652d13", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -179,11 +1252,135 @@ "url": "https://orgpolicy.googleapis.com/v2/projects/j1-gc-integration-dev-v3/policies/storage.publicAccessPrevention:getEffectivePolicy" }, "response": { - "bodySize": 299, + "bodySize": 294, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 294, + "text": "{\"name\":\"projects/167984947943/policies/storage.publicAccessPrevention\",\"spec\":{\"rules\":[{\"enforce\":false}]}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:24:27 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:24:26.265Z", + "time": 1193, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1193 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 3, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1256, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 299, - "text": "{\"name\":\"projects/167984947943/policies/storage.publicAccessPrevention\",\"spec\":{\"rules\":[{\"enforce\":true}]}}" + "size": 1256, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], "headers": [ @@ -197,11 +1394,11 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:58 GMT" + "value": "Wed, 19 Apr 2023 19:24:27 GMT" }, { "name": "server", - "value": "ESF" + "value": "scaffolding on HTTPServer2" }, { "name": "cache-control", @@ -221,21 +1418,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 483, + "headersSize": 390, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:57.308Z", - "time": 856, + "startedDateTime": "2023-04-19T19:24:27.463Z", + "time": 312, "timings": { "blocked": -1, "connect": -1, @@ -243,41 +1440,41 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 856 + "wait": 312 } }, { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 1, + "_id": "e131ee07f47aea1c0b6565a56aa0c9a6", + "_order": 0, "cache": {}, "request": { - "bodySize": 739, + "bodySize": 0, "cookies": [], "headers": [ { "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", - "name": "accept", - "value": "application/json" + "name": "accept-encoding", + "value": "gzip" }, { "_fromType": "array", - "name": "content-length", - "value": "739" + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + "name": "authorization", + "value": "[REDACTED]" }, { "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" + "name": "accept", + "value": "application/json" }, { "_fromType": "array", @@ -286,78 +1483,78 @@ }, { "name": "host", - "value": "www.googleapis.com" + "value": "storage.googleapis.com" } ], - "headersSize": 300, + "headersSize": 1348, "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" + "method": "GET", + "queryString": [ + { + "name": "project", + "value": "j1-gc-integration-dev-v3" + } + ], + "url": "https://storage.googleapis.com/storage/v1/b?project=j1-gc-integration-dev-v3" }, "response": { - "bodySize": 629, + "bodySize": 14030, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 629, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + "size": 14030, + "text": "{\n \"kind\": \"storage#buckets\",\n \"items\": [\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"id\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"name\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-07-20T12:47:31.280Z\",\n \"updated\": \"2022-09-08T07:30:23.430Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"id\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"name\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"7\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAc=\",\n \"timeCreated\": \"2021-07-20T12:47:10.911Z\",\n \"updated\": \"2021-09-08T17:19:48.039Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"id\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"name\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:31.407Z\",\n \"updated\": \"2021-07-20T12:47:31.407Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"id\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"name\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:10.793Z\",\n \"updated\": \"2021-07-20T12:47:10.793Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/example-backend-bucket-1\",\n \"id\": \"example-backend-bucket-1\",\n \"name\": \"example-backend-bucket-1\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"defaultEventBasedHold\": false,\n \"timeCreated\": \"2022-03-16T11:31:39.964Z\",\n \"updated\": \"2022-03-16T11:31:39.964Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-06-14T11:31:39.964Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-06-14T11:31:39.964Z\"\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"satisfiesPZS\": false,\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/gaston-delete\",\n \"id\": \"gaston-delete\",\n \"name\": \"gaston-delete\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-11-04T13:12:29.150Z\",\n \"updated\": \"2022-11-04T13:12:29.150Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2023-02-02T13:12:29.150Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2023-02-02T13:12:29.150Z\"\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/gcf-sources-167984947943-us-central1\",\n \"id\": \"gcf-sources-167984947943-us-central1\",\n \"name\": \"gcf-sources-167984947943-us-central1\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:26:23.272Z\",\n \"updated\": \"2021-05-31T16:26:23.272Z\",\n \"cors\": [\n {\n \"origin\": [\n \"https://*.cloud.google.com\",\n \"https://*.corp.google.com\",\n \"https://*.corp.google.com:*\"\n ],\n \"method\": [\n \"GET\"\n ]\n }\n ],\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-05-31T16:25:51.614Z\",\n \"updated\": \"2022-09-30T00:53:34.941Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"id\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"name\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"20\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CBQ=\",\n \"defaultEventBasedHold\": false,\n \"timeCreated\": \"2021-09-13T22:56:02.534Z\",\n \"updated\": \"2023-04-19T19:20:57.059Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"satisfiesPZS\": false,\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-test-tf-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-07-22T13:15:31.543Z\",\n \"updated\": \"2022-02-07T12:41:33.448Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-03-16T10:53:36.805Z\",\n \"updated\": \"2022-03-16T10:53:36.805Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3_cloudbuild\",\n \"id\": \"j1-gc-integration-dev-v3_cloudbuild\",\n \"name\": \"j1-gc-integration-dev-v3_cloudbuild\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2022-08-17T20:44:36.493Z\",\n \"updated\": \"2023-04-19T19:21:28.774Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions\",\n \"id\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"name\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"5\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAU=\",\n \"timeCreated\": \"2021-05-31T16:25:44.251Z\",\n \"updated\": \"2021-09-13T17:25:24.390Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/nacho_b4dfb99a_e0dc_4668_8d93_a3b6a68842e4\",\n \"id\": \"nacho_b4dfb99a_e0dc_4668_8d93_a3b6a68842e4\",\n \"name\": \"nacho_b4dfb99a_e0dc_4668_8d93_a3b6a68842e4\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-EAST1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-09-08T07:23:00.011Z\",\n \"updated\": \"2022-09-08T07:23:00.011Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-12-07T07:23:00.011Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-12-07T07:23:00.011Z\"\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"staging.j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"staging.j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-03-16T10:53:36.905Z\",\n \"updated\": \"2022-03-16T10:53:36.905Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 15\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-05-31T16:35:42.461Z\",\n \"updated\": \"2023-04-19T19:23:21.599Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n }\n ]\n}\n" }, "cookies": [], "headers": [ { - "name": "content-type", - "value": "application/json; charset=UTF-8" + "name": "x-guploader-uploadid", + "value": "[REDACTED]" }, { - "name": "vary", - "value": "Origin, X-Origin, Referer" + "name": "content-type", + "value": "application/json; charset=UTF-8" }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:58 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { - "name": "server", - "value": "scaffolding on HTTPServer2" + "name": "vary", + "value": "Origin, X-Origin" }, { "name": "cache-control", - "value": "private" + "value": "private, max-age=0, must-revalidate, no-transform" }, { - "name": "x-xss-protection", - "value": "0" + "name": "expires", + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { - "name": "x-frame-options", - "value": "SAMEORIGIN" + "name": "content-length", + "value": "14030" }, { - "name": "x-content-type-options", - "value": "nosniff" + "name": "server", + "value": "UploadServer" }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 506, + "headersSize": 455, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:58.173Z", - "time": 248, + "startedDateTime": "2023-04-19T19:24:27.781Z", + "time": 1349, "timings": { "blocked": -1, "connect": -1, @@ -365,11 +1562,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 248 + "wait": 1349 } }, { - "_id": "7acf0c9bb840f15466eeca7e82f34b42", + "_id": "752af354bf22611a0b56f66a85fd7c09", "_order": 0, "cache": {}, "request": { @@ -379,7 +1576,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -411,23 +1608,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1348, + "headersSize": 1372, "httpVersion": "HTTP/1.1", "method": "GET", - "queryString": [ - { - "name": "project", - "value": "j1-gc-integration-dev-v3" - } - ], - "url": "https://storage.googleapis.com/storage/v1/b?project=j1-gc-integration-dev-v3" + "queryString": [], + "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7/iam" }, "response": { - "bodySize": 11569, + "bodySize": 659, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 11569, - "text": "{\n \"kind\": \"storage#buckets\",\n \"items\": [\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"id\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"name\": \"dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:31.280Z\",\n \"updated\": \"2021-07-20T12:47:31.280Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"id\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"name\": \"dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"7\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAc=\",\n \"timeCreated\": \"2021-07-20T12:47:10.911Z\",\n \"updated\": \"2021-09-08T17:19:48.039Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"id\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"name\": \"dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"EUROPE-NORTH1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:31.407Z\",\n \"updated\": \"2021-07-20T12:47:31.407Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"id\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"name\": \"dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-07-20T12:47:10.793Z\",\n \"updated\": \"2021-07-20T12:47:10.793Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 90\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/example-backend-bucket-1\",\n \"id\": \"example-backend-bucket-1\",\n \"name\": \"example-backend-bucket-1\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"defaultEventBasedHold\": false,\n \"timeCreated\": \"2022-03-16T11:31:39.964Z\",\n \"updated\": \"2022-03-16T11:31:39.964Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-06-14T11:31:39.964Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2022-06-14T11:31:39.964Z\"\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"satisfiesPZS\": false,\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/gcf-sources-167984947943-us-central1\",\n \"id\": \"gcf-sources-167984947943-us-central1\",\n \"name\": \"gcf-sources-167984947943-us-central1\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US-CENTRAL1\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:26:23.272Z\",\n \"updated\": \"2021-05-31T16:26:23.272Z\",\n \"cors\": [\n {\n \"origin\": [\n \"https://*.cloud.google.com\",\n \"https://*.corp.google.com\",\n \"https://*.corp.google.com:*\"\n ],\n \"method\": [\n \"GET\"\n ]\n }\n ],\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2021-08-29T16:26:23.272Z\"\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"region\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:25:51.614Z\",\n \"updated\": \"2021-05-31T16:25:51.614Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"id\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"name\": \"j1-gc-integration-dev-v3-super-secret-stuff\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"12\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAw=\",\n \"defaultEventBasedHold\": false,\n \"timeCreated\": \"2021-09-13T22:56:02.534Z\",\n \"updated\": \"2021-10-27T18:29:52.571Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"satisfiesPZS\": false,\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-test-tf-bucket\",\n \"id\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"name\": \"j1-gc-integration-dev-v3-test-tf-bucket\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2021-07-22T13:15:31.543Z\",\n \"updated\": \"2022-02-07T12:41:33.448Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"enforced\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-03-16T10:53:36.805Z\",\n \"updated\": \"2022-03-16T10:53:36.805Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions\",\n \"id\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"name\": \"j1-gc-integration-dev-v3cloudfunctions\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"5\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAU=\",\n \"timeCreated\": \"2021-05-31T16:25:44.251Z\",\n \"updated\": \"2021-09-13T17:25:24.390Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"staging.j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"staging.j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2022-03-16T10:53:36.905Z\",\n \"updated\": \"2022-03-16T10:53:36.905Z\",\n \"lifecycle\": {\n \"rule\": [\n {\n \"action\": {\n \"type\": \"Delete\"\n },\n \"condition\": {\n \"age\": 15\n }\n }\n ]\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n },\n {\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"id\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"name\": \"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"projectNumber\": \"167984947943\",\n \"metageneration\": \"1\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAE=\",\n \"timeCreated\": \"2021-05-31T16:35:42.461Z\",\n \"updated\": \"2021-05-31T16:35:42.461Z\",\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": false\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": false\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n }\n ]\n}\n" + "size": 659, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/iam.securityAdmin\",\n \"members\": [\n \"serviceAccount:167984947943-compute@developer.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -435,13 +1627,17 @@ "name": "x-guploader-uploadid", "value": "[REDACTED]" }, + { + "name": "etag", + "value": "CAI=" + }, { "name": "content-type", "value": "application/json; charset=UTF-8" }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:58 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -453,11 +1649,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:38:58 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", - "value": "11569" + "value": "659" }, { "name": "server", @@ -465,21 +1661,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 575, + "headersSize": 471, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:58.437Z", - "time": 528, + "startedDateTime": "2023-04-19T19:24:29.139Z", + "time": 1707, "timings": { "blocked": -1, "connect": -1, @@ -487,11 +1683,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 528 + "wait": 1707 } }, { - "_id": "752af354bf22611a0b56f66a85fd7c09", + "_id": "e6207f653440e7c1aac11b385e419f4a", "_order": 0, "cache": {}, "request": { @@ -501,7 +1697,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -533,18 +1729,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1372, + "headersSize": 1370, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-europe-north1-167984947943-oqqo30p7/iam" + "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7/iam" }, "response": { - "bodySize": 502, + "bodySize": 620, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 502, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-europe-north1-167984947943-oqqo30p7\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 620, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"version\": 1,\n \"etag\": \"CAc=\",\n \"bindings\": [\n {\n \"role\": \"roles/composer.environmentAndStorageObjectViewer\",\n \"members\": [\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"allUsers\",\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -554,7 +1750,7 @@ }, { "name": "etag", - "value": "CAE=" + "value": "CAc=" }, { "name": "content-type", @@ -562,7 +1758,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:59 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -574,11 +1770,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:38:59 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", - "value": "502" + "value": "620" }, { "name": "server", @@ -586,21 +1782,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:58.972Z", - "time": 314, + "startedDateTime": "2023-04-19T19:24:29.140Z", + "time": 368, "timings": { "blocked": -1, "connect": -1, @@ -608,11 +1804,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 314 + "wait": 368 } }, { - "_id": "e6207f653440e7c1aac11b385e419f4a", + "_id": "d32b5df4e7bf4dd8f9f2b3cc465fd7b7", "_order": 0, "cache": {}, "request": { @@ -622,7 +1818,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -654,18 +1850,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1370, + "headersSize": 1367, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-staging-us-central1-167984947943-okmnuod7/iam" + "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo/iam" }, "response": { - "bodySize": 620, + "bodySize": 497, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 620, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-staging-us-central1-167984947943-okmnuod7\",\n \"version\": 1,\n \"etag\": \"CAc=\",\n \"bindings\": [\n {\n \"role\": \"roles/composer.environmentAndStorageObjectViewer\",\n \"members\": [\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"allUsers\",\n \"user:michael.knoedel@jupiterone.com\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 497, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -675,7 +1871,7 @@ }, { "name": "etag", - "value": "CAc=" + "value": "CAE=" }, { "name": "content-type", @@ -683,7 +1879,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:38:59 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -695,11 +1891,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:38:59 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", - "value": "620" + "value": "497" }, { "name": "server", @@ -707,21 +1903,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:59.364Z", - "time": 452, + "startedDateTime": "2023-04-19T19:24:29.141Z", + "time": 370, "timings": { "blocked": -1, "connect": -1, @@ -729,7 +1925,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 452 + "wait": 370 } }, { @@ -743,7 +1939,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -804,7 +2000,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:00 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -816,7 +2012,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:00 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", @@ -828,21 +2024,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 471, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:38:59.819Z", - "time": 361, + "startedDateTime": "2023-04-19T19:24:29.141Z", + "time": 1704, "timings": { "blocked": -1, "connect": -1, @@ -850,11 +2046,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 361 + "wait": 1704 } }, { - "_id": "d32b5df4e7bf4dd8f9f2b3cc465fd7b7", + "_id": "c382221051c53cd4e936bdaaea002f1e", "_order": 0, "cache": {}, "request": { @@ -864,7 +2060,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -896,18 +2092,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1367, + "headersSize": 1344, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo/iam" + "url": "https://storage.googleapis.com/storage/v1/b/example-backend-bucket-1/iam" }, "response": { - "bodySize": 497, + "bodySize": 800, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 497, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 800, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/example-backend-bucket-1\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -925,7 +2121,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:00 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -937,11 +2133,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:00 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", - "value": "497" + "value": "800" }, { "name": "server", @@ -949,21 +2145,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:00.183Z", - "time": 431, + "startedDateTime": "2023-04-19T19:24:29.143Z", + "time": 382, "timings": { "blocked": -1, "connect": -1, @@ -971,11 +2167,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 431 + "wait": 382 } }, { - "_id": "c382221051c53cd4e936bdaaea002f1e", + "_id": "410808d7e83a84ddb3b216e4a05d0087", "_order": 0, "cache": {}, "request": { @@ -985,7 +2181,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1017,18 +2213,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1344, + "headersSize": 1333, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/example-backend-bucket-1/iam" + "url": "https://storage.googleapis.com/storage/v1/b/gaston-delete/iam" }, "response": { - "bodySize": 800, + "bodySize": 789, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 800, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/example-backend-bucket-1\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 789, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/gaston-delete\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -1046,7 +2242,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -1058,11 +2254,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", - "value": "800" + "value": "789" }, { "name": "server", @@ -1070,21 +2266,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:00.618Z", - "time": 460, + "startedDateTime": "2023-04-19T19:24:29.516Z", + "time": 412, "timings": { "blocked": -1, "connect": -1, @@ -1092,7 +2288,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 460 + "wait": 412 } }, { @@ -1106,7 +2302,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1167,7 +2363,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -1179,7 +2375,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", @@ -1191,21 +2387,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:01.082Z", - "time": 432, + "startedDateTime": "2023-04-19T19:24:29.517Z", + "time": 395, "timings": { "blocked": -1, "connect": -1, @@ -1213,7 +2409,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 432 + "wait": 395 } }, { @@ -1227,7 +2423,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1270,7 +2466,7 @@ "content": { "mimeType": "application/json; charset=UTF-8", "size": 494, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-sink-logging-bucket\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -1280,7 +2476,7 @@ }, { "name": "etag", - "value": "CAE=" + "value": "CAI=" }, { "name": "content-type", @@ -1288,7 +2484,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "vary", @@ -1300,7 +2496,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:01 GMT" + "value": "Wed, 19 Apr 2023 19:24:29 GMT" }, { "name": "content-length", @@ -1312,21 +2508,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:01.517Z", - "time": 462, + "startedDateTime": "2023-04-19T19:24:29.529Z", + "time": 397, "timings": { "blocked": -1, "connect": -1, @@ -1334,7 +2530,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 462 + "wait": 397 } }, { @@ -1348,7 +2544,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1387,11 +2583,11 @@ "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3-super-secret-stuff/iam" }, "response": { - "bodySize": 669, + "bodySize": 927, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 669, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"version\": 1,\n \"etag\": \"CAw=\",\n \"bindings\": [\n {\n \"role\": \"organizations/958457776463/roles/NothingToSeeHere\",\n \"members\": [\n \"allUsers\",\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 927, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3-super-secret-stuff\",\n \"version\": 1,\n \"etag\": \"CBQ=\",\n \"bindings\": [\n {\n \"role\": \"organizations/958457776463/roles/NothingToSeeHere\",\n \"members\": [\n \"allUsers\",\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -1401,7 +2597,7 @@ }, { "name": "etag", - "value": "CAw=" + "value": "CBQ=" }, { "name": "content-type", @@ -1409,7 +2605,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:02 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -1421,11 +2617,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:02 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", - "value": "669" + "value": "927" }, { "name": "server", @@ -1433,21 +2629,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:01.981Z", - "time": 526, + "startedDateTime": "2023-04-19T19:24:29.918Z", + "time": 470, "timings": { "blocked": -1, "connect": -1, @@ -1455,7 +2651,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 526 + "wait": 470 } }, { @@ -1469,7 +2665,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1530,7 +2726,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:02 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -1542,7 +2738,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:02 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", @@ -1554,21 +2750,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:02.511Z", - "time": 431, + "startedDateTime": "2023-04-19T19:24:29.930Z", + "time": 461, "timings": { "blocked": -1, "connect": -1, @@ -1576,7 +2772,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 431 + "wait": 461 } }, { @@ -1590,7 +2786,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1651,7 +2847,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:03 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -1663,7 +2859,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:03 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", @@ -1675,21 +2871,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:02.946Z", - "time": 532, + "startedDateTime": "2023-04-19T19:24:29.934Z", + "time": 458, "timings": { "blocked": -1, "connect": -1, @@ -1697,7 +2893,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 532 + "wait": 458 } }, { @@ -1711,7 +2907,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1772,7 +2968,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:03 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -1784,7 +2980,7 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:03 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", @@ -1796,21 +2992,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:03.481Z", - "time": 506, + "startedDateTime": "2023-04-19T19:24:30.395Z", + "time": 434, "timings": { "blocked": -1, "connect": -1, @@ -1818,11 +3014,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 506 + "wait": 434 } }, { - "_id": "93cee02f5d8ad6ade0697de1880a136b", + "_id": "df9e68b5975c37dcaf0428feaa0b1aa7", "_order": 0, "cache": {}, "request": { @@ -1832,7 +3028,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1864,18 +3060,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1364, + "headersSize": 1355, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com/iam" + "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3_cloudbuild/iam" }, "response": { - "bodySize": 494, + "bodySize": 743, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 494, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 743, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3_cloudbuild\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -1885,7 +3081,7 @@ }, { "name": "etag", - "value": "CAE=" + "value": "CAI=" }, { "name": "content-type", @@ -1893,7 +3089,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:04 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "vary", @@ -1905,11 +3101,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:04 GMT" + "value": "Wed, 19 Apr 2023 19:24:30 GMT" }, { "name": "content-length", - "value": "494" + "value": "743" }, { "name": "server", @@ -1917,21 +3113,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 578, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:03.990Z", - "time": 489, + "startedDateTime": "2023-04-19T19:24:30.395Z", + "time": 435, "timings": { "blocked": -1, "connect": -1, @@ -1939,11 +3135,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 489 + "wait": 435 } }, { - "_id": "e6a47336fda03771ef2a23c1c54f6521", + "_id": "e96671a6e9fb70e7c736604b279e825d", "_order": 0, "cache": {}, "request": { @@ -1953,7 +3149,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -1985,18 +3181,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1369, + "headersSize": 1362, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com/iam" + "url": "https://storage.googleapis.com/storage/v1/b/nacho_b4dfb99a_e0dc_4668_8d93_a3b6a68842e4/iam" }, "response": { - "bodySize": 499, + "bodySize": 818, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 499, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 818, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/nacho_b4dfb99a_e0dc_4668_8d93_a3b6a68842e4\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyObjectReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -2014,7 +3210,7 @@ }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:04 GMT" + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { "name": "vary", @@ -2026,11 +3222,11 @@ }, { "name": "expires", - "value": "Wed, 16 Mar 2022 15:39:04 GMT" + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { "name": "content-length", - "value": "499" + "value": "818" }, { "name": "server", @@ -2038,21 +3234,21 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 585, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:04.481Z", - "time": 469, + "startedDateTime": "2023-04-19T19:24:30.397Z", + "time": 1001, "timings": { "blocked": -1, "connect": -1, @@ -2060,41 +3256,41 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 469 + "wait": 1001 } }, { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 2, + "_id": "e6a47336fda03771ef2a23c1c54f6521", + "_order": 0, "cache": {}, "request": { - "bodySize": 739, + "bodySize": 0, "cookies": [], "headers": [ { "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", - "name": "accept", - "value": "application/json" + "name": "accept-encoding", + "value": "gzip" }, { "_fromType": "array", - "name": "content-length", - "value": "739" + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + "name": "authorization", + "value": "[REDACTED]" }, { "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" + "name": "accept", + "value": "application/json" }, { "_fromType": "array", @@ -2103,78 +3299,77 @@ }, { "name": "host", - "value": "www.googleapis.com" + "value": "storage.googleapis.com" } ], - "headersSize": 300, + "headersSize": 1369, "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, + "method": "GET", "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" + "url": "https://storage.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com/iam" }, "response": { - "bodySize": 616, + "bodySize": 757, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 616, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + "size": 757, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ { - "name": "content-type", - "value": "application/json; charset=UTF-8" + "name": "x-guploader-uploadid", + "value": "[REDACTED]" }, { - "name": "vary", - "value": "Origin, X-Origin, Referer" + "name": "etag", + "value": "CAI=" + }, + { + "name": "content-type", + "value": "application/json; charset=UTF-8" }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:05 GMT" + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { - "name": "server", - "value": "scaffolding on HTTPServer2" + "name": "vary", + "value": "Origin, X-Origin" }, { "name": "cache-control", - "value": "private" + "value": "private, max-age=0, must-revalidate, no-transform" }, { - "name": "x-xss-protection", - "value": "0" + "name": "expires", + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { - "name": "x-frame-options", - "value": "SAMEORIGIN" + "name": "content-length", + "value": "757" }, { - "name": "x-content-type-options", - "value": "nosniff" + "name": "server", + "value": "UploadServer" }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 506, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:04.961Z", - "time": 241, + "startedDateTime": "2023-04-19T19:24:30.837Z", + "time": 377, "timings": { "blocked": -1, "connect": -1, @@ -2182,11 +3377,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 241 + "wait": 377 } }, { - "_id": "3d9ed69941e0a8bbb740f8f44dc81de2", + "_id": "93cee02f5d8ad6ade0697de1880a136b", "_order": 0, "cache": {}, "request": { @@ -2196,7 +3391,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/14.18.2 auth/7.1.1" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -2225,73 +3420,77 @@ }, { "name": "host", - "value": "privateca.googleapis.com" + "value": "storage.googleapis.com" } ], - "headersSize": 1383, + "headersSize": 1364, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v3/locations/-/certificateAuthorities" + "url": "https://storage.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com/iam" }, "response": { - "bodySize": 59, + "bodySize": 494, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 59, - "text": "{}" + "size": 494, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ { - "name": "content-type", - "value": "application/json; charset=UTF-8" + "name": "x-guploader-uploadid", + "value": "[REDACTED]" }, { - "name": "vary", - "value": "Origin, X-Origin, Referer" + "name": "etag", + "value": "CAE=" + }, + { + "name": "content-type", + "value": "application/json; charset=UTF-8" }, { "name": "date", - "value": "Wed, 16 Mar 2022 15:39:06 GMT" + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { - "name": "server", - "value": "ESF" + "name": "vary", + "value": "Origin, X-Origin" }, { "name": "cache-control", - "value": "private" + "value": "private, max-age=0, must-revalidate, no-transform" }, { - "name": "x-xss-protection", - "value": "0" + "name": "expires", + "value": "Wed, 19 Apr 2023 19:24:31 GMT" }, { - "name": "x-frame-options", - "value": "SAMEORIGIN" + "name": "content-length", + "value": "494" }, { - "name": "x-content-type-options", - "value": "nosniff" + "name": "server", + "value": "UploadServer" }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 483, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-03-16T15:39:05.216Z", - "time": 1217, + "startedDateTime": "2023-04-19T19:24:30.837Z", + "time": 426, "timings": { "blocked": -1, "connect": -1, @@ -2299,7 +3498,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1217 + "wait": 426 } } ], diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har new file mode 100644 index 00000000..2c4c8c50 --- /dev/null +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har @@ -0,0 +1,1563 @@ +{ + "log": { + "_recordingName": "build-private-ca-certificate-authority-certificate-relationships", + "creator": { + "comment": "persister:JupiterOneIntegationFSPersister", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1262, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1262, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:05 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:05.179Z", + "time": 183, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 183 + } + }, + { + "_id": "8c3accf112bb6587d672fc0043521b03", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1363, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" + }, + "response": { + "bodySize": 424, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 424, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:06 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:05.368Z", + "time": 1365, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1365 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1252, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1252, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:07 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:06.750Z", + "time": 259, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 259 + } + }, + { + "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1411, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" + }, + "response": { + "bodySize": 3018, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 3018, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:08 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:07.018Z", + "time": 1272, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1272 + } + }, + { + "_id": "00072863c40154315495ff11a610f12b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" + }, + "response": { + "bodySize": 77, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 77, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:09 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:08.299Z", + "time": 1340, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1340 + } + }, + { + "_id": "8962f570ee57399ebff36f53d569ff86", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1406, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" + }, + "response": { + "bodySize": 2953, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 2953, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:10 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:09.649Z", + "time": 465, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 465 + } + }, + { + "_id": "74b32ca955d847028363ed3f3a6be139", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" + }, + "response": { + "bodySize": 128, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 128, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:10 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:10.119Z", + "time": 639, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 639 + } + }, + { + "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1400, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" + }, + "response": { + "bodySize": 3149, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 3149, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:11 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:10.767Z", + "time": 952, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 952 + } + }, + { + "_id": "20b5ce375e07ffa1875948ffffcdd6e1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" + }, + "response": { + "bodySize": 60, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 60, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:12 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:11.725Z", + "time": 1016, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1016 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 2, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1255, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1255, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:13 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:12.747Z", + "time": 106, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 106 + } + }, + { + "_id": "3dd660a755a9fc653e83005abd6c5967", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" + }, + "response": { + "bodySize": 155, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 155, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:14 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:12.861Z", + "time": 1252, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1252 + } + }, + { + "_id": "58f73c897e7937312440b6a359a24374", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" + }, + "response": { + "bodySize": 4334, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 4334, + "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:14 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:14.118Z", + "time": 586, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 586 + } + }, + { + "_id": "65ad7941261d977eaa2207bfe586ff58", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificates" + }, + "response": { + "bodySize": 148, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 148, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 19:36:15 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T19:36:14.716Z", + "time": 923, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 923 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har new file mode 100644 index 00000000..c7ea1e7a --- /dev/null +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har @@ -0,0 +1,968 @@ +{ + "log": { + "_recordingName": "build-private-ca-pool-certificate-authority-relationships", + "creator": { + "comment": "persister:JupiterOneIntegationFSPersister", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1252, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1252, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:40 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:40.442Z", + "time": 186, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 186 + } + }, + { + "_id": "8c3accf112bb6587d672fc0043521b03", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1363, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" + }, + "response": { + "bodySize": 383, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 383, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:42 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:40.635Z", + "time": 1633, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1633 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1160, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1160, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:42 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:42.289Z", + "time": 122, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 122 + } + }, + { + "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1411, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" + }, + "response": { + "bodySize": 2950, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 2950, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:43 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:42.417Z", + "time": 1193, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1193 + } + }, + { + "_id": "00072863c40154315495ff11a610f12b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" + }, + "response": { + "bodySize": 179, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 179, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:44 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:43.615Z", + "time": 1376, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1376 + } + }, + { + "_id": "8962f570ee57399ebff36f53d569ff86", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1406, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" + }, + "response": { + "bodySize": 3001, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 3001, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:45 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:44.997Z", + "time": 441, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 441 + } + }, + { + "_id": "74b32ca955d847028363ed3f3a6be139", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" + }, + "response": { + "bodySize": 77, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 77, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:46 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:45.446Z", + "time": 657, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 657 + } + }, + { + "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1400, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" + }, + "response": { + "bodySize": 53, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 53, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:59:47 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:59:46.110Z", + "time": 976, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 976 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/src/steps/privateca/__recordings__/fetchAuthorityCertificates_2784150724/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har similarity index 54% rename from src/steps/privateca/__recordings__/fetchAuthorityCertificates_2784150724/recording.har rename to src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har index b3e8219d..0b6a0dda 100644 --- a/src/steps/privateca/__recordings__/fetchAuthorityCertificates_2784150724/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har @@ -1,10 +1,10 @@ { "log": { - "_recordingName": "fetchAuthorityCertificates", + "_recordingName": "fetch-private-ca-certificate-authorities", "creator": { "comment": "persister:JupiterOneIntegationFSPersister", "name": "Polly.JS", - "version": "4.3.0" + "version": "6.0.5" }, "entries": [ { @@ -12,13 +12,13 @@ "_order": 0, "cache": {}, "request": { - "bodySize": 739, + "bodySize": 709, "cookies": [], "headers": [ { "_fromType": "array", "name": "content-type", - "value": "application/json" + "value": "application/x-www-form-urlencoded" }, { "_fromType": "array", @@ -28,7 +28,7 @@ { "_fromType": "array", "name": "content-length", - "value": "739" + "value": "709" }, { "_fromType": "array", @@ -50,11 +50,11 @@ "value": "www.googleapis.com" } ], - "headersSize": 283, + "headersSize": 300, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { - "mimeType": "application/json", + "mimeType": "application/x-www-form-urlencoded", "params": [], "text": "[REDACTED]" }, @@ -62,10 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 566, + "bodySize": 1173, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 566, + "size": 1173, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -80,7 +81,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:43 GMT" + "value": "Wed, 19 Apr 2023 18:56:59 GMT" }, { "name": "server", @@ -104,21 +105,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 511, + "headersSize": 390, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:43.225Z", - "time": 175, + "startedDateTime": "2023-04-19T18:56:59.568Z", + "time": 203, "timings": { "blocked": -1, "connect": -1, @@ -126,11 +127,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 175 + "wait": 203 } }, { - "_id": "13f6c47fe7ac729ab3416f92e5668202", + "_id": "8c3accf112bb6587d672fc0043521b03", "_order": 0, "cache": {}, "request": { @@ -140,7 +141,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.1 gl-node/14.15.4 auth/7.0.2" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -150,7 +151,7 @@ { "_fromType": "array", "name": "user-agent", - "value": "google-api-nodejs-client/5.0.1 (gzip)" + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", @@ -172,18 +173,19 @@ "value": "privateca.googleapis.com" } ], - "headersSize": 582, + "headersSize": 1363, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v2/locations/-/certificateAuthorities" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 9426, + "bodySize": 390, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 9426, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name\",\"type\":\"SELF_SIGNED\",\"tier\":\"ENTERPRISE\",\"config\":{\"subjectConfig\":{\"subject\":{\"organization\":\"Test Organization Name\"},\"commonName\":\"Test CA Name\"},\"reusableConfig\":{\"reusableConfigValues\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true,\"maxIssuerPathLength\":1}}}},\"lifetime\":\"314496000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_4096_SHA256\"},\"issuingOptions\":{\"includeCaCertUrl\":true,\"includeCrlAccessUrl\":true},\"pemCaCertificates\":[],\"state\":\"ENABLED\",\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"organization\":\"Test Organization Name\"},\"commonName\":\"Test CA Name\",\"subjectAltName\":{},\"hexSerialNumber\":\"00b38cb1619dfd6a5fdc5542a97ab9bb09abab0f\",\"lifetime\":\"314496000s\",\"notBeforeTime\":\"2021-04-01T19:08:06.481768813Z\",\"notAfterTime\":\"2031-03-20T19:08:06.481768813Z\"},\"configValues\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true,\"maxIssuerPathLength\":1}},\"publicKey\":{\"type\":\"PEM_RSA_KEY\",\"key\":\"[REDACTED]\"},\"subjectKeyId\":{\"keyId\":\"f4c932216ac01039c8f3c952fab0c2f7db202315\"},\"authorityKeyId\":{\"keyId\":\"f4c932216ac01039c8f3c952fab0c2f7db202315\"},\"certFingerprint\":{\"sha256Hash\":\"f9998966e551d9000710508f33b4d50a6b2282473c913de3e5e0057391be909e\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt\",\"crlAccessUrl\":\"http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl\"},\"createTime\":\"2021-04-01T19:08:05.695936998Z\",\"updateTime\":\"2021-04-07T14:18:36.760073627Z\"},{\"name\":\"projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName\",\"type\":\"SELF_SIGNED\",\"tier\":\"ENTERPRISE\",\"config\":{\"subjectConfig\":{\"subject\":{\"organization\":\"Acme\"},\"commonName\":\"acmeName\"},\"reusableConfig\":{\"reusableConfig\":\"projects/568668481468/locations/us-central1/reusableConfigs/root-unconstrained\"}},\"lifetime\":\"314496000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"issuingOptions\":{\"includeCaCertUrl\":true,\"includeCrlAccessUrl\":true},\"pemCaCertificates\":[],\"state\":\"ENABLED\",\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"organization\":\"Acme\"},\"commonName\":\"acmeName\",\"subjectAltName\":{},\"hexSerialNumber\":\"008a51de1d92de213728c7733b74700f4a684513\",\"lifetime\":\"314496000s\",\"notBeforeTime\":\"2021-04-08T14:44:07.900172684Z\",\"notAfterTime\":\"2031-03-27T14:44:07.900172684Z\"},\"configValues\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"type\":\"PEM_RSA_KEY\",\"key\":\"[REDACTED]\"},\"subjectKeyId\":{\"keyId\":\"ec21738d89c6020cfab46e73b1a001d7fb24d34c\"},\"authorityKeyId\":{\"keyId\":\"ec21738d89c6020cfab46e73b1a001d7fb24d34c\"},\"certFingerprint\":{\"sha256Hash\":\"d7de957b8c0903c662332fc8ec4966c5dc01b7426ed778dc389aaa545a37064a\"}}],\"gcsBucket\":\"test-bucket-with-labels\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/ca.crt\",\"crlAccessUrl\":\"http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/crl.crl\"},\"createTime\":\"2021-04-08T14:44:07.215539285Z\",\"updateTime\":\"2021-04-08T14:44:09.263990183Z\"}]}" + "size": 390, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], "headers": [ @@ -197,7 +199,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:44 GMT" + "value": "Wed, 19 Apr 2023 18:57:01 GMT" }, { "name": "server", @@ -221,21 +223,144 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:56:59.779Z", + "time": 1348, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1348 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1238, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1238, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:01 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 488, + "headersSize": 390, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:43.412Z", - "time": 1060, + "startedDateTime": "2023-04-19T18:57:01.147Z", + "time": 275, "timings": { "blocked": -1, "connect": -1, @@ -243,11 +368,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1060 + "wait": 275 } }, { - "_id": "4e9a03ab59ab6c6d63ad970c0bdeabf8", + "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", "_order": 0, "cache": {}, "request": { @@ -257,7 +382,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.1 gl-node/14.15.4 auth/7.0.2" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -267,7 +392,7 @@ { "_fromType": "array", "name": "user-agent", - "value": "google-api-nodejs-client/5.0.1 (gzip)" + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", @@ -289,18 +414,19 @@ "value": "privateca.googleapis.com" } ], - "headersSize": 618, + "headersSize": 1411, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name:getIamPolicy" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 337, + "bodySize": 2947, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 337, - "text": "{\"version\":1,\"etag\":\"BwW/YptMiiU=\",\"bindings\":[{\"role\":\"roles/privateca.auditor\",\"members\":[\"user:viragsf@gmail.com\"]}]}" + "size": 2947, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], "headers": [ @@ -314,7 +440,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:45 GMT" + "value": "Wed, 19 Apr 2023 18:57:02 GMT" }, { "name": "server", @@ -338,21 +464,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 488, + "headersSize": 367, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:44.477Z", - "time": 798, + "startedDateTime": "2023-04-19T18:57:01.430Z", + "time": 1207, "timings": { "blocked": -1, "connect": -1, @@ -360,11 +486,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 798 + "wait": 1207 } }, { - "_id": "40b16c3acef970d1d90875186322eed4", + "_id": "00072863c40154315495ff11a610f12b", "_order": 0, "cache": {}, "request": { @@ -374,7 +500,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.1 gl-node/14.15.4 auth/7.0.2" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -384,7 +510,7 @@ { "_fromType": "array", "name": "user-agent", - "value": "google-api-nodejs-client/5.0.1 (gzip)" + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", @@ -406,17 +532,18 @@ "value": "privateca.googleapis.com" } ], - "headersSize": 614, + "headersSize": 1401, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName:getIamPolicy" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 92, + "bodySize": 118, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 92, + "size": 118, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -431,7 +558,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:46 GMT" + "value": "Wed, 19 Apr 2023 18:57:03 GMT" }, { "name": "server", @@ -455,21 +582,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 488, + "headersSize": 367, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:45.288Z", - "time": 887, + "startedDateTime": "2023-04-19T18:57:02.645Z", + "time": 1269, "timings": { "blocked": -1, "connect": -1, @@ -477,41 +604,41 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 887 + "wait": 1269 } }, { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 1, + "_id": "8962f570ee57399ebff36f53d569ff86", + "_order": 0, "cache": {}, "request": { - "bodySize": 739, + "bodySize": 0, "cookies": [], "headers": [ { "_fromType": "array", - "name": "content-type", - "value": "application/json" + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", - "name": "accept", - "value": "application/json" + "name": "accept-encoding", + "value": "gzip" }, { "_fromType": "array", - "name": "content-length", - "value": "739" + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + "name": "authorization", + "value": "[REDACTED]" }, { "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" + "name": "accept", + "value": "application/json" }, { "_fromType": "array", @@ -520,26 +647,22 @@ }, { "name": "host", - "value": "www.googleapis.com" + "value": "privateca.googleapis.com" } ], - "headersSize": 283, + "headersSize": 1406, "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "[REDACTED]" - }, + "method": "GET", "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 541, + "bodySize": 3032, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 541, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + "size": 3032, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], "headers": [ @@ -553,11 +676,11 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:46 GMT" + "value": "Wed, 19 Apr 2023 18:57:04 GMT" }, { "name": "server", - "value": "scaffolding on HTTPServer2" + "value": "ESF" }, { "name": "cache-control", @@ -577,21 +700,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 511, + "headersSize": 367, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:46.181Z", - "time": 138, + "startedDateTime": "2023-04-19T18:57:03.925Z", + "time": 642, "timings": { "blocked": -1, "connect": -1, @@ -599,11 +722,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 138 + "wait": 642 } }, { - "_id": "975669a76a730cfe731f1daadd53c185", + "_id": "74b32ca955d847028363ed3f3a6be139", "_order": 0, "cache": {}, "request": { @@ -613,7 +736,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.1 gl-node/14.15.4 auth/7.0.2" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -623,7 +746,7 @@ { "_fromType": "array", "name": "user-agent", - "value": "google-api-nodejs-client/5.0.1 (gzip)" + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", @@ -645,18 +768,19 @@ "value": "privateca.googleapis.com" } ], - "headersSize": 618, + "headersSize": 1396, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 8208, + "bodySize": 67, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 8208, - "text": "{\"certificates\":[{\"name\":\"projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03\",\"config\":{\"subjectConfig\":{\"subjectAltName\":{\"dnsNames\":[\"google.com\"]}},\"reusableConfig\":{\"reusableConfigValues\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}}},\"publicKey\":{\"type\":\"PEM_RSA_KEY\",\"key\":\"[REDACTED]\"}},\"lifetime\":\"2592000s\",\"pemCertificate\":\"[REDACTED]\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"google.com\"]},\"hexSerialNumber\":\"ec41a22274884f34272ea3dabe37a42daffe41\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2021-04-01T19:17:48Z\",\"notAfterTime\":\"2021-05-01T19:17:48Z\"},\"configValues\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"type\":\"PEM_RSA_KEY\",\"key\":\"[REDACTED]\"},\"subjectKeyId\":{\"keyId\":\"abb01889d84091201b6c09b3f4f6cf04d0a91c13\"},\"authorityKeyId\":{\"keyId\":\"f4c932216ac01039c8f3c952fab0c2f7db202315\"},\"crlDistributionPoints\":[\"http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"7aeb434082c0ea73d819c1e4fab7a3e31f027a9d4440f666af2e3ac38a26039b\"}},\"pemCertificateChain\":[],\"createTime\":\"2021-04-01T19:17:48.319675789Z\",\"updateTime\":\"2021-04-01T19:17:48.319675789Z\"}]}" + "size": 67, + "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], "headers": [ @@ -670,7 +794,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:47 GMT" + "value": "Wed, 19 Apr 2023 18:57:05 GMT" }, { "name": "server", @@ -694,21 +818,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 488, + "headersSize": 367, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:46.323Z", - "time": 870, + "startedDateTime": "2023-04-19T18:57:04.571Z", + "time": 635, "timings": { "blocked": -1, "connect": -1, @@ -716,11 +840,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 870 + "wait": 635 } }, { - "_id": "7f5aee3db838bc4952f854b795800886", + "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", "_order": 0, "cache": {}, "request": { @@ -730,7 +854,7 @@ { "_fromType": "array", "name": "x-goog-api-client", - "value": "gdcl/5.0.1 gl-node/14.15.4 auth/7.0.2" + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" }, { "_fromType": "array", @@ -740,7 +864,7 @@ { "_fromType": "array", "name": "user-agent", - "value": "google-api-nodejs-client/5.0.1 (gzip)" + "value": "google-api-nodejs-client/5.0.2 (gzip)" }, { "_fromType": "array", @@ -762,17 +886,18 @@ "value": "privateca.googleapis.com" } ], - "headersSize": 614, + "headersSize": 1400, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://privateca.googleapis.com/v1beta1/projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName/certificates" + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 104, + "bodySize": 63, "content": { + "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 104, + "size": 63, "text": "{}" }, "cookies": [], @@ -787,7 +912,7 @@ }, { "name": "date", - "value": "Fri, 09 Apr 2021 16:46:47 GMT" + "value": "Wed, 19 Apr 2023 18:57:06 GMT" }, { "name": "server", @@ -811,21 +936,21 @@ }, { "name": "alt-svc", - "value": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" }, { "name": "connection", "value": "close" } ], - "headersSize": 488, + "headersSize": 367, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2021-04-09T16:46:47.200Z", - "time": 793, + "startedDateTime": "2023-04-19T18:57:05.211Z", + "time": 927, "timings": { "blocked": -1, "connect": -1, @@ -833,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 793 + "wait": 927 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har new file mode 100644 index 00000000..02b773af --- /dev/null +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har @@ -0,0 +1,1327 @@ +{ + "log": { + "_recordingName": "fetch-private-ca-certificates", + "creator": { + "comment": "persister:JupiterOneIntegationFSPersister", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1164, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1164, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:56:59 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:56:59.568Z", + "time": 208, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 208 + } + }, + { + "_id": "8c3accf112bb6587d672fc0043521b03", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1363, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" + }, + "response": { + "bodySize": 407, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 407, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:02 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:56:59.784Z", + "time": 2686, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2686 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1194, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1194, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:02 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:02.484Z", + "time": 102, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 102 + } + }, + { + "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1411, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" + }, + "response": { + "bodySize": 2940, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 2940, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:03 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:02.597Z", + "time": 1167, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1167 + } + }, + { + "_id": "00072863c40154315495ff11a610f12b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" + }, + "response": { + "bodySize": 135, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 135, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:05 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:03.769Z", + "time": 1322, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1322 + } + }, + { + "_id": "8962f570ee57399ebff36f53d569ff86", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1406, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" + }, + "response": { + "bodySize": 2957, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 2957, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:05 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:05.100Z", + "time": 515, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 515 + } + }, + { + "_id": "74b32ca955d847028363ed3f3a6be139", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" + }, + "response": { + "bodySize": 172, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 172, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:06 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:05.623Z", + "time": 697, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 697 + } + }, + { + "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1400, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" + }, + "response": { + "bodySize": 60, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 60, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:07 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:06.324Z", + "time": 912, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 912 + } + }, + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 2, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1171, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1171, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:07 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:07.247Z", + "time": 136, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 136 + } + }, + { + "_id": "3dd660a755a9fc653e83005abd6c5967", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1401, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" + }, + "response": { + "bodySize": 60, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 60, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:08 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:07.390Z", + "time": 1184, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1184 + } + }, + { + "_id": "58f73c897e7937312440b6a359a24374", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1396, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" + }, + "response": { + "bodySize": 4300, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 4300, + "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:57:09 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:57:08.578Z", + "time": 595, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 595 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har new file mode 100644 index 00000000..2c7dd43a --- /dev/null +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har @@ -0,0 +1,255 @@ +{ + "log": { + "_recordingName": "fetch-private-ca-pools", + "creator": { + "comment": "persister:JupiterOneIntegationFSPersister", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "acea721c8193b51ced888cae721cc423", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 709, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-length", + "value": "709" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip,deflate" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "www.googleapis.com" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "[REDACTED]" + }, + "queryString": [], + "url": "https://www.googleapis.com/oauth2/v4/token" + }, + "response": { + "bodySize": 1266, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 1266, + "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:52:00 GMT" + }, + { + "name": "server", + "value": "scaffolding on HTTPServer2" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 390, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:52:00.335Z", + "time": 235, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 235 + } + }, + { + "_id": "8c3accf112bb6587d672fc0043521b03", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1363, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" + }, + "response": { + "bodySize": 363, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 363, + "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Wed, 19 Apr 2023 18:52:02 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-19T18:52:00.578Z", + "time": 1526, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1526 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts new file mode 100644 index 00000000..b626206f --- /dev/null +++ b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts @@ -0,0 +1,47 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test( + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, + async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }, + ); +}); diff --git a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts new file mode 100644 index 00000000..18bf6e9e --- /dev/null +++ b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts @@ -0,0 +1,74 @@ +import { + RelationshipClass, + createDirectRelationship, + getRawData, +} from '@jupiterone/integration-sdk-core'; +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { + PrivatecaEntities, + PrivatecaRelationships, + PrivatecaSteps, +} from '../constants'; +import { privateca_v1 } from 'googleapis'; +import { getCaPoolEntityKey } from '../converters'; + +async function buildCAPoolCertificateAuthorityRelationships( + context: IntegrationStepContext, +): Promise { + const { jobState, logger } = context; + + await jobState.iterateEntities( + { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type }, + async (caAuthorityEntity) => { + const caAuthEntity = + getRawData(caAuthorityEntity); + + if (!caAuthEntity) { + logger.warn( + `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id} - Could not find raw data on certificate authority entity`, + ); + return; + } + + const caPoolEntity = await jobState.findEntity( + getCaPoolEntityKey({ + projectId: (caAuthorityEntity.name as string).split('/')[1], + location: (caAuthorityEntity.name as string).split('/')[3], + caPoolId: (caAuthorityEntity.name as string).split('/')[5], + }), + ); + + if (!caPoolEntity || !caAuthorityEntity) { + return; + } + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.HAS, + from: caPoolEntity, + to: caAuthorityEntity, + }), + ); + }, + ); +} + +export const buildCAPoolCertificateAuthorityRelationshipsStepMap: GoogleCloudIntegrationStep = + { + id: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.name, + entities: [], + relationships: [ + PrivatecaRelationships.PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY, + ], + dependsOn: [ + PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, + PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + ], + executionHandler: buildCAPoolCertificateAuthorityRelationships, + }; diff --git a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts new file mode 100644 index 00000000..320921ee --- /dev/null +++ b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts @@ -0,0 +1,48 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test( + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS + .id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }, + ); +}); diff --git a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts new file mode 100644 index 00000000..d9e5724c --- /dev/null +++ b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts @@ -0,0 +1,78 @@ +import { + RelationshipClass, + createDirectRelationship, + getRawData, +} from '@jupiterone/integration-sdk-core'; +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { + PrivatecaEntities, + PrivatecaRelationships, + PrivatecaSteps, +} from '../constants'; +import { privateca_v1 } from 'googleapis'; +import { getCloudStorageBucketKey } from '../../storage/converters'; +import { StorageStepsSpec } from '../../storage/constants'; + +async function buildCertificateAuthorityBucketRelationships( + context: IntegrationStepContext, +): Promise { + const { jobState, logger } = context; + + await jobState.iterateEntities( + { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type }, + async (caAuthorityEntity) => { + const instance = + getRawData(caAuthorityEntity); + if (!instance) { + logger.warn( + { + _key: caAuthorityEntity._key, + }, + 'Could not find raw data on certificate authority entity', + ); + return; + } + + const bucketName = instance.gcsBucket; + + if (!bucketName) { + return; + } + + const storageBucketEntity = await jobState.findEntity( + getCloudStorageBucketKey(bucketName), + ); + if (!storageBucketEntity) { + return; + } + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.USES, + from: caAuthorityEntity, + to: storageBucketEntity, + }), + ); + }, + ); +} + +export const buildCertificateAuthorityBucketRelationshipsStepMap: GoogleCloudIntegrationStep = + { + id: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.name, + entities: [], + relationships: [ + PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET, + ], + dependsOn: [ + PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + StorageStepsSpec.FETCH_STORAGE_BUCKETS.id, + ], + executionHandler: buildCertificateAuthorityBucketRelationships, + }; diff --git a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts new file mode 100644 index 00000000..f8497316 --- /dev/null +++ b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts @@ -0,0 +1,50 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test( + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id, + async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }, + ); +}); diff --git a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts new file mode 100644 index 00000000..2c3698a6 --- /dev/null +++ b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts @@ -0,0 +1,80 @@ +import { + RelationshipClass, + createDirectRelationship, + getRawData, +} from '@jupiterone/integration-sdk-core'; +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { + PrivatecaEntities, + PrivatecaRelationships, + PrivatecaSteps, +} from '../constants'; +import { getCaAuthorityEntityKey } from '../converters'; +import { privateca_v1 } from 'googleapis'; +import { PrivateCaClient } from '../client'; + +async function buildCertificateAuthorityCertificateRelationships( + context: IntegrationStepContext, +): Promise { + const { + jobState, + logger, + instance: { config }, + } = context; + + await jobState.iterateEntities( + { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type }, + async (caCertificate) => { + const client = new PrivateCaClient({ config }); + const caCertificateEntity = + getRawData(caCertificate); + const certificateIssuer = caCertificateEntity?.issuerCertificateAuthority; + + if (!certificateIssuer) return; + + const certificateAuthorityEntity = await jobState.findEntity( + getCaAuthorityEntityKey({ + projectId: client.projectId, + location: certificateIssuer?.split('/')[3], + caPoolId: certificateIssuer?.split('/')[5], + certificateAuthorityId: certificateIssuer?.split('/')[7], + }), + ); + + if (!certificateAuthorityEntity) { + logger.warn( + `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS.id} - Unable to create relationship. Missing certificateAuthorityEntity`, + ); + + return; + } + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.CREATED, + from: certificateAuthorityEntity, + to: caCertificate, + }), + ); + }, + ); +} + +export const buildCertificateAuthorityCertificateRelationshipsStepMap: GoogleCloudIntegrationStep = + { + id: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .id, + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS + .name, + entities: [], + relationships: [ + PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE, + ], + dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id], + executionHandler: buildCertificateAuthorityCertificateRelationships, + }; diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts new file mode 100644 index 00000000..c3bab151 --- /dev/null +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts @@ -0,0 +1,40 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test(PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }); +}); diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.ts new file mode 100644 index 00000000..323d56cd --- /dev/null +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.ts @@ -0,0 +1,57 @@ +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { PrivateCaClient } from '../client'; +import { PrivatecaEntities, PrivatecaSteps } from '../constants'; +import { createCertificateEntity } from '../converters'; + +async function fetchAuthorityCertificates( + context: IntegrationStepContext, +): Promise { + const { + jobState, + instance: { config }, + } = context; + + const client = new PrivateCaClient({ config }); + + await jobState.iterateEntities( + { + _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, + }, + async (certificateAuthorityEntity) => { + const caPoolId = (certificateAuthorityEntity.name as string).split( + '/', + )[5]; + const caLocation = (certificateAuthorityEntity.name as string).split( + '/', + )[3]; + + await client.iterateAuthorityCertificates( + caPoolId, + caLocation, + async (certificate) => { + await jobState.addEntity( + createCertificateEntity({ + data: certificate, + keyAlgorithm: certificateAuthorityEntity.keyAlgorithm as string, + projectId: client.projectId, + }), + ); + }, + ); + }, + ); +} + +export const fetchAuthorityCertificatesStepMap: GoogleCloudIntegrationStep = { + id: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, + name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.name, + entities: [PrivatecaEntities.PRIVATE_CA_CERTIFICATE], + relationships: [], + dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id], + executionHandler: fetchAuthorityCertificates, + permissions: ['privateca.certificates.list'], + apis: ['privateca.googleapis.com'], +}; diff --git a/src/steps/privateca/steps/fetchCaPools.test.ts b/src/steps/privateca/steps/fetchCaPools.test.ts new file mode 100644 index 00000000..30d198d5 --- /dev/null +++ b/src/steps/privateca/steps/fetchCaPools.test.ts @@ -0,0 +1,40 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test(PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }); +}); diff --git a/src/steps/privateca/steps/fetchCaPools.ts b/src/steps/privateca/steps/fetchCaPools.ts new file mode 100644 index 00000000..4fa3f43c --- /dev/null +++ b/src/steps/privateca/steps/fetchCaPools.ts @@ -0,0 +1,41 @@ +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { PrivateCaClient } from '../client'; +import { PrivatecaEntities, PrivatecaSteps } from '../constants'; +import { createCaPoolEntity } from '../converters'; + +export async function fetchCaPools( + context: IntegrationStepContext, +): Promise { + const { + jobState, + instance: { config }, + logger, + } = context; + + const client = new PrivateCaClient({ config }); + + await client.iterateCaPools(async (caPool) => { + if (!caPool) { + logger.warn( + `${PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id} - Found undefined caPool entity in iterateCaPools.`, + ); + + return; + } + await jobState.addEntity(createCaPoolEntity(caPool)); + }); +} + +export const fetchCaPoolsStepMap: GoogleCloudIntegrationStep = { + id: PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, + name: PrivatecaSteps.STEP_PRIVATE_CA_POOLS.name, + entities: [PrivatecaEntities.PRIVATE_CA_POOL], + relationships: [], + dependsOn: [], + executionHandler: fetchCaPools, + permissions: [], + apis: ['privateca.googleapis.com'], +}; diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts new file mode 100644 index 00000000..b8020a77 --- /dev/null +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts @@ -0,0 +1,40 @@ +import { + executeStepWithDependencies, + Recording, + StepTestConfig, +} from '@jupiterone/integration-sdk-testing'; +import { invocationConfig } from '../../..'; +import { integrationConfig } from '../../../../test/config'; +import { + getMatchRequestsBy, + setupGoogleCloudRecording, +} from '../../../../test/recording'; +import { PrivatecaSteps } from '../constants'; + +describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id}`, () => { + let recording: Recording; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test(PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }); +}); diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.ts new file mode 100644 index 00000000..64b35538 --- /dev/null +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.ts @@ -0,0 +1,91 @@ +import { privateca_v1 } from 'googleapis'; +import { + GoogleCloudIntegrationStep, + IntegrationStepContext, +} from '../../../types'; +import { PrivateCaClient } from '../client'; +import { PrivatecaEntities, PrivatecaSteps } from '../constants'; +import { createCertificateAuthorityEntity } from '../converters'; +import { isMemberPublic } from '../../../utils/iam'; + +function isCertificateAuthorityPolicyPublicAccess( + caPolicy: privateca_v1.Schema$Policy, +): boolean { + for (const binding of caPolicy.bindings || []) { + for (const member of binding.members || []) { + if (isMemberPublic(member)) { + return true; + } + } + } + + return false; +} + +async function fetchCertificateAuthorities( + context: IntegrationStepContext, +): Promise { + const { + jobState, + instance: { config }, + logger, + } = context; + + const client = new PrivateCaClient({ config }); + + await jobState.iterateEntities( + { + _type: PrivatecaEntities.PRIVATE_CA_POOL._type, + }, + async (caPool) => { + const caPoolId = caPool._key.split('/')[5]; + const location = caPool._key.split('/')[3]; + + if (!location || !caPool) { + if (!caPool) { + logger.warn( + `${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id} - Unable to fetch CA due to missing parameters. location: ${location}, caPoolId: ${caPoolId}.`, + ); + + return; + } + } + + await client.iterateCertificateAuthorities( + caPoolId, + location, + async (certificateAuthority) => { + const caPoolId = certificateAuthority.name?.split('/')[5]; + const location = certificateAuthority.name?.split('/')[3]; + + const policy = await client.getAuthorityPolicy( + caPoolId as string, + location as string, + ); + + await jobState.addEntity( + createCertificateAuthorityEntity({ + data: certificateAuthority, + projectId: client.projectId, + isPublic: isCertificateAuthorityPolicyPublicAccess(policy), + }), + ); + }, + ); + }, + ); +} + +export const fetchCertificateAuthoritiesStepMap: GoogleCloudIntegrationStep = { + id: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.name, + entities: [PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY], + relationships: [], + dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id], + executionHandler: fetchCertificateAuthorities, + permissions: [ + 'privateca.certificateAuthorities.getIamPolicy', + 'privateca.certificateAuthorities.list', + ], + apis: ['privateca.googleapis.com'], +}; diff --git a/src/utils/iamBindings/resourceKindToTypeMap.ts b/src/utils/iamBindings/resourceKindToTypeMap.ts index 20944226..46638d25 100644 --- a/src/utils/iamBindings/resourceKindToTypeMap.ts +++ b/src/utils/iamBindings/resourceKindToTypeMap.ts @@ -62,7 +62,7 @@ import { } from '../../steps/logging/constants'; import { ENTITY_TYPE_MEMCACHE_INSTANCE } from '../../steps/memcache/constants'; import { MONITORING_ALERT_POLICY_TYPE } from '../../steps/monitoring/constants'; -import { ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY } from '../../steps/privateca/constants'; +import { PrivatecaEntities } from '../../steps/privateca/constants'; import { ENTITY_TYPE_PUBSUB_TOPIC, ENTITY_TYPE_PUBSUB_SUBSCRIPTION, @@ -214,7 +214,7 @@ export const GOOGLE_RESOURCE_KIND_TO_J1_TYPE_MAP: { 'managedidentities.googleapis.com/Domain': NONE, 'privateca.googleapis.com/CaPool': NONE, 'privateca.googleapis.com/CertificateAuthority': - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY, + PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, 'privateca.googleapis.com/CertificateRevocationList': NONE, 'privateca.googleapis.com/CertificateTemplate': NONE, 'dataflow.googleapis.com/Job': NONE, diff --git a/src/utils/iamBindings/typeToKeyGeneratorMap.ts b/src/utils/iamBindings/typeToKeyGeneratorMap.ts index f284aac5..09494f6f 100644 --- a/src/utils/iamBindings/typeToKeyGeneratorMap.ts +++ b/src/utils/iamBindings/typeToKeyGeneratorMap.ts @@ -60,7 +60,6 @@ import { getLogingProjectSinkId } from '../../steps/logging/converters'; import { ENTITY_TYPE_MEMCACHE_INSTANCE } from '../../steps/memcache/constants'; import { getMemcacheKey } from '../../steps/memcache/converter'; import { MONITORING_ALERT_POLICY_TYPE } from '../../steps/monitoring/constants'; -import { ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY } from '../../steps/privateca/constants'; import { ENTITY_TYPE_PUBSUB_TOPIC, ENTITY_TYPE_PUBSUB_SUBSCRIPTION, @@ -95,6 +94,7 @@ import { SQL_ADMIN_SQL_SERVER_INSTANCE_ENTITY_TYPE, } from '../../steps/sql-admin'; import { StorageEntitiesSpec } from '../../steps/storage/constants'; +import { PrivatecaEntities } from '../../steps/privateca/constants'; /** * A map of JupiterOne types to a function which can generate their _key @@ -161,7 +161,7 @@ export const J1_TYPE_TO_KEY_GENERATOR_MAP: { getLogingProjectSinkId, ), [LOGGING_METRIC_ENTITY_TYPE]: finalIdentifierKeyMap, // I'm pretty sure this can not be the target of a role binding. - [ENTITY_TYPE_PRIVATE_CA_CERTIFICATE_AUTHORITY]: fullPathKeyMap, + [PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type]: fullPathKeyMap, [ENTITY_TYPE_API_GATEWAY_API]: fullPathKeyMap, [ENTITY_TYPE_API_GATEWAY_API_CONFIG]: fullPathKeyMap, [ENTITY_TYPE_API_GATEWAY_GATEWAY]: fullPathKeyMap, diff --git a/test/mocks.ts b/test/mocks.ts index adcfb2f4..9d955fe1 100644 --- a/test/mocks.ts +++ b/test/mocks.ts @@ -1956,77 +1956,6 @@ export function getMockApiGatewayGateway( }; } -export function getMockCertificate( - partial?: privateca_v1beta1.Schema$Certificate, -): privateca_v1beta1.Schema$Certificate { - return { - name: 'projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03', - config: { - subjectConfig: { - subjectAltName: { - dnsNames: ['google.com'], - }, - }, - reusableConfig: { - reusableConfigValues: { - keyUsage: { - baseKeyUsage: { - digitalSignature: true, - keyEncipherment: true, - }, - extendedKeyUsage: {}, - }, - caOptions: { - isCa: false, - }, - }, - }, - }, - lifetime: '2592000s', - certificateDescription: { - subjectDescription: { - subjectAltName: { - dnsNames: ['google.com'], - }, - hexSerialNumber: 'ec41a22274884f34272ea3dabe37a42daffe41', - lifetime: '2592000s', - notBeforeTime: '2021-04-01T19:17:48Z', - notAfterTime: '2021-05-01T19:17:48Z', - }, - configValues: { - keyUsage: { - baseKeyUsage: { - digitalSignature: true, - keyEncipherment: true, - }, - }, - caOptions: { - isCa: false, - }, - }, - subjectKeyId: { - keyId: 'abb01889d84091201b6c09b3f4f6cf04d0a91c13', - }, - authorityKeyId: { - keyId: 'f4c932216ac01039c8f3c952fab0c2f7db202315', - }, - crlDistributionPoints: [ - 'http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl', - ], - aiaIssuingCertificateUrls: [ - 'http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt', - ], - certFingerprint: { - sha256Hash: - '7aeb434082c0ea73d819c1e4fab7a3e31f027a9d4440f666af2e3ac38a26039b', - }, - }, - createTime: '2021-04-01T19:17:48.319675789Z', - updateTime: '2021-04-01T19:17:48.319675789Z', - ...partial, - }; -} - export function getMockComputeImage( partial?: compute_v1.Schema$Image, ): compute_v1.Schema$Image { diff --git a/test/recording.ts b/test/recording.ts index d63b3b11..97ada7e3 100644 --- a/test/recording.ts +++ b/test/recording.ts @@ -7,7 +7,7 @@ import { cloudbuild_v1, cloudfunctions_v1, iam_v1, - privateca_v1beta1, + privateca_v1, } from 'googleapis'; import * as querystring from 'querystring'; import * as url from 'url'; @@ -116,7 +116,7 @@ function sanitizeCreateServiceAccountKeyResponse( } function sanitizeListCertificateAuthoritiesResponse( - response: privateca_v1beta1.Schema$ListCertificateAuthoritiesResponse, + response: privateca_v1.Schema$ListCertificateAuthoritiesResponse, ) { return { certificateAuthorities: @@ -129,7 +129,6 @@ function sanitizeListCertificateAuthoritiesResponse( (description) => ({ ...description, publicKey: { - type: description.publicKey?.type, key: '[REDACTED]', }, }), @@ -139,7 +138,7 @@ function sanitizeListCertificateAuthoritiesResponse( } function sanitizeListCertificatesResponse( - response: privateca_v1beta1.Schema$ListCertificatesResponse, + response: privateca_v1.Schema$ListCertificatesResponse, ) { return { certificates: @@ -149,7 +148,6 @@ function sanitizeListCertificatesResponse( config: { ...certificate.config, publicKey: { - type: certificate.config?.publicKey?.type, key: '[REDACTED]', }, }, @@ -157,7 +155,6 @@ function sanitizeListCertificatesResponse( certificateDescription: { ...certificate.certificateDescription, publicKey: { - type: certificate.certificateDescription?.publicKey?.type, key: '[REDACTED]', }, }, From 0c58e123ca98c137b9e3b83fd611b30c5b733a9d Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Wed, 19 Apr 2023 16:46:24 -0300 Subject: [PATCH 2/8] Fix import --- src/utils/iamBindings/typeToKeyGeneratorMap.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/iamBindings/typeToKeyGeneratorMap.test.ts b/src/utils/iamBindings/typeToKeyGeneratorMap.test.ts index bf1432d1..81442be3 100644 --- a/src/utils/iamBindings/typeToKeyGeneratorMap.test.ts +++ b/src/utils/iamBindings/typeToKeyGeneratorMap.test.ts @@ -28,7 +28,6 @@ import { ENTITY_TYPE_CLOUD_RUN_ROUTE, } from '../../steps/cloud-run/constants'; import { ENTITY_TYPE_MEMCACHE_INSTANCE_NODE } from '../../steps/memcache/constants'; -import { ENTITY_TYPE_PRIVATE_CA_CERTIFICATE } from '../../steps/privateca/constants'; import { ENTITY_TYPE_SPANNER_INSTANCE_CONFIG } from '../../steps/spanner/constants'; import { J1_TYPE_TO_KEY_GENERATOR_MAP } from './typeToKeyGeneratorMap'; import { GOOGLE_RESOURCE_KIND_TO_J1_TYPE_MAP } from './resourceKindToTypeMap'; @@ -40,6 +39,7 @@ import { StepMetadata, StepRelationshipMetadata, } from '@jupiterone/integration-sdk-core'; +import { PrivatecaEntities } from '../../steps/privateca/constants'; /** * If your JupiterOne entity can not be indentified in Google Cloud with a Google Cloud @@ -71,7 +71,7 @@ const entitiesTypesToSkip = [ ENTITY_TYPE_COMPUTE_INSTANCE_GROUP_NAMED_PORT, bindingEntities.BINDINGS._type, ENTITY_TYPE_MEMCACHE_INSTANCE_NODE, - ENTITY_TYPE_PRIVATE_CA_CERTIFICATE, + PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type, ENTITY_TYPE_SPANNER_INSTANCE_CONFIG, ]; From 5e8ed978739eee329847cd6f0f466ee40a21e6e2 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 00:47:40 -0300 Subject: [PATCH 3/8] fix tests --- .../__snapshots__/converters.test.ts.snap | 254 ----------- src/steps/privateca/converters.ts | 17 +- .../recording.har | 410 +++++++++--------- .../recording.har | 156 +++---- .../recording.har | 216 ++++++--- .../recording.har | 216 ++++++--- .../recording.har | 370 +++++++++++++--- .../recording.har | 24 +- ...ficateAuthorityCertificateRelationships.ts | 16 +- 9 files changed, 935 insertions(+), 744 deletions(-) delete mode 100644 src/steps/privateca/__snapshots__/converters.test.ts.snap diff --git a/src/steps/privateca/__snapshots__/converters.test.ts.snap b/src/steps/privateca/__snapshots__/converters.test.ts.snap deleted file mode 100644 index 2d011f01..00000000 --- a/src/steps/privateca/__snapshots__/converters.test.ts.snap +++ /dev/null @@ -1,254 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`#createCertificateAuthorityEntity should convert to entity 1`] = ` -Object { - "_class": Array [ - "Service", - ], - "_key": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "accessUrls": Object { - "caCertificateAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/ca.crt", - "crlAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/crl.crl", - }, - "caCertificateDescriptions": Array [ - Object { - "authorityKeyId": Object { - "keyId": "ec21738d89c6020cfab46e73b1a001d7fb24d34c", - }, - "certFingerprint": Object { - "sha256Hash": "d7de957b8c0903c662332fc8ec4966c5dc01b7426ed778dc389aaa545a37064a", - }, - "configValues": Object { - "caOptions": Object { - "isCa": true, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "certSign": true, - "crlSign": true, - }, - }, - }, - "subjectDescription": Object { - "commonName": "acmeName", - "hexSerialNumber": "008a51de1d92de213728c7733b74700f4a684513", - "lifetime": "314496000s", - "notAfterTime": "2031-03-27T14:44:07.900172684Z", - "notBeforeTime": "2021-04-08T14:44:07.900172684Z", - "subject": Object { - "organization": "Acme", - }, - "subjectAltName": Object {}, - }, - "subjectKeyId": Object { - "keyId": "ec21738d89c6020cfab46e73b1a001d7fb24d34c", - }, - }, - ], - "config": Object { - "reusableConfig": Object {}, - "subjectConfig": Object { - "commonName": "acmeName", - "subject": Object { - "organization": "Acme", - }, - }, - }, - "createTime": "2021-04-08T14:44:07.215539285Z", - "issuingOptions": Object { - "includeCaCertUrl": true, - "includeCrlAccessUrl": true, - }, - "keySpec": Object { - "algorithm": "RSA_PKCS1_2048_SHA256", - }, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "state": "ENABLED", - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updateTime": "2021-04-08T14:44:09.263990183Z", - }, - }, - ], - "_type": "google_privateca_certificate_authority", - "caCertificateAccessUrl": "http://test-bucket-with-labels.storage.googleapis.com/f1cc34b5b7e8fa026582/ca.crt", - "category": Array [ - "security", - ], - "createdOn": 1617893047215, - "crlAccessUrl": undefined, - "deletedOn": undefined, - "displayName": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "extendedKeyUsage.clientAuth": undefined, - "extendedKeyUsage.codeSigning": undefined, - "extendedKeyUsage.emailProtection": undefined, - "extendedKeyUsage.ocspSigning": undefined, - "extendedKeyUsage.serverAuth": undefined, - "extendedKeyUsage.timeStamping": undefined, - "function": Array [ - "certificate-management", - ], - "keyAlgorithm": "RSA_PKCS1_2048_SHA256", - "keyUsage.certSign": undefined, - "keyUsage.contentCommitment": undefined, - "keyUsage.crlSign": undefined, - "keyUsage.dataEncipherment": undefined, - "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": undefined, - "keyUsage.encipherOnly": undefined, - "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": undefined, - "lifetime": "314496000s", - "name": "projects/j1-gc-integration-dev-v2/locations/us-central1/certificateAuthorities/acmeName", - "public": false, - "state": "ENABLED", - "subject": undefined, - "subject.countryCode": undefined, - "subject.locality": undefined, - "subject.organization": "Acme", - "subject.organizationalUnit": undefined, - "subject.postalCode": undefined, - "subject.province": undefined, - "subject.streetAddress": undefined, - "subjectAltName.dnsNames": undefined, - "subjectAltName.emailAddresses": undefined, - "subjectAltName.ipAddresses": undefined, - "subjectAltName.uris": undefined, - "tier": "ENTERPRISE", - "type": "SELF_SIGNED", - "updatedOn": 1617893049263, - "webLink": "https://console.cloud.google.com/security/cas/manage/locations/us-central1/certificateAuthorities/acmeName/details?project=j1-gc-integration-dev-v2", -} -`; - -exports[`#createCertificateEntity should convert to entity 1`] = ` -Object { - "_class": Array [ - "Certificate", - ], - "_key": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "_rawData": Array [ - Object { - "name": "default", - "rawData": Object { - "certificateDescription": Object { - "aiaIssuingCertificateUrls": Array [ - "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/ca.crt", - ], - "authorityKeyId": Object { - "keyId": "f4c932216ac01039c8f3c952fab0c2f7db202315", - }, - "certFingerprint": Object { - "sha256Hash": "7aeb434082c0ea73d819c1e4fab7a3e31f027a9d4440f666af2e3ac38a26039b", - }, - "configValues": Object { - "caOptions": Object { - "isCa": false, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "digitalSignature": true, - "keyEncipherment": true, - }, - }, - }, - "crlDistributionPoints": Array [ - "http://privateca-content-605f9a85-0000-2ec7-9474-f403043ccfa8.storage.googleapis.com/f168e1beb72a7e72e8c5/crl.crl", - ], - "subjectDescription": Object { - "hexSerialNumber": "ec41a22274884f34272ea3dabe37a42daffe41", - "lifetime": "2592000s", - "notAfterTime": "2021-05-01T19:17:48Z", - "notBeforeTime": "2021-04-01T19:17:48Z", - "subjectAltName": Object { - "dnsNames": Array [ - "google.com", - ], - }, - }, - "subjectKeyId": Object { - "keyId": "abb01889d84091201b6c09b3f4f6cf04d0a91c13", - }, - }, - "config": Object { - "reusableConfig": Object { - "reusableConfigValues": Object { - "caOptions": Object { - "isCa": false, - }, - "keyUsage": Object { - "baseKeyUsage": Object { - "digitalSignature": true, - "keyEncipherment": true, - }, - "extendedKeyUsage": Object {}, - }, - }, - }, - "subjectConfig": Object { - "subjectAltName": Object { - "dnsNames": Array [ - "google.com", - ], - }, - }, - }, - "createTime": "2021-04-01T19:17:48.319675789Z", - "lifetime": "2592000s", - "name": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "updateTime": "2021-04-01T19:17:48.319675789Z", - }, - }, - ], - "_type": "google_privateca_certificate", - "alternativeNames": Array [ - "google.com", - ], - "createdOn": 1617304668319, - "displayName": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "extendedKeyUsage.clientAuth": undefined, - "extendedKeyUsage.codeSigning": undefined, - "extendedKeyUsage.emailProtection": undefined, - "extendedKeyUsage.ocspSigning": undefined, - "extendedKeyUsage.serverAuth": undefined, - "extendedKeyUsage.timeStamping": undefined, - "hexSerial": "ec41a22274884f34272ea3dabe37a42daffe41", - "issuer": "Test-CA-Name", - "issuerCertificateAuthority": undefined, - "keyAlgorithm": "RSA_PKCS1_2048_SHA256", - "keyUsage.certSign": undefined, - "keyUsage.contentCommitment": undefined, - "keyUsage.crlSign": undefined, - "keyUsage.dataEncipherment": undefined, - "keyUsage.decipherOnly": undefined, - "keyUsage.digitalSignature": undefined, - "keyUsage.encipherOnly": undefined, - "keyUsage.keyAgreement": undefined, - "keyUsage.keyEncipherment": undefined, - "lifetime": "2592000s", - "name": "projects/711888229551/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03", - "notAfterTime": 1619896668000, - "notBeforeTime": 1617304668000, - "subject": undefined, - "subject.countryCode": undefined, - "subject.locality": undefined, - "subject.organization": undefined, - "subject.organizationalUnit": undefined, - "subject.postalCode": undefined, - "subject.province": undefined, - "subject.streetAddress": undefined, - "subjectAltName.dnsNames": Array [ - "google.com", - ], - "subjectAltName.emailAddresses": undefined, - "subjectAltName.ipAddresses": undefined, - "subjectAltName.uris": undefined, - "updatedOn": 1617304668319, - "webLink": "https://console.cloud.google.com/security/cas/certificate/locations/us-central1/certificateAuthorities/Test-CA-Name/certificates/20210401-nkm-v03?project=j1-gc-integration-dev-v2", -} -`; diff --git a/src/steps/privateca/converters.ts b/src/steps/privateca/converters.ts index 5018b162..0a721050 100644 --- a/src/steps/privateca/converters.ts +++ b/src/steps/privateca/converters.ts @@ -27,7 +27,7 @@ export function createCertificateAuthorityEntity({ assign: { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, _class: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._class, - _key: data.name as string, + _key: data.name?.split('/')[7] as string, name: data.name, displayName: data.name as string, function: ['certificate-management'], @@ -137,7 +137,6 @@ export function createCertificateEntity({ data.certificateDescription?.subjectDescription?.hexSerialNumber, lifetime: data.certificateDescription?.subjectDescription?.lifetime, keyAlgorithm: keyAlgorithm, - // publicKeyType: data.certificateDescription?.x509Description?, notBeforeTime: parseTimePropertyValue( data.certificateDescription?.subjectDescription?.notBeforeTime, ), @@ -258,17 +257,3 @@ export function getCaPoolEntityKey({ }) { return `projects/${projectId}/locations/${location}/caPools/${caPoolId}`; } - -export function getCaAuthorityEntityKey({ - projectId, - location, - caPoolId, - certificateAuthorityId, -}: { - projectId: string; - location: string; - caPoolId: string; - certificateAuthorityId: string; -}) { - return `projects/${projectId}/locations/${location}/caPools/${caPoolId}/certificateAuthorities/${certificateAuthorityId}`; -} diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har index a511ef53..7bc4a6c7 100644 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1248, + "bodySize": 1160, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1248, + "size": 1160, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:18 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:18.546Z", - "time": 229, + "startedDateTime": "2023-04-20T03:47:07.135Z", + "time": 124, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 229 + "wait": 124 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 397, + "bodySize": 407, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 397, + "size": 407, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:20 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:18.784Z", - "time": 1348, + "startedDateTime": "2023-04-20T03:47:07.264Z", + "time": 2245, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1348 + "wait": 2245 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1244, + "bodySize": 1286, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1244, + "size": 1286, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:20 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:20.147Z", - "time": 265, + "startedDateTime": "2023-04-20T03:47:09.524Z", + "time": 256, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 265 + "wait": 256 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2981, + "bodySize": 2954, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2981, + "size": 2954, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:21 GMT" + "value": "Thu, 20 Apr 2023 03:47:10 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:20.419Z", - "time": 1175, + "startedDateTime": "2023-04-20T03:47:09.785Z", + "time": 1043, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1175 + "wait": 1043 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 77, + "bodySize": 135, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 77, + "size": 135, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:22 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:21.599Z", - "time": 1334, + "startedDateTime": "2023-04-20T03:47:10.834Z", + "time": 1040, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1334 + "wait": 1040 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 3001, + "bodySize": 2981, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3001, + "size": 2981, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:23 GMT" + "value": "Thu, 20 Apr 2023 03:47:12 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:22.944Z", - "time": 526, + "startedDateTime": "2023-04-20T03:47:11.887Z", + "time": 483, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 526 + "wait": 483 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 111, + "bodySize": 118, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 111, + "size": 118, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:24 GMT" + "value": "Thu, 20 Apr 2023 03:47:13 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:23.478Z", - "time": 686, + "startedDateTime": "2023-04-20T03:47:12.373Z", + "time": 726, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 686 + "wait": 726 } }, { @@ -893,11 +893,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 3163, + "bodySize": 3166, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3163, + "size": 3166, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:25 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:24.169Z", - "time": 920, + "startedDateTime": "2023-04-20T03:47:13.104Z", + "time": 941, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 920 + "wait": 941 } }, { @@ -1011,11 +1011,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" }, "response": { - "bodySize": 67, + "bodySize": 118, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 67, + "size": 118, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:26 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -1067,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:25.100Z", - "time": 1028, + "startedDateTime": "2023-04-20T03:47:14.056Z", + "time": 1026, "timings": { "blocked": -1, "connect": -1, @@ -1076,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1028 + "wait": 1026 } }, { @@ -1134,11 +1134,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1256, + "bodySize": 1208, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1256, + "size": 1208, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1153,7 +1153,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:26 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -1190,8 +1190,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:26.134Z", - "time": 125, + "startedDateTime": "2023-04-20T03:47:15.090Z", + "time": 104, "timings": { "blocked": -1, "connect": -1, @@ -1199,7 +1199,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 125 + "wait": 104 } }, { @@ -1252,11 +1252,11 @@ "url": "https://orgpolicy.googleapis.com/v2/projects/j1-gc-integration-dev-v3/policies/storage.publicAccessPrevention:getEffectivePolicy" }, "response": { - "bodySize": 294, + "bodySize": 311, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 294, + "size": 311, "text": "{\"name\":\"projects/167984947943/policies/storage.publicAccessPrevention\",\"spec\":{\"rules\":[{\"enforce\":false}]}}" }, "cookies": [], @@ -1271,7 +1271,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:27 GMT" + "value": "Thu, 20 Apr 2023 03:47:16 GMT" }, { "name": "server", @@ -1308,8 +1308,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:26.265Z", - "time": 1193, + "startedDateTime": "2023-04-20T03:47:15.199Z", + "time": 997, "timings": { "blocked": -1, "connect": -1, @@ -1317,7 +1317,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1193 + "wait": 997 } }, { @@ -1375,11 +1375,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1256, + "bodySize": 1242, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1256, + "size": 1242, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1394,7 +1394,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:27 GMT" + "value": "Thu, 20 Apr 2023 03:47:16 GMT" }, { "name": "server", @@ -1431,8 +1431,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:27.463Z", - "time": 312, + "startedDateTime": "2023-04-20T03:47:16.201Z", + "time": 163, "timings": { "blocked": -1, "connect": -1, @@ -1440,7 +1440,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 312 + "wait": 163 } }, { @@ -1516,7 +1516,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:17 GMT" }, { "name": "vary", @@ -1528,7 +1528,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:17 GMT" }, { "name": "content-length", @@ -1553,8 +1553,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:27.781Z", - "time": 1349, + "startedDateTime": "2023-04-20T03:47:16.370Z", + "time": 1218, "timings": { "blocked": -1, "connect": -1, @@ -1562,7 +1562,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1349 + "wait": 1218 } }, { @@ -1637,7 +1637,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -1649,7 +1649,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", @@ -1668,14 +1668,14 @@ "value": "close" } ], - "headersSize": 471, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.139Z", - "time": 1707, + "startedDateTime": "2023-04-20T03:47:17.596Z", + "time": 1706, "timings": { "blocked": -1, "connect": -1, @@ -1683,7 +1683,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1707 + "wait": 1706 } }, { @@ -1758,7 +1758,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -1770,7 +1770,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", @@ -1795,8 +1795,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.140Z", - "time": 368, + "startedDateTime": "2023-04-20T03:47:17.597Z", + "time": 363, "timings": { "blocked": -1, "connect": -1, @@ -1804,11 +1804,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 368 + "wait": 363 } }, { - "_id": "d32b5df4e7bf4dd8f9f2b3cc465fd7b7", + "_id": "f1146ec93342aa07ef810b7f0f492852", "_order": 0, "cache": {}, "request": { @@ -1850,18 +1850,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1367, + "headersSize": 1369, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo/iam" + "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0/iam" }, "response": { - "bodySize": 497, + "bodySize": 499, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 497, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 499, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -1879,7 +1879,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -1891,11 +1891,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", - "value": "497" + "value": "499" }, { "name": "server", @@ -1916,8 +1916,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.141Z", - "time": 370, + "startedDateTime": "2023-04-20T03:47:17.598Z", + "time": 1616, "timings": { "blocked": -1, "connect": -1, @@ -1925,11 +1925,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 370 + "wait": 1616 } }, { - "_id": "f1146ec93342aa07ef810b7f0f492852", + "_id": "d32b5df4e7bf4dd8f9f2b3cc465fd7b7", "_order": 0, "cache": {}, "request": { @@ -1971,18 +1971,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1369, + "headersSize": 1367, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-europe-north1-167984947943-0quq0oz0/iam" + "url": "https://storage.googleapis.com/storage/v1/b/dataproc-temp-us-central1-167984947943-c8nlqeyo/iam" }, "response": { - "bodySize": 499, + "bodySize": 497, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 499, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-europe-north1-167984947943-0quq0oz0\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 497, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/dataproc-temp-us-central1-167984947943-c8nlqeyo\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -2000,7 +2000,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -2012,11 +2012,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", - "value": "499" + "value": "497" }, { "name": "server", @@ -2031,14 +2031,14 @@ "value": "close" } ], - "headersSize": 471, + "headersSize": 465, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.141Z", - "time": 1704, + "startedDateTime": "2023-04-20T03:47:17.599Z", + "time": 347, "timings": { "blocked": -1, "connect": -1, @@ -2046,7 +2046,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1704 + "wait": 347 } }, { @@ -2121,7 +2121,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -2133,7 +2133,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", @@ -2158,8 +2158,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.143Z", - "time": 382, + "startedDateTime": "2023-04-20T03:47:17.600Z", + "time": 360, "timings": { "blocked": -1, "connect": -1, @@ -2167,7 +2167,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 382 + "wait": 360 } }, { @@ -2242,7 +2242,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -2254,7 +2254,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", @@ -2279,8 +2279,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.516Z", - "time": 412, + "startedDateTime": "2023-04-20T03:47:17.954Z", + "time": 606, "timings": { "blocked": -1, "connect": -1, @@ -2288,7 +2288,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 412 + "wait": 606 } }, { @@ -2363,7 +2363,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -2375,7 +2375,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", @@ -2400,8 +2400,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.517Z", - "time": 395, + "startedDateTime": "2023-04-20T03:47:17.963Z", + "time": 596, "timings": { "blocked": -1, "connect": -1, @@ -2409,7 +2409,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 395 + "wait": 596 } }, { @@ -2484,7 +2484,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "vary", @@ -2496,7 +2496,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:29 GMT" + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "content-length", @@ -2521,8 +2521,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.529Z", - "time": 397, + "startedDateTime": "2023-04-20T03:47:17.964Z", + "time": 596, "timings": { "blocked": -1, "connect": -1, @@ -2530,7 +2530,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 397 + "wait": 596 } }, { @@ -2605,7 +2605,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -2617,7 +2617,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", @@ -2642,8 +2642,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.918Z", - "time": 470, + "startedDateTime": "2023-04-20T03:47:18.565Z", + "time": 410, "timings": { "blocked": -1, "connect": -1, @@ -2651,7 +2651,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 470 + "wait": 410 } }, { @@ -2726,7 +2726,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -2738,7 +2738,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", @@ -2763,8 +2763,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.930Z", - "time": 461, + "startedDateTime": "2023-04-20T03:47:18.566Z", + "time": 408, "timings": { "blocked": -1, "connect": -1, @@ -2772,7 +2772,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 461 + "wait": 408 } }, { @@ -2847,7 +2847,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -2859,7 +2859,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", @@ -2884,8 +2884,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:29.934Z", - "time": 458, + "startedDateTime": "2023-04-20T03:47:18.567Z", + "time": 397, "timings": { "blocked": -1, "connect": -1, @@ -2893,11 +2893,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 458 + "wait": 397 } }, { - "_id": "dfe939f74ed54a9d42ab204fbeb724ed", + "_id": "df9e68b5975c37dcaf0428feaa0b1aa7", "_order": 0, "cache": {}, "request": { @@ -2939,18 +2939,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1358, + "headersSize": 1355, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions/iam" + "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3_cloudbuild/iam" }, "response": { - "bodySize": 488, + "bodySize": 743, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 488, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3cloudfunctions\",\n \"version\": 1,\n \"etag\": \"CAU=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 743, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3_cloudbuild\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -2960,7 +2960,7 @@ }, { "name": "etag", - "value": "CAU=" + "value": "CAI=" }, { "name": "content-type", @@ -2968,7 +2968,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -2980,11 +2980,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", - "value": "488" + "value": "743" }, { "name": "server", @@ -3005,8 +3005,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:30.395Z", - "time": 434, + "startedDateTime": "2023-04-20T03:47:18.970Z", + "time": 293, "timings": { "blocked": -1, "connect": -1, @@ -3014,11 +3014,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 434 + "wait": 293 } }, { - "_id": "df9e68b5975c37dcaf0428feaa0b1aa7", + "_id": "dfe939f74ed54a9d42ab204fbeb724ed", "_order": 0, "cache": {}, "request": { @@ -3060,18 +3060,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1355, + "headersSize": 1358, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3_cloudbuild/iam" + "url": "https://storage.googleapis.com/storage/v1/b/j1-gc-integration-dev-v3cloudfunctions/iam" }, "response": { - "bodySize": 743, + "bodySize": 488, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 743, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3_cloudbuild\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" + "size": 488, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/j1-gc-integration-dev-v3cloudfunctions\",\n \"version\": 1,\n \"etag\": \"CAU=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -3081,7 +3081,7 @@ }, { "name": "etag", - "value": "CAI=" + "value": "CAU=" }, { "name": "content-type", @@ -3089,7 +3089,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -3101,11 +3101,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:30 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", - "value": "743" + "value": "488" }, { "name": "server", @@ -3126,8 +3126,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:30.395Z", - "time": 435, + "startedDateTime": "2023-04-20T03:47:18.981Z", + "time": 393, "timings": { "blocked": -1, "connect": -1, @@ -3135,7 +3135,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 435 + "wait": 393 } }, { @@ -3210,7 +3210,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -3222,7 +3222,7 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", @@ -3247,8 +3247,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:30.397Z", - "time": 1001, + "startedDateTime": "2023-04-20T03:47:18.983Z", + "time": 272, "timings": { "blocked": -1, "connect": -1, @@ -3256,11 +3256,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1001 + "wait": 272 } }, { - "_id": "e6a47336fda03771ef2a23c1c54f6521", + "_id": "93cee02f5d8ad6ade0697de1880a136b", "_order": 0, "cache": {}, "request": { @@ -3302,18 +3302,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1369, + "headersSize": 1364, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com/iam" + "url": "https://storage.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com/iam" }, "response": { - "bodySize": 757, + "bodySize": 494, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 757, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" + "size": 494, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -3323,7 +3323,7 @@ }, { "name": "etag", - "value": "CAI=" + "value": "CAE=" }, { "name": "content-type", @@ -3331,7 +3331,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -3343,11 +3343,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", - "value": "757" + "value": "494" }, { "name": "server", @@ -3368,8 +3368,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:30.837Z", - "time": 377, + "startedDateTime": "2023-04-20T03:47:19.219Z", + "time": 391, "timings": { "blocked": -1, "connect": -1, @@ -3377,11 +3377,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 377 + "wait": 391 } }, { - "_id": "93cee02f5d8ad6ade0697de1880a136b", + "_id": "e6a47336fda03771ef2a23c1c54f6521", "_order": 0, "cache": {}, "request": { @@ -3423,18 +3423,18 @@ "value": "storage.googleapis.com" } ], - "headersSize": 1364, + "headersSize": 1369, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://storage.googleapis.com/storage/v1/b/staging.j1-gc-integration-dev-v3.appspot.com/iam" + "url": "https://storage.googleapis.com/storage/v1/b/us.artifacts.j1-gc-integration-dev-v3.appspot.com/iam" }, "response": { - "bodySize": 494, + "bodySize": 757, "content": { "mimeType": "application/json; charset=UTF-8", - "size": 494, - "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/staging.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAE=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\"\n ]\n }\n ]\n}\n" + "size": 757, + "text": "{\n \"kind\": \"storage#policy\",\n \"resourceId\": \"projects/_/buckets/us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\n \"version\": 1,\n \"etag\": \"CAI=\",\n \"bindings\": [\n {\n \"role\": \"roles/storage.legacyBucketOwner\",\n \"members\": [\n \"projectEditor:j1-gc-integration-dev-v3\",\n \"projectOwner:j1-gc-integration-dev-v3\"\n ]\n },\n {\n \"role\": \"roles/storage.legacyBucketReader\",\n \"members\": [\n \"projectViewer:j1-gc-integration-dev-v3\",\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/storage.objectAdmin\",\n \"members\": [\n \"serviceAccount:service-167984947943@gcp-sa-privateca.iam.gserviceaccount.com\"\n ]\n }\n ]\n}\n" }, "cookies": [], "headers": [ @@ -3444,7 +3444,7 @@ }, { "name": "etag", - "value": "CAE=" + "value": "CAI=" }, { "name": "content-type", @@ -3452,7 +3452,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "vary", @@ -3464,11 +3464,11 @@ }, { "name": "expires", - "value": "Wed, 19 Apr 2023 19:24:31 GMT" + "value": "Thu, 20 Apr 2023 03:47:19 GMT" }, { "name": "content-length", - "value": "494" + "value": "757" }, { "name": "server", @@ -3489,8 +3489,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:24:30.837Z", - "time": 426, + "startedDateTime": "2023-04-20T03:47:19.260Z", + "time": 349, "timings": { "blocked": -1, "connect": -1, @@ -3498,7 +3498,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 426 + "wait": 349 } } ], diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har index 2c4c8c50..90a41fdb 100644 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1262, + "bodySize": 1184, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1262, + "size": 1184, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:05 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:05.179Z", - "time": 183, + "startedDateTime": "2023-04-20T03:47:07.125Z", + "time": 143, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 183 + "wait": 143 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 424, + "bodySize": 339, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 424, + "size": 339, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:06 GMT" + "value": "Thu, 20 Apr 2023 03:47:08 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:05.368Z", - "time": 1365, + "startedDateTime": "2023-04-20T03:47:07.276Z", + "time": 1203, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1365 + "wait": 1203 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1252, + "bodySize": 1276, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1252, + "size": 1276, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:07 GMT" + "value": "Thu, 20 Apr 2023 03:47:08 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:06.750Z", - "time": 259, + "startedDateTime": "2023-04-20T03:47:08.497Z", + "time": 278, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 259 + "wait": 278 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 3018, + "bodySize": 3032, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3018, + "size": 3032, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:08 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:07.018Z", - "time": 1272, + "startedDateTime": "2023-04-20T03:47:08.780Z", + "time": 1001, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1272 + "wait": 1001 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 77, + "bodySize": 162, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 77, + "size": 162, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:09 GMT" + "value": "Thu, 20 Apr 2023 03:47:10 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:08.299Z", - "time": 1340, + "startedDateTime": "2023-04-20T03:47:09.785Z", + "time": 1045, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1340 + "wait": 1045 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 2953, + "bodySize": 3042, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2953, + "size": 3042, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:10 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:09.649Z", - "time": 465, + "startedDateTime": "2023-04-20T03:47:10.837Z", + "time": 447, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 465 + "wait": 447 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 128, + "bodySize": 162, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 128, + "size": 162, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:10 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:10.119Z", - "time": 639, + "startedDateTime": "2023-04-20T03:47:11.294Z", + "time": 623, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 639 + "wait": 623 } }, { @@ -893,11 +893,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 3149, + "bodySize": 3170, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3149, + "size": 3170, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:11 GMT" + "value": "Thu, 20 Apr 2023 03:47:12 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:10.767Z", - "time": 952, + "startedDateTime": "2023-04-20T03:47:11.921Z", + "time": 1007, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 952 + "wait": 1007 } }, { @@ -1011,11 +1011,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" }, "response": { - "bodySize": 60, + "bodySize": 118, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 60, + "size": 118, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:12 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -1067,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:11.725Z", - "time": 1016, + "startedDateTime": "2023-04-20T03:47:12.935Z", + "time": 1040, "timings": { "blocked": -1, "connect": -1, @@ -1076,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1016 + "wait": 1040 } }, { @@ -1134,11 +1134,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1255, + "bodySize": 1170, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1255, + "size": 1170, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1153,7 +1153,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:13 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -1190,8 +1190,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:12.747Z", - "time": 106, + "startedDateTime": "2023-04-20T03:47:13.986Z", + "time": 124, "timings": { "blocked": -1, "connect": -1, @@ -1199,7 +1199,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 106 + "wait": 124 } }, { @@ -1252,11 +1252,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" }, "response": { - "bodySize": 155, + "bodySize": 121, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 155, + "size": 121, "text": "{}" }, "cookies": [], @@ -1271,7 +1271,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:14 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -1308,8 +1308,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:12.861Z", - "time": 1252, + "startedDateTime": "2023-04-20T03:47:14.118Z", + "time": 964, "timings": { "blocked": -1, "connect": -1, @@ -1317,7 +1317,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1252 + "wait": 964 } }, { @@ -1370,11 +1370,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" }, "response": { - "bodySize": 4334, + "bodySize": 4341, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 4334, + "size": 4341, "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" }, "cookies": [], @@ -1389,7 +1389,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:14 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -1426,8 +1426,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:14.118Z", - "time": 586, + "startedDateTime": "2023-04-20T03:47:15.087Z", + "time": 423, "timings": { "blocked": -1, "connect": -1, @@ -1435,7 +1435,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 586 + "wait": 423 } }, { @@ -1488,11 +1488,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificates" }, "response": { - "bodySize": 148, + "bodySize": 145, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 148, + "size": 145, "text": "{}" }, "cookies": [], @@ -1507,7 +1507,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 19:36:15 GMT" + "value": "Thu, 20 Apr 2023 03:47:16 GMT" }, { "name": "server", @@ -1544,8 +1544,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T19:36:14.716Z", - "time": 923, + "startedDateTime": "2023-04-20T03:47:15.516Z", + "time": 949, "timings": { "blocked": -1, "connect": -1, @@ -1553,7 +1553,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 923 + "wait": 949 } } ], diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har index c7ea1e7a..0e6ede0c 100644 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1252, + "bodySize": 1279, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1252, + "size": 1279, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:40 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:40.442Z", - "time": 186, + "startedDateTime": "2023-04-20T03:47:07.123Z", + "time": 143, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 186 + "wait": 143 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 383, + "bodySize": 434, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 383, + "size": 434, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:42 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:40.635Z", - "time": 1633, + "startedDateTime": "2023-04-20T03:47:07.273Z", + "time": 2330, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1633 + "wait": 2330 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1160, + "bodySize": 1245, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1160, + "size": 1245, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:42 GMT" + "value": "Thu, 20 Apr 2023 03:47:10 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:42.289Z", - "time": 122, + "startedDateTime": "2023-04-20T03:47:09.621Z", + "time": 260, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 122 + "wait": 260 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2950, + "bodySize": 2964, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2950, + "size": 2964, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:43 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:42.417Z", - "time": 1193, + "startedDateTime": "2023-04-20T03:47:09.886Z", + "time": 1663, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1193 + "wait": 1663 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 179, + "bodySize": 138, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 179, + "size": 138, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:44 GMT" + "value": "Thu, 20 Apr 2023 03:47:12 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:43.615Z", - "time": 1376, + "startedDateTime": "2023-04-20T03:47:11.559Z", + "time": 1367, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1376 + "wait": 1367 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 3001, + "bodySize": 2994, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3001, + "size": 2994, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:45 GMT" + "value": "Thu, 20 Apr 2023 03:47:13 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:44.997Z", - "time": 441, + "startedDateTime": "2023-04-20T03:47:12.938Z", + "time": 775, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 441 + "wait": 775 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 77, + "bodySize": 118, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 77, + "size": 118, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:46 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:45.446Z", - "time": 657, + "startedDateTime": "2023-04-20T03:47:13.721Z", + "time": 686, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 657 + "wait": 686 } }, { @@ -893,12 +893,12 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 53, + "bodySize": 3064, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 53, - "text": "{}" + "size": 3064, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], "headers": [ @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:59:47 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:59:46.110Z", - "time": 976, + "startedDateTime": "2023-04-20T03:47:14.413Z", + "time": 1353, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,125 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 976 + "wait": 1353 + } + }, + { + "_id": "20b5ce375e07ffa1875948ffffcdd6e1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" + }, + "response": { + "bodySize": 87, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 87, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Thu, 20 Apr 2023 03:47:17 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-20T03:47:15.772Z", + "time": 1345, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1345 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har index 0b6a0dda..ddb3448b 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1173, + "bodySize": 1221, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1173, + "size": 1221, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:56:59 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:56:59.568Z", - "time": 203, + "startedDateTime": "2023-04-20T03:47:07.123Z", + "time": 147, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 203 + "wait": 147 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 390, + "bodySize": 414, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 390, + "size": 414, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:01 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:56:59.779Z", - "time": 1348, + "startedDateTime": "2023-04-20T03:47:07.279Z", + "time": 2295, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1348 + "wait": 2295 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1238, + "bodySize": 1174, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1238, + "size": 1174, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:01 GMT" + "value": "Thu, 20 Apr 2023 03:47:10 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:01.147Z", - "time": 275, + "startedDateTime": "2023-04-20T03:47:09.590Z", + "time": 324, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 275 + "wait": 324 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2947, + "bodySize": 2981, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2947, + "size": 2981, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:02 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:01.430Z", - "time": 1207, + "startedDateTime": "2023-04-20T03:47:09.918Z", + "time": 1641, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1207 + "wait": 1641 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 118, + "bodySize": 94, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 118, + "size": 94, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:03 GMT" + "value": "Thu, 20 Apr 2023 03:47:12 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:02.645Z", - "time": 1269, + "startedDateTime": "2023-04-20T03:47:11.563Z", + "time": 1362, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1269 + "wait": 1362 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 3032, + "bodySize": 3011, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3032, + "size": 3011, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:04 GMT" + "value": "Thu, 20 Apr 2023 03:47:13 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:03.925Z", - "time": 642, + "startedDateTime": "2023-04-20T03:47:12.932Z", + "time": 536, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 642 + "wait": 536 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 67, + "bodySize": 101, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 67, + "size": 101, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:05 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:04.571Z", - "time": 635, + "startedDateTime": "2023-04-20T03:47:13.477Z", + "time": 1041, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 635 + "wait": 1041 } }, { @@ -893,12 +893,12 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 63, + "bodySize": 3153, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 63, - "text": "{}" + "size": 3153, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], "headers": [ @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:06 GMT" + "value": "Thu, 20 Apr 2023 03:47:15 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:05.211Z", - "time": 927, + "startedDateTime": "2023-04-20T03:47:14.526Z", + "time": 1240, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,125 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 927 + "wait": 1240 + } + }, + { + "_id": "20b5ce375e07ffa1875948ffffcdd6e1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" + }, + "response": { + "bodySize": 155, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 155, + "text": "{\"etag\":\"ACAB\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Thu, 20 Apr 2023 03:47:17 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-20T03:47:15.774Z", + "time": 1346, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1346 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har index 02b773af..b35c5dc5 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1164, + "bodySize": 1272, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1164, + "size": 1272, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:56:59 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:56:59.568Z", - "time": 208, + "startedDateTime": "2023-04-20T03:47:07.152Z", + "time": 143, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 208 + "wait": 143 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 407, + "bodySize": 414, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 407, + "size": 414, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:02 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:56:59.784Z", - "time": 2686, + "startedDateTime": "2023-04-20T03:47:07.304Z", + "time": 2207, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2686 + "wait": 2207 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1194, + "bodySize": 1187, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1194, + "size": 1187, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:02 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:02.484Z", - "time": 102, + "startedDateTime": "2023-04-20T03:47:09.534Z", + "time": 246, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 102 + "wait": 246 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2940, + "bodySize": 2964, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2940, + "size": 2964, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:03 GMT" + "value": "Thu, 20 Apr 2023 03:47:11 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:02.597Z", - "time": 1167, + "startedDateTime": "2023-04-20T03:47:09.785Z", + "time": 1765, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1167 + "wait": 1765 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 135, + "bodySize": 128, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 135, + "size": 128, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:05 GMT" + "value": "Thu, 20 Apr 2023 03:47:12 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:03.769Z", - "time": 1322, + "startedDateTime": "2023-04-20T03:47:11.560Z", + "time": 1368, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1322 + "wait": 1368 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 2957, + "bodySize": 2987, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2957, + "size": 2987, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:05 GMT" + "value": "Thu, 20 Apr 2023 03:47:13 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:05.100Z", - "time": 515, + "startedDateTime": "2023-04-20T03:47:12.935Z", + "time": 455, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 515 + "wait": 455 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 172, + "bodySize": 162, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 172, + "size": 162, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:06 GMT" + "value": "Thu, 20 Apr 2023 03:47:14 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:05.623Z", - "time": 697, + "startedDateTime": "2023-04-20T03:47:13.393Z", + "time": 600, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 697 + "wait": 600 } }, { @@ -893,12 +893,130 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 60, + "bodySize": 3095, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 60, - "text": "{}" + "size": 3095, + "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Thu, 20 Apr 2023 03:47:14 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-20T03:47:13.997Z", + "time": 1026, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1026 + } + }, + { + "_id": "20b5ce375e07ffa1875948ffffcdd6e1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" + }, + "response": { + "bodySize": 94, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 94, + "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], "headers": [ @@ -912,7 +1030,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:07 GMT" + "value": "Thu, 20 Apr 2023 03:47:16 GMT" }, { "name": "server", @@ -949,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:06.324Z", - "time": 912, + "startedDateTime": "2023-04-20T03:47:15.032Z", + "time": 1068, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 912 + "wait": 1068 } }, { @@ -1016,11 +1134,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1171, + "bodySize": 1242, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1171, + "size": 1242, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1035,7 +1153,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:07 GMT" + "value": "Thu, 20 Apr 2023 03:47:16 GMT" }, { "name": "server", @@ -1072,8 +1190,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:07.247Z", - "time": 136, + "startedDateTime": "2023-04-20T03:47:16.106Z", + "time": 100, "timings": { "blocked": -1, "connect": -1, @@ -1081,7 +1199,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 136 + "wait": 100 } }, { @@ -1134,11 +1252,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" }, "response": { - "bodySize": 60, + "bodySize": 128, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 60, + "size": 128, "text": "{}" }, "cookies": [], @@ -1153,7 +1271,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:08 GMT" + "value": "Thu, 20 Apr 2023 03:47:17 GMT" }, { "name": "server", @@ -1190,8 +1308,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:07.390Z", - "time": 1184, + "startedDateTime": "2023-04-20T03:47:16.210Z", + "time": 984, "timings": { "blocked": -1, "connect": -1, @@ -1199,7 +1317,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1184 + "wait": 984 } }, { @@ -1252,11 +1370,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" }, "response": { - "bodySize": 4300, + "bodySize": 4344, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 4300, + "size": 4344, "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" }, "cookies": [], @@ -1271,7 +1389,125 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:57:09 GMT" + "value": "Thu, 20 Apr 2023 03:47:17 GMT" + }, + { + "name": "server", + "value": "ESF" + }, + { + "name": "cache-control", + "value": "private" + }, + { + "name": "x-xss-protection", + "value": "0" + }, + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + }, + { + "name": "connection", + "value": "close" + } + ], + "headersSize": 367, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2023-04-20T03:47:17.200Z", + "time": 452, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 452 + } + }, + { + "_id": "65ad7941261d977eaa2207bfe586ff58", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "x-goog-api-client", + "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" + }, + { + "_fromType": "array", + "name": "accept-encoding", + "value": "gzip" + }, + { + "_fromType": "array", + "name": "user-agent", + "value": "google-api-nodejs-client/5.0.2 (gzip)" + }, + { + "_fromType": "array", + "name": "authorization", + "value": "[REDACTED]" + }, + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "connection", + "value": "close" + }, + { + "name": "host", + "value": "privateca.googleapis.com" + } + ], + "headersSize": 1390, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificates" + }, + "response": { + "bodySize": 148, + "content": { + "encoding": "utf-8", + "mimeType": "application/json; charset=UTF-8", + "size": 148, + "text": "{}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json; charset=UTF-8" + }, + { + "name": "vary", + "value": "Origin, X-Origin, Referer" + }, + { + "name": "date", + "value": "Thu, 20 Apr 2023 03:47:18 GMT" }, { "name": "server", @@ -1308,8 +1544,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:57:08.578Z", - "time": 595, + "startedDateTime": "2023-04-20T03:47:17.664Z", + "time": 939, "timings": { "blocked": -1, "connect": -1, @@ -1317,7 +1553,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 595 + "wait": 939 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har index 2c7dd43a..33f01d8b 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1266, + "bodySize": 1198, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1266, + "size": 1198, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:52:00 GMT" + "value": "Thu, 20 Apr 2023 03:47:07 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:52:00.335Z", - "time": 235, + "startedDateTime": "2023-04-20T03:47:07.123Z", + "time": 138, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 235 + "wait": 138 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 363, + "bodySize": 383, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 363, + "size": 383, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Wed, 19 Apr 2023 18:52:02 GMT" + "value": "Thu, 20 Apr 2023 03:47:09 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-19T18:52:00.578Z", - "time": 1526, + "startedDateTime": "2023-04-20T03:47:07.268Z", + "time": 2341, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1526 + "wait": 2341 } } ], diff --git a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts index 2c3698a6..1b3a41da 100644 --- a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts +++ b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts @@ -12,23 +12,16 @@ import { PrivatecaRelationships, PrivatecaSteps, } from '../constants'; -import { getCaAuthorityEntityKey } from '../converters'; import { privateca_v1 } from 'googleapis'; -import { PrivateCaClient } from '../client'; async function buildCertificateAuthorityCertificateRelationships( context: IntegrationStepContext, ): Promise { - const { - jobState, - logger, - instance: { config }, - } = context; + const { jobState, logger } = context; await jobState.iterateEntities( { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type }, async (caCertificate) => { - const client = new PrivateCaClient({ config }); const caCertificateEntity = getRawData(caCertificate); const certificateIssuer = caCertificateEntity?.issuerCertificateAuthority; @@ -36,12 +29,7 @@ async function buildCertificateAuthorityCertificateRelationships( if (!certificateIssuer) return; const certificateAuthorityEntity = await jobState.findEntity( - getCaAuthorityEntityKey({ - projectId: client.projectId, - location: certificateIssuer?.split('/')[3], - caPoolId: certificateIssuer?.split('/')[5], - certificateAuthorityId: certificateIssuer?.split('/')[7], - }), + certificateIssuer.split('/')[7], ); if (!certificateAuthorityEntity) { From 8ef4dbf8ace91e4557ddb9a377cebc8c3cc54042 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 11:37:05 -0300 Subject: [PATCH 4/8] Add missing permission --- docs/jupiterone.md | 3 ++- src/steps/privateca/steps/fetchCaPools.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/jupiterone.md b/docs/jupiterone.md index 36c0b1d7..1e8f883d 100644 --- a/docs/jupiterone.md +++ b/docs/jupiterone.md @@ -598,7 +598,7 @@ permissions can be used to provision only the required ones: -| Permissions List (110) | +| Permissions List (111) | | ------------------------------------------------------- | | `accesscontextmanager.accessLevels.list` | | `accesscontextmanager.accessPolicies.list` | @@ -685,6 +685,7 @@ permissions can be used to provision only the required ones: | `monitoring.alertPolicies.list` | | `orgpolicy.policies.list` | | `orgpolicy.policy.get` | +| `privateca.caPools.list` | | `privateca.certificateAuthorities.getIamPolicy` | | `privateca.certificateAuthorities.list` | | `privateca.certificates.list` | diff --git a/src/steps/privateca/steps/fetchCaPools.ts b/src/steps/privateca/steps/fetchCaPools.ts index 4fa3f43c..8791f921 100644 --- a/src/steps/privateca/steps/fetchCaPools.ts +++ b/src/steps/privateca/steps/fetchCaPools.ts @@ -36,6 +36,6 @@ export const fetchCaPoolsStepMap: GoogleCloudIntegrationStep = { relationships: [], dependsOn: [], executionHandler: fetchCaPools, - permissions: [], + permissions: ['privateca.caPools.list'], apis: ['privateca.googleapis.com'], }; From 6023bc7d6ca0ac36dd18a6691bd413155cbe5ec2 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 12:24:29 -0300 Subject: [PATCH 5/8] Remove unused steps --- src/getStepStartStates.ts | 15 - src/index.test.ts | 10 - src/steps/privateca/constants.ts | 8 - src/steps/privateca/converters.ts | 14 +- src/steps/privateca/index.ts | 4 - .../recording.har | 316 ++-- .../recording.har | 1563 ----------------- .../recording.har | 1086 ------------ .../recording.har | 108 +- .../recording.har | 148 +- .../recording.har | 24 +- ...lCertificateAuthorityRelationships.test.ts | 47 - ...CAPoolCertificateAuthorityRelationships.ts | 74 - ...eAuthorityCertificateRelationships.test.ts | 50 - ...ficateAuthorityCertificateRelationships.ts | 68 - .../steps/fetchAuthorityCertificates.ts | 32 +- .../steps/fetchCertificateAuthorities.ts | 30 +- 17 files changed, 347 insertions(+), 3250 deletions(-) delete mode 100644 src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har delete mode 100644 src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har delete mode 100644 src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts delete mode 100644 src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts delete mode 100644 src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts delete mode 100644 src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts diff --git a/src/getStepStartStates.ts b/src/getStepStartStates.ts index d2a2ed37..f1d66222 100644 --- a/src/getStepStartStates.ts +++ b/src/getStepStartStates.ts @@ -413,19 +413,10 @@ function getDefaultStepStartStates(params: { [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: { disabled: false, }, - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: { - disabled: false, - }, [PrivatecaSteps .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id]: { disabled: false, }, - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id]: { - disabled: false, - }, [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: { disabled: false }, [STEP_DATAPROC_CLUSTERS]: { disabled: false }, [STEP_DATAPROC_CLUSTER_KMS_RELATIONSHIPS]: { disabled: false }, @@ -820,15 +811,9 @@ async function getStepStartStatesUsingServiceEnablements(params: { ), [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: createStepStartState(ServiceUsageName.PRIVATE_CA), - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: - createStepStartState(ServiceUsageName.PRIVATE_CA), [PrivatecaSteps .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id]: createStepStartState(ServiceUsageName.PRIVATE_CA), - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id]: createStepStartState(ServiceUsageName.PRIVATE_CA), [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: createStepStartState( ServiceUsageName.PRIVATE_CA, ), diff --git a/src/index.test.ts b/src/index.test.ts index af9caf4e..b79e8e2d 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -477,21 +477,11 @@ describe('#getStepStartStates success', () => { [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id]: { disabled: false, }, - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id]: - { - disabled: false, - }, [PrivatecaSteps .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS .id]: { disabled: false, }, - [PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id]: { - disabled: false, - }, [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id]: { disabled: false }, [STEP_IAM_BINDINGS]: { disabled: false, diff --git a/src/steps/privateca/constants.ts b/src/steps/privateca/constants.ts index 73b1c427..4ca8ea9c 100644 --- a/src/steps/privateca/constants.ts +++ b/src/steps/privateca/constants.ts @@ -10,10 +10,6 @@ export const PrivatecaSteps = { id: 'fetch-private-ca-certificate-authorities', name: 'Private CA Certificate Authorities', }, - STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS: { - id: 'build-private-ca-pool-certificate-authority-relationships', - name: 'Build Private CA Pool Certificate Authoritity Relationship', - }, STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS: { id: 'build-private-ca-certificate-authority-bucket-relationships', name: 'Build Private CA Certificate Authoritity Bucket Relationships', @@ -22,10 +18,6 @@ export const PrivatecaSteps = { id: 'fetch-private-ca-certificates', name: 'Private CA Certificates', }, - STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS: { - id: 'build-private-ca-certificate-authority-certificate-relationships', - name: 'Build Private CA Certificate Authoritity Certificate Relationships', - }, }; export const PrivatecaEntities = { diff --git a/src/steps/privateca/converters.ts b/src/steps/privateca/converters.ts index 0a721050..910a7914 100644 --- a/src/steps/privateca/converters.ts +++ b/src/steps/privateca/converters.ts @@ -27,7 +27,7 @@ export function createCertificateAuthorityEntity({ assign: { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type, _class: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._class, - _key: data.name?.split('/')[7] as string, + _key: data.name as string, name: data.name, displayName: data.name as string, function: ['certificate-management'], @@ -245,15 +245,3 @@ export const createCaPoolEntity = (caPool: privateca_v1.Schema$CaPool) => { }, }); }; - -export function getCaPoolEntityKey({ - projectId, - location, - caPoolId, -}: { - projectId: string; - location: string; - caPoolId: string; -}) { - return `projects/${projectId}/locations/${location}/caPools/${caPoolId}`; -} diff --git a/src/steps/privateca/index.ts b/src/steps/privateca/index.ts index 09a6eae3..b1e4fd24 100644 --- a/src/steps/privateca/index.ts +++ b/src/steps/privateca/index.ts @@ -4,15 +4,11 @@ import { fetchCaPoolsStepMap } from './steps/fetchCaPools'; import { IntegrationConfig } from '../../types'; import { fetchAuthorityCertificatesStepMap } from './steps/fetchAuthorityCertificates'; import { fetchCertificateAuthoritiesStepMap } from './steps/fetchCertificateAuthorities'; -import { buildCAPoolCertificateAuthorityRelationshipsStepMap } from './steps/buildCAPoolCertificateAuthorityRelationships'; import { buildCertificateAuthorityBucketRelationshipsStepMap } from './steps/buildCertificateAuthorityBucketRelationships'; -import { buildCertificateAuthorityCertificateRelationshipsStepMap } from './steps/buildCertificateAuthorityCertificateRelationships'; export const privateCaSteps: IntegrationStep[] = [ fetchCaPoolsStepMap, fetchAuthorityCertificatesStepMap, fetchCertificateAuthoritiesStepMap, - buildCAPoolCertificateAuthorityRelationshipsStepMap, buildCertificateAuthorityBucketRelationshipsStepMap, - buildCertificateAuthorityCertificateRelationshipsStepMap, ]; diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har index 7bc4a6c7..5c2bd952 100644 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har +++ b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-bucket-relationships_3258066049/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1160, + "bodySize": 1211, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1160, + "size": 1211, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" + "value": "Thu, 20 Apr 2023 15:23:19 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.135Z", - "time": 124, + "startedDateTime": "2023-04-20T15:23:19.621Z", + "time": 178, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 124 + "wait": 178 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 407, + "bodySize": 366, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 407, + "size": 366, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:21 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.264Z", - "time": 2245, + "startedDateTime": "2023-04-20T15:23:19.807Z", + "time": 1940, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2245 + "wait": 1940 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1286, + "bodySize": 1181, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1286, + "size": 1181, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:21 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.524Z", - "time": 256, + "startedDateTime": "2023-04-20T15:23:21.768Z", + "time": 100, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 256 + "wait": 100 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2954, + "bodySize": 2957, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2954, + "size": 2957, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:10 GMT" + "value": "Thu, 20 Apr 2023 15:23:22 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.785Z", - "time": 1043, + "startedDateTime": "2023-04-20T15:23:21.874Z", + "time": 909, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1043 + "wait": 909 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 135, + "bodySize": 77, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 135, + "size": 77, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" + "value": "Thu, 20 Apr 2023 15:23:23 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:10.834Z", - "time": 1040, + "startedDateTime": "2023-04-20T15:23:22.795Z", + "time": 1054, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1040 + "wait": 1054 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 2981, + "bodySize": 2933, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2981, + "size": 2933, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:12 GMT" + "value": "Thu, 20 Apr 2023 15:23:24 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:11.887Z", - "time": 483, + "startedDateTime": "2023-04-20T15:23:23.858Z", + "time": 444, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 483 + "wait": 444 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 118, + "bodySize": 67, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 118, + "size": 67, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:13 GMT" + "value": "Thu, 20 Apr 2023 15:23:25 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:12.373Z", - "time": 726, + "startedDateTime": "2023-04-20T15:23:24.309Z", + "time": 707, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 726 + "wait": 707 } }, { @@ -893,11 +893,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 3166, + "bodySize": 3143, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3166, + "size": 3143, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" + "value": "Thu, 20 Apr 2023 15:23:26 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:13.104Z", - "time": 941, + "startedDateTime": "2023-04-20T15:23:25.026Z", + "time": 962, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 941 + "wait": 962 } }, { @@ -1011,11 +1011,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" }, "response": { - "bodySize": 118, + "bodySize": 77, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 118, + "size": 77, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" + "value": "Thu, 20 Apr 2023 15:23:27 GMT" }, { "name": "server", @@ -1067,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:14.056Z", - "time": 1026, + "startedDateTime": "2023-04-20T15:23:25.996Z", + "time": 1074, "timings": { "blocked": -1, "connect": -1, @@ -1076,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1026 + "wait": 1074 } }, { @@ -1134,11 +1134,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1208, + "bodySize": 1269, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1208, + "size": 1269, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1153,7 +1153,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" + "value": "Thu, 20 Apr 2023 15:23:27 GMT" }, { "name": "server", @@ -1190,8 +1190,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:15.090Z", - "time": 104, + "startedDateTime": "2023-04-20T15:23:27.077Z", + "time": 97, "timings": { "blocked": -1, "connect": -1, @@ -1199,7 +1199,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 104 + "wait": 97 } }, { @@ -1252,11 +1252,11 @@ "url": "https://orgpolicy.googleapis.com/v2/projects/j1-gc-integration-dev-v3/policies/storage.publicAccessPrevention:getEffectivePolicy" }, "response": { - "bodySize": 311, + "bodySize": 199, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 311, + "size": 199, "text": "{\"name\":\"projects/167984947943/policies/storage.publicAccessPrevention\",\"spec\":{\"rules\":[{\"enforce\":false}]}}" }, "cookies": [], @@ -1271,7 +1271,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:16 GMT" + "value": "Thu, 20 Apr 2023 15:23:28 GMT" }, { "name": "server", @@ -1308,8 +1308,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:15.199Z", - "time": 997, + "startedDateTime": "2023-04-20T15:23:27.181Z", + "time": 1314, "timings": { "blocked": -1, "connect": -1, @@ -1317,7 +1317,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 997 + "wait": 1314 } }, { @@ -1375,11 +1375,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1242, + "bodySize": 1238, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1242, + "size": 1238, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1394,7 +1394,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:16 GMT" + "value": "Thu, 20 Apr 2023 15:23:28 GMT" }, { "name": "server", @@ -1431,8 +1431,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:16.201Z", - "time": 163, + "startedDateTime": "2023-04-20T15:23:28.500Z", + "time": 130, "timings": { "blocked": -1, "connect": -1, @@ -1440,7 +1440,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 163 + "wait": 130 } }, { @@ -1516,7 +1516,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "vary", @@ -1528,7 +1528,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "content-length", @@ -1553,8 +1553,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:16.370Z", - "time": 1218, + "startedDateTime": "2023-04-20T15:23:28.636Z", + "time": 1386, "timings": { "blocked": -1, "connect": -1, @@ -1562,7 +1562,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1218 + "wait": 1386 } }, { @@ -1637,7 +1637,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -1649,7 +1649,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -1674,8 +1674,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.596Z", - "time": 1706, + "startedDateTime": "2023-04-20T15:23:30.026Z", + "time": 1661, "timings": { "blocked": -1, "connect": -1, @@ -1683,7 +1683,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1706 + "wait": 1661 } }, { @@ -1758,7 +1758,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "vary", @@ -1770,7 +1770,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "content-length", @@ -1795,8 +1795,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.597Z", - "time": 363, + "startedDateTime": "2023-04-20T15:23:30.027Z", + "time": 569, "timings": { "blocked": -1, "connect": -1, @@ -1804,7 +1804,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 363 + "wait": 569 } }, { @@ -1879,7 +1879,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -1891,7 +1891,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -1916,8 +1916,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.598Z", - "time": 1616, + "startedDateTime": "2023-04-20T15:23:30.028Z", + "time": 1669, "timings": { "blocked": -1, "connect": -1, @@ -1925,7 +1925,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1616 + "wait": 1669 } }, { @@ -2000,7 +2000,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "vary", @@ -2012,7 +2012,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "content-length", @@ -2037,8 +2037,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.599Z", - "time": 347, + "startedDateTime": "2023-04-20T15:23:30.029Z", + "time": 567, "timings": { "blocked": -1, "connect": -1, @@ -2046,7 +2046,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 347 + "wait": 567 } }, { @@ -2121,7 +2121,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "vary", @@ -2133,7 +2133,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "content-length", @@ -2158,8 +2158,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.600Z", - "time": 360, + "startedDateTime": "2023-04-20T15:23:30.030Z", + "time": 336, "timings": { "blocked": -1, "connect": -1, @@ -2167,7 +2167,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 360 + "wait": 336 } }, { @@ -2242,7 +2242,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "vary", @@ -2254,7 +2254,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "content-length", @@ -2279,8 +2279,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.954Z", - "time": 606, + "startedDateTime": "2023-04-20T15:23:30.372Z", + "time": 495, "timings": { "blocked": -1, "connect": -1, @@ -2288,7 +2288,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 606 + "wait": 495 } }, { @@ -2363,7 +2363,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2375,7 +2375,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -2400,8 +2400,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.963Z", - "time": 596, + "startedDateTime": "2023-04-20T15:23:30.599Z", + "time": 389, "timings": { "blocked": -1, "connect": -1, @@ -2409,7 +2409,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 596 + "wait": 389 } }, { @@ -2484,7 +2484,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2496,7 +2496,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -2521,8 +2521,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.964Z", - "time": 596, + "startedDateTime": "2023-04-20T15:23:30.601Z", + "time": 390, "timings": { "blocked": -1, "connect": -1, @@ -2530,7 +2530,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 596 + "wait": 390 } }, { @@ -2605,7 +2605,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2617,7 +2617,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -2642,8 +2642,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.565Z", - "time": 410, + "startedDateTime": "2023-04-20T15:23:30.871Z", + "time": 399, "timings": { "blocked": -1, "connect": -1, @@ -2651,7 +2651,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 410 + "wait": 399 } }, { @@ -2726,7 +2726,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2738,7 +2738,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -2763,8 +2763,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.566Z", - "time": 408, + "startedDateTime": "2023-04-20T15:23:30.995Z", + "time": 375, "timings": { "blocked": -1, "connect": -1, @@ -2772,7 +2772,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 408 + "wait": 375 } }, { @@ -2847,7 +2847,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2859,7 +2859,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -2884,8 +2884,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.567Z", - "time": 397, + "startedDateTime": "2023-04-20T15:23:30.996Z", + "time": 373, "timings": { "blocked": -1, "connect": -1, @@ -2893,7 +2893,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 397 + "wait": 373 } }, { @@ -2968,7 +2968,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -2980,7 +2980,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -3005,8 +3005,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.970Z", - "time": 293, + "startedDateTime": "2023-04-20T15:23:31.275Z", + "time": 377, "timings": { "blocked": -1, "connect": -1, @@ -3014,7 +3014,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 293 + "wait": 377 } }, { @@ -3089,7 +3089,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -3101,7 +3101,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -3126,8 +3126,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.981Z", - "time": 393, + "startedDateTime": "2023-04-20T15:23:31.373Z", + "time": 401, "timings": { "blocked": -1, "connect": -1, @@ -3135,7 +3135,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 393 + "wait": 401 } }, { @@ -3210,7 +3210,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "vary", @@ -3222,7 +3222,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "content-length", @@ -3241,14 +3241,14 @@ "value": "close" } ], - "headersSize": 465, + "headersSize": 463, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:18.983Z", - "time": 272, + "startedDateTime": "2023-04-20T15:23:31.374Z", + "time": 365, "timings": { "blocked": -1, "connect": -1, @@ -3256,7 +3256,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 272 + "wait": 365 } }, { @@ -3331,7 +3331,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:32 GMT" }, { "name": "vary", @@ -3343,7 +3343,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:32 GMT" }, { "name": "content-length", @@ -3368,8 +3368,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:19.219Z", - "time": 391, + "startedDateTime": "2023-04-20T15:23:31.656Z", + "time": 405, "timings": { "blocked": -1, "connect": -1, @@ -3377,7 +3377,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 391 + "wait": 405 } }, { @@ -3452,7 +3452,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:32 GMT" }, { "name": "vary", @@ -3464,7 +3464,7 @@ }, { "name": "expires", - "value": "Thu, 20 Apr 2023 03:47:19 GMT" + "value": "Thu, 20 Apr 2023 15:23:32 GMT" }, { "name": "content-length", @@ -3489,8 +3489,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:19.260Z", - "time": 349, + "startedDateTime": "2023-04-20T15:23:31.690Z", + "time": 372, "timings": { "blocked": -1, "connect": -1, @@ -3498,7 +3498,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 349 + "wait": 372 } } ], diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har deleted file mode 100644 index 90a41fdb..00000000 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-certificate-authority-certificate-relationships_1339397142/recording.har +++ /dev/null @@ -1,1563 +0,0 @@ -{ - "log": { - "_recordingName": "build-private-ca-certificate-authority-certificate-relationships", - "creator": { - "comment": "persister:JupiterOneIntegationFSPersister", - "name": "Polly.JS", - "version": "6.0.5" - }, - "entries": [ - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 709, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "709" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 1184, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 1184, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 390, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:07.125Z", - "time": 143, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 143 - } - }, - { - "_id": "8c3accf112bb6587d672fc0043521b03", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1363, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" - }, - "response": { - "bodySize": 339, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 339, - "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:08 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:07.276Z", - "time": 1203, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1203 - } - }, - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 1, - "cache": {}, - "request": { - "bodySize": 709, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "709" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 1276, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 1276, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:08 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 390, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:08.497Z", - "time": 278, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 278 - } - }, - { - "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1411, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" - }, - "response": { - "bodySize": 3032, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 3032, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:08.780Z", - "time": 1001, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1001 - } - }, - { - "_id": "00072863c40154315495ff11a610f12b", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1401, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" - }, - "response": { - "bodySize": 162, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 162, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:10 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:09.785Z", - "time": 1045, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1045 - } - }, - { - "_id": "8962f570ee57399ebff36f53d569ff86", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1406, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" - }, - "response": { - "bodySize": 3042, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 3042, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:10.837Z", - "time": 447, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 447 - } - }, - { - "_id": "74b32ca955d847028363ed3f3a6be139", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1396, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" - }, - "response": { - "bodySize": 162, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 162, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:11.294Z", - "time": 623, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 623 - } - }, - { - "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1400, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" - }, - "response": { - "bodySize": 3170, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 3170, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:12 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:11.921Z", - "time": 1007, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1007 - } - }, - { - "_id": "20b5ce375e07ffa1875948ffffcdd6e1", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1390, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" - }, - "response": { - "bodySize": 118, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 118, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:12.935Z", - "time": 1040, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1040 - } - }, - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 2, - "cache": {}, - "request": { - "bodySize": 709, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "709" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 1170, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 1170, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 390, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:13.986Z", - "time": 124, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 124 - } - }, - { - "_id": "3dd660a755a9fc653e83005abd6c5967", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1401, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" - }, - "response": { - "bodySize": 121, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 121, - "text": "{}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:14.118Z", - "time": 964, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 964 - } - }, - { - "_id": "58f73c897e7937312440b6a359a24374", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1396, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" - }, - "response": { - "bodySize": 4341, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 4341, - "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:15.087Z", - "time": 423, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 423 - } - }, - { - "_id": "65ad7941261d977eaa2207bfe586ff58", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1390, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificates" - }, - "response": { - "bodySize": 145, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 145, - "text": "{}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:16 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:15.516Z", - "time": 949, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 949 - } - } - ], - "pages": [], - "version": "1.2" - } -} diff --git a/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har b/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har deleted file mode 100644 index 0e6ede0c..00000000 --- a/src/steps/privateca/steps/__recordings__/build-private-ca-pool-certificate-authority-relationships_403397609/recording.har +++ /dev/null @@ -1,1086 +0,0 @@ -{ - "log": { - "_recordingName": "build-private-ca-pool-certificate-authority-relationships", - "creator": { - "comment": "persister:JupiterOneIntegationFSPersister", - "name": "Polly.JS", - "version": "6.0.5" - }, - "entries": [ - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 709, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "709" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 1279, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 1279, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 390, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:07.123Z", - "time": 143, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 143 - } - }, - { - "_id": "8c3accf112bb6587d672fc0043521b03", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1363, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" - }, - "response": { - "bodySize": 434, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 434, - "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:07.273Z", - "time": 2330, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 2330 - } - }, - { - "_id": "acea721c8193b51ced888cae721cc423", - "_order": 1, - "cache": {}, - "request": { - "bodySize": 709, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "content-type", - "value": "application/x-www-form-urlencoded" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "content-length", - "value": "709" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip,deflate" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "www.googleapis.com" - } - ], - "headersSize": 300, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/x-www-form-urlencoded", - "params": [], - "text": "[REDACTED]" - }, - "queryString": [], - "url": "https://www.googleapis.com/oauth2/v4/token" - }, - "response": { - "bodySize": 1245, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 1245, - "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:10 GMT" - }, - { - "name": "server", - "value": "scaffolding on HTTPServer2" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 390, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:09.621Z", - "time": 260, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 260 - } - }, - { - "_id": "1fc684aaa6b52a8b8cfcd89b08488a0e", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1411, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" - }, - "response": { - "bodySize": 2964, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 2964, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:09.886Z", - "time": 1663, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1663 - } - }, - { - "_id": "00072863c40154315495ff11a610f12b", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1401, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" - }, - "response": { - "bodySize": 138, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 138, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:12 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:11.559Z", - "time": 1367, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1367 - } - }, - { - "_id": "8962f570ee57399ebff36f53d569ff86", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1406, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" - }, - "response": { - "bodySize": 2994, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 2994, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:13 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:12.938Z", - "time": 775, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 775 - } - }, - { - "_id": "74b32ca955d847028363ed3f3a6be139", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1396, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" - }, - "response": { - "bodySize": 118, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 118, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:13.721Z", - "time": 686, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 686 - } - }, - { - "_id": "d6484bcf8f5c6e0500e5d31695bfbca1", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1400, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" - }, - "response": { - "bodySize": 3064, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 3064, - "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:14.413Z", - "time": 1353, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1353 - } - }, - { - "_id": "20b5ce375e07ffa1875948ffffcdd6e1", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "_fromType": "array", - "name": "x-goog-api-client", - "value": "gdcl/5.0.2 gl-node/16.15.1 auth/7.1.1" - }, - { - "_fromType": "array", - "name": "accept-encoding", - "value": "gzip" - }, - { - "_fromType": "array", - "name": "user-agent", - "value": "google-api-nodejs-client/5.0.2 (gzip)" - }, - { - "_fromType": "array", - "name": "authorization", - "value": "[REDACTED]" - }, - { - "_fromType": "array", - "name": "accept", - "value": "application/json" - }, - { - "_fromType": "array", - "name": "connection", - "value": "close" - }, - { - "name": "host", - "value": "privateca.googleapis.com" - } - ], - "headersSize": 1390, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" - }, - "response": { - "bodySize": 87, - "content": { - "encoding": "utf-8", - "mimeType": "application/json; charset=UTF-8", - "size": 87, - "text": "{\"etag\":\"ACAB\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json; charset=UTF-8" - }, - { - "name": "vary", - "value": "Origin, X-Origin, Referer" - }, - { - "name": "date", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" - }, - { - "name": "server", - "value": "ESF" - }, - { - "name": "cache-control", - "value": "private" - }, - { - "name": "x-xss-protection", - "value": "0" - }, - { - "name": "x-frame-options", - "value": "SAMEORIGIN" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - }, - { - "name": "connection", - "value": "close" - } - ], - "headersSize": 367, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2023-04-20T03:47:15.772Z", - "time": 1345, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 1345 - } - } - ], - "pages": [], - "version": "1.2" - } -} diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har index ddb3448b..1cc2a6a1 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificate-authorities_3369898126/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1221, + "bodySize": 1258, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1221, + "size": 1258, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" + "value": "Thu, 20 Apr 2023 15:23:19 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.123Z", - "time": 147, + "startedDateTime": "2023-04-20T15:23:19.621Z", + "time": 177, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 147 + "wait": 177 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 414, + "bodySize": 441, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 414, + "size": 441, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:22 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.279Z", - "time": 2295, + "startedDateTime": "2023-04-20T15:23:19.806Z", + "time": 3004, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2295 + "wait": 3004 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1174, + "bodySize": 1276, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1174, + "size": 1276, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:10 GMT" + "value": "Thu, 20 Apr 2023 15:23:23 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.590Z", - "time": 324, + "startedDateTime": "2023-04-20T15:23:22.826Z", + "time": 145, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 324 + "wait": 145 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2981, + "bodySize": 3032, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2981, + "size": 3032, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" + "value": "Thu, 20 Apr 2023 15:23:24 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.918Z", - "time": 1641, + "startedDateTime": "2023-04-20T15:23:22.978Z", + "time": 1848, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1641 + "wait": 1848 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 94, + "bodySize": 111, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 94, + "size": 111, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:12 GMT" + "value": "Thu, 20 Apr 2023 15:23:25 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:11.563Z", - "time": 1362, + "startedDateTime": "2023-04-20T15:23:24.830Z", + "time": 1045, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1362 + "wait": 1045 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 3011, + "bodySize": 2933, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3011, + "size": 2933, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:13 GMT" + "value": "Thu, 20 Apr 2023 15:23:26 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:12.932Z", - "time": 536, + "startedDateTime": "2023-04-20T15:23:25.880Z", + "time": 521, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 536 + "wait": 521 } }, { @@ -775,11 +775,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2:getIamPolicy" }, "response": { - "bodySize": 101, + "bodySize": 121, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 101, + "size": 121, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" + "value": "Thu, 20 Apr 2023 15:23:27 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:13.477Z", - "time": 1041, + "startedDateTime": "2023-04-20T15:23:26.407Z", + "time": 680, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1041 + "wait": 680 } }, { @@ -893,11 +893,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 3153, + "bodySize": 3058, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3153, + "size": 3058, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:15 GMT" + "value": "Thu, 20 Apr 2023 15:23:28 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:14.526Z", - "time": 1240, + "startedDateTime": "2023-04-20T15:23:27.094Z", + "time": 954, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1240 + "wait": 954 } }, { @@ -1011,11 +1011,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" }, "response": { - "bodySize": 155, + "bodySize": 94, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 155, + "size": 94, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" + "value": "Thu, 20 Apr 2023 15:23:29 GMT" }, { "name": "server", @@ -1067,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:15.774Z", - "time": 1346, + "startedDateTime": "2023-04-20T15:23:28.057Z", + "time": 1965, "timings": { "blocked": -1, "connect": -1, @@ -1076,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1346 + "wait": 1965 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har index b35c5dc5..762f4c6b 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-certificates_4017780347/recording.har @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" + "value": "Thu, 20 Apr 2023 15:23:19 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.152Z", - "time": 143, + "startedDateTime": "2023-04-20T15:23:19.630Z", + "time": 168, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 143 + "wait": 168 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 414, + "bodySize": 366, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 414, + "size": 366, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:22 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.304Z", - "time": 2207, + "startedDateTime": "2023-04-20T15:23:19.806Z", + "time": 2987, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2207 + "wait": 2987 } }, { @@ -303,11 +303,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1187, + "bodySize": 1228, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1187, + "size": 1228, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -322,7 +322,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:23 GMT" }, { "name": "server", @@ -359,8 +359,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.534Z", - "time": 246, + "startedDateTime": "2023-04-20T15:23:22.810Z", + "time": 106, "timings": { "blocked": -1, "connect": -1, @@ -368,7 +368,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 246 + "wait": 106 } }, { @@ -421,11 +421,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities" }, "response": { - "bodySize": 2964, + "bodySize": 2991, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2964, + "size": 2991, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificateAuthorities/20230413-a8z-9di\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJTCCAg2gAwIBAgIUAPuWCbw2l+NT09WIkQI/1jGpx/EwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMB4XDTIzMDQxMzIwMjMyNVoX\\nDTMzMDQxMDIwMjMyNFowGjELMAkGA1UEChMCajExCzAJBgNVBAMTAmoxMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqeW8YrkHEe8/4K6sgni8TyE0z5U3\\nnDi5CiRwqEepS9unJoJop5o+x1tnTP2C0/zl8pHqwbnSVXir4CNKiWQ131l2Y9UJ\\nutevweSey+LGXuUj50ZNdtLHiBHUFKD1MWLDJlC84kk1Ebli6M2G2UuECv7ZdZZV\\nVtbpAbIfqKHj3z5GF8fMlPfYJpcf1PxpA8Bah05yDUphMgQxJSUBu3MRtEwHiJ0h\\nMK9HA0s/vPIOWOggOaMwT/0ir/jHK3Z32IuqZV6WfiMaXF8CLBfoOmTBi1BNMF+V\\n2tcSGx4jlGWgz9ySu/BF5Hu7hss95Us6+b8CH/3bMWmEerlGWX99n6vdmQIDAQAB\\no2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU\\n18zqcnm6Tmq1HqGs4mnFZMdZxjIwHwYDVR0jBBgwFoAU18zqcnm6Tmq1HqGs4mnF\\nZMdZxjIwDQYJKoZIhvcNAQELBQADggEBAEbQqKQ0l3LQ+wo3FO+yqh/EWLiqBuVy\\nW3Dr007Gft6W+kbRkfg94FCKhGaZGrE7K07OWMxEf1uO1ScoHXY5HYlbySfYwzl5\\nkionXz0d4yfN8NZjCOTgZHXxtTsx/M5kbzP+kwGe1hPzeHhx20bKkt1Af3Zakzqg\\n+zJ2Vh98i8dM0w4GowxpDS+H552YufQ7V/ON4tkKN6+KNGW7BVLdao6MjNttuGCp\\n8p4mLMjqhsGv+pOz2gKUDU8bf4rYM4kMHs13LEQL6MvEgCkcEa5reAUE2H9FQLdq\\nIdj1k/nncAsmyuOkmvrir6yjvhDELDAwmsy595HjYdnJXV39iLJotM4=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j1\",\"organization\":\"j1\"},\"subjectAltName\":{},\"hexSerialNumber\":\"00fb9609bc3697e353d3d58891023fd631a9c7f1\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:23:25.610036274Z\",\"notAfterTime\":\"2033-04-10T20:23:24.610036274Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxZVc4WXJrSEVlOC80SzZzZ25pOApUeUUwejVVM25EaTVDaVJ3cUVlcFM5dW5Kb0pvcDVvK3gxdG5UUDJDMC96bDhwSHF3Ym5TVlhpcjRDTktpV1ExCjMxbDJZOVVKdXRldndlU2V5K0xHWHVVajUwWk5kdExIaUJIVUZLRDFNV0xESmxDODRrazFFYmxpNk0yRzJVdUUKQ3Y3WmRaWlZWdGJwQWJJZnFLSGozejVHRjhmTWxQZllKcGNmMVB4cEE4QmFoMDV5RFVwaE1nUXhKU1VCdTNNUgp0RXdIaUowaE1LOUhBMHMvdlBJT1dPZ2dPYU13VC8waXIvakhLM1ozMkl1cVpWNldmaU1hWEY4Q0xCZm9PbVRCCmkxQk5NRitWMnRjU0d4NGpsR1dnejl5U3UvQkY1SHU3aHNzOTVVczYrYjhDSC8zYk1XbUVlcmxHV1g5OW42dmQKbVFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"authorityKeyId\":{\"keyId\":\"d7ccea7279ba4e6ab51ea1ace269c564c759c632\"},\"certFingerprint\":{\"sha256Hash\":\"c2cb16a91b1144b23cf209c6bd70792a828b72ac651abbef166d4bbb10dcc44b\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379f35-0000-2640-b9bc-d4f547fd87ec.storage.googleapis.com/b02b91d2b675a12a1cb6/crl.crl\"]},\"createTime\":\"2023-04-13T20:23:24.753332573Z\",\"updateTime\":\"2023-04-13T20:43:28.199670268Z\"}]}" }, "cookies": [], @@ -440,7 +440,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:11 GMT" + "value": "Thu, 20 Apr 2023 15:23:23 GMT" }, { "name": "server", @@ -477,8 +477,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:09.785Z", - "time": 1765, + "startedDateTime": "2023-04-20T15:23:22.921Z", + "time": 917, "timings": { "blocked": -1, "connect": -1, @@ -486,7 +486,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1765 + "wait": 917 } }, { @@ -539,11 +539,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1:getIamPolicy" }, "response": { - "bodySize": 128, + "bodySize": 138, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 128, + "size": 138, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -558,7 +558,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:12 GMT" + "value": "Thu, 20 Apr 2023 15:23:24 GMT" }, { "name": "server", @@ -595,8 +595,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:11.560Z", - "time": 1368, + "startedDateTime": "2023-04-20T15:23:23.846Z", + "time": 1013, "timings": { "blocked": -1, "connect": -1, @@ -604,7 +604,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1368 + "wait": 1013 } }, { @@ -657,11 +657,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities" }, "response": { - "bodySize": 2987, + "bodySize": 2981, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 2987, + "size": 2981, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"j2\",\"organization\":\"j2\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0045b156a1bda971c42402f7fb23a794b8bb694d\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-13T20:24:04.105825944Z\",\"notAfterTime\":\"2033-04-10T20:24:03.105825944Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtMmZxYWphVXhwMHV1eDJSekhFZgpXSkwvMDd0aXV4ZXBHcEYyWUxBVFowZ2RYS1RrNWwybEl4dTQyeDhsRFhoQUZ0QmNlalhDOE9iK3Fna1FxYXlwCmUrMDg2a3ZEKzJuNjFPcjY0MXF1Z3BCdGY2ekdseTVqL3Q4SkYwaGIzTEdQOXFXUlo2L3kveThISWt0eHJ4SzYKaFowekM3Qk9tVWlLaW9MSVRZanFNdHpjcmtmUTl2M1VHdUV5L2RNOW5IbXFLS0dTTzFGVU9oWEVkUThGWFRMVgpwSENHNytQYXU1ZHJFQ1QrR1FJemxtMzBhajcvaTRjZFUzNVlPY0Zpb2kwVldWaG1NQ3ZYOUpMeDQ3VGJCZXR5CkQ1QnQwOVpSOFdySkhYTEVUM0dNSzl3eWxuTkZuOWxlY3gyaUpXZDk5T1FUL21WdW9mUFlsUDRIeU93WkplV0YKaFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"certFingerprint\":{\"sha256Hash\":\"5472571169df530c08faf9ddf508d4499392711d6dd078d1f8d1f24af6432bd1\"}}],\"accessUrls\":{\"caCertificateAccessUrl\":\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\",\"crlAccessUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"]},\"createTime\":\"2023-04-13T20:24:02.540552028Z\",\"updateTime\":\"2023-04-13T22:40:07.726797534Z\"}]}" }, "cookies": [], @@ -676,7 +676,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:13 GMT" + "value": "Thu, 20 Apr 2023 15:23:25 GMT" }, { "name": "server", @@ -713,8 +713,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:12.935Z", - "time": 455, + "startedDateTime": "2023-04-20T15:23:24.866Z", + "time": 485, "timings": { "blocked": -1, "connect": -1, @@ -722,7 +722,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 455 + "wait": 485 } }, { @@ -794,7 +794,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" + "value": "Thu, 20 Apr 2023 15:23:26 GMT" }, { "name": "server", @@ -831,8 +831,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:13.393Z", - "time": 600, + "startedDateTime": "2023-04-20T15:23:25.356Z", + "time": 631, "timings": { "blocked": -1, "connect": -1, @@ -840,7 +840,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 600 + "wait": 631 } }, { @@ -893,11 +893,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities" }, "response": { - "bodySize": 3095, + "bodySize": 3078, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 3095, + "size": 3078, "text": "{\"certificateAuthorities\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificateAuthorities/20230419-5z2-fui\",\"type\":\"SELF_SIGNED\",\"config\":{\"subjectConfig\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}}},\"lifetime\":\"315360000s\",\"keySpec\":{\"algorithm\":\"RSA_PKCS1_2048_SHA256\"},\"tier\":\"ENTERPRISE\",\"state\":\"ENABLED\",\"pemCaCertificates\":[\"-----BEGIN CERTIFICATE-----\\nMIIDZDCCAkygAwIBAgITWNt744CW40RopSrmRf6EmTe19TANBgkqhkiG9w0BAQsF\\nADA6MQswCQYDVQQGEwJkZTEOMAwGA1UEChMFZGVsZXQxDzANBgNVBAsTBmRlbGV0\\nZTEKMAgGA1UEAxMBMzAeFw0yMzA0MTkxOTIzMjJaFw0zMzA0MTYxOTIzMjFaMDox\\nCzAJBgNVBAYTAmRlMQ4wDAYDVQQKEwVkZWxldDEPMA0GA1UECxMGZGVsZXRlMQow\\nCAYDVQQDEwEzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJno27Rz\\nX5c4T2exBC7+5MceW/wFLoEcpbeONgU755Y3ZxQUOizZXdcowfQc0rJqOlKdIZie\\ny+a0yBhw9DJMpdTS3LQiIcHx36oPCioY+CfcrHKUQrniZCrYeqSu48sV0wZbymhC\\npjFQVuTxnJJhgOKuZeeK/Z7sEENbSE88ITIocgJfHfMzLNIgGwWkczK/tXwK0C0P\\nPhdDMKSZvEr7WJkrf1lf2/9SWRP6VtVXTGbuUALfGT3LxPoWHB6PfF00UgeBA2x1\\nnnzhpFotp1TsAQ+/C1u6ZOcDgRvtECXtydn+bOsyRSA9TBVoaBs9z5zBlz0IQXki\\nKFwDR/udRHz+KQIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\\nAwEB/zAdBgNVHQ4EFgQUSTypri4FNg93yPVQb0pOo/yk3jwwHwYDVR0jBBgwFoAU\\nSTypri4FNg93yPVQb0pOo/yk3jwwDQYJKoZIhvcNAQELBQADggEBACjc+e0Y1o5J\\nDF3aE+femup7iSwtMqWdmyuWmBGPim2jp4DUZ38MjIXqNk7a3VPRNmCQFB+mS7qX\\nvXG8jZ4DlT6s8QxUEGRk3ZEOHhsFVrjaNoTqLKLFo3J76Y95skhN1g5CJpp9PMvz\\nKtV3yua200+lNXkW+2hiZXjvR60N/5Q+uD9MWL4L5FEyiodnqUQizb+YGCw5Yd29\\nc+kz5V1xM8aPcxR9mGUM+MPPU1qxHyo5e41QaZgzSz7dqHlhUj3d3s7FDAy1ckFB\\nKFFxa3w6o1UsNCjblGVlPDxhxHo30gXuSGpQW/Ec0z0yXXhgsO54jAxPQKS6u91z\\nWc3MRGYYqXI=\\n-----END CERTIFICATE-----\\n\"],\"caCertificateDescriptions\":[{\"subjectDescription\":{\"subject\":{\"commonName\":\"3\",\"countryCode\":\"de\",\"organization\":\"delet\",\"organizationalUnit\":\"delete\"},\"subjectAltName\":{},\"hexSerialNumber\":\"0058db7be38096e34468a52ae645fe849937b5f5\",\"lifetime\":\"315360000s\",\"notBeforeTime\":\"2023-04-19T19:23:22.848992554Z\",\"notAfterTime\":\"2033-04-16T19:23:21.848992554Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"certSign\":true,\"crlSign\":true}},\"caOptions\":{\"isCa\":true}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFySm5vMjdSelg1YzRUMmV4QkM3Kwo1TWNlVy93RkxvRWNwYmVPTmdVNzU1WTNaeFFVT2l6WlhkY293ZlFjMHJKcU9sS2RJWmlleSthMHlCaHc5REpNCnBkVFMzTFFpSWNIeDM2b1BDaW9ZK0NmY3JIS1VRcm5pWkNyWWVxU3U0OHNWMHdaYnltaENwakZRVnVUeG5KSmgKZ09LdVplZUsvWjdzRUVOYlNFODhJVElvY2dKZkhmTXpMTklnR3dXa2N6Sy90WHdLMEMwUFBoZERNS1NadkVyNwpXSmtyZjFsZjIvOVNXUlA2VnRWWFRHYnVVQUxmR1QzTHhQb1dIQjZQZkYwMFVnZUJBMngxbm56aHBGb3RwMVRzCkFRKy9DMXU2Wk9jRGdSdnRFQ1h0eWRuK2JPc3lSU0E5VEJWb2FCczl6NXpCbHowSVFYa2lLRndEUi91ZFJIeisKS1FJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"authorityKeyId\":{\"keyId\":\"493ca9ae2e05360f77c8f5506f4a4ea3fca4de3c\"},\"certFingerprint\":{\"sha256Hash\":\"f567701682e4ef129f96530e1754ad34b0c72ad3ef745719b9e2dfb31d244e0a\"}}],\"gcsBucket\":\"us.artifacts.j1-gc-integration-dev-v3.appspot.com\",\"accessUrls\":{\"caCertificateAccessUrl\":\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/ca.crt\",\"crlAccessUrls\":[\"http://us.artifacts.j1-gc-integration-dev-v3.appspot.com.storage.googleapis.com/a0ff0c2203b746b52811/crl.crl\"]},\"createTime\":\"2023-04-19T19:23:21.962930809Z\",\"updateTime\":\"2023-04-19T19:23:25.603901857Z\"}]}" }, "cookies": [], @@ -912,7 +912,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:14 GMT" + "value": "Thu, 20 Apr 2023 15:23:26 GMT" }, { "name": "server", @@ -949,8 +949,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:13.997Z", - "time": 1026, + "startedDateTime": "2023-04-20T15:23:25.992Z", + "time": 936, "timings": { "blocked": -1, "connect": -1, @@ -958,7 +958,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1026 + "wait": 936 } }, { @@ -1011,11 +1011,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester:getIamPolicy" }, "response": { - "bodySize": 94, + "bodySize": 128, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 94, + "size": 128, "text": "{\"etag\":\"ACAB\"}" }, "cookies": [], @@ -1030,7 +1030,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:16 GMT" + "value": "Thu, 20 Apr 2023 15:23:28 GMT" }, { "name": "server", @@ -1067,8 +1067,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:15.032Z", - "time": 1068, + "startedDateTime": "2023-04-20T15:23:26.936Z", + "time": 1051, "timings": { "blocked": -1, "connect": -1, @@ -1076,7 +1076,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1068 + "wait": 1051 } }, { @@ -1134,11 +1134,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1242, + "bodySize": 1208, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1242, + "size": 1208, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -1153,7 +1153,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:16 GMT" + "value": "Thu, 20 Apr 2023 15:23:28 GMT" }, { "name": "server", @@ -1190,8 +1190,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:16.106Z", - "time": 100, + "startedDateTime": "2023-04-20T15:23:27.994Z", + "time": 111, "timings": { "blocked": -1, "connect": -1, @@ -1199,7 +1199,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 100 + "wait": 111 } }, { @@ -1252,11 +1252,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1/certificates" }, "response": { - "bodySize": 128, + "bodySize": 53, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 128, + "size": 53, "text": "{}" }, "cookies": [], @@ -1271,7 +1271,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" + "value": "Thu, 20 Apr 2023 15:23:29 GMT" }, { "name": "server", @@ -1308,8 +1308,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:16.210Z", - "time": 984, + "startedDateTime": "2023-04-20T15:23:28.112Z", + "time": 1907, "timings": { "blocked": -1, "connect": -1, @@ -1317,7 +1317,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 984 + "wait": 1907 } }, { @@ -1370,11 +1370,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2/certificates" }, "response": { - "bodySize": 4344, + "bodySize": 4296, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 4344, + "size": 4296, "text": "{\"certificates\":[{\"name\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificates/20230419-edj-55t\",\"config\":{\"subjectConfig\":{\"subject\":{},\"subjectAltName\":{\"dnsNames\":[\"test\"]}},\"x509Config\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true},\"extendedKeyUsage\":{}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t\",\"format\":\"PEM\"}},\"issuerCertificateAuthority\":\"projects/167984947943/locations/southamerica-east1/caPools/j2/certificateAuthorities/20230413-8bz-u46\",\"lifetime\":\"2592000s\",\"pemCertificate\":\"-----BEGIN CERTIFICATE-----\\nMIIENTCCAx2gAwIBAgIUAO3n65GqbBZxfHntTpRN0xThUdYwDQYJKoZIhvcNAQEL\\nBQAwGjELMAkGA1UEChMCajIxCzAJBgNVBAMTAmoyMB4XDTIzMDQxOTE2MjYwMloX\\nDTIzMDUxOTE2MjYwMVowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\\nAKrK1OSqCW5XuYZXXjVomWjz4Qrh4DC6t7ZgCFSXrWQl3QP166rhB4J8O5KI3hoj\\nMf+n9kO0a5qlNuxOqGutp6gQeaHJrezIaU7LggpP3CPgi82tWNOzRdn+YQglNYfw\\n3EaD20bK8dMzUMW9XHN3voF04n2ut4926SRNCs+HHjeIuIisYPfB29GpsIf6tg/5\\nrnHFO38FrOmbp7KEzJEbcdkpYi/T3xo6Rt3vkcuvGtqcBGhi5Pl3wBHBAEJp0B3U\\nqd5NWqNUyvgZpP2SN3H4tAycyxhI5LQ20ysKq/qMygUSf34zGHf/s1p6pb7DkLB8\\nRNOPSxyU7XtE+K9IXxwXPa0CAwEAAaOCAYswggGHMA4GA1UdDwEB/wQEAwIFoDAM\\nBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBStb4QNdc32a70Sw72zsvXeNX014DAfBgNV\\nHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z2rMgmTCBjQYIKwYBBQUHAQEEgYAwfjB8\\nBggrBgEFBQcwAoZwaHR0cDovL3ByaXZhdGVjYS1jb250ZW50LTY0Mzc5NDg4LTAw\\nMDAtMmNkNy1iOTliLTA4OWUwODIwMzJlOC5zdG9yYWdlLmdvb2dsZWFwaXMuY29t\\nLzc0MjI0NjMyMDU2MTY2ZGY4ZTgzL2NhLmNydDASBgNVHREBAf8ECDAGggR0ZXN0\\nMIGCBgNVHR8EezB5MHegdaBzhnFodHRwOi8vcHJpdmF0ZWNhLWNvbnRlbnQtNjQz\\nNzk0ODgtMDAwMC0yY2Q3LWI5OWItMDg5ZTA4MjAzMmU4LnN0b3JhZ2UuZ29vZ2xl\\nYXBpcy5jb20vNzQyMjQ2MzIwNTYxNjZkZjhlODMvY3JsLmNybDANBgkqhkiG9w0B\\nAQsFAAOCAQEAW2v9kP0WibkR1tNC7V8XfVBzJSjuBijwk8Cv2EdImbB8AiVzbbk9\\n54u+LV/oYD8uhq24HQqyJ2dNOGVhKJCtHHgSy1ZScItANutKCdOhvIig3HXtHqFm\\nhXu5XQHOfIojX45Cf333EWsEZYtt5gJu/NObjFicyvilWwsPGBC9R9kn0T5pNVHZ\\nsPXp2s1sU2pgjWaQdQjFbThShVrhYxtLCO9oQq/5m7zamE5XE9Kh9iFImdsnzH12\\nI2QOSqOIO62KSsKZaxK7Yw11bt2R6ALLeS+MWXlMzjUzVSRv9qaSGgZVkLRRKr5Q\\ntKQrP+2MZ+teSKXBM0+2aMiED6W9pGvbcA==\\n-----END CERTIFICATE-----\\n\",\"certificateDescription\":{\"subjectDescription\":{\"subjectAltName\":{\"dnsNames\":[\"test\"]},\"hexSerialNumber\":\"ede7eb91aa6c16717c79ed4e944dd314e151d6\",\"lifetime\":\"2592000s\",\"notBeforeTime\":\"2023-04-19T16:26:02Z\",\"notAfterTime\":\"2023-05-19T16:26:01Z\"},\"x509Description\":{\"keyUsage\":{\"baseKeyUsage\":{\"digitalSignature\":true,\"keyEncipherment\":true}},\"caOptions\":{\"isCa\":false}},\"publicKey\":{\"key\":\"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxc3JVNUtvSmJsZTVobGRlTldpWgphUFBoQ3VIZ01McTN0bUFJVkpldFpDWGRBL1hycXVFSGdudzdrb2plR2lNeC82ZjJRN1JybXFVMjdFNm9hNjJuCnFCQjVvY210N01ocFRzdUNDay9jSStDTHphMVkwN05GMmY1aENDVTFoL0RjUm9QYlJzcngwek5ReGIxY2MzZSsKZ1hUaWZhNjNqM2JwSkUwS3o0Y2VONGk0aUt4Zzk4SGIwYW13aC9xMkQvbXVjY1U3ZndXczZadW5zb1RNa1J0eAoyU2xpTDlQZkdqcEczZStSeTY4YTJwd0VhR0xrK1hmQUVjRUFRbW5RSGRTcDNrMWFvMVRLK0Jtay9aSTNjZmkwCkRKekxHRWprdERiVEt3cXIrb3pLQlJKL2ZqTVlkLyt6V25xbHZzT1FzSHhFMDQ5TEhKVHRlMFQ0cjBoZkhCYzkKclFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==\"},\"subjectKeyId\":{\"keyId\":\"ad6f840d75cdf66bbd12c3bdb3b2f5de357d35e0\"},\"authorityKeyId\":{\"keyId\":\"f380b728f845d795a1598824a9718d99dab32099\"},\"crlDistributionPoints\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/crl.crl\"],\"aiaIssuingCertificateUrls\":[\"http://privateca-content-64379488-0000-2cd7-b99b-089e082032e8.storage.googleapis.com/74224632056166df8e83/ca.crt\"],\"certFingerprint\":{\"sha256Hash\":\"fe210acc47877e2482be45da7eca6e46d6d87a10e88b4c0a41316095df1b51d3\"}},\"pemCertificateChain\":[\"-----BEGIN CERTIFICATE-----\\nMIIDJDCCAgygAwIBAgITRbFWob2pccQkAvf7I6eUuLtpTTANBgkqhkiG9w0BAQsF\\nADAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwHhcNMjMwNDEzMjAyNDA0WhcN\\nMzMwNDEwMjAyNDAzWjAaMQswCQYDVQQKEwJqMjELMAkGA1UEAxMCajIwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbZ+pqNpTGnS67HZHMcR9Ykv/Tu2K7\\nF6kakXZgsBNnSB1cpOTmXaUjG7jbHyUNeEAW0Fx6NcLw5v6qCRCprKl77TzqS8P7\\nafrU6vrjWq6CkG1/rMaXLmP+3wkXSFvcsY/2pZFnr/L/LwciS3GvErqFnTMLsE6Z\\nSIqKgshNiOoy3NyuR9D2/dQa4TL90z2ceaoooZI7UVQ6FcR1DwVdMtWkcIbv49q7\\nl2sQJP4ZAjOWbfRqPv+Lhx1Tflg5wWKiLRVZWGYwK9f0kvHjtNsF63IPkG3T1lHx\\naskdcsRPcYwr3DKWc0Wf2V5zHaIlZ3305BP+ZW6h89iU/gfI7Bkl5YWFAgMBAAGj\\nYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTz\\ngLco+EXXlaFZiCSpcY2Z2rMgmTAfBgNVHSMEGDAWgBTzgLco+EXXlaFZiCSpcY2Z\\n2rMgmTANBgkqhkiG9w0BAQsFAAOCAQEACXTJ5yTJu+vsROqaAcnsMYZT+WqP36qo\\n1mzR/TXpN70yNDYFOYwMU6lNggCFpNfrh2zQhW1vRCXzZdCJe+s0k4Dxzr4E+wrU\\nBAxb6Xc8cP+9DEIDGH0S5uuxzlPX2gdBzvgmZJVr+CKhvhatE5p4rNzLOpBXmH7s\\nfADu30gkOdpDK59jMwNevheiFwlR7aJtVt9WAyLG5S8W+DHuln4ZmVexXRwkEAof\\nI4zk1SHZ6nRRdC/L0RkgbT13bxumz5oUbDzEPZ95CVZ5HtdF+bNjqoiokpGxBSUn\\nFTzbSZmbutWwK+spzPdz6pfNlW9SpT1ors3JbtJM81BRPRpPhVg/4Q==\\n-----END CERTIFICATE-----\\n\"],\"createTime\":\"2023-04-19T16:26:02.609116449Z\",\"updateTime\":\"2023-04-19T16:26:02.609116449Z\"}]}" }, "cookies": [], @@ -1389,7 +1389,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:17 GMT" + "value": "Thu, 20 Apr 2023 15:23:30 GMT" }, { "name": "server", @@ -1426,8 +1426,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.200Z", - "time": 452, + "startedDateTime": "2023-04-20T15:23:30.023Z", + "time": 573, "timings": { "blocked": -1, "connect": -1, @@ -1435,7 +1435,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 452 + "wait": 573 } }, { @@ -1488,11 +1488,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester/certificates" }, "response": { - "bodySize": 148, + "bodySize": 43, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 148, + "size": 43, "text": "{}" }, "cookies": [], @@ -1507,7 +1507,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:18 GMT" + "value": "Thu, 20 Apr 2023 15:23:31 GMT" }, { "name": "server", @@ -1544,8 +1544,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:17.664Z", - "time": 939, + "startedDateTime": "2023-04-20T15:23:30.602Z", + "time": 1046, "timings": { "blocked": -1, "connect": -1, @@ -1553,7 +1553,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 939 + "wait": 1046 } } ], diff --git a/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har index 33f01d8b..048a1435 100644 --- a/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har +++ b/src/steps/privateca/steps/__recordings__/fetch-private-ca-pools_1121866750/recording.har @@ -62,11 +62,11 @@ "url": "https://www.googleapis.com/oauth2/v4/token" }, "response": { - "bodySize": 1198, + "bodySize": 1265, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 1198, + "size": 1265, "text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" }, "cookies": [], @@ -81,7 +81,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:07 GMT" + "value": "Thu, 20 Apr 2023 15:23:19 GMT" }, { "name": "server", @@ -118,8 +118,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.123Z", - "time": 138, + "startedDateTime": "2023-04-20T15:23:19.630Z", + "time": 169, "timings": { "blocked": -1, "connect": -1, @@ -127,7 +127,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 138 + "wait": 169 } }, { @@ -180,11 +180,11 @@ "url": "https://privateca.googleapis.com/v1/projects/j1-gc-integration-dev-v3/locations/-/caPools" }, "response": { - "bodySize": 383, + "bodySize": 339, "content": { "encoding": "utf-8", "mimeType": "application/json; charset=UTF-8", - "size": 383, + "size": 339, "text": "{\"caPools\":[{\"name\":\"projects/j1-gc-integration-dev-v3/locations/northamerica-northeast2/caPools/j1\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/southamerica-east1/caPools/j2\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}},{\"name\":\"projects/j1-gc-integration-dev-v3/locations/us-west1/caPools/Tester\",\"tier\":\"ENTERPRISE\",\"issuancePolicy\":{\"baselineValues\":{}},\"publishingOptions\":{\"publishCaCert\":true,\"publishCrl\":true}}]}" }, "cookies": [], @@ -199,7 +199,7 @@ }, { "name": "date", - "value": "Thu, 20 Apr 2023 03:47:09 GMT" + "value": "Thu, 20 Apr 2023 15:23:22 GMT" }, { "name": "server", @@ -236,8 +236,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-04-20T03:47:07.268Z", - "time": 2341, + "startedDateTime": "2023-04-20T15:23:19.808Z", + "time": 3002, "timings": { "blocked": -1, "connect": -1, @@ -245,7 +245,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2341 + "wait": 3002 } } ], diff --git a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts deleted file mode 100644 index b626206f..00000000 --- a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { - executeStepWithDependencies, - Recording, - StepTestConfig, -} from '@jupiterone/integration-sdk-testing'; -import { invocationConfig } from '../../..'; -import { integrationConfig } from '../../../../test/config'; -import { - getMatchRequestsBy, - setupGoogleCloudRecording, -} from '../../../../test/recording'; -import { PrivatecaSteps } from '../constants'; - -describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id}`, () => { - let recording: Recording; - afterEach(async () => { - if (recording) await recording.stop(); - }); - - jest.setTimeout(45000); - - test( - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, - async () => { - recording = setupGoogleCloudRecording({ - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, - directory: __dirname, - options: { - matchRequestsBy: getMatchRequestsBy(integrationConfig), - }, - }); - - const stepTestConfig: StepTestConfig = { - stepId: - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, - instanceConfig: integrationConfig, - invocationConfig: invocationConfig as any, - }; - - const result = await executeStepWithDependencies(stepTestConfig); - expect(result).toMatchStepMetadata(stepTestConfig); - }, - ); -}); diff --git a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts b/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts deleted file mode 100644 index 18bf6e9e..00000000 --- a/src/steps/privateca/steps/buildCAPoolCertificateAuthorityRelationships.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { - RelationshipClass, - createDirectRelationship, - getRawData, -} from '@jupiterone/integration-sdk-core'; -import { - GoogleCloudIntegrationStep, - IntegrationStepContext, -} from '../../../types'; -import { - PrivatecaEntities, - PrivatecaRelationships, - PrivatecaSteps, -} from '../constants'; -import { privateca_v1 } from 'googleapis'; -import { getCaPoolEntityKey } from '../converters'; - -async function buildCAPoolCertificateAuthorityRelationships( - context: IntegrationStepContext, -): Promise { - const { jobState, logger } = context; - - await jobState.iterateEntities( - { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type }, - async (caAuthorityEntity) => { - const caAuthEntity = - getRawData(caAuthorityEntity); - - if (!caAuthEntity) { - logger.warn( - `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id} - Could not find raw data on certificate authority entity`, - ); - return; - } - - const caPoolEntity = await jobState.findEntity( - getCaPoolEntityKey({ - projectId: (caAuthorityEntity.name as string).split('/')[1], - location: (caAuthorityEntity.name as string).split('/')[3], - caPoolId: (caAuthorityEntity.name as string).split('/')[5], - }), - ); - - if (!caPoolEntity || !caAuthorityEntity) { - return; - } - - await jobState.addRelationship( - createDirectRelationship({ - _class: RelationshipClass.HAS, - from: caPoolEntity, - to: caAuthorityEntity, - }), - ); - }, - ); -} - -export const buildCAPoolCertificateAuthorityRelationshipsStepMap: GoogleCloudIntegrationStep = - { - id: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.id, - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY_RELATIONSHIPS.name, - entities: [], - relationships: [ - PrivatecaRelationships.PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY, - ], - dependsOn: [ - PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id, - PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, - ], - executionHandler: buildCAPoolCertificateAuthorityRelationships, - }; diff --git a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts deleted file mode 100644 index f8497316..00000000 --- a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.test.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { - executeStepWithDependencies, - Recording, - StepTestConfig, -} from '@jupiterone/integration-sdk-testing'; -import { invocationConfig } from '../../..'; -import { integrationConfig } from '../../../../test/config'; -import { - getMatchRequestsBy, - setupGoogleCloudRecording, -} from '../../../../test/recording'; -import { PrivatecaSteps } from '../constants'; - -describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS.id}`, () => { - let recording: Recording; - afterEach(async () => { - if (recording) await recording.stop(); - }); - - jest.setTimeout(45000); - - test( - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id, - async () => { - recording = setupGoogleCloudRecording({ - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id, - directory: __dirname, - options: { - matchRequestsBy: getMatchRequestsBy(integrationConfig), - }, - }); - - const stepTestConfig: StepTestConfig = { - stepId: - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id, - instanceConfig: integrationConfig, - invocationConfig: invocationConfig as any, - }; - - const result = await executeStepWithDependencies(stepTestConfig); - expect(result).toMatchStepMetadata(stepTestConfig); - }, - ); -}); diff --git a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts b/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts deleted file mode 100644 index 1b3a41da..00000000 --- a/src/steps/privateca/steps/buildCertificateAuthorityCertificateRelationships.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { - RelationshipClass, - createDirectRelationship, - getRawData, -} from '@jupiterone/integration-sdk-core'; -import { - GoogleCloudIntegrationStep, - IntegrationStepContext, -} from '../../../types'; -import { - PrivatecaEntities, - PrivatecaRelationships, - PrivatecaSteps, -} from '../constants'; -import { privateca_v1 } from 'googleapis'; - -async function buildCertificateAuthorityCertificateRelationships( - context: IntegrationStepContext, -): Promise { - const { jobState, logger } = context; - - await jobState.iterateEntities( - { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE._type }, - async (caCertificate) => { - const caCertificateEntity = - getRawData(caCertificate); - const certificateIssuer = caCertificateEntity?.issuerCertificateAuthority; - - if (!certificateIssuer) return; - - const certificateAuthorityEntity = await jobState.findEntity( - certificateIssuer.split('/')[7], - ); - - if (!certificateAuthorityEntity) { - logger.warn( - `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS.id} - Unable to create relationship. Missing certificateAuthorityEntity`, - ); - - return; - } - - await jobState.addRelationship( - createDirectRelationship({ - _class: RelationshipClass.CREATED, - from: certificateAuthorityEntity, - to: caCertificate, - }), - ); - }, - ); -} - -export const buildCertificateAuthorityCertificateRelationshipsStepMap: GoogleCloudIntegrationStep = - { - id: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .id, - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE_RELATIONSHIPS - .name, - entities: [], - relationships: [ - PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE, - ], - dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id], - executionHandler: buildCertificateAuthorityCertificateRelationships, - }; diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.ts index 323d56cd..73cbc527 100644 --- a/src/steps/privateca/steps/fetchAuthorityCertificates.ts +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.ts @@ -1,9 +1,17 @@ +import { + RelationshipClass, + createDirectRelationship, +} from '@jupiterone/integration-sdk-core'; import { GoogleCloudIntegrationStep, IntegrationStepContext, } from '../../../types'; import { PrivateCaClient } from '../client'; -import { PrivatecaEntities, PrivatecaSteps } from '../constants'; +import { + PrivatecaEntities, + PrivatecaRelationships, + PrivatecaSteps, +} from '../constants'; import { createCertificateEntity } from '../converters'; async function fetchAuthorityCertificates( @@ -32,11 +40,19 @@ async function fetchAuthorityCertificates( caPoolId, caLocation, async (certificate) => { - await jobState.addEntity( - createCertificateEntity({ - data: certificate, - keyAlgorithm: certificateAuthorityEntity.keyAlgorithm as string, - projectId: client.projectId, + const certificateEntity = createCertificateEntity({ + data: certificate, + keyAlgorithm: certificateAuthorityEntity.keyAlgorithm as string, + projectId: client.projectId, + }); + + await jobState.addEntity(certificateEntity); + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.CREATED, + from: certificateAuthorityEntity, + to: certificateEntity, }), ); }, @@ -49,7 +65,9 @@ export const fetchAuthorityCertificatesStepMap: GoogleCloudIntegrationStep = { id: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.name, entities: [PrivatecaEntities.PRIVATE_CA_CERTIFICATE], - relationships: [], + relationships: [ + PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_CERTIFICATE, + ], dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id], executionHandler: fetchAuthorityCertificates, permissions: ['privateca.certificates.list'], diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.ts index 64b35538..408a57b3 100644 --- a/src/steps/privateca/steps/fetchCertificateAuthorities.ts +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.ts @@ -4,9 +4,17 @@ import { IntegrationStepContext, } from '../../../types'; import { PrivateCaClient } from '../client'; -import { PrivatecaEntities, PrivatecaSteps } from '../constants'; +import { + PrivatecaEntities, + PrivatecaRelationships, + PrivatecaSteps, +} from '../constants'; import { createCertificateAuthorityEntity } from '../converters'; import { isMemberPublic } from '../../../utils/iam'; +import { + RelationshipClass, + createDirectRelationship, +} from '@jupiterone/integration-sdk-core'; function isCertificateAuthorityPolicyPublicAccess( caPolicy: privateca_v1.Schema$Policy, @@ -63,11 +71,19 @@ async function fetchCertificateAuthorities( location as string, ); - await jobState.addEntity( - createCertificateAuthorityEntity({ - data: certificateAuthority, - projectId: client.projectId, - isPublic: isCertificateAuthorityPolicyPublicAccess(policy), + const certificateAuthorityEntity = createCertificateAuthorityEntity({ + data: certificateAuthority, + projectId: client.projectId, + isPublic: isCertificateAuthorityPolicyPublicAccess(policy), + }); + + await jobState.addEntity(certificateAuthorityEntity); + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.HAS, + from: caPool, + to: certificateAuthorityEntity, }), ); }, @@ -80,7 +96,7 @@ export const fetchCertificateAuthoritiesStepMap: GoogleCloudIntegrationStep = { id: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.name, entities: [PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY], - relationships: [], + relationships: [PrivatecaRelationships.PRIVATE_CA_POOL_CERTIFICATE_AUTHORITY], dependsOn: [PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id], executionHandler: fetchCertificateAuthorities, permissions: [ From 4d29adedde618fc95778a51d58d96efbc9b3a656 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 12:37:10 -0300 Subject: [PATCH 6/8] Fix double if --- .../privateca/steps/fetchCertificateAuthorities.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.ts index 408a57b3..3ef6e578 100644 --- a/src/steps/privateca/steps/fetchCertificateAuthorities.ts +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.ts @@ -50,13 +50,11 @@ async function fetchCertificateAuthorities( const location = caPool._key.split('/')[3]; if (!location || !caPool) { - if (!caPool) { - logger.warn( - `${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id} - Unable to fetch CA due to missing parameters. location: ${location}, caPoolId: ${caPoolId}.`, - ); + logger.warn( + `${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id} - Unable to fetch CA due to missing parameters. location: ${location}, caPoolId: ${caPoolId}.`, + ); - return; - } + return; } await client.iterateCertificateAuthorities( From a5a9ef658f6e2041b4faf6c42f47f29459e62b3c Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 13:06:29 -0300 Subject: [PATCH 7/8] fix requested changes --- src/steps/privateca/index.ts | 6 +- ...ficateAuthorityBucketRelationships.test.ts | 48 ------------ ...CertificateAuthorityBucketRelationships.ts | 78 ------------------- .../steps/fetchAuthorityCertificates.test.ts | 38 ++++++++- .../steps/fetchAuthorityCertificates.ts | 71 +++++++++++++++++ .../privateca/steps/fetchCaPools.test.ts | 2 +- src/steps/privateca/steps/fetchCaPools.ts | 8 -- .../steps/fetchCertificateAuthorities.test.ts | 2 +- .../steps/fetchCertificateAuthorities.ts | 3 +- 9 files changed, 116 insertions(+), 140 deletions(-) delete mode 100644 src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts delete mode 100644 src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts diff --git a/src/steps/privateca/index.ts b/src/steps/privateca/index.ts index b1e4fd24..87f98853 100644 --- a/src/steps/privateca/index.ts +++ b/src/steps/privateca/index.ts @@ -2,9 +2,11 @@ import { IntegrationStep } from '@jupiterone/integration-sdk-core'; import { fetchCaPoolsStepMap } from './steps/fetchCaPools'; import { IntegrationConfig } from '../../types'; -import { fetchAuthorityCertificatesStepMap } from './steps/fetchAuthorityCertificates'; +import { + buildCertificateAuthorityBucketRelationshipsStepMap, + fetchAuthorityCertificatesStepMap, +} from './steps/fetchAuthorityCertificates'; import { fetchCertificateAuthoritiesStepMap } from './steps/fetchCertificateAuthorities'; -import { buildCertificateAuthorityBucketRelationshipsStepMap } from './steps/buildCertificateAuthorityBucketRelationships'; export const privateCaSteps: IntegrationStep[] = [ fetchCaPoolsStepMap, diff --git a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts deleted file mode 100644 index 320921ee..00000000 --- a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.test.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { - executeStepWithDependencies, - Recording, - StepTestConfig, -} from '@jupiterone/integration-sdk-testing'; -import { invocationConfig } from '../../..'; -import { integrationConfig } from '../../../../test/config'; -import { - getMatchRequestsBy, - setupGoogleCloudRecording, -} from '../../../../test/recording'; -import { PrivatecaSteps } from '../constants'; - -describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id}`, () => { - let recording: Recording; - afterEach(async () => { - if (recording) await recording.stop(); - }); - - jest.setTimeout(45000); - - test( - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, - async () => { - recording = setupGoogleCloudRecording({ - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, - directory: __dirname, - options: { - matchRequestsBy: getMatchRequestsBy(integrationConfig), - }, - }); - - const stepTestConfig: StepTestConfig = { - stepId: - PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS - .id, - instanceConfig: integrationConfig, - invocationConfig: invocationConfig as any, - }; - - const result = await executeStepWithDependencies(stepTestConfig); - expect(result).toMatchStepMetadata(stepTestConfig); - }, - ); -}); diff --git a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts b/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts deleted file mode 100644 index d9e5724c..00000000 --- a/src/steps/privateca/steps/buildCertificateAuthorityBucketRelationships.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { - RelationshipClass, - createDirectRelationship, - getRawData, -} from '@jupiterone/integration-sdk-core'; -import { - GoogleCloudIntegrationStep, - IntegrationStepContext, -} from '../../../types'; -import { - PrivatecaEntities, - PrivatecaRelationships, - PrivatecaSteps, -} from '../constants'; -import { privateca_v1 } from 'googleapis'; -import { getCloudStorageBucketKey } from '../../storage/converters'; -import { StorageStepsSpec } from '../../storage/constants'; - -async function buildCertificateAuthorityBucketRelationships( - context: IntegrationStepContext, -): Promise { - const { jobState, logger } = context; - - await jobState.iterateEntities( - { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type }, - async (caAuthorityEntity) => { - const instance = - getRawData(caAuthorityEntity); - if (!instance) { - logger.warn( - { - _key: caAuthorityEntity._key, - }, - 'Could not find raw data on certificate authority entity', - ); - return; - } - - const bucketName = instance.gcsBucket; - - if (!bucketName) { - return; - } - - const storageBucketEntity = await jobState.findEntity( - getCloudStorageBucketKey(bucketName), - ); - if (!storageBucketEntity) { - return; - } - - await jobState.addRelationship( - createDirectRelationship({ - _class: RelationshipClass.USES, - from: caAuthorityEntity, - to: storageBucketEntity, - }), - ); - }, - ); -} - -export const buildCertificateAuthorityBucketRelationshipsStepMap: GoogleCloudIntegrationStep = - { - id: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, - name: PrivatecaSteps - .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.name, - entities: [], - relationships: [ - PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET, - ], - dependsOn: [ - PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, - StorageStepsSpec.FETCH_STORAGE_BUCKETS.id, - ], - executionHandler: buildCertificateAuthorityBucketRelationships, - }; diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts index c3bab151..8f70efc9 100644 --- a/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.test.ts @@ -12,7 +12,7 @@ import { import { PrivatecaSteps } from '../constants'; describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id}`, () => { - let recording: Recording; + let recording: Recording | undefined; afterEach(async () => { if (recording) await recording.stop(); }); @@ -38,3 +38,39 @@ describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id}`, () => { expect(result).toMatchStepMetadata(stepTestConfig); }); }); + +describe(`privateca#${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id}`, () => { + let recording: Recording | undefined; + afterEach(async () => { + if (recording) await recording.stop(); + }); + + jest.setTimeout(45000); + + test( + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + async () => { + recording = setupGoogleCloudRecording({ + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + directory: __dirname, + options: { + matchRequestsBy: getMatchRequestsBy(integrationConfig), + }, + }); + + const stepTestConfig: StepTestConfig = { + stepId: + PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS + .id, + instanceConfig: integrationConfig, + invocationConfig: invocationConfig as any, + }; + + const result = await executeStepWithDependencies(stepTestConfig); + expect(result).toMatchStepMetadata(stepTestConfig); + }, + ); +}); diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.ts index 73cbc527..8d1a0a53 100644 --- a/src/steps/privateca/steps/fetchAuthorityCertificates.ts +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.ts @@ -1,6 +1,7 @@ import { RelationshipClass, createDirectRelationship, + getRawData, } from '@jupiterone/integration-sdk-core'; import { GoogleCloudIntegrationStep, @@ -13,6 +14,9 @@ import { PrivatecaSteps, } from '../constants'; import { createCertificateEntity } from '../converters'; +import { privateca_v1 } from 'googleapis'; +import { getCloudStorageBucketKey } from '../../storage/converters'; +import { StorageStepsSpec } from '../../storage/constants'; async function fetchAuthorityCertificates( context: IntegrationStepContext, @@ -61,6 +65,56 @@ async function fetchAuthorityCertificates( ); } +async function buildCertificateAuthorityBucketRelationships( + context: IntegrationStepContext, +): Promise { + const { jobState, logger } = context; + + await jobState.iterateEntities( + { _type: PrivatecaEntities.PRIVATE_CA_CERTIFICATE_AUTHORITY._type }, + async (caAuthorityEntity) => { + const caAuthority = + getRawData(caAuthorityEntity); + if (!caAuthority) { + logger.warn( + { + _key: caAuthorityEntity._key, + }, + 'Could not find raw data on certificate authority entity', + ); + return; + } + + const bucketName = caAuthority.gcsBucket; + + if (!bucketName) { + logger.warn( + `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id} - Missing bucketName.`, + ); + return; + } + + const storageBucketEntity = await jobState.findEntity( + getCloudStorageBucketKey(bucketName), + ); + if (!storageBucketEntity) { + logger.warn( + `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id} - Missing storageBucketEntity.`, + ); + return; + } + + await jobState.addRelationship( + createDirectRelationship({ + _class: RelationshipClass.USES, + from: caAuthorityEntity, + to: storageBucketEntity, + }), + ); + }, + ); +} + export const fetchAuthorityCertificatesStepMap: GoogleCloudIntegrationStep = { id: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.id, name: PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATES.name, @@ -73,3 +127,20 @@ export const fetchAuthorityCertificatesStepMap: GoogleCloudIntegrationStep = { permissions: ['privateca.certificates.list'], apis: ['privateca.googleapis.com'], }; + +export const buildCertificateAuthorityBucketRelationshipsStepMap: GoogleCloudIntegrationStep = + { + id: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id, + name: PrivatecaSteps + .STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.name, + entities: [], + relationships: [ + PrivatecaRelationships.PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET, + ], + dependsOn: [ + PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id, + StorageStepsSpec.FETCH_STORAGE_BUCKETS.id, + ], + executionHandler: buildCertificateAuthorityBucketRelationships, + }; diff --git a/src/steps/privateca/steps/fetchCaPools.test.ts b/src/steps/privateca/steps/fetchCaPools.test.ts index 30d198d5..67c772b9 100644 --- a/src/steps/privateca/steps/fetchCaPools.test.ts +++ b/src/steps/privateca/steps/fetchCaPools.test.ts @@ -12,7 +12,7 @@ import { import { PrivatecaSteps } from '../constants'; describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id}`, () => { - let recording: Recording; + let recording: Recording | undefined; afterEach(async () => { if (recording) await recording.stop(); }); diff --git a/src/steps/privateca/steps/fetchCaPools.ts b/src/steps/privateca/steps/fetchCaPools.ts index 8791f921..40849ab8 100644 --- a/src/steps/privateca/steps/fetchCaPools.ts +++ b/src/steps/privateca/steps/fetchCaPools.ts @@ -12,19 +12,11 @@ export async function fetchCaPools( const { jobState, instance: { config }, - logger, } = context; const client = new PrivateCaClient({ config }); await client.iterateCaPools(async (caPool) => { - if (!caPool) { - logger.warn( - `${PrivatecaSteps.STEP_PRIVATE_CA_POOLS.id} - Found undefined caPool entity in iterateCaPools.`, - ); - - return; - } await jobState.addEntity(createCaPoolEntity(caPool)); }); } diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts index b8020a77..488ce472 100644 --- a/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.test.ts @@ -12,7 +12,7 @@ import { import { PrivatecaSteps } from '../constants'; describe(`privateca#${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id}`, () => { - let recording: Recording; + let recording: Recording | undefined; afterEach(async () => { if (recording) await recording.stop(); }); diff --git a/src/steps/privateca/steps/fetchCertificateAuthorities.ts b/src/steps/privateca/steps/fetchCertificateAuthorities.ts index 3ef6e578..cc2be6a3 100644 --- a/src/steps/privateca/steps/fetchCertificateAuthorities.ts +++ b/src/steps/privateca/steps/fetchCertificateAuthorities.ts @@ -51,7 +51,8 @@ async function fetchCertificateAuthorities( if (!location || !caPool) { logger.warn( - `${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id} - Unable to fetch CA due to missing parameters. location: ${location}, caPoolId: ${caPoolId}.`, + { location, caPoolId }, + `${PrivatecaSteps.STEP_PRIVATE_CA_CERTIFICATE_AUTHORITIES.id} - Unable to fetch CA due to missing parameters.`, ); return; From 3497a138dfe13e407cadba34f7e7bdd7c54dd713 Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Thu, 20 Apr 2023 13:12:30 -0300 Subject: [PATCH 8/8] remove log --- src/steps/privateca/steps/fetchAuthorityCertificates.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/steps/privateca/steps/fetchAuthorityCertificates.ts b/src/steps/privateca/steps/fetchAuthorityCertificates.ts index 8d1a0a53..04faed6b 100644 --- a/src/steps/privateca/steps/fetchAuthorityCertificates.ts +++ b/src/steps/privateca/steps/fetchAuthorityCertificates.ts @@ -88,9 +88,6 @@ async function buildCertificateAuthorityBucketRelationships( const bucketName = caAuthority.gcsBucket; if (!bucketName) { - logger.warn( - `${PrivatecaSteps.STEP_CREATE_PRIVATE_CA_CERTIFICATE_AUTHORITY_BUCKET_RELATIONSHIPS.id} - Missing bucketName.`, - ); return; }