YAML examples for StackHawk CLI
Run StackHawk security scan
yaml- action: "StackHawk security scan" type: "STACK_HAWK_CLI" integration: "stackhawk_integration" shell: "SH" commands: hawk scan stackhawk.yml
Value: STACK_HAWK_CLI
SH,BASH,POWERSHELLON_EVERY_EXECUTION,ON_FAILURE,ON_BACK_TO_SUCCESS,ON_WARNING,ON_WAIT_FOR_APPROVE,ON_TERMINATEConstraints: ≤ 10
WAIT_ON_SUCCESS,IN_SOFT_PARALLEL,IN_HARD_PARALLELLast modified on Oct 12, 2026
yaml- action: "StackHawk security scan" type: "STACK_HAWK_CLI" integration: "stackhawk_integration" shell: "SH" commands: hawk scan stackhawk.yml