[DF-4223] Add flags for get stack