Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support Gitlab SAST report-type #280

Open
danniehansen opened this issue Aug 5, 2022 · 2 comments
Open

[Feature] Support Gitlab SAST report-type #280

danniehansen opened this issue Aug 5, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@danniehansen
Copy link

We've recently started using audit-ci in our pipelines. For the tool semgrep that we use, they can output a Gitlab SAST compatible reporting format that GitLab can understand and integrate into its UI. Would be really cool to have similar reporting supporting with audit-ci.

I'm more than willing to write this reporter support into the repository if people feel like this could be valuable.

Gitlab SAST reporting schema: https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/blob/master/dist/sast-report-format.json

@quinnturner quinnturner added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 16, 2022
@doricci
Copy link

doricci commented Jan 23, 2023

I don't know if it can help but for that we are using a separate npm module @elpete/gitlab-npm-audit-parser after the audit.json report is generated.

Maybe it's possible to integrate the parser module directly to the audit-ci module?

@quinnturner
Copy link
Member

quinnturner commented Jan 23, 2023

Hi @doricci, I have two ideas for this:

  1. I have a WIP PR [BREAKING] feat: Improved scripting support and TypeScript tests #297 that attempts to improve the programmatic usage of audit-ci vastly. That way, you can use it as a library and pipe the result to any parser you want.
  2. With the improvement of its programmatic usage of audit-ci, we could add it as a first-party output format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants