Severity : HighMedium
Description: Adding deletion protection to Oracle object store policies mitigates unintended deletion of object store services by unauthorized users or groups. Remediation Steps : When writing policies, avoid blanket statements, and add a where statement with the line This control ensures that OCI Object Storage buckets are protected against unintended and malicious deletion by unauthorized groups and users . Regular users/groups for the buckets and its objects must be configured with least privilege to only specific objects or buckets. Also access policies for non-privilege users and groups should remove add statements for permission for OBJECT-DELETE or BUCKET_DELETE with statement request.permission != {OBJECT_DELETE, BUCKET_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 != {OBJECT_DELETE, BUCKET_DELETE}.
Click Save Changes.
Important:
Reference: