oracle / oracle/oci-powershell-modules
Manual Endpoint Configuration Required for ZprClient in OCI Powershell SDK
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 40
- Forks
- 14
- Avg merge
- 20m
- Merged PRs (30d)
- 4
Description
Update: This has been fixed in v92.1.0. If you are not able to upgrade to a non-affected version at this time, please use the workaround mentioned below
If you are using or want to use ZprClient in OCI Powershell SDK then you have to manually update the endpoint.
Description
Users of the OCI Powershell SDK who wish to utilize ZprClient must manually update the endpoint due to an incorrect configuration in the service endpoint. This issue affects the Zero Trust Packet Routing Service (ZPR) released in version 92.0.0.
Workaround
To resolve this issue, users need to manually set the endpoint when creating a ZprClient instance. Here's an example of how to do this:
PS> Get-OCIZprPolicy ... -Endpoint "https://zpr./{region}.oci.oraclecloud.com"
Replace {region} with the appropriate region for your OCI deployment
The correct endpoint for your specific region can be found in the Oracle Cloud Infrastructure API documentation here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue concerns ZprClient endpoint configuration in the OCI PowerShell SDK and links the v92.1.0 release, the workaround, and the OCI API documentation. Start by checking the ZprClient endpoint configuration and the v92.1.0 changes; this issue is done if the endpoint is configured correctly without the manual workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 15/100