-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ROX-24197: [rhacs-docs-4.6] Update docs for RHCOS scanning with Scanner V4 #84256
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
Merged
kcarmichael08
merged 1 commit into
openshift:rhacs-docs-main
from
kcarmichael08:ROX-24197-scannerv4-rhcos
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * operating/manage-vulnerabilities/scan-rhcos-node-host.adoc | ||
| // * cloud_service/upgrading-cloud/upgrade-cloudsvc-roxctl.adoc | ||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="rhcos-enable-node-scan-scannerv4_{context}"] | ||
| = Enabling {op-system} node scanning with Scanner V4 | ||
|
|
||
| [role="_abstract"] | ||
| If you use {ocp}, you can enable scanning of {op-system-first} nodes for vulnerabilities by using {rh-rhacs-first}. | ||
|
|
||
| :FeatureName: RHCOS node scanning with Scanner V4 | ||
| include::snippets/technology-preview.adoc[] | ||
|
|
||
| .Prerequisites | ||
| * For scanning {op-system} node hosts of the secured cluster, you must have installed the following software: | ||
| ** Secured Cluster services on {ocp} {ocp-supported-version} or later | ||
| ** {product-title-short} version 4.6 or later | ||
| + | ||
| For information about supported platforms and architecture, see the link:https://access.redhat.com/articles/7045053[{product-title} Support Matrix]. For life cycle support information for {product-title-short}, see the link:https://access.redhat.com/support/policy/updates/rhacs[{product-title} Support Policy]. | ||
|
|
||
| .Procedure | ||
|
|
||
| To enable node indexing, also known as node scanning, by using Scanner V4: | ||
|
|
||
| . In the Central pod, on the `central` container, set the `ROX_NODE_INDEX_ENABLED` variable to `true` by running the following command on the Central cluster: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ kubectl -n stackrox set env deployment/central ROX_NODE_INDEX_ENABLED=true <1> | ||
| ---- | ||
| <1> For {ocp}, use `oc` instead of `kubectl`. | ||
| . In the Collector Daemonset, in the `compliance` container, set the `ROX_NODE_INDEX_ENABLED` variable to `true` by running the following command on the secured cluster: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
kcarmichael08 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| $ kubectl -n stackrox set env daemonset/collector ROX_NODE_INDEX_ENABLED=true <1> | ||
| ---- | ||
| <1> For {ocp}, use `oc` instead of `kubectl`. | ||
| . To verify that node scanning is working, examine the Central logs for the following message: | ||
| + | ||
| [source,text] | ||
| ---- | ||
| Scanned index report and found <number> components for node <node_name>. | ||
kcarmichael08 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ---- | ||
| + | ||
| where: | ||
|
|
||
| <number>:: Specifies the number of discovered components. | ||
| <node_name>:: Specifies the name of the node. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.