Skip to content

Commit 690a755

Browse files
hegemonicapeabodyglasnt
authored
feat(securitycenter): add sample for setting custom endpoint (#853)
* feat(security_center_v2): add sample for setting custom endpoint * update CODEOWNERS * rename directories and region tags * Update .github/CODEOWNERS Co-authored-by: Katie McLaughlin <[email protected]> * Add CODEOWNERS --------- Co-authored-by: Andrew Peabody <[email protected]> Co-authored-by: Katie McLaughlin <[email protected]> Co-authored-by: Katie McLaughlin <[email protected]>
1 parent 7c67f11 commit 690a755

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/network_security/intercept/ @terraform-google-modules/pm2-team @terraform-google-modules/terraform-samples-reviewers
2121
/network_security/mirroring/ @terraform-google-modules/pm2-team @terraform-google-modules/terraform-samples-reviewers
2222
/privateca/ @terraform-google-modules/dee-infra @terraform-google-modules/terraform-samples-reviewers
23+
/securitycenter/ @terraform-google-modules/gcp-security-command-center @terraform-google-modules/terraform-samples-reviewers
2324
/storage/ @terraform-google-modules/cloud-storage-dpe @terraform-google-modules/terraform-samples-reviewers
2425
/traffic_director/ @terraform-google-modules/dee-infra @terraform-google-modules/terraform-samples-reviewers
2526
/vpc/ @terraform-google-modules/dee-infra @terraform-google-modules/terraform-samples-reviewers
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
# [START securitycenter_v2_endpoint_us]
18+
provider "google" {
19+
alias = "securitycenter_v2_endpoint_us"
20+
security_center_v2_custom_endpoint = "https://securitycenter.us.rep.googleapis.com/v2/"
21+
}
22+
# [END securitycenter_v2_endpoint_us]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: blueprints.cloud.google.com/v1alpha1
16+
kind: BlueprintTest
17+
metadata:
18+
name: securitycenter_v2_endpoint_us
19+
spec:
20+
skip: true

0 commit comments

Comments
 (0)