Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit a3721cb

Browse files
docs: clarified that event_time can also be considered as the "update time" for a Finding (#224)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/c622bb39-d805-4e59-bac0-9b92821b6c03/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 327292977 Source-Link: googleapis/googleapis@623a1aa
1 parent d229917 commit a3721cb

File tree

12 files changed

+277
-171
lines changed

12 files changed

+277
-171
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>9.0.0</version>
20+
<version>9.1.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java

Lines changed: 60 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -888,9 +888,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
888888
*
889889
*
890890
* <pre>
891-
* The time at which the event took place. For example, if the finding
892-
* represents an open firewall it would capture the time the detector believes
893-
* the firewall became open. The accuracy is determined by the detector.
891+
* The time at which the event took place, or when an update to the finding
892+
* occurred. For example, if the finding represents an open firewall it would
893+
* capture the time the detector believes the firewall became open. The
894+
* accuracy is determined by the detector. If the finding were to be resolved
895+
* afterward, this time would reflect when the finding was resolved.
894896
* </pre>
895897
*
896898
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -905,9 +907,11 @@ public boolean hasEventTime() {
905907
*
906908
*
907909
* <pre>
908-
* The time at which the event took place. For example, if the finding
909-
* represents an open firewall it would capture the time the detector believes
910-
* the firewall became open. The accuracy is determined by the detector.
910+
* The time at which the event took place, or when an update to the finding
911+
* occurred. For example, if the finding represents an open firewall it would
912+
* capture the time the detector believes the firewall became open. The
913+
* accuracy is determined by the detector. If the finding were to be resolved
914+
* afterward, this time would reflect when the finding was resolved.
911915
* </pre>
912916
*
913917
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -922,9 +926,11 @@ public com.google.protobuf.Timestamp getEventTime() {
922926
*
923927
*
924928
* <pre>
925-
* The time at which the event took place. For example, if the finding
926-
* represents an open firewall it would capture the time the detector believes
927-
* the firewall became open. The accuracy is determined by the detector.
929+
* The time at which the event took place, or when an update to the finding
930+
* occurred. For example, if the finding represents an open firewall it would
931+
* capture the time the detector believes the firewall became open. The
932+
* accuracy is determined by the detector. If the finding were to be resolved
933+
* afterward, this time would reflect when the finding was resolved.
928934
* </pre>
929935
*
930936
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2629,9 +2635,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
26292635
*
26302636
*
26312637
* <pre>
2632-
* The time at which the event took place. For example, if the finding
2633-
* represents an open firewall it would capture the time the detector believes
2634-
* the firewall became open. The accuracy is determined by the detector.
2638+
* The time at which the event took place, or when an update to the finding
2639+
* occurred. For example, if the finding represents an open firewall it would
2640+
* capture the time the detector believes the firewall became open. The
2641+
* accuracy is determined by the detector. If the finding were to be resolved
2642+
* afterward, this time would reflect when the finding was resolved.
26352643
* </pre>
26362644
*
26372645
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2645,9 +2653,11 @@ public boolean hasEventTime() {
26452653
*
26462654
*
26472655
* <pre>
2648-
* The time at which the event took place. For example, if the finding
2649-
* represents an open firewall it would capture the time the detector believes
2650-
* the firewall became open. The accuracy is determined by the detector.
2656+
* The time at which the event took place, or when an update to the finding
2657+
* occurred. For example, if the finding represents an open firewall it would
2658+
* capture the time the detector believes the firewall became open. The
2659+
* accuracy is determined by the detector. If the finding were to be resolved
2660+
* afterward, this time would reflect when the finding was resolved.
26512661
* </pre>
26522662
*
26532663
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2665,9 +2675,11 @@ public com.google.protobuf.Timestamp getEventTime() {
26652675
*
26662676
*
26672677
* <pre>
2668-
* The time at which the event took place. For example, if the finding
2669-
* represents an open firewall it would capture the time the detector believes
2670-
* the firewall became open. The accuracy is determined by the detector.
2678+
* The time at which the event took place, or when an update to the finding
2679+
* occurred. For example, if the finding represents an open firewall it would
2680+
* capture the time the detector believes the firewall became open. The
2681+
* accuracy is determined by the detector. If the finding were to be resolved
2682+
* afterward, this time would reflect when the finding was resolved.
26712683
* </pre>
26722684
*
26732685
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2689,9 +2701,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
26892701
*
26902702
*
26912703
* <pre>
2692-
* The time at which the event took place. For example, if the finding
2693-
* represents an open firewall it would capture the time the detector believes
2694-
* the firewall became open. The accuracy is determined by the detector.
2704+
* The time at which the event took place, or when an update to the finding
2705+
* occurred. For example, if the finding represents an open firewall it would
2706+
* capture the time the detector believes the firewall became open. The
2707+
* accuracy is determined by the detector. If the finding were to be resolved
2708+
* afterward, this time would reflect when the finding was resolved.
26952709
* </pre>
26962710
*
26972711
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2710,9 +2724,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu
27102724
*
27112725
*
27122726
* <pre>
2713-
* The time at which the event took place. For example, if the finding
2714-
* represents an open firewall it would capture the time the detector believes
2715-
* the firewall became open. The accuracy is determined by the detector.
2727+
* The time at which the event took place, or when an update to the finding
2728+
* occurred. For example, if the finding represents an open firewall it would
2729+
* capture the time the detector believes the firewall became open. The
2730+
* accuracy is determined by the detector. If the finding were to be resolved
2731+
* afterward, this time would reflect when the finding was resolved.
27162732
* </pre>
27172733
*
27182734
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2736,9 +2752,11 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
27362752
*
27372753
*
27382754
* <pre>
2739-
* The time at which the event took place. For example, if the finding
2740-
* represents an open firewall it would capture the time the detector believes
2741-
* the firewall became open. The accuracy is determined by the detector.
2755+
* The time at which the event took place, or when an update to the finding
2756+
* occurred. For example, if the finding represents an open firewall it would
2757+
* capture the time the detector believes the firewall became open. The
2758+
* accuracy is determined by the detector. If the finding were to be resolved
2759+
* afterward, this time would reflect when the finding was resolved.
27422760
* </pre>
27432761
*
27442762
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2758,9 +2776,11 @@ public Builder clearEventTime() {
27582776
*
27592777
*
27602778
* <pre>
2761-
* The time at which the event took place. For example, if the finding
2762-
* represents an open firewall it would capture the time the detector believes
2763-
* the firewall became open. The accuracy is determined by the detector.
2779+
* The time at which the event took place, or when an update to the finding
2780+
* occurred. For example, if the finding represents an open firewall it would
2781+
* capture the time the detector believes the firewall became open. The
2782+
* accuracy is determined by the detector. If the finding were to be resolved
2783+
* afterward, this time would reflect when the finding was resolved.
27642784
* </pre>
27652785
*
27662786
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2774,9 +2794,11 @@ public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
27742794
*
27752795
*
27762796
* <pre>
2777-
* The time at which the event took place. For example, if the finding
2778-
* represents an open firewall it would capture the time the detector believes
2779-
* the firewall became open. The accuracy is determined by the detector.
2797+
* The time at which the event took place, or when an update to the finding
2798+
* occurred. For example, if the finding represents an open firewall it would
2799+
* capture the time the detector believes the firewall became open. The
2800+
* accuracy is determined by the detector. If the finding were to be resolved
2801+
* afterward, this time would reflect when the finding was resolved.
27802802
* </pre>
27812803
*
27822804
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -2792,9 +2814,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
27922814
*
27932815
*
27942816
* <pre>
2795-
* The time at which the event took place. For example, if the finding
2796-
* represents an open firewall it would capture the time the detector believes
2797-
* the firewall became open. The accuracy is determined by the detector.
2817+
* The time at which the event took place, or when an update to the finding
2818+
* occurred. For example, if the finding represents an open firewall it would
2819+
* capture the time the detector believes the firewall became open. The
2820+
* accuracy is determined by the detector. If the finding were to be resolved
2821+
* afterward, this time would reflect when the finding was resolved.
27982822
* </pre>
27992823
*
28002824
* <code>.google.protobuf.Timestamp event_time = 9;</code>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
326326
*
327327
*
328328
* <pre>
329-
* The time at which the event took place. For example, if the finding
330-
* represents an open firewall it would capture the time the detector believes
331-
* the firewall became open. The accuracy is determined by the detector.
329+
* The time at which the event took place, or when an update to the finding
330+
* occurred. For example, if the finding represents an open firewall it would
331+
* capture the time the detector believes the firewall became open. The
332+
* accuracy is determined by the detector. If the finding were to be resolved
333+
* afterward, this time would reflect when the finding was resolved.
332334
* </pre>
333335
*
334336
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -340,9 +342,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
340342
*
341343
*
342344
* <pre>
343-
* The time at which the event took place. For example, if the finding
344-
* represents an open firewall it would capture the time the detector believes
345-
* the firewall became open. The accuracy is determined by the detector.
345+
* The time at which the event took place, or when an update to the finding
346+
* occurred. For example, if the finding represents an open firewall it would
347+
* capture the time the detector believes the firewall became open. The
348+
* accuracy is determined by the detector. If the finding were to be resolved
349+
* afterward, this time would reflect when the finding was resolved.
346350
* </pre>
347351
*
348352
* <code>.google.protobuf.Timestamp event_time = 9;</code>
@@ -354,9 +358,11 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
354358
*
355359
*
356360
* <pre>
357-
* The time at which the event took place. For example, if the finding
358-
* represents an open firewall it would capture the time the detector believes
359-
* the firewall became open. The accuracy is determined by the detector.
361+
* The time at which the event took place, or when an update to the finding
362+
* occurred. For example, if the finding represents an open firewall it would
363+
* capture the time the detector believes the firewall became open. The
364+
* accuracy is determined by the detector. If the finding were to be resolved
365+
* afterward, this time would reflect when the finding was resolved.
360366
* </pre>
361367
*
362368
* <code>.google.protobuf.Timestamp event_time = 9;</code>

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@ message Finding {
101101
// to the finding.
102102
SecurityMarks security_marks = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
103103

104-
// The time at which the event took place. For example, if the finding
105-
// represents an open firewall it would capture the time the detector believes
106-
// the firewall became open. The accuracy is determined by the detector.
104+
// The time at which the event took place, or when an update to the finding
105+
// occurred. For example, if the finding represents an open firewall it would
106+
// capture the time the detector believes the firewall became open. The
107+
// accuracy is determined by the detector. If the finding were to be resolved
108+
// afterward, this time would reflect when the finding was resolved.
107109
google.protobuf.Timestamp event_time = 9;
108110

109111
// The time at which the finding was created in Security Command Center.

0 commit comments

Comments
 (0)