From 090143016fbb23adcd428f358f494d635210be53 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Jun 2020 22:34:50 +0200 Subject: [PATCH 01/12] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.1 --- google-cloud-securitycenter-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index f97a959cf..9b706ee0e 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 Google Cloud Security Command Center BOM diff --git a/pom.xml b/pom.xml index 772be0179..53ad52b80 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 From b09f2525e597a003e00256d661d34de3909b7e7d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 21:26:30 +0000 Subject: [PATCH 02/12] chore: release 1.0.1-SNAPSHOT (#172) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- google-cloud-securitycenter-bom/pom.xml | 16 ++++++++-------- google-cloud-securitycenter/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1beta1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-securitycenter-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 37 deletions(-) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index 9b706ee0e..4a5445cf4 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 1.0.0 + 1.0.1-SNAPSHOT pom com.google.cloud @@ -64,37 +64,37 @@ com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT com.google.cloud google-cloud-securitycenter - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index 42616d5c2..fb8339de2 100644 --- a/google-cloud-securitycenter/pom.xml +++ b/google-cloud-securitycenter/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter - 1.0.0 + 1.0.1-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/java-securitycenter @@ -11,7 +11,7 @@ com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT google-cloud-securitycenter diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index 3184fee2c..7283ff784 100644 --- a/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 8e41ceaf5..61db1533b 100644 --- a/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 493732d04..76fb93c4c 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 53ad52b80..19a4606c2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 1.0.0 + 1.0.1-SNAPSHOT Google Cloud Security Command Center Parent https://github.com/googleapis/java-securitycenter @@ -82,37 +82,37 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT com.google.cloud google-cloud-securitycenter - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index 9ce39f5e2..8ba36f736 100644 --- a/proto-google-cloud-securitycenter-v1/pom.xml +++ b/proto-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.0 + 1.0.1-SNAPSHOT proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index c6f7d1120..64be1e260 100644 --- a/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.88.1-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index 99a396738..c4cf01105 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.88.1-SNAPSHOT proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index bf23f3464..ff49bf01c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-cloud-securitycenter-v1:1.0.0:1.0.0 -proto-google-cloud-securitycenter-v1beta1:0.88.0:0.88.0 -proto-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.0 -grpc-google-cloud-securitycenter-v1:1.0.0:1.0.0 -grpc-google-cloud-securitycenter-v1beta1:0.88.0:0.88.0 -grpc-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.0 -google-cloud-securitycenter:1.0.0:1.0.0 \ No newline at end of file +proto-google-cloud-securitycenter-v1:1.0.0:1.0.1-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.88.0:0.88.1-SNAPSHOT +proto-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1:1.0.0:1.0.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.88.0:0.88.1-SNAPSHOT +grpc-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.1-SNAPSHOT +google-cloud-securitycenter:1.0.0:1.0.1-SNAPSHOT \ No newline at end of file From 2bdf20193d74f4d33e7519f12afe027cc23e4647 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Jun 2020 14:56:06 -0700 Subject: [PATCH 03/12] docs: specify allowed fields for UpdateNotificationConfig (#174) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 316714521 Source-Link: https://github.com/googleapis/googleapis/commit/714a5f10f22d932bf4365dfdd57ced2c819e0ade --- .../securitycenter/v1/SecurityCenterClient.java | 12 ++++++++---- .../v1p1beta1/SecurityCenterClient.java | 12 ++++++++---- .../securitycenter/v1/SecurityCenterGrpc.java | 12 ++++++++---- .../v1p1beta1/SecurityCenterGrpc.java | 12 ++++++++---- .../securitycenter/v1/securitycenter_service.proto | 4 ++-- .../v1p1beta1/securitycenter_service.proto | 3 ++- synth.metadata | 14 +++++++------- 7 files changed, 43 insertions(+), 26 deletions(-) diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index 23a48814a..2cfbf9734 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -2302,7 +2302,8 @@ public final UnaryCallable updateFindingCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2326,7 +2327,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2355,7 +2357,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2379,7 +2382,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java index e3f558dc7..7f3c78952 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java +++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java @@ -2443,7 +2443,8 @@ public final UnaryCallable updateFindingCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2467,7 +2468,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2496,7 +2498,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2520,7 +2523,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * diff --git a/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java index f7b15f469..de538e958 100644 --- a/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java +++ b/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java @@ -1443,7 +1443,8 @@ public void updateFinding( * * *

-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -1998,7 +1999,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2331,7 +2333,8 @@ public com.google.cloud.securitycenter.v1.Finding updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.cloud.securitycenter.v1.NotificationConfig updateNotificationConfig( @@ -2680,7 +2683,8 @@ protected SecurityCenterFutureStub build( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java index 76d9c151a..34b9d30e4 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java +++ b/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java @@ -1456,7 +1456,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2021,7 +2022,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2355,7 +2357,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig updateNotificationConfig( @@ -2706,7 +2709,8 @@ protected SecurityCenterFutureStub build( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto index 9a88e1e85..b660d4674 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto +++ b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto @@ -240,8 +240,8 @@ service SecurityCenter { option (google.api.method_signature) = "finding"; } - // - // Updates a notification config. + // Updates a notification config. The following update + // fields are allowed: description, pubsub_topic, streaming_config.filter rpc UpdateNotificationConfig(UpdateNotificationConfigRequest) returns (NotificationConfig) { option (google.api.http) = { diff --git a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto index 7431515bf..c4264a6a2 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto +++ b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto @@ -246,7 +246,8 @@ service SecurityCenter { option (google.api.method_signature) = "finding,update_mask"; } - // Updates a notification config. + // Updates a notification config. The following update + // fields are allowed: description, pubsub_topic, streaming_config.filter rpc UpdateNotificationConfig(UpdateNotificationConfigRequest) returns (NotificationConfig) { option (google.api.http) = { diff --git a/synth.metadata b/synth.metadata index 7ac1efcbd..d3f7c2c56 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,31 +4,31 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-securitycenter.git", - "sha": "8ce6f892400cb4a4fdc5d7f9fcd2b8b7c3a157aa" + "sha": "b09f2525e597a003e00256d661d34de3909b7e7d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { From f403c4cbe1a7579dce3912a5963c1a2f0cc85686 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Jun 2020 15:00:13 -0700 Subject: [PATCH 04/12] ci: switch to secret manager for sample/integration tests (#175) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c4f3059c27591eb24d6942a0e357ec94c80459f2 Source-Link: https://github.com/googleapis/synthtool/commit/6eb80fa9f96433af8dbeb1c8323aa80cda49b374 Source-Link: https://github.com/googleapis/synthtool/commit/6d3eed67a45fd58f9c7bfa173c32e4fd4fed058f Source-Link: https://github.com/googleapis/synthtool/commit/d1addcdf80aa9ddef8c932c89c919024bbad7af3 --- .kokoro/build.sh | 2 +- .kokoro/nightly/integration.cfg | 12 +++------ .kokoro/nightly/samples.cfg | 16 +++++------- .kokoro/populate-secrets.sh | 43 +++++++++++++++++++++++++++++++ .kokoro/presubmit/integration.cfg | 12 +++------ .kokoro/presubmit/samples.cfg | 14 ++++------ .kokoro/trampoline.sh | 2 ++ synth.metadata | 2 +- 8 files changed, 66 insertions(+), 37 deletions(-) create mode 100755 .kokoro/populate-secrets.sh diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 756508737..4d7a6f1c2 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 40c4abb7b..0048c8ece 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index 20aabd55d..f25429314 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh new file mode 100755 index 000000000..f52514257 --- /dev/null +++ b/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# Copyright 2020 Google LLC. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/.kokoro/presubmit/integration.cfg b/.kokoro/presubmit/integration.cfg index 522e5b101..dded67a9d 100644 --- a/.kokoro/presubmit/integration.cfg +++ b/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg index 1171aead0..01e096004 100644 --- a/.kokoro/presubmit/samples.cfg +++ b/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index ba17ce014..9da0f8398 100644 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/synth.metadata b/synth.metadata index d3f7c2c56..c8b243550 100644 --- a/synth.metadata +++ b/synth.metadata @@ -35,7 +35,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" + "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" } } ], From cf5774caf663f60b98c4def60dfdfc007ce41676 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 00:19:00 +0200 Subject: [PATCH 05/12] chore(deps): update dependency com.google.cloud:google-cloud-securitycenter to v1 (#170) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index d3317fe04..159470ee6 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-securitycenter - 0.122.0 + 1.0.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c5871e719..0c4b6f204 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-securitycenter - 0.122.0 + 1.0.0 From 7c24dfbd8a00a8e355c7a85e980a7a10cccb24d3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 01:28:22 +0200 Subject: [PATCH 06/12] chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#177) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `5.7.0` -> `6.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-securitycenter). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 610a8f125..9bce0baa5 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.7.0 + 6.0.0 pom import From 74aa5b1f5acc1eead3532d51a437b5b64902b3b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 19:42:29 +0200 Subject: [PATCH 07/12] chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#179) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `6.0.0` -> `7.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-securitycenter). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 9bce0baa5..b868be285 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 6.0.0 + 7.0.0 pom import From 3b9268e488250b9b83ba65b6374028ec87333b80 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Jun 2020 23:29:00 -0700 Subject: [PATCH 08/12] chore: update README versions (#180) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a8c311ad-6f97-43b5-90f9-e2f21922dcec/targets - [ ] To automatically regenerate this PR, check this box. --- README.md | 4 ++-- synth.metadata | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d18b00ccf..38a31150d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.7.0 + 7.0.0 pom import @@ -38,7 +38,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 0.122.0 + 1.0.0 ``` diff --git a/synth.metadata b/synth.metadata index c8b243550..7ad7c8ee1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-securitycenter.git", - "sha": "b09f2525e597a003e00256d661d34de3909b7e7d" + "sha": "74aa5b1f5acc1eead3532d51a437b5b64902b3b9" } }, { From f11d67bc730214d3170929e4e8872ea23ab8099f Mon Sep 17 00:00:00 2001 From: yangnuoyu <46553752+yangnuoyu@users.noreply.github.com> Date: Thu, 18 Jun 2020 18:43:56 -0700 Subject: [PATCH 09/12] feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (#181) --- .gitignore | 4 +- google-cloud-securitycenter/pom.xml | 9 +++ grpc-google-cloud-securitycenter-v1/pom.xml | 9 +++ .../pom.xml | 9 +++ .../pom.xml | 9 +++ pom.xml | 80 ++----------------- proto-google-cloud-securitycenter-v1/pom.xml | 9 +++ .../pom.xml | 9 +++ .../pom.xml | 9 +++ 9 files changed, 71 insertions(+), 76 deletions(-) diff --git a/.gitignore b/.gitignore index c0af21a6a..83e19de62 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ api_key # Python utilities *.pyc artman-genfiles -venv \ No newline at end of file +venv + +.flattened-pom.xml diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index fb8339de2..7f98a70ca 100644 --- a/google-cloud-securitycenter/pom.xml +++ b/google-cloud-securitycenter/pom.xml @@ -120,4 +120,13 @@
+ + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index 7283ff784..77c1f5469 100644 --- a/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1/pom.xml @@ -61,4 +61,13 @@
+ + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 61db1533b..a749cd1ba 100644 --- a/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -61,4 +61,13 @@
+ + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 76fb93c4c..c17f58111 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -61,4 +61,13 @@
+ + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 19a4606c2..8c45d08f5 100644 --- a/pom.xml +++ b/pom.xml @@ -63,18 +63,6 @@ UTF-8 github google-cloud-securitycenter-parent - 1.91.1 - 1.9.2 - 1.18.0 - 1.57.0 - 1.30.0 - 3.12.2 - 4.13 - 29.0-android - 1.4.4 - 1.3.2 - 1.18 - 0.13.0
@@ -116,75 +104,17 @@ - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - com.google.api - gax-bom - ${gax.version} - pom - import - - - com.google.guava - guava-bom - ${guava.version} + com.google.cloud + google-cloud-shared-dependencies + 0.8.1 pom import - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.google.api - api-common - ${google.api-common.version} - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - org.threeten - threetenbp - ${threeten.version} - - - javax.annotation - javax.annotation-api - ${javax.annotations.version} - - - org.codehaus.mojo - animal-sniffer-annotations - ${animal-sniffer.version} - - - com.google.api.grpc - proto-google-iam-v1 - ${google.proto-iam.version} - - - junit junit - ${junit.version} - test - - - com.google.api - gax-grpc - ${gax.version} - testlib + 4.13 test @@ -278,7 +208,7 @@ https://developers.google.com/protocol-buffers/docs/reference/java/ https://googleapis.dev/java/google-auth-library/latest/ https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + https://googleapis.github.io/api-common-java/ diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index 8ba36f736..a4bd515d2 100644 --- a/proto-google-cloud-securitycenter-v1/pom.xml +++ b/proto-google-cloud-securitycenter-v1/pom.xml @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index 64be1e260..1d92e5c74 100644 --- a/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index c4cf01105..85c31e651 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file From 43cd9ea72617081ff4ab970759efd6810b0fbf62 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Jun 2020 22:52:38 +0200 Subject: [PATCH 10/12] build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.2.0 (#184) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.codehaus.mojo:build-helper-maven-plugin](http://www.mojohaus.org/build-helper-maven-plugin/) ([source](https://togithub.com/mojohaus/build-helper-maven-plugin)) | minor | `3.1.0` -> `3.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-securitycenter). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 159470ee6..0e43992ea 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0c4b6f204..0f90cc471 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source From 16ba9e2a5dc9b2d6ca8b248fdb8f606eb43134db Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 23 Jun 2020 00:43:27 +0200 Subject: [PATCH 11/12] chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#185) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `7.0.0` -> `7.0.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-securitycenter). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b868be285..b3a0d05fc 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 7.0.0 + 7.0.1 pom import From 29de19eb25b17b78c94d412e8190c401be8d6ae3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2020 22:00:04 +0000 Subject: [PATCH 12/12] chore: release 1.1.0 (#182) :robot: I have created a release \*beep\* \*boop\* --- ## [1.1.0](https://www.github.com/googleapis/java-securitycenter/compare/v1.0.0...v1.1.0) (2020-06-22) ### Features * **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#181](https://www.github.com/googleapis/java-securitycenter/issues/181)) ([f11d67b](https://www.github.com/googleapis/java-securitycenter/commit/f11d67bc730214d3170929e4e8872ea23ab8099f)) ### Documentation * specify allowed fields for UpdateNotificationConfig ([#174](https://www.github.com/googleapis/java-securitycenter/issues/174)) ([2bdf201](https://www.github.com/googleapis/java-securitycenter/commit/2bdf20193d74f4d33e7519f12afe027cc23e4647)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 12 ++++++++++++ README.md | 4 ++-- google-cloud-securitycenter-bom/pom.xml | 16 ++++++++-------- google-cloud-securitycenter/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1beta1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-securitycenter-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 14 +++++++------- 12 files changed, 51 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed5ebcb78..4b144c802 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.1.0](https://www.github.com/googleapis/java-securitycenter/compare/v1.0.0...v1.1.0) (2020-06-22) + + +### Features + +* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#181](https://www.github.com/googleapis/java-securitycenter/issues/181)) ([f11d67b](https://www.github.com/googleapis/java-securitycenter/commit/f11d67bc730214d3170929e4e8872ea23ab8099f)) + + +### Documentation + +* specify allowed fields for UpdateNotificationConfig ([#174](https://www.github.com/googleapis/java-securitycenter/issues/174)) ([2bdf201](https://www.github.com/googleapis/java-securitycenter/commit/2bdf20193d74f4d33e7519f12afe027cc23e4647)) + ## [1.0.0](https://www.github.com/googleapis/java-securitycenter/compare/v0.122.0...v1.0.0) (2020-06-12) diff --git a/README.md b/README.md index 38a31150d..d64767186 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:1.0.0' +compile 'com.google.cloud:google-cloud-securitycenter:1.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "1.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "1.1.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index 4a5445cf4..60697cd3e 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 1.0.1-SNAPSHOT + 1.1.0 pom com.google.cloud @@ -64,37 +64,37 @@ com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 com.google.cloud google-cloud-securitycenter - 1.0.1-SNAPSHOT + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index 7f98a70ca..4fe77f5d8 100644 --- a/google-cloud-securitycenter/pom.xml +++ b/google-cloud-securitycenter/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter - 1.0.1-SNAPSHOT + 1.1.0 jar Google Cloud Security Command Center https://github.com/googleapis/java-securitycenter @@ -11,7 +11,7 @@ com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 google-cloud-securitycenter diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index 77c1f5469..08fc657de 100644 --- a/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index a749cd1ba..5844dc64b 100644 --- a/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index c17f58111..65aa7e689 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/pom.xml b/pom.xml index 8c45d08f5..79e07e6c9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 1.0.1-SNAPSHOT + 1.1.0 Google Cloud Security Command Center Parent https://github.com/googleapis/java-securitycenter @@ -70,37 +70,37 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 com.google.cloud google-cloud-securitycenter - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index a4bd515d2..be584c07c 100644 --- a/proto-google-cloud-securitycenter-v1/pom.xml +++ b/proto-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.1-SNAPSHOT + 1.1.0 proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index 1d92e5c74..2ab99d26b 100644 --- a/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.1-SNAPSHOT + 0.89.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index 85c31e651..a3288efd0 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.1-SNAPSHOT + 0.89.0 proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.1-SNAPSHOT + 1.1.0 diff --git a/versions.txt b/versions.txt index ff49bf01c..ec9091769 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-cloud-securitycenter-v1:1.0.0:1.0.1-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.88.0:0.88.1-SNAPSHOT -proto-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1:1.0.0:1.0.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.88.0:0.88.1-SNAPSHOT -grpc-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.1-SNAPSHOT -google-cloud-securitycenter:1.0.0:1.0.1-SNAPSHOT \ No newline at end of file +proto-google-cloud-securitycenter-v1:1.1.0:1.1.0 +proto-google-cloud-securitycenter-v1beta1:0.89.0:0.89.0 +proto-google-cloud-securitycenter-v1p1beta1:0.89.0:0.89.0 +grpc-google-cloud-securitycenter-v1:1.1.0:1.1.0 +grpc-google-cloud-securitycenter-v1beta1:0.89.0:0.89.0 +grpc-google-cloud-securitycenter-v1p1beta1:0.89.0:0.89.0 +google-cloud-securitycenter:1.1.0:1.1.0 \ No newline at end of file