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

New command: artifact manifest #333

Closed
alacuku opened this issue Oct 18, 2023 · 1 comment
Closed

New command: artifact manifest #333

alacuku opened this issue Oct 18, 2023 · 1 comment
Assignees

Comments

@alacuku
Copy link
Member

alacuku commented Oct 18, 2023

What would you like to be added:
Add a new command for artifacts that fetches and prints to stdout the manifest layer:

falcoctl artifact manifest ghcr.io/falcosecurity/plugins/ruleset/k8saudit:latest

Output:

{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "config": {
    "mediaType": "application/vnd.cncf.falco.rulesfile.config.v1+json",
    "digest": "sha256:af1b99ae2aa1d1ae2d452bc66c36ce2d30a939f61111c82cd227456b5318728a",
    "size": 249
  },
  "layers": [
    {
      "mediaType": "application/vnd.cncf.falco.rulesfile.layer.v1+tar.gz",
      "digest": "sha256:36321b3f1d7969926073a4d40bbbb7b4b28805b038c067f140795210ab641161",
      "size": 6471,
      "annotations": {
        "org.opencontainers.image.title": "k8saudit-rules-0.6.1.tar.gz"
      }
    }
  ],
  "annotations": {
    "org.opencontainers.image.created": "2023-09-21T07:47:36Z",
    "org.opencontainers.image.source": "https://github.com/falcosecurity/plugins.git"
  }
}
@alacuku
Copy link
Member Author

alacuku commented Oct 18, 2023

/assign @alacuku

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

No branches or pull requests

1 participant