-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
33 lines (31 loc) · 908 Bytes
/
action.yaml
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
name: KSOC Image Scan
description: KSOC scans for CVEs in your images as part of your GitHub Actions CI workflow.
author: KSOC
branding:
icon: alert-triangle
color: green
inputs:
fail_on_severity:
required: false
description: "The severity level at which to fail the workflow. Valid values are: negligible, low, medium, high, critical."
format:
required: false
description: "The format of the output. Valid values are: table, sarif."
default: table
ignore_cves:
required: false
description: "List of CVEs to ignore."
image:
required: false
description: "Image to scan."
outputs:
sarif:
description: "Path to a SARIF report file for the image"
runs:
using: docker
image: Dockerfile
env:
FAIL_ON_SEVERITY: ${{ inputs.fail_on_severity }}
FORMAT: ${{ inputs.format }}
IGNORE_CVES: ${{ inputs.ignore_cves }}
IMAGE: ${{ inputs.image }}