Skip to content

CloudShark integration needs to use API token #7

@zachad

Description

@zachad

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions