Skip to content

Commit bedbe03

Browse files
authored
Merge branch 'main' into gofumpt
2 parents 1677302 + 2322ef0 commit bedbe03

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/trivy.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Trivy
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
schedule:
8+
- cron: '55 17 * * 5'
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
image-scan:
15+
permissions:
16+
contents: read # for actions/checkout to fetch code
17+
name: Image Scan
18+
runs-on: ubuntu-22.04
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
22+
23+
- name: Build an image from Dockerfile
24+
run: |
25+
IMAGE=envoy-proxy/gateway-dev TAG=${{ github.sha }} make image
26+
27+
- name: Run Trivy vulnerability scanner
28+
uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 # v0.19.0
29+
with:
30+
image-ref: envoy-proxy/gateway-dev:${{ github.sha }}
31+
exit-code: '1'

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/envoyproxy/gateway/badge)](https://securityscorecards.dev/viewer/?uri=github.com/envoyproxy/gateway)
44
[![Build and Test](https://github.com/envoyproxy/gateway/actions/workflows/build_and_test.yaml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/build_and_test.yaml)
55
[![codecov](https://codecov.io/gh/envoyproxy/gateway/branch/main/graph/badge.svg)](https://codecov.io/gh/envoyproxy/gateway)
6+
[![CodeQL](https://github.com/envoyproxy/gateway/actions/workflows/codeql.yml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/codeql.yml)
7+
[![OSV-Scanner](https://github.com/envoyproxy/gateway/actions/workflows/osv-scanner.yml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/osv-scanner.yml)
8+
[![Trivy](https://github.com/envoyproxy/gateway/actions/workflows/trivy.yml/badge.svg)](https://github.com/envoyproxy/gateway/actions/workflows/trivy.yml)
69

710
Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or
811
Kubernetes-based application gateway.

0 commit comments

Comments
 (0)