global

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntegrationTypeLower = "entraid"                                    // example: aws, azure
	IntegrationName      = integration.Type("entraid_directory")        // example: AWS_ACCOUNT, AZURE_SUBSCRIPTION
	OGPluginRepoURL      = "github.com/opengovern/og-describer-entraid" // example: github.com/opengovern/og-describer-aws
)
View Source
const (
	StreamName           = "og_describer_entraid"
	JobQueueTopic        = "og_describer_entraid_job_queue"
	ConsumerGroup        = "describer-entraid"
	JobQueueTopicManuals = "og_describer_entraid_manuals_job_queue"
	ConsumerGroupManuals = "describer-entraid-manuals"
)

Variables

This section is empty.

Functions

func ExtractResourceType

func ExtractResourceType(tableName string) string

func ExtractTableName

func ExtractTableName(resourceType string) string

func ExtractTagsAndNames

func ExtractTagsAndNames(logger *zap.Logger, plg *plugin.Plugin, resourceType string, source interface{}) (map[string]string, string, error)

func GetResourceTypeByTableName

func GetResourceTypeByTableName(tableName string) string

GetResourceTypeByTableName TODO: use this in integration implementation

func Plugin

func Plugin() *plugin.Plugin

Types

type IntegrationCredentials

type IntegrationCredentials struct {
	TenantID            string `json:"tenant_id"`
	ClientID            string `json:"client_id"`
	ClientPassword      string `json:"client_password"`
	Certificate         string `json:"certificate"`
	CertificatePassword string `json:"certificate_password"`
	SpnObjectId         string `json:"spn_object_id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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