Dev#5
Merged
Merged
Conversation
…ug fixes
conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.
Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.
Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.
Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
always failed silently; added expand_firefox_profiles() to find
places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
ignored; now returns Result and propagates errors
PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.
79 tests passing.
…ug fixes
conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.
Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.
Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.
Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
always failed silently; added expand_firefox_profiles() to find
places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
ignored; now returns Result and propagates errors
PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.
79 tests passing.
…ug fixes
conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.
Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.
Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.
Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
always failed silently; added expand_firefox_profiles() to find
places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
ignored; now returns Result and propagates errors
PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.
79 tests passing.
…ug fixes
conan scan --diff: git-aware incremental codebase scanning persists
commit hash + mtimes to ~/.conan/scan_state.json; uses git diff
--name-only when in a repo, falls back to mtime comparison otherwise.
CodebaseIngestor gains with_filter(HashSet<PathBuf>) to restrict which
files are walked.
Signature auto-update schedule: new sig_updater module with
SigUpdateState (sig_update_state.json), fetch_and_write() shared with
, and maybe_update() called each daemon cycle.
New subcommand
reads/writes config.toml. ConanConfig gains save() and SigConfig gains
auto_update + update_interval_hours fields.
Policy scoring: PolicyRule gains min_score and score_override fields;
Policy gains thresholds { block, warn } for score-based fallback after
rule evaluation. evaluate() now accepts score: u8 and returns
(action, matched_rule_id, score_override). Finding gains with_policy()
builder and policy_action + matched_rule fields. Analyzer wires policy
evaluation into every finding. default.toml updated with block/warn
thresholds and block-critical-score rule.
Bug fixes:
- XSS in report.rs html_from_values(): service/detail/ts were inserted
raw into HTML; added html_escape()
- browser.rs: Firefox profile path was a directory — std::fs::copy
always failed silently; added expand_firefox_profiles() to find
places.sqlite files and uses correct moz_places query
- browser.rs: fixed temp file name collision between concurrent scans
by appending process ID
- registry.rs load_from_dir(): hard-failed on first bad YAML; now logs
and continues
- sig_updater fetch_and_write(): per-file status was tracing-only;
restored eprintln! output visible without RUST_LOG
- webhook.rs: unnecessary Finding clone just for .len(); replaced with
captured count
- daemon_cmd.rs terminate_process(): libc::kill() return value was
ignored; now returns Result and propagates errors
PR/issue templates, GitHub Action (action.yml) added.
README updated: new commands (--diff, --pcap-*, sarif output,
signatures schedule), accurate config.toml reference, policy scoring
docs, project structure, roadmap replaced with future feature ideas.
79 tests passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.