-
Notifications
You must be signed in to change notification settings - Fork 18
37 lines (31 loc) · 1.37 KB
/
security-workflow-template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow checks out code, builds an image, performs a container image
# vulnerability scan with Anchore's Grype tool, and generates an
# SBOM via Anchore's Syft tool
# For more information on Anchore's container image scanning tool Grype, see
# https://github.com/anchore/grype
# For more information about the Anchore SBOM tool, Syft, see
# https://github.com/anchore/syft
name: ConsoleDot Platform Security Scan
on:
push:
branches: [ "main", "master", "security-compliance" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "master", "security-compliance" ]
jobs:
PlatSec-Security-Workflow-nginx:
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
with:
dockerfile_path: './nginx'
dockerfile_name: 'Dockerfile'
dockerbuild_path: './nginx'
PlatSec-Security-Workflow-nginx-prometheus:
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
with:
dockerfile_path: './nginx'
dockerfile_name: 'Dockerfile-prometheus'
dockerbuild_path: './nginx'