securitycenter

package
v5.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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