Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
cloud-drizzle

GitHub Action

GitHub Advanced Security API to CSV

v0.1.1

GitHub Advanced Security API to CSV

cloud-drizzle

GitHub Advanced Security API to CSV

Grab code and secret scanning data from the GitHub Advanced Security API and put it into a CSV file

Installation

Copy and paste the following snippet into your .yml file.

              

- name: GitHub Advanced Security API to CSV

uses: advanced-security/ghas-to-csv@v0.1.1

Learn more about this action in advanced-security/ghas-to-csv

Choose a version

GitHub Advanced Security to CSV

Simple GitHub Action to scrape the GitHub Advanced Security API and shove it into a CSV.

Why?

Because I really want to see this data for a repository as a time-series to understand it, and flat data doesn't support paginated APIs (yet?) ... so ... it's really an experiment.

Also ... some people just like CSV files and want to do things in spreadsheets and I'm not here to judge that. Shine on, you Excel gurus! :sparkling:

How

This got a little more complicated than I'd like, but the tl;dr of what I'm trying to figure out is below:

graph TD
    A(GitHub API) -->|this Action| B(fa:fa-file-csv CSV files)
    B -->|actions/upload-artifact| C(fa:fa-github GitHub)
    C -->|download| D(fa:fa-file-csv CSV files)
    C -->|flat-data| E(fa:fa-chart-line data awesomeness)
Loading

Obviously if you're only wanting the CSV file, run this thing, then download the artifacts. You're ready to rock and roll. :)

But it doesn't do THIS THING

The API docs are here and pull requests are welcome! ❤️