|
17 | 17 | from google.protobuf import timestamp_pb2 # type: ignore |
18 | 18 | import proto # type: ignore |
19 | 19 |
|
20 | | -from google.cloud.securitycenter_v1.types import compliance, connection, contact_details |
| 20 | +from google.cloud.securitycenter_v1.types import ( |
| 21 | + compliance, |
| 22 | + connection, |
| 23 | + contact_details, |
| 24 | + container, |
| 25 | +) |
21 | 26 | from google.cloud.securitycenter_v1.types import exfiltration as gcs_exfiltration |
22 | 27 | from google.cloud.securitycenter_v1.types import mitre_attack as gcs_mitre_attack |
23 | 28 | from google.cloud.securitycenter_v1.types import security_marks as gcs_security_marks |
24 | 29 | from google.cloud.securitycenter_v1.types import vulnerability as gcs_vulnerability |
25 | 30 | from google.cloud.securitycenter_v1.types import access as gcs_access |
26 | 31 | from google.cloud.securitycenter_v1.types import external_system, iam_binding |
27 | 32 | from google.cloud.securitycenter_v1.types import indicator as gcs_indicator |
| 33 | +from google.cloud.securitycenter_v1.types import kubernetes as gcs_kubernetes |
28 | 34 | from google.cloud.securitycenter_v1.types import process |
29 | 35 |
|
30 | 36 | __protobuf__ = proto.module( |
@@ -188,6 +194,13 @@ class Finding(proto.Message): |
188 | 194 | Finding. |
189 | 195 | next_steps (str): |
190 | 196 | Next steps associate to the finding. |
| 197 | + containers (Sequence[google.cloud.securitycenter_v1.types.Container]): |
| 198 | + Containers associated with the finding. |
| 199 | + containers provides information for both |
| 200 | + Kubernetes and non-Kubernetes containers. |
| 201 | + kubernetes (google.cloud.securitycenter_v1.types.Kubernetes): |
| 202 | + Kubernetes resources associated with the |
| 203 | + finding. |
191 | 204 | """ |
192 | 205 |
|
193 | 206 | class State(proto.Enum): |
@@ -359,6 +372,16 @@ class FindingClass(proto.Enum): |
359 | 372 | proto.STRING, |
360 | 373 | number=40, |
361 | 374 | ) |
| 375 | + containers = proto.RepeatedField( |
| 376 | + proto.MESSAGE, |
| 377 | + number=42, |
| 378 | + message=container.Container, |
| 379 | + ) |
| 380 | + kubernetes = proto.Field( |
| 381 | + proto.MESSAGE, |
| 382 | + number=43, |
| 383 | + message=gcs_kubernetes.Kubernetes, |
| 384 | + ) |
362 | 385 |
|
363 | 386 |
|
364 | 387 | __all__ = tuple(sorted(__protobuf__.manifest)) |
0 commit comments