Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
updated the index.test.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-metron committed May 9, 2024
1 parent b90bb4f commit b135fa3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
19 changes: 8 additions & 11 deletions docs/jupiterone.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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` |
Expand Down Expand Up @@ -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` |
Expand Down Expand Up @@ -627,8 +626,7 @@ permissions can be used to provision only the required ones:

<!-- {J1_PERMISSIONS_DOCUMENTATION_MARKER_START} -->

| Permissions List (116) |
| Permissions List (115) |
| Permissions List (118) |
| ------------------------------------------------------- |
| `accesscontextmanager.accessLevels.list` |
| `accesscontextmanager.accessPolicies.list` |
Expand All @@ -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` |
Expand Down
9 changes: 1 addition & 8 deletions src/getStepStartStates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -522,9 +521,6 @@ function getDefaultStepStartStates(params: {
[STEP_BEYONDCORP_GATEWAY]: {
disabled: false,
},
[STEP_BEYONDCORP_PARTNER_TENANT]: {
disabled: false,
},
[STEP_BEYONDCORP_ENTERPRISE]: {
disabled: false,
},
Expand All @@ -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,
Expand Down Expand Up @@ -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,
),
Expand Down
6 changes: 1 addition & 5 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -638,9 +637,6 @@ describe('#getStepStartStates success', () => {
[STEP_BEYONDCORP_GATEWAY]: {
disabled: false,
},
[STEP_BEYONDCORP_PARTNER_TENANT]: {
disabled: false,
},
[STEP_BEYONDCORP_ENTERPRISE]: {
disabled: false,
},
Expand All @@ -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,
Expand Down

0 comments on commit b135fa3

Please sign in to comment.