Severity :
...
Medium
Description:
...
This control ensures that OCI block volumes are protected against unintended and malicious deletion by unauthorized groups and users. Access privilege for IAM users/groups for resources types in volume-family should be configured with least privilege. Access policies for volumeusers and groups should replace statements for permission for VOLUME_DELETE, VOLUME_BACKUP_DELETE or VOLUME_ATTACHMENT_DELETE with statement request.permission != {VOLUME_DELETE, VOLUME_BACKUP_DELETE, VOLUME_ATTACHMENT_DELETE}.
Remediation Steps:
Perform following to update bucket access policies :
Login to the OCI console at https://www.oracle.com/cloud/sign-in.html .
In the navigation, Click Identity & Security.
Under Identity, click Policies.
Select the compartment and then reported policy . The policy's details and statements are displayed.
Click Edit Policy Statements.
In Policy Builder Select Basic or Advance editor to update the policy statements with request.permission != {VOLUME_DELETE, VOLUME_BACKUP_DELETE, VOLUME_ATTACHMENT_DELETE}.
Click Save Changes.
Important:
Reference:
https://docs.oracle.com/en-us/iaas/Content/Security/Reference/blockstorage_security.htm
https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingpolicies.htm