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

feat: added the ability to pass json content not only as a file with the json extension #422

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ya-makariy
Copy link

Explanation

Added the ability to pass json content not only as a file with the json extension.
Usage Example:

kyverno-json  scan --policy catalog/dockerfile/dockerfile-deny-latest-image.yaml --payload <(dockerfile-json /path/to/Dockerfile)

Related issue

Milestone of this PR

What type of PR is this

Proposed Changes

Proof Manifests

Checklist

  • I have read the contributing guidelines.
  • I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.
  • This is a feature and I have added CLI tests that are applicable.
  • My PR needs to be cherry picked to a specific release branch which is .

Further Comments

@ya-makariy ya-makariy force-pushed the feat/pass-json-without-file-extension branch from 60d3381 to 40df200 Compare July 8, 2024 20:51
@ya-makariy ya-makariy changed the title added the ability to pass json content not only as a file with the json extension feat: added the ability to pass json content not only as a file with the json extension Jul 8, 2024
@ya-makariy
Copy link
Author

Hi, @eddycharly. Any updates on this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant