{"id":20658072,"url":"https://github.com/deepfence/agent-plugins-grpc","last_synced_at":"2025-03-09T23:48:01.253Z","repository":{"id":44164688,"uuid":"442369672","full_name":"deepfence/agent-plugins-grpc","owner":"deepfence","description":"Agent plugins' gRPC definitions","archived":false,"fork":false,"pushed_at":"2024-11-05T09:52:35.000Z","size":52,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-17T11:34:02.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepfence.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-12-28T06:21:48.000Z","updated_at":"2024-11-05T05:16:41.000Z","dependencies_parsed_at":"2023-01-30T10:15:24.189Z","dependency_job_id":"9eb456ea-0a59-420d-825f-72cd44ae64fb","html_url":"https://github.com/deepfence/agent-plugins-grpc","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfence%2Fagent-plugins-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfence%2Fagent-plugins-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfence%2Fagent-plugins-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfence%2Fagent-plugins-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepfence","download_url":"https://codeload.github.com/deepfence/agent-plugins-grpc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242768076,"owners_count":20182098,"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":[],"created_at":"2024-11-16T18:24:40.483Z","updated_at":"2025-03-09T23:48:01.230Z","avatar_url":"https://github.com/deepfence.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agent plugins gRPC\n\nThis repository contains all the schema used by plugins to communicate with the probe agent.\n\n## Go (ThreatMapper)\n\nRun the Makefile located in this repository to generate all the gRPC go files:\n\n```\nmake go\n```\n\n## Rust (open-tracer)\n\nFor Rust, we recommend to use `cargo` directly. Create a `build.rs` file alongside your `Cargo.toml`.\nThen add the following:\n\n```\ntonic_build::configure()\n.build_server(true)\n    .compile(\n             \u0026[\n             \"proto/common.proto\",\n             \"proto/agent_plugin.proto\",\n             \"proto/kernel_tracer.proto\",\n             \"proto/open_tracer.proto\",\n             ],\n             \u0026[\"proto\"],\n            )?;\nOk(())\n```\n\nIn your project `Cargo.toml`:\n```\ntonic = \"0.6\"\nprost = \"0.9\"\nfutures = \"0.3.19\"\n```\n\nIn your source code, you can start using protobuf output by including it like:\n\n```\npub mod proto {\n    pub mod common {\n        tonic::include_proto!(\"common\");\n    }\n    pub mod kernel_tracer {\n        tonic::include_proto!(\"kernel_tracer\");\n    }\n    pub mod agent_plugin {\n        tonic::include_proto!(\"agent_plugin\");\n    }\n    pub mod open_tracer {\n        tonic::include_proto!(\"open_tracer\");\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepfence%2Fagent-plugins-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepfence%2Fagent-plugins-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepfence%2Fagent-plugins-grpc/lists"}