Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/plugins/coding-agents-plugin/SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Interceptor Socket Server Event Queue Falco Engine H
| Parameter | Value |
|-----------|-------|
| Plugin name | `coding_agent` |
| Plugin ID | `999` (development; register for production) |
| Plugin ID | `28` (registered in [falcosecurity/plugins](https://github.com/falcosecurity/plugins/blob/main/registry.yaml)) |
| Event source | `coding_agent` |
| Required config | `rule_matching: all`, `json_output: true` |
| Alert delivery | `http_output` to `http://127.0.0.1:2802` |
Expand Down
4 changes: 3 additions & 1 deletion plugins/coding-agents-plugin/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ impl SourcePlugin for CodingAgentPlugin {
type Instance = CodingAgentInstance;

const EVENT_SOURCE: &'static CStr = c"coding_agent";
const PLUGIN_ID: u32 = 999; // Development ID. Register for production.
// Registered ID for the `coding_agent` source.
// See https://github.com/falcosecurity/plugins/blob/main/registry.yaml
const PLUGIN_ID: u32 = 28;

type Event<'a> = Event<PluginEvent<CodingAgentPayload<'a>>>;

Expand Down
Loading