scripts/

directory
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0

README

install.sh (idempotent, installs nmap/opencanary from the OS repository, systemd/OpenRC). Not there yet.

release/: the release build tool (Go): go run ./scripts/release cosign-plan|manifest|index|sign|verify, through make release-*; release/minisign.sh prints the path of the pinned minisign (downloads it if missing).

dev/orphan-reaper.sh: stops orphaned test/dev processes that overload the machine (Playwright, headless Chromium, vitest, go test binaries and golangci-lint at once; vite that has been orphaned for more than 2 hours); it looks at the root of the tree: it climbs from a matching process through launchers (pnpm/npm/npx/yarn/tsx/vite...) to the root, and the whole tree is stopped when the root's parent is init/launchd or systemd --user (a generic shell/node is never climbed through); the test dev/orphan-reaper-test.sh (run in make verify-go-static); make reaper-install installs it to run every 10 minutes (macOS launchd, Linux systemd user), log ~/Library/Logs/vedette-orphan-reaper.log.

dev/home-summary-measure.sh: measures Home on a real box: GET /findings/overview and the three lists Home would otherwise read (p50/p95/max ms, bytes, N runs; COLD=k adds k computations after the 60 s TTL), and the RSS of core before/after the run on the box itself; BASE=https://127.0.0.1:8443 EMAIL=… N=50 scripts/dev/home-summary-measure.sh (the password is prompted for or given in PASSWORD, a viewer account is enough). Page load: web/e2e/qa/home-load.mjs. RSS is comparable only when the box is quiet (no feed pull running).

Directories

Path Synopsis
Package main is the CI helper: `ci changes` decides which of the go and web jobs a pull request needs, `ci shard I N` prints the I-th of N stable, disjoint, complete package shards for `go test` (on a pull request only the shard's packages the change reaches).
Package main is the CI helper: `ci changes` decides which of the go and web jobs a pull request needs, `ci shard I N` prints the I-th of N stable, disjoint, complete package shards for `go test` (on a pull request only the shard's packages the change reaches).
dev
syslogpeer command
Command syslogpeer is the helper of `make syslog-ports-check` (scripts/dev/syslog-ports-check.sh): a listener that prints the address every UDP datagram and TCP connection came from, and a sender.
Command syslogpeer is the helper of `make syslog-ports-check` (scripts/dev/syslog-ports-check.sh): a listener that prints the address every UDP datagram and TCP connection came from, and a sender.
Command hostlicenses writes the third-party license file that the vedette-host .deb ships as /usr/share/doc/vedette-host/third-party-licenses: the Go license for the standard library and runtime that the static binary contains, then the license files of every module linked into ./cmd/vedette-host (the main module included), found with `go list -deps` in the module cache.
Command hostlicenses writes the third-party license file that the vedette-host .deb ships as /usr/share/doc/vedette-host/third-party-licenses: the Go license for the standard library and runtime that the static binary contains, then the license files of every module linked into ./cmd/vedette-host (the main module included), found with `go list -deps` in the module cache.
Command noticescheck holds THIRD_PARTY_NOTICES.md to what the project ships.
Command noticescheck holds THIRD_PARTY_NOTICES.md to what the project ships.
Command oui builds content/oui/oui.tsv.gz, the table that turns the first bits of a MAC address into the name of the company the IEEE registered them to.
Command oui builds content/oui/oui.tsv.gz, the table that turns the first bits of a MAC address into the name of the company the IEEE registered them to.
Command release is the release builder: it turns a release description, the built image digests, the cosign signatures and the previous release into the documents the box verifies (release-manifest.json, index.json), signs them with the pinned minisign tool, and verifies the result with the box-side verifier (internal/release) before anything is published.
Command release is the release builder: it turns a release description, the built image digests, the cosign signatures and the previous release into the documents the box verifies (release-manifest.json, index.json), signs them with the pinned minisign tool, and verifies the result with the box-side verifier (internal/release) before anything is published.
Command scanpack builds the safe nuclei template pack that the signed `scan` image carries: the templates of the KEV sets (tags kev, vkev) that are plain http, tcp or ssl checks for exactly one CVE, copied byte for byte, and the index (modules/scan/pack) that core reads to choose them and the worker reads to check them.
Command scanpack builds the safe nuclei template pack that the signed `scan` image carries: the templates of the KEV sets (tags kev, vkev) that are plain http, tcp or ssl checks for exactly one CVE, copied byte for byte, and the index (modules/scan/pack) that core reads to choose them and the worker reads to check them.
Command testchannel makes the TEST release that `make install-artifacts` hands to `install.sh --test-artifacts` .
Command testchannel makes the TEST release that `make install-artifacts` hands to `install.sh --test-artifacts` .
Command trivyignore checks the committed exceptions of the vulnerability gate.
Command trivyignore checks the committed exceptions of the vulnerability gate.
Command weblicenses writes the third-party license file of the web interface that the core image carries (Apache-2.0 4(a), MIT).
Command weblicenses writes the third-party license file of the web interface that the core image carries (Apache-2.0 4(a), MIT).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL