diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 91c0ea20f..b67212769 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-java:latest
- digest: sha256:4837f2a7fdff2985b4f7432f8a6d6a87beacebf3ac071746532c0ce2e3f24b9b
+ digest: sha256:8c50e7bab0ae5ad41ee29420b558542637104500f6256b8fe74282b0cf6144db
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
deleted file mode 100644
index b1537bcd5..000000000
--- a/.github/readme/synth.metadata/synth.metadata
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "sources": [
- {
- "git": {
- "name": ".",
- "remote": "https://github.com/googleapis/java-securitycenter.git",
- "sha": "ebc9713a7a612df38131848c97af69b11466ba57"
- }
- },
- {
- "git": {
- "name": "synthtool",
- "remote": "https://github.com/googleapis/synthtool.git",
- "sha": "a01e1a0bf70754f51450958b966bd673945d1e6e"
- }
- }
- ]
-}
\ No newline at end of file
diff --git a/.github/readme/synth.py b/.github/readme/synth.py
deleted file mode 100644
index 7b48cc28d..000000000
--- a/.github/readme/synth.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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.
-
-"""This script is used to synthesize generated the README for this library."""
-
-from synthtool.languages import java
-
-java.custom_templates(["java_library/README.md"])
diff --git a/.github/trusted-contribution.yml b/.github/trusted-contribution.yml
index f247d5c78..a0ba1f7d9 100644
--- a/.github/trusted-contribution.yml
+++ b/.github/trusted-contribution.yml
@@ -1,2 +1,3 @@
trustedContributors:
-- renovate-bot
\ No newline at end of file
+- renovate-bot
+- gcf-owl-bot[bot]
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e23d923e1..3becb5c02 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -26,6 +26,9 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
+ - uses: stCarolas/setup-maven@v4
+ with:
+ maven-version: 3.8.1
- uses: actions/setup-java@v1
with:
java-version: 8
@@ -75,4 +78,4 @@ jobs:
- run: java -version
- run: .kokoro/build.sh
env:
- JOB_TYPE: clirr
\ No newline at end of file
+ JOB_TYPE: clirr
diff --git a/.kokoro/continuous/readme.cfg b/.kokoro/continuous/readme.cfg
deleted file mode 100644
index 4fa2476d0..000000000
--- a/.kokoro/continuous/readme.cfg
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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.
-
-# Format: //devtools/kokoro/config/proto/build.proto
-
-env_vars: {
- key: "TRAMPOLINE_IMAGE"
- value: "gcr.io/cloud-devrel-kokoro-resources/python-multi"
-}
-
-env_vars: {
- key: "TRAMPOLINE_BUILD_FILE"
- value: "github/java-securitycenter/.kokoro/readme.sh"
-}
-
-# Build logs will be here
-action {
- define_artifacts {
- regex: "**/*sponge_log.xml"
- regex: "**/*sponge_log.log"
- }
-}
-
-# The github token is stored here.
-before_action {
- fetch_keystore {
- keystore_resource {
- keystore_config_id: 73713
- keyname: "yoshi-automation-github-key"
- # TODO(theacodes): remove this after secrets have globally propagated
- backend_type: FASTCONFIGPUSH
- }
- }
-}
-
-# Common env vars for all repositories and builds.
-env_vars: {
- key: "GITHUB_USER"
- value: "yoshi-automation"
-}
-env_vars: {
- key: "GITHUB_EMAIL"
- value: "yoshi-automation@google.com"
-}
diff --git a/.kokoro/release/common.sh b/.kokoro/release/common.sh
index 6e3f65999..7f78ee414 100755
--- a/.kokoro/release/common.sh
+++ b/.kokoro/release/common.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2018 Google Inc.
+# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/release/drop.sh b/.kokoro/release/drop.sh
index 5c4551efa..742ec1a88 100755
--- a/.kokoro/release/drop.sh
+++ b/.kokoro/release/drop.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2018 Google Inc.
+# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/release/promote.sh b/.kokoro/release/promote.sh
index 1fa95fa53..3cac3d8a9 100755
--- a/.kokoro/release/promote.sh
+++ b/.kokoro/release/promote.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2018 Google Inc.
+# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh
index 9250cb7d5..5a19aeaa2 100755
--- a/.kokoro/release/publish_javadoc.sh
+++ b/.kokoro/release/publish_javadoc.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2019 Google Inc.
+# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 9e1b7eb30..c6ac90f17 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2021 Google Inc.
+# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh
index 8a1033843..77dc4e8f0 100755
--- a/.kokoro/release/stage.sh
+++ b/.kokoro/release/stage.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2018 Google Inc.
+# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh
index 9da0f8398..8b69b793c 100644
--- a/.kokoro/trampoline.sh
+++ b/.kokoro/trampoline.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2018 Google Inc.
+# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d4905458b..4f62f5fbc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [2.1.2](https://www.github.com/googleapis/java-securitycenter/compare/v2.1.1...v2.1.2) (2021-09-14)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#639](https://www.github.com/googleapis/java-securitycenter/issues/639)) ([565810b](https://www.github.com/googleapis/java-securitycenter/commit/565810b597e9cb88b4ef8ce8fc3f05294793dc19))
+
### [2.1.1](https://www.github.com/googleapis/java-securitycenter/compare/v2.1.0...v2.1.1) (2021-09-03)
diff --git a/README.md b/README.md
index ea2ff2827..f94279145 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 22.0.0
+ 23.0.0
pom
import
@@ -46,7 +46,7 @@ If you are using Maven without BOM, add this to your dependencies:
com.google.cloud
google-cloud-securitycenter
- 2.1.0
+ 2.1.1
```
@@ -54,20 +54,20 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:22.0.0')
+implementation platform('com.google.cloud:libraries-bom:23.0.0')
implementation 'com.google.cloud:google-cloud-securitycenter'
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-implementation 'com.google.cloud:google-cloud-securitycenter:2.1.0'
+implementation 'com.google.cloud:google-cloud-securitycenter:2.1.1'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.1.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.1.1"
```
## Authentication
diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml
index 59a37c6f2..1160c64f9 100644
--- a/google-cloud-securitycenter-bom/pom.xml
+++ b/google-cloud-securitycenter-bom/pom.xml
@@ -3,12 +3,12 @@
4.0.0
com.google.cloud
google-cloud-securitycenter-bom
- 2.1.1
+ 2.1.2
pom
com.google.cloud
google-cloud-shared-config
- 1.0.1
+ 1.0.2
Google Cloud Security Command Center BOM
@@ -53,37 +53,37 @@
com.google.cloud
google-cloud-securitycenter
- 2.1.1
+ 2.1.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1
- 2.1.1
+ 2.1.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1p1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
proto-google-cloud-securitycenter-v1
- 2.1.1
+ 2.1.2
com.google.api.grpc
proto-google-cloud-securitycenter-v1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
proto-google-cloud-securitycenter-v1p1beta1
- 0.96.1
+ 0.96.2
diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml
index 50de96129..871398f63 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
- 2.1.1
+ 2.1.2
jar
Google Cloud Security Command Center
https://github.com/googleapis/java-securitycenter
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
google-cloud-securitycenter
diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml
index 33a58991d..635691ac3 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
- 2.1.1
+ 2.1.2
grpc-google-cloud-securitycenter-v1
GRPC library for grpc-google-cloud-securitycenter-v1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml
index 2a4697453..a2213e7bf 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.96.1
+ 0.96.2
grpc-google-cloud-securitycenter-v1beta1
GRPC library for grpc-google-cloud-securitycenter-v1beta1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml
index 93bfeb04a..35540b223 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.96.1
+ 0.96.2
grpc-google-cloud-securitycenter-v1p1beta1
GRPC library for grpc-google-cloud-securitycenter-v1p1beta1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/pom.xml b/pom.xml
index a9ad49c96..9153b6f15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-securitycenter-parent
pom
- 2.1.1
+ 2.1.2
Google Cloud Security Command Center Parent
https://github.com/googleapis/java-securitycenter
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.0.1
+ 1.0.2
@@ -61,43 +61,43 @@
com.google.api.grpc
proto-google-cloud-securitycenter-v1
- 2.1.1
+ 2.1.2
com.google.api.grpc
proto-google-cloud-securitycenter-v1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
proto-google-cloud-securitycenter-v1p1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1
- 2.1.1
+ 2.1.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1beta1
- 0.96.1
+ 0.96.2
com.google.api.grpc
grpc-google-cloud-securitycenter-v1p1beta1
- 0.96.1
+ 0.96.2
com.google.cloud
google-cloud-securitycenter
- 2.1.1
+ 2.1.2
com.google.cloud
google-cloud-shared-dependencies
- 2.2.0
+ 2.2.1
pom
import
diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml
index a6a8b63a2..a9cca0867 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
- 2.1.1
+ 2.1.2
proto-google-cloud-securitycenter-v1
PROTO library for proto-google-cloud-securitycenter-v1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml
index eef0b7f96..6404d1620 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.96.1
+ 0.96.2
proto-google-cloud-securitycenter-v1beta1
PROTO library for proto-google-cloud-securitycenter-v1beta1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml
index b79904daa..ce4673312 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.96.1
+ 0.96.2
proto-google-cloud-securitycenter-v1p1beta1
PROTO library for proto-google-cloud-securitycenter-v1p1beta1
com.google.cloud
google-cloud-securitycenter-parent
- 2.1.1
+ 2.1.2
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 5a7494690..fdad4ce04 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
- 2.1.0
+ 2.1.1
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index fc0622313..465e8f719 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-securitycenter
- 2.1.0
+ 2.1.1
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 15fd3381b..f951dc74c 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 22.0.0
+ 23.0.0
pom
import
diff --git a/versions.txt b/versions.txt
index 3d57bbf18..32979c8a8 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,10 +1,10 @@
# Format:
# module:released-version:current-version
-google-cloud-securitycenter:2.1.1:2.1.1
-grpc-google-cloud-securitycenter-v1:2.1.1:2.1.1
-grpc-google-cloud-securitycenter-v1beta1:0.96.1:0.96.1
-grpc-google-cloud-securitycenter-v1p1beta1:0.96.1:0.96.1
-proto-google-cloud-securitycenter-v1:2.1.1:2.1.1
-proto-google-cloud-securitycenter-v1beta1:0.96.1:0.96.1
-proto-google-cloud-securitycenter-v1p1beta1:0.96.1:0.96.1
+google-cloud-securitycenter:2.1.2:2.1.2
+grpc-google-cloud-securitycenter-v1:2.1.2:2.1.2
+grpc-google-cloud-securitycenter-v1beta1:0.96.2:0.96.2
+grpc-google-cloud-securitycenter-v1p1beta1:0.96.2:0.96.2
+proto-google-cloud-securitycenter-v1:2.1.2:2.1.2
+proto-google-cloud-securitycenter-v1beta1:0.96.2:0.96.2
+proto-google-cloud-securitycenter-v1p1beta1:0.96.2:0.96.2