{"id":19199541,"url":"https://github.com/subconsciouscompute/tetragon-grpc-client","last_synced_at":"2026-04-30T06:39:19.628Z","repository":{"id":227223525,"uuid":"770810228","full_name":"SubconsciousCompute/tetragon-grpc-client","owner":"SubconsciousCompute","description":"a gRPC client for tetragon","archived":false,"fork":false,"pushed_at":"2024-03-22T08:47:32.000Z","size":77,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T05:22:39.282Z","etag":null,"topics":["grpc","library","rust","rust-lang","tetragon","tonic"],"latest_commit_sha":null,"homepage":"https://tetragon.io/docs/reference/grpc-api/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SubconsciousCompute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-12T07:50:09.000Z","updated_at":"2024-05-30T14:38:01.000Z","dependencies_parsed_at":"2024-03-18T06:24:04.266Z","dependency_job_id":"49c86547-55a4-4129-b18c-40af993427a9","html_url":"https://github.com/SubconsciousCompute/tetragon-grpc-client","commit_stats":null,"previous_names":["aditeya/tetragon-grpc-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Ftetragon-grpc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Ftetragon-grpc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Ftetragon-grpc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Ftetragon-grpc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubconsciousCompute","download_url":"https://codeload.github.com/SubconsciousCompute/tetragon-grpc-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Ftetragon-grpc-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259262641,"owners_count":22830561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","library","rust","rust-lang","tetragon","tonic"],"created_at":"2024-11-09T12:27:45.752Z","updated_at":"2026-04-30T06:39:14.602Z","avatar_url":"https://github.com/SubconsciousCompute.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tetragon-grpc demo\n\nHow to use tetragon grpc server in Rust!\n\n## Demo\n\n_This may be outdated. `cargo run` should launch the demo._\n\n![demo](https://github.com/Aditeya/tetragon-grpc-client/assets/22963960/2e9b5429-248a-4d0b-94ce-88156aa4eb76)\n\n\n## Cloning\n\n```sh\ngit clone https://github.com/SubconsciousCompute/tetragon-grpc-client.git\n```\n\n## Running Policy Manager\n\n```sh\n$ cargo run --example policy -- \u003cOption\u003e\n```\n\n### Options:\n- `list`\n- `add`\n- `remove`\n\nCreate a file with some content `cat foo2thebar \u003e /tmp/tetragon`. \\\ncat the said file and see some output. \\\nThen add the policy `cargo run --example policy -- add`. \\\ncat the said file again and see cat gets killed before it can read. \\\nRun `cargo run --example policy -- list` to list the policies. \\\nThen remove the policy `cargo run --example policy -- remove`. \\\ncat said file again to see that it works.\n\n# Running demo\n\nThis demo mimic command `sudo tetra --server-address unix:///var/run/tetragon/tetragon.sock getevents`\n\n\u003e *NOTE:* Requires Root. The program will ask for sudo password.\n\n```sh\n$ cargo run\n```\n\n## Troubleshooting\n\nIf you're requests aren't happening as you expect, try checking the [tetra cli code](https://github.com/cilium/tetragon/blob/main/cmd/tetra/main.go)\nand how they create their request objects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Ftetragon-grpc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubconsciouscompute%2Ftetragon-grpc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Ftetragon-grpc-client/lists"}