S-TAP and inspection engine APIs