File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import (
21
21
"github.com/stackrox/scanner/ext/versionfmt"
22
22
v1 "github.com/stackrox/scanner/generated/scanner/api/v1"
23
23
k8scache "github.com/stackrox/scanner/k8s/cache"
24
- featureFlags "github.com/stackrox/scanner/pkg/features"
25
24
"github.com/stackrox/scanner/pkg/repo2cpe"
26
25
"github.com/stackrox/scanner/pkg/version"
27
26
"github.com/stackrox/scanner/pkg/wellknownnamespaces"
@@ -242,7 +241,7 @@ func (s *serviceImpl) getRuntimeVulns(containerRuntime *v1.GetNodeVulnerabilitie
242
241
243
242
func (s * serviceImpl ) GetNodeVulnerabilities (ctx context.Context , req * v1.GetNodeVulnerabilitiesRequest ) (* v1.GetNodeVulnerabilitiesResponse , error ) {
244
243
// If NodeInventory is empty `req.GetComponents() == nil` then fallback to v1 scanning
245
- if req .GetComponents () == nil || ! featureFlags . RHCOSNodeScanning . Enabled () {
244
+ if req .GetComponents () == nil {
246
245
return s .getNodeVulnerabilitiesLegacy (ctx , req )
247
246
}
248
247
Original file line number Diff line number Diff line change 28
28
fieldPath : metadata.name
29
29
- name : ROX_SKIP_PEER_VALIDATION
30
30
value : " true"
31
- - name : ROX_RHCOS_NODE_SCANNING
32
- value : " true"
33
31
- name : ROX_ACTIVE_VULN_MGMT
34
32
value : " true"
35
33
resources :
Original file line number Diff line number Diff line change 5
5
ContinueUnknownOS = registerFeature ("Enable continuation upon detecting unknown OS" , "ROX_CONTINUE_UNKNOWN_OS" , true )
6
6
// RHEL9Scanning enables support for scanning RHEL9-based images.
7
7
RHEL9Scanning = registerFeature ("Enable support for scanning RHEL9 images" , "ROX_RHEL9_SCANNING" , true )
8
-
9
- // RHCOSNodeScanning enables phase 1 functions of "Full host level vulnerability scanning for RHCOS nodes" (ROX-10818)
10
- RHCOSNodeScanning = registerFeature ("Enabling Full host level vulnerability scanning for RHCOS nodes" , "ROX_RHCOS_NODE_SCANNING" , true )
11
8
)
You can’t perform that action at this time.
0 commit comments