oci-landing-zones / oracle-enterprise-landingzone

ORACLE ENTERPRISE LANDING ZONE
Universal Permissive License v1.0
25 stars 45 forks source link

Exadata workload policies needs update (wrong policy or policy with too much permissions) #173

Open hslange opened 9 months ago

hslange commented 9 months ago

In the file elz-exadata-workload/iam.tf, policies are defined to create both Exadata VM clusters as well as Autonomous VM clusters (for autonomous DB dedicated). I think there are a few issues:

It's not very clear why some of the policies related to exadata and databases depend on the enable_datasafe variable. Even if enable_datasafe is set to false, DBA's should be able to create and manage (autonomous) databases.

The following policy is giving DBA's too many permissions:

Hope this will help to improve the policies for exadata workload