Documentation
¶
Overview ¶
Package modules embeds every module's MANIFEST.yaml so the binary can load them with core/modreg without reading the source tree at run time. cmd/vedette passes Manifests to the registry; core never imports this package (FORBID-2).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Manifests embed.FS
Manifests holds <module>/MANIFEST.yaml for every folder of modules/, including the _template (the registry skips folders that start with an underscore).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentintake is the agent-intake module: Vedette as the TLS server of osquery.
|
Package agentintake is the agent-intake module: Vedette as the TLS server of osquery. |
|
Package ai is the library behind the AI assistant module: provider profiles, per-job routing with fallback, the token meter, the hook runner, the read-only tool filter, prompt assembly and the hash-chained activity log.
|
Package ai is the library behind the AI assistant module: provider profiles, per-job routing with fallback, the token meter, the hook runner, the read-only tool filter, prompt assembly and the hash-chained activity log. |
|
provider
Package provider talks to LLM providers (Anthropic Messages, OpenAI Chat Completions, Google Gemini generateContent) behind one small interface.
|
Package provider talks to LLM providers (Anthropic Messages, OpenAI Chat Completions, Google Gemini generateContent) behind one small interface. |
|
Package authoidc is the auth-oidc module (S-CORE-3): sign-in through an OpenID Connect identity provider with the authorization code flow and PKCE.
|
Package authoidc is the auth-oidc module (S-CORE-3): sign-in through an OpenID Connect identity provider with the authorization code flow and PKCE. |
|
Package core is the always-on core module: its migrations and contract tests.
|
Package core is the always-on core module: its migrations and contract tests. |
|
Package exposure is the external-exposure module (S-EXP-1, modules/exposure/CONTRACT.md): it proves ownership of a domain (DNS TXT) or of the box's public IPs (found by the box itself through three public services), takes the commitment, and keeps the daily snapshots of what the Internet sees.
|
Package exposure is the external-exposure module (S-EXP-1, modules/exposure/CONTRACT.md): it proves ownership of a domain (DNS TXT) or of the box's public IPs (found by the box itself through three public services), takes the commitment, and keeps the daily snapshots of what the Internet sees. |
|
Package feeds is the pure library behind the feeds module: parsing of untrusted feed data, boundary validation, the HTTP fetcher, scheduling rules and the IOC verdict.
|
Package feeds is the pure library behind the feeds module: parsing of untrusted feed data, boundary validation, the HTTP fetcher, scheduling rules and the IOC verdict. |
|
Package findings holds the pure logic of the findings module: CPE and version handling, matching KEV entries against an asset's software, and the finding lifecycle.
|
Package findings holds the pure logic of the findings module: CPE and version handling, matching KEV entries against an asset's software, and the finding lifecycle. |
|
findingstest
Package findingstest helps tests that store findings without the inventory module: fnd_finding and fnd_question have real foreign keys to inventory's device and software line tables, and such tests describe devices only through fake ports.
|
Package findingstest helps tests that store findings without the inventory module: fnd_finding and fnd_question have real foreign keys to inventory's device and software line tables, and such tests describe devices only through fake ports. |
|
Package honeypot is the honeypot module: decoy services (SMB, RDP, SSH, MSSQL, HTTP), decoy devices and honey tokens on a secondary IP of the box, and the hits they catch (S-HP-1, S-HP-2).
|
Package honeypot is the honeypot module: decoy services (SMB, RDP, SSH, MSSQL, HTTP), decoy devices and honey tokens on a secondary IP of the box, and the hits they catch (S-HP-1, S-HP-2). |
|
Package ids is the intrusion detection module: alerts of IPS and IDS events and their link to the vulnerabilities of the attacked device (S-IDS-1).
|
Package ids is the intrusion detection module: alerts of IPS and IDS events and their link to the vulnerabilities of the attacked device (S-IDS-1). |
|
Package inventory is the inventory module: the list of devices and software on the network, declared by hand, imported from CSV, or fed by sensors and agents through core/observe, with a source and a confidence on every value (S-INV-1, 2, 3, 5).
|
Package inventory is the inventory module: the list of devices and software on the network, declared by hand, imported from CSV, or fed by sensors and agents through core/observe, with a source and a confidence on every value (S-INV-1, 2, 3, 5). |
|
Package logs receives, stores and searches the logs of the customer's devices.
|
Package logs receives, stores and searches the logs of the customer's devices. |
|
listen
Package listen receives syslog from the customer's devices over UDP and TCP and hands it to a Sink in batches.
|
Package listen receives syslog from the customer's devices over UDP and TCP and hands it to a Sink in batches. |
|
signature
Package signature turns a received log line into the short, stable text that the digest counts ("signature") and, where the device's format is known, the address it was aimed at.
|
Package signature turns a received log line into the short, stable text that the digest counts ("signature") and, where the device's format is known, the address it was aimed at. |
|
Package mcpserver is the read-only MCP server of the box (S-MCP-1, modules/mcp-server/CONTRACT.md): external agents and SIEMs look up devices, findings and the vulnerability feeds with scoped, revocable tokens, over MCP's Streamable HTTP transport on a loopback address.
|
Package mcpserver is the read-only MCP server of the box (S-MCP-1, modules/mcp-server/CONTRACT.md): external agents and SIEMs look up devices, findings and the vulnerability feeds with scoped, revocable tokens, over MCP's Streamable HTTP transport on a loopback address. |
|
Package mitigation is the "What to do" part of a finding: confirmed packs loaded from a signed update, the "Applied" log, the compromise indicators and the AI explanation.
|
Package mitigation is the "What to do" part of a finding: confirmed packs loaded from a signed update, the "Applied" log, the compromise indicators and the AI explanation. |
|
Package notify is the library part of the notify module: delivery rules as pure functions (severity filter, quiet hours, grouping), the notice model, the send record and the email approval tokens.
|
Package notify is the library part of the notify module: delivery rules as pure functions (severity filter, quiet hours, grouping), the notice model, the send record and the email approval tokens. |
|
channel
Package channel holds the notification channel adapters of the notify module (Slack, Telegram, email over SMTP, Zalo OA, generic webhook, Zalo personal).
|
Package channel holds the notification channel adapters of the notify module (Slack, Telegram, email over SMTP, Zalo OA, generic webhook, Zalo personal). |
|
Package reports is the reports module (S-REP-1, S-REP-2, modules/reports/CONTRACT.md): the one-page weekly report, sent by email on a schedule through notify, and the personal-data-protection self-assessment under Law 91/2025/QH15 and Decree 356/2025/NĐ-CP.
|
Package reports is the reports module (S-REP-1, S-REP-2, modules/reports/CONTRACT.md): the one-page weekly report, sent by email on a schedule through notify, and the personal-data-protection self-assessment under Law 91/2025/QH15 and Decree 356/2025/NĐ-CP. |
|
Package response is the response module: the execution switch, the action catalog, rules and the engine, requests and approvals in the app, the box actions (block list, message, webhook) and the hash-chained log.
|
Package response is the response module: the execution switch, the action catalog, rules and the engine, requests and approvals in the app, the box actions (block list, message, webhook) and the hash-chained log. |
|
Package scan is the vulnerability-scan module (S-SCAN-1..4, modules/scan/CONTRACT.md): it confirms exploited vulnerabilities with safe nuclei templates on devices inside the confirmed scope, inside the time window, at the rate and with the exclusions the admin set, and keeps the probe log.
|
Package scan is the vulnerability-scan module (S-SCAN-1..4, modules/scan/CONTRACT.md): it confirms exploited vulnerabilities with safe nuclei templates on devices inside the confirmed scope, inside the time window, at the rate and with the exclusions the admin set, and keeps the probe log. |
|
commonports
Package commonports is the fixed list of TCP ports Vedette always probes on the box's own public IP: the scan module's surface scan connects to each of them (and reads web titles and certificates there), and sensor-active's external nmap shape reads all of them in its first -sV batches, next to nmap's own most common ports its discovery probed (nmapargv.External).
|
Package commonports is the fixed list of TCP ports Vedette always probes on the box's own public IP: the scan module's surface scan connects to each of them (and reads web titles and certificates there), and sensor-active's external nmap shape reads all of them in its first -sV batches, next to nmap's own most common ports its discovery probed (nmapargv.External). |
|
nucleiargv
Package nucleiargv builds and checks the only nuclei command line Vedette ever runs.
|
Package nucleiargv builds and checks the only nuclei command line Vedette ever runs. |
|
nucleiout
Package nucleiout reads what the worker's nuclei run printed (-jsonl -ms) into results core can trust ( INV-8, INV-10).
|
Package nucleiout reads what the worker's nuclei run printed (-jsonl -ms) into results core can trust ( INV-8, INV-10). |
|
pack
Package pack reads the index of the safe nuclei template pack: the list of templates the signed scan image carries, built at release time with the pack.
|
Package pack reads the index of the safe nuclei template pack: the list of templates the signed scan image carries, built at release time with the pack. |
|
surface
Package surface is the external-surface scan of the scan module, the exposure.Runner behind "Scan now" of External exposure (S-EXP-1).
|
Package surface is the external-surface scan of the scan module, the exposure.Runner behind "Scan now" of External exposure (S-EXP-1). |
|
Package sensoractive is the sensor-active module: active device discovery with nmap and read-only SNMP, only inside the customer's confirmed LAN scope, time window and speed limit (S-INV-1, S-SCAN-4).
|
Package sensoractive is the sensor-active module: active device discovery with nmap and read-only SNMP, only inside the customer's confirmed LAN scope, time window and speed limit (S-INV-1, S-SCAN-4). |
|
internal/snmptest
Package snmptest is a fake SNMP agent on loopback for the tests of the worker and of core's SNMP round: no test sends a packet to a real device.
|
Package snmptest is a fake SNMP agent on loopback for the tests of the worker and of core's SNMP round: no test sends a packet to a real device. |
|
nmapargv
Package nmapargv builds and checks the only eleven nmap command lines Vedette ever runs.
|
Package nmapargv builds and checks the only eleven nmap command lines Vedette ever runs. |
|
worker
Package worker is the worker of the scan container (`vedette-sensor active`, sensor-protocol.md section 6.4).
|
Package worker is the worker of the scan container (`vedette-sensor active`, sensor-protocol.md section 6.4). |
|
worker/workertest
Package workertest holds what tests of the worker and of the Dispatcher share for the nuclei job: a template pack on disk with its index, and a fake nuclei (a shell script run through the real core/exec).
|
Package workertest holds what tests of the worker and of the Dispatcher share for the nuclei job: a template pack on disk with its index, and a fake nuclei (a shell script run through the real core/exec). |
|
Package sensorpassive is the core half of the passive discovery module (S-INV-1, S-INV-3, S-LOG-4).
|
Package sensorpassive is the core half of the passive discovery module (S-INV-1, S-INV-3, S-LOG-4). |
|
capture
Package capture is the capture half of the passive discovery module: the part that runs in the sensor container (vedette-sensor passive).
|
Package capture is the capture half of the passive discovery module: the part that runs in the sensor container (vedette-sensor passive). |
|
internal/pktgen
Package pktgen builds small hand-made packets and recordings for the tests of sensor-passive.
|
Package pktgen builds small hand-made packets and recordings for the tests of sensor-passive. |