jetstack / jetstack-secure

Open-source components of Jetstack Secure.

Home Page:https://venafi.com/jetstack-consult/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

input-data option should read data-readings from file not, the whole payload of the data-readings request.

j-fuentes opened this issue · comments

At the moment, when input-data is specified, the agent read the file and blindly sends its content to the server.

Instead of doing that, it should craft an actual DataReadingPost object. The content of the file is the source of DataReadings, not the source of all the payload.

Closing this as the issue is in fact solved. The program is already doing what we expected it todo: just reading and exporting DataReadings.