Some checks failed
Build and Test / build (debug, clang) (push) Has been cancelled
Build and Test / build (debug, gcc) (push) Has been cancelled
Build and Test / build (release, clang) (push) Has been cancelled
Build and Test / build (release, gcc) (push) Has been cancelled
Build and Test / docker (push) Has been cancelled
Wire the policy, feeds, containment, exec guard, behavior, governor, crash safety and event store into the daemon, detection pipeline, CLI and meson build (zstd now required); Dockerfile, conan, systemd unit (LimitCORE=0, resource limits) and installer updates; existing tests adapted (store paths are directories now). Detections are counted and notified even when evidence cannot be persisted (persist_failures in status). prevention_timeout_ms is clamped and behavior dedupe handles out-of-order events. Docs: API contract, developer guide, plan, UX, agent rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
2.5 KiB
Text
60 lines
2.5 KiB
Text
# Strawberry Security Scanner Configuration
|
|
|
|
# Database settings (leave empty for XDG default: ~/.local/share/strawberry/database.db)
|
|
db_path=
|
|
|
|
# YARA settings
|
|
yara_rules_path=/etc/strawberry/rules
|
|
# Refuse to start if no rules compile (a scanner without rules detects nothing)
|
|
require_rules=true
|
|
|
|
# Daemon settings
|
|
daemonize=false
|
|
# pid_file/log_file are not implemented yet; under systemd, logs go to the journal
|
|
pid_file=/run/strawberry.pid
|
|
log_file=
|
|
|
|
# Monitoring settings
|
|
# (prefers libbpf exec tracepoints on supported Linux builds and otherwise falls back to procfs polling)
|
|
enable_bpf_monitoring=true
|
|
# Scan processes that are already running at startup (both backends).
|
|
scan_existing_processes_on_start=true
|
|
|
|
# Control socket used by the desktop app, the CLI (--status, --rescan, ...)
|
|
# and strawberry-mcp. Members of control_group may connect.
|
|
control_socket_path=/run/strawberry/control.sock
|
|
control_group=strawberry
|
|
# Largest file an on-demand scan (scan-fd / strawberry_scan_paths) will read.
|
|
scan_max_bytes=67108864
|
|
# Largest executable image read for a process scan (larger ones are counted
|
|
# as images_too_large and skipped).
|
|
process_scan_max_bytes=268435456
|
|
|
|
# Rule feeds + allowlist live next to the database by default
|
|
# (/var/lib/strawberry/policy.json and /var/lib/strawberry/feeds/), and are
|
|
# managed from the desktop app (Rules / Allowlist tabs) or `strawberry --policy-set`.
|
|
policy_path=
|
|
feeds_dir=
|
|
# Optional root-only file with a GitHub token: raises the GitHub API limit the
|
|
# rule updater uses from 60 to 5000 requests/hour (only needed on shared IPs).
|
|
github_token_file=
|
|
|
|
# Resource governor: how hard Strawberry may work on this machine.
|
|
# efficient - laptops / busy desktops: 1 scan worker, 16 MB/s background
|
|
# reads, exec checks fall back to hash/IOC-only when busy
|
|
# balanced - default
|
|
# aggressive - servers with spare capacity: no read pacing, never degrades
|
|
# Background work (startup inventory, rescans, memory scans, correlation,
|
|
# rule reloads) waits while the host is under pressure (PSI) and always runs
|
|
# at least once per background_max_deferral_s. Program launches are never
|
|
# delayed by the governor.
|
|
scan_profile=balanced
|
|
# Per-scan YARA timeout in seconds (0 = profile: 5 / 10 / 30).
|
|
scan_timeout_seconds=0
|
|
# How often the governor samples CPU, memory and pressure (ms).
|
|
governor_tick_ms=1000
|
|
# Background read budget in MiB/s (0 = profile, -1 = unlimited).
|
|
max_scan_rate_mb_s=0
|
|
background_max_deferral_s=300
|
|
# Daemon memory budget in MiB (0 = profile; capped by the systemd MemoryMax).
|
|
memory_budget_mb=0
|