Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudShark integration needs to use API token #7

Open
zachad opened this issue Sep 23, 2015 · 1 comment
Open

CloudShark integration needs to use API token #7

zachad opened this issue Sep 23, 2015 · 1 comment

Comments

@zachad
Copy link

zachad commented Sep 23, 2015

Hi, I'm the lead dev for CloudShark and just came across this project. Thanks so much for the integration! I noticed that you're using an unsupported API to do the uploading to CloudShark. We now require users to log-in before uploading, and provide an API token if you'd like to import directly via curl in this manner.

You may have noticed that CloudShark uploads have stopped working recently.

The offending line:

JSON_STATUS=`curl --cacert /usr/lib/cdns/cacert.pem -H "Origin: https://appliance.cloudshark.org" -F "capture[upload]=@${DUMP_FILE}.0" https://www.cloudshark.org/captures.json`

You should switch it to our official API call, and use curl with a PUT as described here: https://support.cloudshark.org/api/upload.html#toc_10

Please do NOT configure a static API token in the github repo. Individual users should sign up for their own private account and configure their own private token after installation.

If you have any questions, we'd be happy to help you out!

@wojtekerbetowski
Copy link

Thanks @zachad for noticing it. We should be able to fix that soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants