securitycenter

package
v5.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 MergeSecurityCenterSourceIamBinding

func MergeSecurityCenterSourceIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeSecurityCenterSourceIamBindingDelete

func MergeSecurityCenterSourceIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeSecurityCenterSourceIamMember

func MergeSecurityCenterSourceIamMember(existing, incoming cai.Asset) cai.Asset

func MergeSecurityCenterSourceIamMemberDelete

func MergeSecurityCenterSourceIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeSecurityCenterSourceIamPolicy

func MergeSecurityCenterSourceIamPolicy(existing, incoming cai.Asset) cai.Asset

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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL