st-tech / gatling-operator

Automating distributed Gatling load testing using Kubernetes operator
MIT License
68 stars 21 forks source link

Add daily vulnerability scan #100

Closed R-HNF closed 8 months ago

R-HNF commented 8 months ago

Description

I have updated three files for daily vulnerability scan.

  1. daily-vul-scan.yml
  2. README.md
  3. trivy-results.tpl

1. daily-vul-scan.yml

Add daily vulnerability scan workflow daily-vul-scan.yml using trivy-action created by the official Trivy team.

This is the result of a test run.

2. README.md

Add a badge to README.md to display the workflow results on the main branch.

Sample: image

The result is marked as failing due to vulnerabilities. ref. https://github.com/R-HNF/gatling-operator/tree/add_daily-vul-scan

3. trivy-results.tpl

Add a template trivy-results.tpl for writing out Trivy results to an issue.

This is the sample of a test run.


Checklist

Please check if applicable

Relevant issue #45