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

Commit

Permalink
Update docs re necessary permission
Browse files Browse the repository at this point in the history
  • Loading branch information
eXtremeX committed Mar 1, 2022
1 parent 3e34096 commit 24182c0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/jupiterone.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ integration by configuring a custom role with the following permissions:
appengine.applications.get
binaryauthorization.policy.get
compute.projects.get
orgpolicy.policies.get

This comment has been minimized.

Copy link
@danekantner

danekantner Mar 15, 2022

the policy at GCP is documented as orgpolicy.policy.get not policies.get (there is a policies.list but not policies.get)

https://cloud.google.com/resource-manager/docs/access-control-org

This comment has been minimized.

Copy link
@eXtremeX

eXtremeX Mar 15, 2022

Author Contributor

Hey Dane, you're right - this is getting fixed here (#432).

Fwiw, Google made it a bit confusing - see the following: https://cloud.google.com/orgpolicy/docs/reference/rest/v2/projects.policies/getEffectivePolicy (mentions the orgpolicy.policies.get)

However there isn't orgpolicy.policies.get (per the documentation on the above link), so it's orgpolicy.policy.get after all.

```

See the
Expand Down Expand Up @@ -206,6 +207,15 @@ resourcemanager.organizations.getIamPolicy
cloudasset.assets.searchAllIamPolicies
```

The integration will also try to ingest organization policy for
"storage.publicAccessPrevention" to precisely calculate storage buckets public
access, it is therefore recommended that the following permission is also
included in the custom role above:

```
orgpolicy.policies.get
```

1. Navigate to the Cloud Resource Manager for that organization and
[add a new member to the organization](https://cloud.google.com/resource-manager/docs/access-control-org#grant-access).
The new member email address is the email address of the service account that
Expand Down

0 comments on commit 24182c0

Please sign in to comment.