Skip to content

Commit

Permalink
doc: Documentation for extension-gcp is missing what is the minimal s…
Browse files Browse the repository at this point in the history
…et of permissions needed
  • Loading branch information
ansgarschulte committed May 3, 2024
1 parent b33c92b commit 2fba901
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,46 @@ helm upgrade steadybit-extension-gcp \
## Register the extension

Make sure to register the extension at the steadybit platform. Please refer to the [documentation](https://docs.steadybit.com/integrate-with-steadybit/extensions/extension-installation) for more information.

## Authorization scopes

### Discovery

To discover vm instances, the extension needs:

#### OAuth Scopes
one of the following OAuth scopes:

- `https://www.googleapis.com/auth/compute.readonly`
- `https://www.googleapis.com/auth/compute`
- `https://www.googleapis.com/auth/cloud-platform`

#### IAM Permissions
In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:

- `compute.acceleratorTypes.list`

To find predefined roles that contain those permissions, see [Compute Engine IAM Roles](https://cloud.google.com/compute/docs/access/iam).


### Attack

To attack vm instances, the extension needs:

#### OAuth Scopes
one of the following OAuth scopes:

- `https://www.googleapis.com/auth/compute`
- `https://www.googleapis.com/auth/cloud-platform`

#### IAM Permissions

In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:

- `compute.instances.reset`
- `compute.instances.stop`
- `compute.instances.suspend`
- `compute.instances.delete`

To find predefined roles that contain those permissions, see [Compute Engine IAM Roles](https://cloud.google.com/compute/docs/access/iam).

0 comments on commit 2fba901

Please sign in to comment.