diff --git a/docs/jupiterone.md b/docs/jupiterone.md index 788dc031..f522a8e7 100644 --- a/docs/jupiterone.md +++ b/docs/jupiterone.md @@ -59,8 +59,8 @@ all of the supported data into JupiterOne: | [accesscontextmanager](https://console.developers.google.com/apis/library/accesscontextmanager.googleapis.com) | accesscontextmanager.googleapis.com | | [apigateway](https://console.developers.google.com/apis/library/apigateway.googleapis.com) | apigateway.googleapis.com | | [appengine](https://console.developers.google.com/apis/library/appengine.googleapis.com) | appengine.googleapis.com | -| [beyondcorp](https://console.developers.google.com/apis/library/beyondcorp.googleapis.com) | beyondcorp.googleapis.com | | [artifactregistry](https://console.developers.google.com/apis/library/artifactregistry.googleapis.com) | artifactregistry.googleapis.com | +| [beyondcorp](https://console.developers.google.com/apis/library/beyondcorp.googleapis.com) | beyondcorp.googleapis.com | | [bigquery](https://console.developers.google.com/apis/library/bigquery.googleapis.com) | bigquery.googleapis.com | | [bigtable](https://console.developers.google.com/apis/library/bigtable.googleapis.com) | bigtable.googleapis.com | | [binaryauthorization](https://console.developers.google.com/apis/library/binaryauthorization.googleapis.com) | binaryauthorization.googleapis.com | @@ -122,8 +122,8 @@ gcloud services enable \ accesscontextmanager.googleapis.com \ apigateway.googleapis.com \ appengine.googleapis.com \ - beyondcorp.googleapis.com \ artifactregistry.googleapis.com \ + beyondcorp.googleapis.com \ bigquery.googleapis.com \ bigtable.googleapis.com \ binaryauthorization.googleapis.com \ @@ -370,7 +370,6 @@ The following entities are created: | BeyondCrop App connector | `google_cloud_beyondcorp_connector` | `Network` | | BeyondCrop Application Endpoints | `google_cloud_beyondcorp_application_endpoint` | `NetworkEndpoint` | | BeyondCrop Enterprise | `google_cloud_beyondcorp_enterprise` | `Service` | -| BeyondCrop Enterprise Partner Tenant | `google_cloud_beyondborp_partner_tenant` | `Organization` | | BeyondCrop gateways | `google_cloud_beyondcorp_gateway` | `Gateway` | | Big Query Dataset | `google_bigquery_dataset` | `DataStore`, `Database` | | Big Query Model | `google_bigquery_model` | `Model` | @@ -513,11 +512,11 @@ The following relationships are created: | `google_cloud_project` | **HAS** | `google_billing_budget` | | `google_cloud_project` | **HAS** | `google_binary_authorization_policy` | | `google_cloud_project` | **HAS** | `google_cloud_api_service` | +| `google_cloud_project` | **HAS** | `google_cloud_artifact_registry` | +| `google_cloud_project` | **HAS** | `google_cloud_artifact_registry_repository` | | `google_cloud_project` | **USES** | `google_cloud_beyondcorp_connection` | | `google_cloud_project` | **USES** | `google_cloud_beyondcorp_connector` | | `google_cloud_project` | **HAS** | `google_cloud_beyondcorp_enterprise` | -| `google_cloud_project` | **HAS** | `google_cloud_artifact_registry` | -| `google_cloud_project` | **HAS** | `google_cloud_artifact_registry_repository` | | `google_cloud_run_service` | **MANAGES** | `google_cloud_run_configuration` | | `google_cloud_run_service` | **MANAGES** | `google_cloud_run_route` | | `google_cloud_scan_config` | **PERFORMED** | `google_cloud_scan_run` | @@ -627,8 +626,7 @@ permissions can be used to provision only the required ones: -| Permissions List (116) | -| Permissions List (115) | +| Permissions List (118) | | ------------------------------------------------------- | | `accesscontextmanager.accessLevels.list` | | `accesscontextmanager.accessPolicies.list` | @@ -643,13 +641,12 @@ permissions can be used to provision only the required ones: | `appengine.instances.list` | | `appengine.services.list` | | `appengine.versions.list` | -| `beyoncorp.partnerTenants.getIamPolicy` | -| `beyondcrop.appConnections.list` | -| `beyondcrop.appConnectors.list` | -| `beyondcrop.appGateways.list` | | `artifactregistry.packages.list` | | `artifactregistry.repositories.list` | | `artifactregistry.vpcscconfigs.get` | +| `beyondcrop.appConnections.list` | +| `beyondcrop.appConnectors.list` | +| `beyondcrop.appGateways.list` | | `bigquery.datasets.get` | | `bigquery.models.getData` | | `bigquery.models.getMetadata` | diff --git a/src/getStepStartStates.ts b/src/getStepStartStates.ts index 8956277e..c93207c6 100644 --- a/src/getStepStartStates.ts +++ b/src/getStepStartStates.ts @@ -211,7 +211,6 @@ import { STEP_BEYONDCORP_APP_CONNECTOR, STEP_BEYONDCORP_ENTERPRISE, STEP_BEYONDCORP_GATEWAY, - STEP_BEYONDCORP_PARTNER_TENANT, STEP_PROJECT_HAS_BEYONDCORP_ENTERPRISE_RELATIONSHIP, STEP_PROJECT_USES_APP_CONNECTION_RELATIONSHIP, STEP_PROJECT_USES_APP_CONNECTOR_RELATIONSHIP, @@ -522,9 +521,6 @@ function getDefaultStepStartStates(params: { [STEP_BEYONDCORP_GATEWAY]: { disabled: false, }, - [STEP_BEYONDCORP_PARTNER_TENANT]: { - disabled: false, - }, [STEP_BEYONDCORP_ENTERPRISE]: { disabled: false, }, @@ -547,7 +543,7 @@ function getDefaultStepStartStates(params: { disabled: false, }, [STEP_PROJECT_HAS_BEYONDCORP_ENTERPRISE_RELATIONSHIP]: { - disabled: false, + disabled: false, }, [STEP_ARTIFACT_REGISTRY_REPOSITORY]: { disabled: false, @@ -839,9 +835,6 @@ async function getStepStartStatesUsingServiceEnablements(params: { [STEP_BEYONDCORP_GATEWAY]: createOrgStepStartState( ServiceUsageName.BEYONDCORP, ), - [STEP_BEYONDCORP_PARTNER_TENANT]: createOrgStepStartState( - ServiceUsageName.BEYONDCORP, - ), [STEP_BEYONDCORP_ENTERPRISE]: createOrgStepStartState( ServiceUsageName.BEYONDCORP, ), diff --git a/src/index.test.ts b/src/index.test.ts index 72ada48d..d79ae2ac 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -179,7 +179,6 @@ import { STEP_BEYONDCORP_APP_CONNECTOR, STEP_BEYONDCORP_ENTERPRISE, STEP_BEYONDCORP_GATEWAY, - STEP_BEYONDCORP_PARTNER_TENANT, STEP_PROJECT_HAS_BEYONDCORP_ENTERPRISE_RELATIONSHIP, STEP_PROJECT_USES_APP_CONNECTION_RELATIONSHIP, STEP_PROJECT_USES_APP_CONNECTOR_RELATIONSHIP, @@ -638,9 +637,6 @@ describe('#getStepStartStates success', () => { [STEP_BEYONDCORP_GATEWAY]: { disabled: false, }, - [STEP_BEYONDCORP_PARTNER_TENANT]: { - disabled: false, - }, [STEP_BEYONDCORP_ENTERPRISE]: { disabled: false, }, @@ -663,7 +659,7 @@ describe('#getStepStartStates success', () => { disabled: false, }, [STEP_APPLICATION_ENDPOINT_USES_GATEWAY_RELATIONSHIP]: { - disabled: false, + disabled: false, }, [STEP_ARTIFACT_REGISTRY_REPOSITORY]: { disabled: false,