Documentation ¶
Index ¶
- Constants
- Variables
- func FetchSecurityCenterSourceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetSecurityCenterEventThreatDetectionCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterEventThreatDetectionCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterFolderCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterFolderCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterMuteConfigApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterMuteConfigCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterNotificationConfigApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterNotificationConfigCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterOrganizationCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterOrganizationCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterProjectCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterProjectCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterSourceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecurityCenterSourceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterSourceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterSourceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecurityCenterSourceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeSecurityCenterSourceIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeSecurityCenterSourceIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSecurityCenterSourceIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeSecurityCenterSourceIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSecurityCenterSourceIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterSecurityCenterEventThreatDetectionCustomModule() cai.ResourceConverter
- func ResourceConverterSecurityCenterFolderCustomModule() cai.ResourceConverter
- func ResourceConverterSecurityCenterMuteConfig() cai.ResourceConverter
- func ResourceConverterSecurityCenterNotificationConfig() cai.ResourceConverter
- func ResourceConverterSecurityCenterOrganizationCustomModule() cai.ResourceConverter
- func ResourceConverterSecurityCenterProjectCustomModule() cai.ResourceConverter
- func ResourceConverterSecurityCenterSource() cai.ResourceConverter
- func ResourceConverterSecurityCenterSourceIamBinding() cai.ResourceConverter
- func ResourceConverterSecurityCenterSourceIamMember() cai.ResourceConverter
- func ResourceConverterSecurityCenterSourceIamPolicy() cai.ResourceConverter
- func SecurityCenterSourceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func SecurityCenterSourceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- type SecurityCenterSourceIamUpdater
- func (u *SecurityCenterSourceIamUpdater) DescribeResource() string
- func (u *SecurityCenterSourceIamUpdater) GetMutexKey() string
- func (u *SecurityCenterSourceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SecurityCenterSourceIamUpdater) GetResourceId() string
- func (u *SecurityCenterSourceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const SecurityCenterEventThreatDetectionCustomModuleAssetType string = "securitycenter.googleapis.com/EventThreatDetectionCustomModule"
View Source
const SecurityCenterFolderCustomModuleAssetType string = "securitycenter.googleapis.com/FolderCustomModule"
View Source
const SecurityCenterMuteConfigAssetType string = "securitycenter.googleapis.com/MuteConfig"
View Source
const SecurityCenterNotificationConfigAssetType string = "securitycenter.googleapis.com/NotificationConfig"
View Source
const SecurityCenterOrganizationCustomModuleAssetType string = "securitycenter.googleapis.com/OrganizationCustomModule"
View Source
const SecurityCenterProjectCustomModuleAssetType string = "securitycenter.googleapis.com/ProjectCustomModule"
View Source
const SecurityCenterSourceAssetType string = "securitycenter.googleapis.com/Source"
View Source
const SecurityCenterSourceIAMAssetType string = "securitycenter.googleapis.com/Source"
Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files
Variables ¶
View Source
var SecurityCenterSourceIamSchema = map[string]*schema.Schema{ "organization": { Type: schema.TypeString, Required: true, ForceNew: true, }, "source": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func FetchSecurityCenterSourceIamPolicy ¶
func FetchSecurityCenterSourceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetSecurityCenterEventThreatDetectionCustomModuleApiObject ¶ added in v5.18.0
func GetSecurityCenterEventThreatDetectionCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterEventThreatDetectionCustomModuleCaiObject ¶ added in v5.18.0
func GetSecurityCenterEventThreatDetectionCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterFolderCustomModuleApiObject ¶
func GetSecurityCenterFolderCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterFolderCustomModuleCaiObject ¶
func GetSecurityCenterFolderCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterMuteConfigApiObject ¶
func GetSecurityCenterMuteConfigApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterMuteConfigCaiObject ¶
func GetSecurityCenterMuteConfigCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterNotificationConfigApiObject ¶
func GetSecurityCenterNotificationConfigApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterNotificationConfigCaiObject ¶
func GetSecurityCenterNotificationConfigCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterOrganizationCustomModuleApiObject ¶
func GetSecurityCenterOrganizationCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterOrganizationCustomModuleCaiObject ¶
func GetSecurityCenterOrganizationCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterProjectCustomModuleApiObject ¶
func GetSecurityCenterProjectCustomModuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterProjectCustomModuleCaiObject ¶
func GetSecurityCenterProjectCustomModuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterSourceApiObject ¶
func GetSecurityCenterSourceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecurityCenterSourceCaiObject ¶
func GetSecurityCenterSourceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterSourceIamBindingCaiObject ¶
func GetSecurityCenterSourceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterSourceIamMemberCaiObject ¶
func GetSecurityCenterSourceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecurityCenterSourceIamPolicyCaiObject ¶
func GetSecurityCenterSourceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func ResourceConverterSecurityCenterEventThreatDetectionCustomModule ¶ added in v5.18.0
func ResourceConverterSecurityCenterEventThreatDetectionCustomModule() cai.ResourceConverter
func ResourceConverterSecurityCenterFolderCustomModule ¶
func ResourceConverterSecurityCenterFolderCustomModule() cai.ResourceConverter
func ResourceConverterSecurityCenterMuteConfig ¶
func ResourceConverterSecurityCenterMuteConfig() cai.ResourceConverter
func ResourceConverterSecurityCenterNotificationConfig ¶
func ResourceConverterSecurityCenterNotificationConfig() cai.ResourceConverter
func ResourceConverterSecurityCenterOrganizationCustomModule ¶
func ResourceConverterSecurityCenterOrganizationCustomModule() cai.ResourceConverter
func ResourceConverterSecurityCenterProjectCustomModule ¶
func ResourceConverterSecurityCenterProjectCustomModule() cai.ResourceConverter
func ResourceConverterSecurityCenterSource ¶
func ResourceConverterSecurityCenterSource() cai.ResourceConverter
func ResourceConverterSecurityCenterSourceIamBinding ¶
func ResourceConverterSecurityCenterSourceIamBinding() cai.ResourceConverter
func ResourceConverterSecurityCenterSourceIamMember ¶
func ResourceConverterSecurityCenterSourceIamMember() cai.ResourceConverter
func ResourceConverterSecurityCenterSourceIamPolicy ¶
func ResourceConverterSecurityCenterSourceIamPolicy() cai.ResourceConverter
func SecurityCenterSourceIamUpdaterProducer ¶
func SecurityCenterSourceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func SecurityCenterSourceIdParseFunc ¶
func SecurityCenterSourceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
Types ¶
type SecurityCenterSourceIamUpdater ¶
type SecurityCenterSourceIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*SecurityCenterSourceIamUpdater) DescribeResource ¶
func (u *SecurityCenterSourceIamUpdater) DescribeResource() string
func (*SecurityCenterSourceIamUpdater) GetMutexKey ¶
func (u *SecurityCenterSourceIamUpdater) GetMutexKey() string
func (*SecurityCenterSourceIamUpdater) GetResourceIamPolicy ¶
func (u *SecurityCenterSourceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SecurityCenterSourceIamUpdater) GetResourceId ¶
func (u *SecurityCenterSourceIamUpdater) GetResourceId() string
func (*SecurityCenterSourceIamUpdater) SetResourceIamPolicy ¶
func (u *SecurityCenterSourceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Source Files ¶
- iam_securitycenter_source.go
- securitycenter_event_threat_detection_custom_module.go
- securitycenter_folder_custom_module.go
- securitycenter_mute_config.go
- securitycenter_notification_config.go
- securitycenter_organization_custom_module.go
- securitycenter_project_custom_module.go
- securitycenter_source.go
- securitycenter_source_iam.go
Click to show internal directories.
Click to hide internal directories.