name: test-hooks-flow kind: flow description: Test flow with pre/post scan hooks tags: test,hooks,flow params: - name: target required: true hooks: pre_scan_steps: - name: flow-pre-init type: bash command: echo "[FLOW-HOOK-PRE] Initializing flow for {{Target}}" post_scan_steps: - name: flow-post-cleanup type: bash command: echo "[FLOW-HOOK-POST] Flow completed for {{Target}}" modules: - name: hooks-inline-module steps: - name: inline-step type: bash command: echo "[FLOW-MODULE] Inline module executed for {{Target}}"