// Generated by conforma CLI documentation tooling. DO NOT EDIT.
= ec inspect policy-data

Read policy data from source urls and displays the data

== Synopsis

Read policy data from source urls and displays the data.

This fetches policy sources similar to the 'ec fetch policy' command, but once
the policy is fetched it reads json and yaml files inside the policy source and
displays the data.

Note that this command is not typically required to evaluate policies.
It has been made available for troubleshooting and debugging purposes.

[source,shell]
----
ec inspect policy-data --source <source-url> [flags]
----

== Examples
Print data from a given source url:

ec inspect policy-data --source git::https://github.com/conforma/policy//example/data

== Options

-d, --dest:: use the specified destination directory to download the policy. if not set, a temporary directory will be used
-h, --help:: help for policy-data (Default: false)
-o, --output:: output format. one of: json, yaml (Default: json)
-s, --source:: policy data source url. multiple values are allowed (Default: [])

== Options inherited from parent commands

--debug:: same as verbose but also show function names and line numbers (Default: false)
--kubeconfig:: path to the Kubernetes config file to use
--logfile:: file to write the logging output. If not specified logging output will be written to stderr
--quiet:: less verbose output (Default: false)
--retry-duration:: base duration for exponential backoff calculation (Default: 1s)
--retry-factor:: exponential backoff multiplier (Default: 2)
--retry-jitter:: randomness factor for backoff calculation (0.0-1.0) (Default: 0.1)
--retry-max-retry:: maximum number of retry attempts (Default: 3)
--retry-max-wait:: maximum wait time between retries (Default: 3s)
--timeout:: max overall execution duration (Default: 5m0s)
--trace:: enable trace logging, set one or more comma separated values: none,all,perf,cpu,mem,opa,log (Default: none)
--verbose:: more verbose output (Default: false)

== See also

 * xref:ec_inspect.adoc[ec inspect - Inspect policy rules]
