Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Feature indicated namespace #678

Closed

Conversation

KeyboardNerd
Copy link
Contributor

@KeyboardNerd KeyboardNerd commented Dec 19, 2018

The table is to track raw potential contextual information about a
Feature. It's useful for helping Clair to determine the namespace of a
feature.

Work in progress, the raw contextual data will be stored in the database, and interpreted by the Clair logic to relate the feature with some namespace in the layer or not.

This will result in better scanning result for multiple namespaces feature by reducing the number of wrong namespaces of feature.

For example:

CentOS:7 may install a RHEL package, which is compatible, using RPM. Since the package is compiled for the RHEL system, it should be considered a package with RHEL namespace, and affected by RHEL vulnerabilities.
We can extract this information by looking at the version string: e.g. curl-7.29.0-51.el7.x86_64
From the version string, we can understand that it's packaged for RHEL7 X86_64 (el7). We store this information in the database, so that the namespace can be determined correctly.

The table is to track raw potential contextual information about a
Feature. It's useful for helping Clair to determine the namespace of a
feature.
@KeyboardNerd KeyboardNerd changed the title pgsql: Add feature_context table (WIP) WIP: Feature indicated namespace Feb 19, 2019
@KeyboardNerd
Copy link
Contributor Author

closed
#722
will finish this

@KeyboardNerd KeyboardNerd deleted the multinamespace/feature_context branch March 6, 2019 15:52
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants