Open jorge-abarca opened 2 years ago
I made additional changes to the PR. Let me list what they are.
This PR addresses the following issues:
This PR also adds the following functionality:
critical
, high
and low
, as presented by GitHub's UI.summary
report shows the new severity classifications with their number of incidences.alerts
component has been created to be available for reports.report
template has been modified to include all open alerts grouped by severity.aggregated_report
template has been included to create less verbose reports showing the number of instances a rule was matched.Additionally, this PR has the following proposed development experience improvements:
Mocking is achieved by leveraging a mocking
directory inside samples
. JSON files representing the mocked responses for the paginate
and graphql
methods are used by testUtils.js
to provide this functionality.
This PR is meant to help with a partial implementation of handling the template parameter based on the work done by GeekMasher.
This includes a pretty basic report template that breaks open issues by severity. It also includes an action for updating the dist folder, as well as some PRs suggested by Dependabot.