Skip to main content

Crate sdkt_audit_example_rule

Crate sdkt_audit_example_rule 

Source
Expand description

Example sdkt-audit plugin rule — reference implementation only.

This crate demonstrates the plugin author workflow:

  1. Implement sdkt_audit::AuditRule.
  2. Register the rule into the process-wide registry via [sdkt_audit::register_rule] (or the register_rule! macro).
  3. Produce a sdkt_audit::Finding when 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§

ExampleRule
EXAMPLE-001 — flags any function whose name contains sdkt_example_trigger.

Functions§

register
Register this plugin’s rule into the global sdkt-audit registry.