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

Support SARIF output format #28

Merged
merged 10 commits into from
Nov 17, 2023
Merged

Support SARIF output format #28

merged 10 commits into from
Nov 17, 2023

Conversation

giovannism20
Copy link
Contributor

Solves issue #11

dependabot bot and others added 6 commits November 13, 2023 12:01
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tation are correct now but still with some problems
@giovannism20 giovannism20 changed the base branch from main to develop November 16, 2023 17:40
now we maintain the actual output of the tool but in case the user pass --sarif with a string for filename we will create the corresponding file with the output at this file in sarif
@htrgouvea htrgouvea merged commit 77d4982 into htrgouvea:develop Nov 17, 2023
2 of 3 checks passed
htrgouvea added a commit that referenced this pull request Nov 20, 2023
* Feat/add makefile (#21)

* develop

* release/0.0.6

* feat: add Dockerized build and run support

- Added Makefile for Dockerized application
- Defined Docker image and version variables
- Included Docker commands for build, run, exec, stop, clean, and rebuild

Why: Facilitate easy development, testing, and deployment using Docker.

* test perl critic

* test perl critic

* fix

* syntax

* identation

* add path

* identation

* test

* test of rule

* fix

* remove examples

* remove rules

* fix code

* new policies

* fix linter errors

* update version to 0.0.6

* Support SARIF output format #11  (#27)

* feat!: support of SARIF output format when "--sarif" option is passed as a parameter

BREAKING CHANGES:

recieves "--sarif" as a parameter 

stores the subset of information present on ZARN to generate SARIF output

function to generate SARIF output

* feat!: support "--sarif" option for outputs of this type

* fix: variables declaration, SARIF generation

* update workflows

* Support SARIF output format (#28)

* Bump actions/checkout from 2 to 4 (#26)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* initializing sarif output format and some refactor on ast file

* update the command description

* commiting code changes to make checkpoint - most part of the implementation are correct now but still with some problems

* support sarif output format

* perlcritic update

* solve merge problems

* remove unused method

* some changes

now we maintain the actual output of the tool but in case the user pass --sarif with a string for filename we will create the corresponding file with the output at this file in sarif

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added JSON as a dependencie

* update version

* starting refactoring

* added example of sarif command

* adjusts on style code

* return to privsec version

* fix linter warnings

* rename

* update version

* fix syntax

* rename SARIF to Sarif

* fix

* fixes to be a valid sarif file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Anderson Bosa <andersonbosa0@gmail.com>
Co-authored-by: Heitor Gouvêa <htrgouvea@Heitors-MacBook-Pro.local>
Co-authored-by: priv <140729444+scriptprivate@users.noreply.github.com>
Co-authored-by: Giovanni Martins <giovannimartins2000@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants