suricata acme_sync: improved http response code handling
parent
adefdaf137
commit
a665e2d13c
|
@ -67,7 +67,7 @@ define k8s_api
|
||||||
--include \
|
--include \
|
||||||
--request $(1) \
|
--request $(1) \
|
||||||
--write-out "%{http_code}" \
|
--write-out "%{http_code}" \
|
||||||
--output /dev/stderr \
|
--output /dev/null \
|
||||||
--cacert "$(K8S_CA_FILE)" \
|
--cacert "$(K8S_CA_FILE)" \
|
||||||
--header "Authorization: Bearer $(K8S_TOKEN)" \
|
--header "Authorization: Bearer $(K8S_TOKEN)" \
|
||||||
--header 'Accept: application/json' \
|
--header 'Accept: application/json' \
|
||||||
|
|
Loading…
Reference in New Issue