Working with evidence plugins
Skill fianulabs/fianu-skills/skills/working-with-evidence-plugins
Use when picking a plugin to source evidence from or discovering its evidence schema. Covers the plugin catalog (SAST, SCA, container scanning, SBOM, signature, DAST, IaC, testing, deployment, pipeline, code review, access control) and GET /controls/:key/schemas.From its SKILL.md
npx -y skills add fianulabs/fianu-skills --skill working-with-evidence-pluginsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.0 KB, as published. Nobody here has run it
Working with Evidence Plugins
Overview
Fianu plugins are evidence sources — they emit notes with structured payloads that controls evaluate against policy. When designing a new control or routing an existing control's evidence, an agent needs to (a) pick the right plugin and (b) understand the shape of that plugin's evidence so the Rego rule can reference it correctly.
This skill is the canonical home for plugin selection and schema discovery.
The plugin catalog
The catalog of supported plugins by category lives in
references/plugin-catalog.md. Load that file when picking a plugin for a
new control.
Schema discovery
Once a candidate plugin is chosen, discover its evidence schema:
GET /controls/:entity_key/schemas?producer={pluginPath}
The response lists the field paths and types available in the plugin's
evidence output (the input.detail.* shape that Rego rules reference). Use
these field paths to write the Rego rule via writing-rego-rules.
Selecting a plugin
Decision procedure:
- Identify the requirement's evidence type — code quality, dependency vulnerabilities, container image scan, SBOM presence, signature, runtime vulnerabilities, IaC, test results, deployment records, CI/CD execution, pull-request review, branch protection, etc.
- Map evidence type to a plugin category via
references/plugin-catalog.md. - If multiple plugins satisfy the category, prefer the plugin whose schema fields best cover the requirement (fewest gaps). Run schema discovery for each candidate and compare.
- If no plugin in the catalog covers the evidence, recommend an
API-sourced control (custom integration). The control subscribes to
an
apievent source rather than apluginsource. Seeusing-fianu-best-practices→ FIANU.md §Controls > Choosing Sources.
Edge cases
Plugin in catalog but not deployed in target environment
The catalog reflects what fianu-plugins ships; whether a specific tenant has the plugin enabled is a deployment question. Schema discovery against a non-enabled plugin will return an empty/404 response. In that case, escalate to a human or recommend enabling the plugin.
Multiple plugins satisfying the same category
Prefer the plugin already configured for the target organization (visible via the platform admin UI). Do not silently pick a plugin the tenant has not opted into.
See also
references/plugin-catalog.md— full plugin catalog by category.writing-rego-rules— for mapping discovered schema fields onto Rego.using-fianu-best-practices→ FIANU.md §Choosing Sources — when an API-sourced control is more appropriate than a plugin-sourced one.