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

plugin 機構導入して、ユーザー自身でパース、生成したいパケット定義できるようにするのはどうか? #71

Open
ddddddO opened this issue Dec 30, 2024 · 4 comments

Comments

@ddddddO
Copy link
Owner

ddddddO commented Dec 30, 2024

https://qiita.com/uh-zz/items/3c8941d2059b6171e808

↑のプラグイン実装コードと合わせて、https://github.com/aquasecurity/trivy/blob/e8085bae3e71fc5c9839feb13e34b75deba4ce9d/pkg/module/wasm/sdk.go#L59-L74 の確認すると良さそう

@ddddddO
Copy link
Owner Author

ddddddO commented Dec 30, 2024

@ddddddO
Copy link
Owner Author

ddddddO commented Dec 31, 2024

ここがお試しの場
https://github.com/ddddddO/work/tree/master/go/plugin-wasm

一旦動くは動く

あとは、packemon 側でどう差し込めるか

@ddddddO
Copy link
Owner Author

ddddddO commented Jan 1, 2025

go で plugin のためになりそうな記事
https://knqyf263.hatenablog.com/entry/2022/08/30/052303

@ddddddO
Copy link
Owner Author

ddddddO commented Jan 1, 2025

https://github.com/ddddddO/work/tree/master/go/plugin-go-package
くらい簡素なものでいい気がする

ダメ
https://x.com/ddddddOpppppp/status/1874404081139355782

そもそも、ちょっとユーザーに実装してもらうには、今の実装だとコスト高すぎる気がする

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

No branches or pull requests

1 participant