Comments (4)
Hey @yuanlinios , it depends on what endpoint you have configured your Clair instance to listen on.
I don't have first-hand experience running Clair (v4, I assume?), but from https://access.redhat.com/documentation/en-us/red_hat_quay/3.3/html/manage_red_hat_quay/clair-v4 I deduce that 8080 seems to be a common port for the HTTP API. So, depending on whether or not Clair is configured for TLS, the correct value here would be https://hostname:8080
or http://hostname:8080
.
from stackrox.
Hello, thanks for the reply. I deployed clair in the same openshift cluster, and also exposed it as a https edge route.
clairctl works OK in my environment
export CLAIR_HOST=https://clairv4-quay-enterprise.apps.<mydomain>
clairctl report -host $CLAIR_HOST container-registry.oracle.com/os/oraclelinux:8.3
oraclelinux:8.3 found sqlite-libs 3.26.0-11.el8
ELSA-2021-1581: sqlite security update (MODERATE)
(fixed: 0:3.26.0-13.el8)
oraclelinux:8.3 found sqlite-libs 3.26.0-11.el8
ELSA-2021-4396: sqlite security update (MODERATE)
(fixed: 0:3.26.0-15.el8)
oraclelinux:8.3 found json-c 0.13.1-0.2.el8
ELSA-2021-4382: json-c security and bug fix update (MODERATE)
(fixed: 0:0.13.1-2.el8)
...
The problem is clair expects request for specific api endpoints, but returns 404 for anything else. So I want to know how the integration between stackrox and clair can be done properly
from stackrox.
Our Clair integration was originally built with Clairv2, and I do not believe it supports Clairv4 (unless the endpoint is the same). From the looks of it, we use the GET /layers/<layerName>
endpoint from Clairv2, which, I believe, assumes Clairv2 already completed the scan separately. We simply just retrieve the results.
from stackrox.
Thank you for the information
from stackrox.
Related Issues (20)
- Delete old deferral requests HOT 5
- Scanner: no support for external DB HOT 2
- Revamp Database Migration and Management Process HOT 4
- This is a test issue to see if the token still works
- StackRox 4.4.0 collectors are crashing on COS GKE - failed to initialize collector kernel components HOT 9
- StackRox central 4.4.0 is trying to write to deprecated/'no longer needed' stackrox-db volume HOT 6
- OIDC Login redirect_uri is incorrect using Generic Kubernetes 1.28.6 cluster HOT 4
- can`t scan images HOT 7
- add integration with harbor HOT 3
- Replace sort functions with slices equivalents HOT 2
- Create CredentialExpiryBanner warnings for certificate expiration of central-db-tls certificates HOT 1
- DOCS Missing - What's the API call behind : roxctl image check HOT 1
- CVEs found in roxctl 4.4.2 HOT 2
- scanner-v4-matcher exceeds memory limit and is killed HOT 4
- roxctl unknown module(s) HOT 9
- Jira Cloud Integration fails HOT 8
- ACS cannot fetch metadata when using mirrors in a disconnected environment HOT 2
- Updating Scanner Defitions in Offline Mode HOT 4
- secured cluster services not able to authenticate with central service after restarting central db HOT 17
- UI reports Vulnerability definitions as out of date, definitions manifest in Central is correct HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackrox.