Control: 5.7 Ensure network access rule for storage bucket is not set to publicly accessible
Description
Restricting default network access helps to provide a new layer of security, since OSS accept connections from clients on any network. To limit access to selected networks, the default action must be changed.
Remediation
Using the management console:
- Logon to OSS console.
- In the bucket-list pane, click on a target OSS bucket.
- Click on
Filesin top middle of the console. - Click on
Authorize. - Click on
Whole Bucket,*,None,Condition IP = specified IP address or IP address segment. - Click on
Save.
Default Value:
Not set.
Usage
Run the control in your terminal:
powerpipe control run alicloud_compliance.control.cis_v200_5_7Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run alicloud_compliance.control.cis_v200_5_7 --shareSQL
This control uses a named query:
select 'arn:acs:::' || account_id as resource, 'info' as status, 'Manual verification required.' as reason , account_id as account_idfrom alicloud_account;