capa/scripts
Willi Ballenthin eb81901d71 fix: correct capa/subscope-rule key in RuleMetadata.from_capa
`RuleMetadata.from_capa` used `rule.meta.get("capa/subscope", False)` and
`Field(False, alias="capa/subscope")`, but the actual key set by
`_extract_subscope_rules_rec` is `"capa/subscope-rule"`. This caused
`is_subscope_rule` to always be `False` in every `RuleMetadata` instance,
making downstream filters in `render/utils.py`, `render/vverbose.py`, and
`scripts/import-to-ida.py` ineffective (though subscope rules are already
excluded from `ResultDocument` before reaching those callers).
2026-05-08 17:58:07 +02:00
..
bulk-process.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
cache-ruleset.py
capa-as-library.py
capa2sarif.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
capa2yara.py
capafmt.py
compare-backends.py
detect-backends.py
detect-binexport2-capabilities.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
detect-elf-os.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
detect_duplicate_features.py
import-to-bn.py fix: correct capa/subscope-rule key in RuleMetadata.from_capa 2026-05-08 17:58:07 +02:00
import-to-ida.py
inspect-binexport2.py
lint.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
linter-data.json
match-function-id.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
minimize_vmray_results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
profile-memory.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
profile-time.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
proto-from-results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
proto-to-results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
setup-linter-dependencies.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
show-capabilities-by-function.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
show-features.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
show-unused-features.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00