Expand description
Example sdkt-audit plugin rule — reference implementation only.
This crate demonstrates the plugin author workflow:
- Implement
sdkt_audit::AuditRule. - Register the rule into the process-wide registry via
[
sdkt_audit::register_rule] (or theregister_rule!macro). - Produce a
sdkt_audit::Findingwhen your condition holds.
It is compiled in only when sdkt-cli is built with the plugins feature,
so default builds behave exactly like . See docs/plugin-authoring.md.
Structs§
- Example
Rule - EXAMPLE-001 — flags any function whose name contains
sdkt_example_trigger.
Functions§
- register
- Register this plugin’s rule into the global
sdkt-auditregistry.