Skip to content

Fix "conftest pull" command's help message #333

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions internal/commands/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ This command downloads individual policies from a remote location.

Several locations are supported by the pull command. Under the hood
conftest leverages go-getter (https://github.com/hashicorp/go-getter).
The following protocols are supported for downloading policies:
The following protocols are supported for downloading policies:

- OCI Registries
- Local Files
- Git
- HTTP/HTTPS
- Mercurial
- Amazon S3
- Google Cloud GCP
- Google Cloud Storage

The location of the policies is specified by passing an URL, e.g.:

Expand All @@ -36,7 +36,6 @@ an azure registry URL is passed, e.g.

$ conftest pull instrumenta.azurecr.io/my-registry


The policy location defaults to the policy directory in the local folder.
The location can be overridden with the '--policy' flag, e.g.:

Expand Down