cnspec
cnspec copied to clipboard
OCI integration errors when scanning buckets
Describe the bug
When using the policy CIS Oracle Cloud Infrastructure Foundation Benchmark - Level 1
with the OCI provider to scan an OCI tenant, on check Ensure no Object Storage buckets are publicly visible
, the check returns this error:
{
"error": "job err: : failed to create resource 'oci.objectStorage.bucket': Failed to initialize \"oci.objectStorage.bucket\", its \"region\" argument has the wrong type (expected type \"OciRegion\")"
}
To Reproduce Steps to reproduce the behavior:
- Set up an OCI tenant.
- Create an API client and set it up on the workstation running
cnspec
. - Run
cnspec scan OCI
- Note the error
Expected behavior The check runs
Screenshots or CLI Output If applicable, add screenshots or the CLI output to help explain your problem.
Desktop (please complete the following information):
- macOS
- cnspec 8.23.1 (8739716, 2023-08-16T08:34:58Z)
Additional context Same results from Mondoo console hosted runner