feat(oraclecloud): support regionless SDK setup#11740
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Move this into a new section for 5.33.0
Context
Oracle Cloud credentials in Prowler can be valid without using a user-selected scan region. The SDK needs a safe internal region only to bootstrap the OCI client and discover subscribed regions.
Description
This PR updates the Oracle Cloud provider initialization so API-key authentication can fall back to the internal default region when no explicit scan region filter is provided. It also adds SDK tests for regionless credentials and documents the SDK change in the changelog.
Changed files:
prowler/CHANGELOG.mdprowler/providers/oraclecloud/oraclecloud_provider.pytests/providers/oraclecloud/oraclecloud_provider_test.pySteps to review
Validation previously run for this slice:
Checklist
Community Checklist
SDK/CLI
UI
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Chain Context
ci/oci-regionless-platform-11565Chain Overview
Scope
Autonomy