You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor issue, but something I noticed when copy/pasting the curl examples given by the Swagger API.
The curl command provided doesn't work with our public OCSF server, because it has a self-signed certificate. I had to add the -k switch to curl to get it to work:
Curl command: curl -X GET "https://event-schema.splunk.com/export/schema" -H "accept: application/json"
Yields:
curl -X GET "https://event-schema.splunk.com/export/schema" -H "accept: application/json" py rules-venv py base
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.se/docs/sslcerts.html
Adding the -k curl switch makes it return the expected results.
I am not sure this can be fixed or is worth fixing, but still wanted to raise it in case there is a way to reduce a minor annoyance for the community.
The text was updated successfully, but these errors were encountered:
Minor issue, but something I noticed when copy/pasting the
curl
examples given by the Swagger API.The curl command provided doesn't work with our public OCSF server, because it has a self-signed certificate. I had to add the
-k
switch tocurl
to get it to work:Curl command:
curl -X GET "https://event-schema.splunk.com/export/schema" -H "accept: application/json"
Yields:
Adding the
-k
curl switch makes it return the expected results.I am not sure this can be fixed or is worth fixing, but still wanted to raise it in case there is a way to reduce a minor annoyance for the community.
The text was updated successfully, but these errors were encountered: