Skip to content

[TI Recorded Future] Request gzip compressed CSV #6011

Open
@andrewkroh

Description

@andrewkroh

It's terribly inefficient to request uncompressed CSV data from the API. The integration sets gzip=false. As a result the integration transfers 114M when it could transfer 8.3M. If the httpjson input can accept it then we should switch to gzip=true.

request.url: "{{ endpoint }}/{{ entity }}/risklist?format=csv/splunk&gzip=false&list={{ list }}"

-rw-r--r--    1 akroh  staff   114M Apr 26 22:06 hash.csv
-rw-r--r--    1 akroh  staff   8.3M Apr 26 22:07 hash.csv.gz

A system test should be added. And we should run a test against the real API.

References

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions