Commit bc068fcf authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'bwill-master-patch-25729' into 'master'

Rename `container` field to `container_name`

See merge request gitlab-org/gitlab!71820
parents 1aea4143 0f1c4ecb
...@@ -539,7 +539,7 @@ affecting version `2.50.3-2+deb9u1` of Debian package `glib2.0`: ...@@ -539,7 +539,7 @@ affecting version `2.50.3-2+deb9u1` of Debian package `glib2.0`:
"namespace": "production", "namespace": "production",
"kind": "Deployment", "kind": "Deployment",
"name": "nginx-ingress", "name": "nginx-ingress",
"container": "nginx", "container_name": "nginx",
"agent_id": "1" "agent_id": "1"
} }
} }
...@@ -548,7 +548,7 @@ affecting version `2.50.3-2+deb9u1` of Debian package `glib2.0`: ...@@ -548,7 +548,7 @@ affecting version `2.50.3-2+deb9u1` of Debian package `glib2.0`:
The affected package is found when scanning a deployment using the `index.docker.io/library/nginx:1.18` image. The affected package is found when scanning a deployment using the `index.docker.io/library/nginx:1.18` image.
The location fingerprint of a Cluster Image Scanning vulnerability combines the The location fingerprint of a Cluster Image Scanning vulnerability combines the
`namespace`, `kind`, `name`, and `container` fields from the `kubernetes_resource`, `namespace`, `kind`, `name`, and `container_name` fields from the `kubernetes_resource`,
as well as the package `name`, so these fields are required. The `image` field is also mandatory. as well as the package `name`, so these fields are required. The `image` field is also mandatory.
The `cluster_id` and `agent_id` are mutually exclusive, and one of them must be present. The `cluster_id` and `agent_id` are mutually exclusive, and one of them must be present.
All other fields are optional. All other fields are optional.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment