turbot/steampipe-mod-alicloud-compliance

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:

  1. Logon to OSS console.
  2. In the bucket-list pane, click on a target OSS bucket.
  3. Click on Files in top middle of the console.
  4. Click on Authorize.
  5. Click on Whole Bucket, *, None, Condition IP = specified IP address or IP address segment.
  6. Click on Save.

Default Value:

Not set.

Usage

Run the control in your terminal:

powerpipe control run alicloud_compliance.control.cis_v200_5_7

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run alicloud_compliance.control.cis_v200_5_7 --share

SQL

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_id
from
alicloud_account;

Tags