Comments (3)
Thanks all for the replies! With your pointers I can see where all the info is I need now. Overall the docs feel a little disjointed and the local docs seem to not have enough info/examples to use stand alone. I'll open a PR if I can find any way to improve things.
Thanks again!
from assemblyline.
Thank you for reporting the broken link. It should be linked to here instead. This page is important to read whether you are using the Python client or any other tool as it will allow for better optimization.
Regarding the fact that we are missing the requirement for the "bin" key, you can find it in the page that you linked first:
For the metadata, those are currently used for the metadata section in the submission.
If you are looking for more information regarding the possible parameters, you should be able to find an updated list here as linked in the Python example.
We are currently adding new features that will allow some control on the metadata depending on the "type" parameter. Some documentation about it is in the works, which hopefully will answer a few other questions.
We do not often have people interacting with the system by writing their own tool instead of using the official python client. There is always more improvements to be done to documentation, so if you want to open a PR regarding what was unclear to you while reading the docs, we would be happy to look into it.
I will add a link to the Submission Params in the rest page, and fix the broken link in the Python page.
Hopefully that clarifies the first few things you looked at.
from assemblyline.
The API docs embedded in the application are even worse and are missing the fact that the binary file needs the key "bin" for submission to work.
The API docs for the /submit/ API do actually mention this in the notes when submitting a binary file:
Note 2:
If you are submitting a file directly, you should use multipart/form-data encoding as this
was done to reduce the memory footprint and speedup file transfers.
** Read documentation of mime multipart standard if your library does not support it**
The multipart/form-data for sending binary has two parts:
- The first part contains a JSON dump of the optional params and uses the name 'json'
- The last part conatins the file binary, uses the name 'bin' and includes a filename
from assemblyline.
Related Issues (20)
- Signature update services may not expose new signatures for workers immediately
- Unable to setup - Kibana keeps failing HOT 9
- Error: 504 Gateway-Timeout when all containers are up and healthy. HOT 5
- Add the possiblity to specify core-only secrets in the helm chart HOT 1
- Token-based Authentication to Azure Container Registry HOT 2
- Python code identified as text/plain HOT 4
- Identify pickle files
- Tag type text is cut-off when creating new badlist item
- Task pre-empted in Extract service due to TypeError HOT 2
- Allow enabling line wrapping in file preview
- Copy selected submission metadata when triggering re-analyse of a file
- TypeError on submitting an executable with metadata set HOT 3
- Config to lower level of heuristics EXTRACT.28 and EXTRACT.13
- Strack traces on are given to the user even when debugging is disabled HOT 1
- URL Downloader HTTP proxy support HOT 2
- Add fetch method configuration for UpdateSource HOT 1
- Make floss deep_scan limits configurable HOT 4
- Classification feature with standalone docker deployment ? HOT 2
- Priority seems to be off by 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assemblyline.