Skip to content

matthewcarter95/ociiag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ociiag

Identity Access Governance for OCI

Java class that goes through all of the compartments in a tenant and shows

<meta-verb> <resource> in <compartment>

statement fragments for the groups that a specified user belongs to (including any-user)

Usage:

java -jar WhatUserHasAccessTo.jar ocid1.user.oc1..aaaaaaaaope4f3ocxezv4effbvknma4jjqxbdd4eyyzce4cgqo5nbpkyxswq

Output:

User [email protected] belongs to groups:

  • grafana
  • InstanceLaunchers

Permissions:

  • read metrics in tenancy
  • read compartments in tenancy
  • manage health-check-family in tenancy
  • manage instance-family in compartment PrasadCompartment
  • use volume-family in compartment PrasadCompartment
  • use virtual-network-family in compartment PrasadCompartment

Known limitations:

  • Doesn't report permissions for manage all-resources in tenancy
  • Doesn't report conditions with access granted through request.user.id or request.groups.id
  • Doesn't report access that comes through a service or instance principal

About

Identity Access Governance for OCI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages