...
1# Copyright 2022 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
15apiVersion: core.cnrm.cloud.google.com/v1alpha1
16kind: ServiceMapping
17metadata:
18 name: securitycenter.cnrm.cloud.google.com
19 namespace: cnrm-system
20spec:
21 name: SecurityCenter
22 version: v1beta1
23 serviceHostName: securitycenter.googleapis.com
24 resources:
25 - name: google_scc_mute_config
26 kind: SecurityCenterMuteConfig
27 autoGenerated: true
28 idTemplate: "{{name}}"
29 idTemplateCanBeUsedToMatchResourceName: false
30 resourceAvailableInAssetInventory: false
31 serverGeneratedIDField: name
32 resourceID:
33 targetField: name
34 valueTemplate: "{{parent}}/muteConfigs/{{value}}"
35 - name: google_scc_notification_config
36 kind: SecurityCenterNotificationConfig
37 autoGenerated: true
38 idTemplate: "organizations/{{organization}}/notificationConfigs/{{name}}"
39 idTemplateCanBeUsedToMatchResourceName: false
40 resourceAvailableInAssetInventory: false
41 serverGeneratedIDField: name
42 resourceID:
43 targetField: name
44 hierarchicalReferences:
45 - type: organization
46 key: organizationRef
47 resourceReferences:
48 - tfField: organization
49 key: organizationRef
50 description: |-
51 The organization that this resource belongs to.
52 gvk:
53 kind: Organization
54 version: v1beta1
55 group: resourcemanager.cnrm.cloud.google.com
56 - name: google_scc_source
57 kind: SecurityCenterSource
58 autoGenerated: true
59 iamConfig:
60 policyName: google_scc_source_iam_policy
61 policyMemberName: google_scc_source_iam_member
62 referenceField:
63 name: source
64 type: name
65 supportsConditions: false
66 idTemplate: "organizations/{{organization}}/sources/{{name}}"
67 idTemplateCanBeUsedToMatchResourceName: false
68 resourceAvailableInAssetInventory: false
69 serverGeneratedIDField: name
70 resourceID:
71 targetField: name
72 hierarchicalReferences:
73 - type: organization
74 key: organizationRef
75 resourceReferences:
76 - tfField: organization
77 key: organizationRef
78 description: |-
79 The organization that this resource belongs to.
80 gvk:
81 kind: Organization
82 version: v1beta1
83 group: resourcemanager.cnrm.cloud.google.com
View as plain text