salt-netapi-client icon indicating copy to clipboard operation
salt-netapi-client copied to clipboard

Allow setting custom lowstate data on startCommand

Open lukasraska opened this issue 6 years ago • 0 comments

Currently, SaltClient.startCommand sets fixed lowstate data sent towards API, which limits the usage in certain way.

Following usecase specifies the needs for this. As Job cache method prep_jid can accept passed_jid via lowstate data, users / systems might be able to craft custom JID before actual job execution, thus bypassing several race conditions when JID wasn't known prior to actual execution.

lukasraska avatar Nov 01 '17 17:11 lukasraska