You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
get_playbook_attacks and get_playbook_attacks_by_tags now default to Validate-scope,
published attacks, so the reported total matches the Playbook UI beside it. Two new optional
filters control the scope: test_type (validate default, propagate, or all) and include_drafts (default False). Both apply before pagination so the total self-corrects,
and both disclose what they excluded through hint_to_agent rather than hiding it silently. Behaviour change: the default result set narrows twice — a consumer asserting the old
merged total will see a different number. The schema stays compatible (both params optional)
test_type='all' renders a split total (Validate vs Propagate) and marks Propagate and draft
rows as unreachable from the Playbook. get_playbook_attack_details carries the same markers
Fixed
Two TypeError crashes on a null attack description in the playbook render blocks. A missing
API description arrives as None rather than absent, so dict.get's default never fired