@@ -2703,6 +2703,180 @@ Options inherited from parent commands
27032703-y, --yes Skip confirmation
27042704```
27052705
2706+ ## chainloop policy
2707+
2708+ Craft chainloop policies
2709+
2710+ Options
2711+
2712+ ```
2713+ -h, --help help for policy
2714+ ```
2715+
2716+ Options inherited from parent commands
2717+
2718+ ```
2719+ --artifact-cas string URL for the Artifacts Content Addressable Storage API ($CHAINLOOP_ARTIFACT_CAS_API) (default "api.cas.chainloop.dev:443")
2720+ --artifact-cas-ca string CUSTOM CA file for the Artifacts CAS API (optional) ($CHAINLOOP_ARTIFACT_CAS_API_CA)
2721+ -c, --config string Path to an existing config file (default is $HOME/.config/chainloop/config.toml)
2722+ --control-plane string URL for the Control Plane API ($CHAINLOOP_CONTROL_PLANE_API) (default "api.cp.chainloop.dev:443")
2723+ --control-plane-ca string CUSTOM CA file for the Control Plane API (optional) ($CHAINLOOP_CONTROL_PLANE_API_CA)
2724+ --debug Enable debug/verbose logging mode
2725+ -i, --insecure Skip TLS transport during connection to the control plane ($CHAINLOOP_API_INSECURE)
2726+ -n, --org string organization name
2727+ -o, --output string Output format, valid options are json and table (default "table")
2728+ -t, --token string API token. NOTE: Alternatively use the env variable CHAINLOOP_TOKEN
2729+ -y, --yes Skip confirmation
2730+ ```
2731+
2732+ ### chainloop policy develop
2733+
2734+ Tools for policy development
2735+ Refer to https://docs.chainloop.dev/guides/custom-policies
2736+
2737+ Options
2738+
2739+ ```
2740+ -h, --help help for develop
2741+ ```
2742+
2743+ Options inherited from parent commands
2744+
2745+ ```
2746+ --artifact-cas string URL for the Artifacts Content Addressable Storage API ($CHAINLOOP_ARTIFACT_CAS_API) (default "api.cas.chainloop.dev:443")
2747+ --artifact-cas-ca string CUSTOM CA file for the Artifacts CAS API (optional) ($CHAINLOOP_ARTIFACT_CAS_API_CA)
2748+ -c, --config string Path to an existing config file (default is $HOME/.config/chainloop/config.toml)
2749+ --control-plane string URL for the Control Plane API ($CHAINLOOP_CONTROL_PLANE_API) (default "api.cp.chainloop.dev:443")
2750+ --control-plane-ca string CUSTOM CA file for the Control Plane API (optional) ($CHAINLOOP_CONTROL_PLANE_API_CA)
2751+ --debug Enable debug/verbose logging mode
2752+ -i, --insecure Skip TLS transport during connection to the control plane ($CHAINLOOP_API_INSECURE)
2753+ -n, --org string organization name
2754+ -o, --output string Output format, valid options are json and table (default "table")
2755+ -t, --token string API token. NOTE: Alternatively use the env variable CHAINLOOP_TOKEN
2756+ -y, --yes Skip confirmation
2757+ ```
2758+
2759+ #### chainloop policy develop help
2760+
2761+ Help about any command
2762+
2763+ Synopsis
2764+
2765+ Help provides help for any command in the application.
2766+ Simply type develop help [ path to command] for full details.
2767+
2768+ ```
2769+ chainloop policy develop help [command] [flags]
2770+ ```
2771+
2772+ Options
2773+
2774+ ```
2775+ -h, --help help for help
2776+ ```
2777+
2778+ Options inherited from parent commands
2779+
2780+ ```
2781+ --artifact-cas string URL for the Artifacts Content Addressable Storage API ($CHAINLOOP_ARTIFACT_CAS_API) (default "api.cas.chainloop.dev:443")
2782+ --artifact-cas-ca string CUSTOM CA file for the Artifacts CAS API (optional) ($CHAINLOOP_ARTIFACT_CAS_API_CA)
2783+ -c, --config string Path to an existing config file (default is $HOME/.config/chainloop/config.toml)
2784+ --control-plane string URL for the Control Plane API ($CHAINLOOP_CONTROL_PLANE_API) (default "api.cp.chainloop.dev:443")
2785+ --control-plane-ca string CUSTOM CA file for the Control Plane API (optional) ($CHAINLOOP_CONTROL_PLANE_API_CA)
2786+ --debug Enable debug/verbose logging mode
2787+ -i, --insecure Skip TLS transport during connection to the control plane ($CHAINLOOP_API_INSECURE)
2788+ -n, --org string organization name
2789+ -o, --output string Output format, valid options are json and table (default "table")
2790+ -t, --token string API token. NOTE: Alternatively use the env variable CHAINLOOP_TOKEN
2791+ -y, --yes Skip confirmation
2792+ ```
2793+
2794+ #### chainloop policy develop init
2795+
2796+ Initialize a new policy
2797+
2798+ Synopsis
2799+
2800+ Initialize a new policy by creating template policy files in the specified directory.
2801+ By default, it creates chainloop-policy.yaml and chainloop-policy.rego files.
2802+
2803+ ```
2804+ chainloop policy develop init [flags]
2805+ ```
2806+
2807+ Examples
2808+
2809+ ```
2810+
2811+ Initialize in current directory with separate files
2812+ chainloop policy develop init
2813+
2814+ Initialize in specific directory with embedded format and policy name
2815+ chainloop policy develop init --directory ./policies --embedded --name mypolicy
2816+ ```
2817+
2818+ Options
2819+
2820+ ```
2821+ --description string description of the policy
2822+ --directory string directory for policy
2823+ --embedded initialize an embedded policy (single YAML file)
2824+ -f, --force overwrite existing files
2825+ -h, --help help for init
2826+ --name string name of the policy
2827+ ```
2828+
2829+ Options inherited from parent commands
2830+
2831+ ```
2832+ --artifact-cas string URL for the Artifacts Content Addressable Storage API ($CHAINLOOP_ARTIFACT_CAS_API) (default "api.cas.chainloop.dev:443")
2833+ --artifact-cas-ca string CUSTOM CA file for the Artifacts CAS API (optional) ($CHAINLOOP_ARTIFACT_CAS_API_CA)
2834+ -c, --config string Path to an existing config file (default is $HOME/.config/chainloop/config.toml)
2835+ --control-plane string URL for the Control Plane API ($CHAINLOOP_CONTROL_PLANE_API) (default "api.cp.chainloop.dev:443")
2836+ --control-plane-ca string CUSTOM CA file for the Control Plane API (optional) ($CHAINLOOP_CONTROL_PLANE_API_CA)
2837+ --debug Enable debug/verbose logging mode
2838+ -i, --insecure Skip TLS transport during connection to the control plane ($CHAINLOOP_API_INSECURE)
2839+ -n, --org string organization name
2840+ -o, --output string Output format, valid options are json and table (default "table")
2841+ -t, --token string API token. NOTE: Alternatively use the env variable CHAINLOOP_TOKEN
2842+ -y, --yes Skip confirmation
2843+ ```
2844+
2845+ ### chainloop policy help
2846+
2847+ Help about any command
2848+
2849+ Synopsis
2850+
2851+ Help provides help for any command in the application.
2852+ Simply type policy help [ path to command] for full details.
2853+
2854+ ```
2855+ chainloop policy help [command] [flags]
2856+ ```
2857+
2858+ Options
2859+
2860+ ```
2861+ -h, --help help for help
2862+ ```
2863+
2864+ Options inherited from parent commands
2865+
2866+ ```
2867+ --artifact-cas string URL for the Artifacts Content Addressable Storage API ($CHAINLOOP_ARTIFACT_CAS_API) (default "api.cas.chainloop.dev:443")
2868+ --artifact-cas-ca string CUSTOM CA file for the Artifacts CAS API (optional) ($CHAINLOOP_ARTIFACT_CAS_API_CA)
2869+ -c, --config string Path to an existing config file (default is $HOME/.config/chainloop/config.toml)
2870+ --control-plane string URL for the Control Plane API ($CHAINLOOP_CONTROL_PLANE_API) (default "api.cp.chainloop.dev:443")
2871+ --control-plane-ca string CUSTOM CA file for the Control Plane API (optional) ($CHAINLOOP_CONTROL_PLANE_API_CA)
2872+ --debug Enable debug/verbose logging mode
2873+ -i, --insecure Skip TLS transport during connection to the control plane ($CHAINLOOP_API_INSECURE)
2874+ -n, --org string organization name
2875+ -o, --output string Output format, valid options are json and table (default "table")
2876+ -t, --token string API token. NOTE: Alternatively use the env variable CHAINLOOP_TOKEN
2877+ -y, --yes Skip confirmation
2878+ ```
2879+
27062880## chainloop version
27072881
27082882Command line version
0 commit comments