Is it possible to upload multiple JMX ZIPs for an environment using a single curl command? If yes, what is the format? I tried
-F "firstname.lastname@example.org;type=application/zip" -F "file=@custom.OSFileDescriptors.zip;type=application/zip"
Does not work. Also tried
Does not work either.
Solved! Go to Solution.
As far as I know there is no way to upload multiple plugins in a single request. You have to upload each plugin definition in a separate request.
Here is the question - how can I speed up the upload/remediation?
I have a list of 10 plugins. And I have a list of 700 tenants missing these plugins. Calling API 7000 times takes 3 hours. Yes, my script has measured it.
I need to do it in less than 10 minutes. How can I do it?
You will have to rewrite your scripts to do the requests in parallel. You can issue multiple requests in parallel.
I'd recommend to read this blog post to get inspired: