Sign inSign up

ly4e/showoci

By ly4e

Updated over 1 year ago

showoci - Oracle Cloud Infrastructure (OCI) Reporting Tool leveraging the Python SDK

Image
0

1.1K

ly4e/showoci repository overview

showoci - Oracle Cloud Infrastructure Reporting Tool

SHOWOCI is a reporting tool which uses the Python SDK to extract list of resources from your tenant. It covers most of OCI components...1

Usage example:

(Note: the OCI config file must exist in addition to the folder being mapped for output)

docker run --rm --name showoci -it -v "$HOME/.oci:/root/.oci" -v "$HOME/myshowoci/myshowoci_output:/output" ly4e/myshowoci:latest

or

docker run --rm --name showoci -it -v "$HOME/.oci:/root/.oci" -v "$HOME/myshowoci/myshowoci_output:/output" ly4e/myshowoci:latest -ani -nobackups -skipdbhomes -exclude DNSZONE,ANNOUNCEMENT,LIMITS -so

Other helpful parameters for reference

-h: obtain help info

-ani: Print All Resources but identity (ignoring identities can speed things up depending on your environment)

-rg/-rgn: region to include OR exclude - partial matches allowed

-cp/-cpr: compartment to include OR recursively include - partial matches allowed

-sjf <filename>: Output to screen (nice format) and JSON File.

potentially useful alias:

showoci='docker run --rm --name showoci -it -v "$HOME/.oci:/root/.oci" -v "$HOME/myshowoci/myshowoci_output:/output" ly4e/myshowoci:latest'

References:

Tag summary

Content type

Image

Digest

sha256:9ba840a1d

Size

98.7 MB

Last updated

over 1 year ago

docker pull ly4e/showoci