---
sourceDocument: Brazil Security Management
sourceDocumentLink: https://www.servicenow.com/docs/r/security-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Configuring granularity keys

# Configuring container image granularity keys for Container Vulnerability Response {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Configuring container image granularity keys for Container Vulnerability Response

ServiceNow's Container Vulnerability Response application allows you to configure granularity keys that control how container vulnerability findings (Container Vulnerable Items or CVITs) are generated from imported vulnerability data.
This configuration helps you manage and assign findings more precisely based on your container environment structure, improving remediation ownership and visibility.
Show full answer Show less  
Each third-party container vulnerability scanner integration has a dedicated record in the **Configure Image Vulnerability Keys** table within your ServiceNow instance. By default, findings are created by combining image repository, vulnerability, and image data. Granularity keys enable you to refine this by incorporating additional context such as clusters, namespaces, and services depending on your container orchestration environment.

## Key Concepts and Terms

* **Vulnerability:** Imported CVE/CWE data used to generate findings.
* **CVIT:** Container Vulnerable Item or finding generated based on configured keys.
* **Cluster:** Group of machines or nodes running containerized apps.
* **Namespace:** Unique resource isolation names within a cluster.
* **Service:** Containers representing application dependencies.

Granularity options vary by environment:

* **AWS ECS (Elastic Container Service):** Cluster and Service keys.
* **AWS EKS (Elastic Kubernetes Service):** Namespace, Cluster, and Service keys.

## Configuring Granularity for AWS ECS

In ECS, clusters contain multiple services. You can configure granularity to create findings at the cluster level, or more granularly at the cluster-service combination level. For example:

* **Cluster only:** One CVIT per cluster.
* **Cluster + Service:** One CVIT per unique cluster/service pair, enabling service-level remediation.

Cluster and service data can be sourced either from the vulnerability scanner payload or from ServiceNow Discovery. Selecting Discovery as the data source means CVITs are generated based on the cluster/service data discovered within ServiceNow, which may differ from scanner data.

The **\[Populate image relationships\]** scheduled job pre-imports cluster and service details daily when Discovery is used as the data source. Your third-party integrations should be scheduled to run after this job completes to ensure data availability.

## Configuring Granularity for AWS EKS

EKS environments have a three-level hierarchy: clusters, namespaces, and services. You can select any combination of these keys, with the most granular option being cluster + namespace + service. For example, selecting all three levels creates CVITs per service within a namespace and cluster, while selecting fewer levels aggregates findings at broader scopes.

Data source selection (Scanner Information or Discovery Information) is also supported for EKS, affecting how cluster, namespace, and service details are defined.

## Data Management and Table Columns

With versions 30.3 and 2.18 onwards, the **Container Vulnerable Item \[snvulcontainerimagevulnerableitem\]** table columns are named to reflect the source of data (Scanner or Discovery) for cluster, namespace, and service information. The Discovered Container Image table primarily stores scanner data, with discovery data accessible via related records.

## Practical Notes for ServiceNow Customers

* Configure granularity keys before importing vulnerability data from third-party scanners to ensure findings are generated at the desired level.
* Choose the appropriate data source (Scanner vs. Discovery) based on your environment and data accuracy needs.
* Schedule the \[Populate image relationships\] job and third-party integration imports properly to synchronize data when using Discovery as the data source.
* Adjust the **snvulcontainer.imagerelationshipmappingmonths** property to control how far back scanner integrations search for image updates (default is 3 months).  
You can configure the keys that generate Container Vulnerability Response findings (container vulnerable items) to help you determine how and when they are created from imported container vulnerability data.

## Overview of Container image vulnerability keys and how they generate findings {#cvr-configuring-findings-key-granularity__section_ump_k5k_43c}

When container images are scanned for vulnerabilities, a granularity feature controls how findings (container vulnerable items or CVITs) are created based on keys that you can configure for the Container Vulnerability Response
application.

Each third-party container vulnerability scanner integration has its own record on the Configure Image Vulnerability Keys \[sn_vul_container_image_vulnerability_keys\] table in your ServiceNow AI Platform instance. By default, a finding (CVIT) is created by combining the image repository, vulnerability, and image data imported by a scanner product.

Key granularity can help you view and assign findings at a more granular level by service.

Role required: sn_vul_container.configure_vi_granularity

Terms used for key granularity:

Vulnerability

:   Imported CVE/CWE Common Vulnerabilities Exposures, Common Weakness Enumeration and other third-party vulnerability data that is used to create findings (CVITs) in your instance.

CVIT
:   A container vulnerable item (also referred to as a finding), which is generated by default using Image, Image repository, and Vulnerability data for its key configuration.

Cluster
:   Imported data about a group of machines or working nodes that run containerized applications.

Namespace
:   Imported unique names of resources to isolate them within a single cluster.

Service
:   Containers of application dependencies that let you manage and deploy containerized applications. In this context for key granularity and configuration:

    * Elastic Container Service (ECS) environment- Cluster and Service are options for key configuration.
    * Elastic Kubernetes Service (EKS) environment - Namespace, Cluster, and Service are options for key configuration.
    {#cvr-configuring-findings-key-granularity__ul_pbb_dwk_43c}

Each product key has a unique record on the list. The following key configuration hierarchies for the ECS and EKS environments share the same granularity configuration located at AllContainer Vulnerability ResponseAdministrationConfigure VI Granularity.

If you want to configure the key granularity, you must make your changes and update the record before importing data with your third-party integrations.

## AWS ECS (Elastic Container Service) {#cvr-configuring-findings-key-granularity__section_ibb_3xk_43c}

ECS environments are organized into clusters and services, where one cluster can contain multiple services.

* Clusters
* Services

{#cvr-configuring-findings-key-granularity__ul_nx5_skl_43c}

If you set the key granularity so it is set to add the Cluster component (Cluster check box selected on the Configure Image Vulnerability Keys VI Granularity record), one finding (CVIT) is created per cluster. If you select
the Cluster and Service options for the key, a finding (CVIT) is created for every unique cluster/service combination, enabling remediation ownership to be assigned at a more granular level
by service.

For example, say your environment has two clusters, Cluster 1 and Cluster 2, and four services: Service 1, Service 2, Service 3, and Service 4. The CVITs created by you key selections are shown in the following
table.

Cluster and service data can be sourced from either the scanner payload (Scanner Information) or ServiceNow Discovery (Discovery Information). This option can affect how CVITs
are created, depending on your key selections.
{#cvr-configuring-findings-key-granularity__table_gsd_xfb_53c__entry__4}

| Data source | Cluster check box selected | Service check box selected | CVITs created |
|-|-|-|-|
| Scanner Information | x |   | Two CVITs are created, one for each Cluster, Cluster 1 and Cluster 2. |
| Scanner Information | x | x | Multiple CVITS (4) are created to support two Clusters and four services: * Cluster 1/Service1 * Cluster 1/Service 2 * Cluster 2/Service 3 * Cluster 2/Service 4 {#cvr-configuring-findings-key-granularity__ul_x2t_2g3_53c} |
| Discovery Note: If Discovery is selected as the data source, the source of truth for clusters and services comes from ServiceNow Discovery --- not the scanner payload. | x |   | One CVIT is created for Cluster 3. If Discovery only finds Cluster 3 for this image, only one CVIT is generated regardless of what the scanner knows. |
[Table 1. Key granularity settings]

{#cvr-configuring-findings-key-granularity__table_gsd_xfb_53c}

By default, Discovery Information is selected. If you want Discovery Information as the data source for the key, the \[Populate image relationships\] scheduled job runs daily to
pre-import cluster and service details, and you must schedule your third-party integration runs to start at least four hours after this scheduled job is successfully completed to make sure that the pre-import data is available. This job
is activated by default daily, but you must set the schedule for it before your scheduled third-party integration imports.  
Note:  
For new customers only starting with version x.xx.

The \[sn_vul_container.image_relationship_mapping_months\] system property defines how many months back (1-12) your third-party scanner integration searches for container image
updates when processing relationship mappings. This data is used to filter images by the \[sys_updated_on\] field.

The default setting is three months (90 days). Unless you change this value, after you configure your scanner
integration import, relationship mapping is created for images which are scanned in the last 90 days by default and present in discovered container images.

## Data population {#cvr-configuring-findings-key-granularity__section_hzb_4ml_43c}

Before ECS was supported with version 30.3 (USEM)-compatible and v2.18 (Core), there were two sets of columns on the Container Vulnerable Item \[sn_vul_container_image_vulnerable_item\] table for populated data:

* Image namespace and Image clusters columns are displayed if the Scanner Information data source is selected for the key configuration.
* Kubernetes Namespaces, Kubernetes Clusters, and Kubernetes Services if the Discovery Information data source is selected for the key configuration.

{#cvr-configuring-findings-key-granularity__ul_hz1_r4l_43c}  
Starting with version versions 30.3 and 2.18, the following columns on the Container Vulnerable Item \[sn_vul_container_image_vulnerable_item\] table have been renamed to match the data sources:

* Cluster (Scanner) Namespace (scanner), and Service (scanner) if the Scanner Information data source is selected for the key configuration.
* Cluster (Discovery), Namespace (Discovery) and Service (Discovery) if the Discovery Information data source is selected for the key configuration.
{#cvr-configuring-findings-key-granularity__ul_vqb_3pl_43c}  
Note:  
On the CMDB Docker container image record on the Discovered Container Image \[sn_vul_container_image\] table, only Scanner Information is directly populated with the column names listed above.

You can view discovery-based data (cluster/namespace/service) by opening the Docker image record on the Discovered Container Image record. On this record, view the related items/relations section for the data populated by
Discovery Information.

## AWS EKS (Elastic Kubernetes Service) {#cvr-configuring-findings-key-granularity__section_b5t_rtl_43c}

On the Configure Image Vulnerability Keys records, there are three additional keys you can add to the default key for EKS environments:

* Namespace
* Registry
* Service

{#cvr-configuring-findings-key-granularity__ul_azs_wtl_43c}

EKS environments have a three-level hierarchy: clusters/namespaces/services. If you select all three levels (cluster + namespace + service) findings are generated with the most supported granularity. The option to select the
Data source as Scanner Information or Discovery Information is supported for EKS.

As an example, say you have Cluster 1, Namespace 1, and two services, Service 1 and Service 2. If you
select all three levels, two CVITs are created for the most supported granularity, one for each service.

If, on the other hand, you select Cluster 1 and Namespace 1 for this example, one CVIT is created for one
Namespace.
* **[Configure container image granularity keys for Container Vulnerability Response](https://www.servicenow.com/docs/JZm7_MNBRq2zokMH1~hhAA)**   
  Configure the keys that generate Container Vulnerability Response findings.

*[\>]: and then


