Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI provider should support all oci configurations/environment variables #4331

Open
scottford-io opened this issue Jul 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@scottford-io
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The oci provider is missing a number of configurations supported by the oci CLI. The oci proivder should support all oci configurations and environment variables. The flags should align with the oci cli.

https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm

Order of Precedence

  • The value specified in the command option.
  • The value specified in the environment variable.
  • The value specified in the OCI config file.

Describe the solution you'd like

cnspec scan oci \
--profile <The profile in the OCI config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file.> \
--user <The OCID of the user calling the API> \
--region <An Oracle Cloud Infrastructure region> \
--fingerprint <The fingerprint for the public key that was added to this user.> \
--key_file <The full path and filename of the private key.> \
--key_content <The full content of the private key enclosed in single quotes.> \
--tenancy <The OCID of your tenancy. > \
--config-file <The path to the OCI config file> \

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@scottford-io scottford-io added the enhancement New feature or request label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant