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

App creator not handling multipart/form-data content-type #1377

Open
valpet93 opened this issue Apr 30, 2024 · 0 comments
Open

App creator not handling multipart/form-data content-type #1377

valpet93 opened this issue Apr 30, 2024 · 0 comments

Comments

@valpet93
Copy link

Shuffle (Cloud and on-premise) is not able to properly create an app. It cannot handle an OpenAPI standard, concerning requestBody. Indeed, importing the official .yml OpenAPI of FireEye AX, available here, paths, such as /urls, are not correctly imported.
This could be due to not recognising of multipart/form-data content type

Steps to reproduce the behavior:

  1. create app from file
  2. upload the file
  3. Check /urls action

I'm expecting the output to be something like this:

        curl --location --request POST 'https://<fe-ax>/urls' \
        --header 'feye-auth-key: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ...3NDh9.XuADzMOS0G-jOwmx9AVVudhsTxC7tUkEYBMQyj18kP0' \
        --form 'urls=["http://s.securefileshares.com/2513501.doc/8e5aa3/e08d1cea-fdb4-4a50-8b19-095c0d47757c/?"]'

BUT I have this (shuffle_request_curl):

curl -XPOST https://<my_ip>/urls \
-d '{"urls": "['http://www.example.com','www.google.com']", "force_analyze": false, "analysis_mode": "live", "profiles": ["win7x64-sp1m", "win7-sp1m", "winxp-sp3m", "win10x64m", "centos-7.2", "osx-10.8.2", "osx-10.11.3"], "enable_prefetch": false}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant