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
And that's it. The new scanner adapter is deployed. Now is time to tell Harbor
47
47
to use it, and you can find [how to configure Harbor to use Sysdig Secure Scanner Adapter](#configuring-harbor-to-use-sysdig-secure-scanner-adapter) a few lines below.
48
48
49
-
### Using Inline Scanning instead of Backend Scanning
49
+
### Using Backend Scanning instead of Inline Scanning
50
50
51
-
The Inline Scanning requires a bit more of configuration. We will use a file
52
-
to keep these settings:
51
+
This mode is not recommended and it is supported only for legacy purposes.
52
+
53
+
You will need to disable inline scan by setting `inlineScanning.enabled: false` in the values.yaml:
53
54
54
55
```yaml
55
56
sysdig:
56
57
secure:
57
58
apiToken: XXX
58
59
59
60
inlineScanning:
60
-
enabled: true
61
-
harbor:
62
-
robotAccount:
63
-
name: robotAccount
64
-
password: XXX
65
-
CA: |
66
-
-----BEGIN CERTIFICATE-----
67
-
...
68
-
-----END CERTIFICATE-----
69
-
```
70
-
71
-
You already know [how to get the Sysdig Secure API Token](#obtaining-the-sysdig-secure-api-token)
72
-
so that we can go to next steps.
73
-
74
-
Next step is about the robot account. As long as this mode uses `docker` command
75
-
under the hoods to perform the scanning, we need to authenticate against
76
-
the registry using `docker`, and we will do it using a robot acount. Harbor
77
-
folks did a pretty good job documenting [how to create a robot account](https://goharbor.io/docs/1.10/working-with-projects/project-configuration/create-robot-accounts/).
78
-
Once you created the account, be sure you fill the values under
79
-
`inlineScanning.harbor.robotAccount`key.
80
-
81
-
Next step is to get and configure the CA certificate that Harbor uses. Again,
82
-
Harbor folks did a great job documenting [how to download the CA certificate](https://goharbor.io/docs/1.10/working-with-projects/working-with-images/pulling-pushing-images/#download-the-harbor-certificate).
83
-
Once you have the certificate, ensure is under the `inlineScanning.harbor.CA` key.
84
-
Pay attention to the `|` pipe symbol because we need to keep it raw.
85
-
86
-
Finally, next step is to deploy the scanner adapter:
0 commit comments