You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clair is an open source Docker Image securitu scanning server. For more information see here: https://github.com/coreos/clair/
4
+
5
+
There's an open source CLI tool for clair, called 'klar' that you can use to integrate secrurity scan into your pipeline. More info on klar: https://github.com/optiopay/klar
6
+
7
+
## Usage
8
+
9
+
Set environment variables described below, and run the command with the given image to scan:
10
+
11
+
```yaml
12
+
scan:
13
+
image: 'codefresh/klar:master'
14
+
commands:
15
+
- /klar codefresh/helm:2.8.1
16
+
```
17
+
18
+
(in this example we are scanning the helm image tagged 2.8.1 under codefresh organization in Docker Hub)
19
+
20
+
## Environment Variables
21
+
22
+
The minimal setup is described below. Please see Klar documentation for additional configuration.
0 commit comments