Skip to content

Vultron Case State Behaviors

vultron.bt.case_state.conditions

This module defines CVD Case State conditions as Behavior Tree nodes.

cs_in_state_attacks_observed(obj)

True when attacks against the vulnerability have been observed

cs_in_state_exploit_public(obj)

True when an exploit is public for the vulnerability

cs_in_state_fix_deployed(obj)

True when the fix has been deployed

cs_in_state_fix_ready(obj)

True when the vendor has a fix ready

cs_in_state_public_aware(obj)

True when the public is aware of the vulnerability

cs_in_state_vendor_aware(obj)

True when the vendor is aware of the vulnerability

vultron.bt.case_state.transitions

This module defines the CVD Case State Machine as a Behavior Tree.

cs_state_change(name, target_state)

Factory function to create a class for transitioning to a new CS state.

Parameters:

Name Type Description Default
name str

the name of the class

required
target_state str

the target state shorthand for the transition (V,F,D,P,X,A)

required

Returns:

Type Description
type[ActionNode]

A class for transitioning to the given state