How to use your functionality to convert the json result I have to csv? #17
-
I wrote python code to output code scanning alerts from all repositories under our Org. Now how do I use this functionality to convert JSON to CSV? Where can I pass my response json? ` def write_repo_cs_list(cs_list):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @PrathikshaBallal , you can just use the Action as directed in the README.md file. It uploads a CSV as a workflow artifact. If you're wanting to do your own parsing of the API, the docs are here and the docs for Python's CSV library are here. Cheers! |
Beta Was this translation helpful? Give feedback.
Hey @PrathikshaBallal , you can just use the Action as directed in the README.md file. It uploads a CSV as a workflow artifact. If you're wanting to do your own parsing of the API, the docs are here and the docs for Python's CSV library are here. Cheers!