7.3. About network baselining in the network graph


In RHACS, you can minimize your risks by using network baselining. It is a proactive approach to keep your infrastructure secure. RHACS first discovers existing network flows and creates a baseline, and then it treats network flows outside of this baseline as anomalous.

When you install RHACS, there is no default network baseline. As RHACS discovers network flows, it creates a baseline and then it adds all discovered network flows to it, following these guidelines:

  • When RHACS discovers new network activity, it adds that network flow to the network baseline.
  • Network flows do not show up as anomalous flows and do not trigger any violations.

After the discovery phase, the following actions occur:

  • RHACS stops adding network flows to the network baselines.
  • New network flows that are not in the network baseline show up as anomalous flows but they do not trigger any violations.

7.3.1. Viewing network baselines from the network graph

You can view network baselines from the network graph view.

Procedure

  1. Click the Namespaces list and use the search field to locate a namespace, or select individual namespaces.
  2. Click the Deployments list and use the search field to locate a deployment, or select individual deployments to display in the network graph.
  3. In the network graph, click on a deployment to view the information panel.
  4. Select the Baseline tab. Use the filter by entity name field to further restrict the flows that are displayed.
  5. Optional: You can mark baseline flows as anomalous by performing one of the following actions:

    • Select an individual entity. Click the overflow menu, kebab , and then select Mark as anomalous.
    • Select multiple entities, and then click Bulk actions and select Mark as anomalous.
  6. Optional: Check the box to exclude ports and protocols.
  7. Optional: To save the baseline as a network policy YAML file, click Download baseline as network policy.

7.3.2. Downloading network baselines from the network graph

You can download network baselines as YAML files from the network graph view.

Procedure

  1. In the RHACS portal, go to Network Graph.
  2. Click the Namespaces list and use the search field to locate a namespace, or select individual namespaces.
  3. Click the Deployments list and use the search field to locate a deployment, or select individual deployments to display in the network graph.
  4. In the network graph, click on a deployment to view the information panel.
  5. The Baseline tab lists the baseline flows. Use the filter by entity name field to further restrict the list of flows.
  6. Optional: Check the box to exclude ports and protocols.
  7. Click Download baseline as network policy.

7.3.3. Configuring the network baseline observation time frame

You can configure the duration of the observation period that RHACS uses when creating the network baseline.

Procedure

  • Set the ROX_NETWORK_BASELINE_OBSERVATION_PERIOD environment variable by running the following command:

    $ oc -n stackrox set env deploy/central \
      ROX_NETWORK_BASELINE_OBSERVATION_PERIOD=<value>
    • oc: If you use Kubernetes, enter kubectl.
    • <value>: Use time units, for example: 300ms, -1.5h, or 2h45m. Valid time units are:

      • ns
      • us or µs
      • ms
      • s
      • m
      • h

7.3.4. Enabling alerts on baseline violations in the network graph

You can configure RHACS to detect anomalous network flows and trigger violations for traffic that is not in the baseline. This can help you determine if the network contains unwanted traffic before you block traffic with a network policy.

Procedure

  1. Click the Namespaces list and use the search field to locate a namespace, or select individual namespaces.
  2. Click the Deployments list and use the search field to locate a deployment, or select individual deployments to display in the network graph.
  3. In the network graph, click on a deployment to view the information panel.
  4. In the Baseline tab, you can view baseline flows. Use the filter by entity name field to further restrict the flows that are displayed.
  5. Toggle the Alert on baseline violations option.

    • After you toggle the Alert on baseline violations option, anomalous network flows trigger violations.
    • You can toggle the Alert on baseline violations option again to stop receiving violations for anomalous network flows.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동