sysdig

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemaIDKey             = "id"
	SchemaTeamIDKey         = "team_id"
	SchemaPoliciesKey       = "policies"
	SchemaPolicyIDsKey      = "policy_ids"
	SchemaNameKey           = "name"
	SchemaTypeKey           = "type"
	SchemaKindKey           = "kind"
	SchemaDescriptionKey    = "description"
	SchemaVersionKey        = "version"
	SchemaLinkKey           = "link"
	SchemaAuthorsKey        = "authors"
	SchemaAuthorKey         = "author"
	SchemaLastModifiedBy    = "last_modified_by"
	SchemaLastUpdated       = "last_updated"
	SchemaExpirationDateKey = "expiration_date"
	SchemaPublishedDateKey  = "published_date"
	SchemaCreatedDateKey    = "date_created"
	SchemaMinKubeVersionKey = "min_kube_version"
	SchemaMaxKubeVersionKey = "max_kube_version"
	SchemaIsCustomKey       = "is_custom"
	SchemaIsActiveKey       = "is_active"
	SchemaPlatformKey       = "platform"
	SchemaZonesKey          = "zones"
	SchemaZonesIDsKey       = "zone_ids"
	SchemaAllZones          = "all_zones"
	SchemaScopeKey          = "scope"
	SchemaScopesKey         = "scopes"
	SchemaTargetTypeKey     = "target_type"
	SchemaRoleKey           = "role"
	SchemaSystemRoleKey     = "system_role"
	SchemaRulesKey          = "rules"
	SchemaApiKeyKey         = "api_key"
	SchemaPermissionsKey    = "permissions"
	SchemaMonitorPermKey    = "monitor_permissions"
	SchemaSecurePermKey     = "secure_permissions"
	SchemaRequestedPermKey  = "requested_permissions"
	SchemaEnrichedPermKey   = "enriched_permissions"
)
View Source
const (
	NOTIFICATION_CHANNEL_TYPE_EMAIL      = "EMAIL"
	NOTIFICATION_CHANNEL_TYPE_AMAZON_SNS = "SNS"
	NOTIFICATION_CHANNEL_TYPE_OPSGENIE   = "OPSGENIE"
	NOTIFICATION_CHANNEL_TYPE_VICTOROPS  = "VICTOROPS"
	NOTIFICATION_CHANNEL_TYPE_WEBHOOK    = "WEBHOOK"
	NOTIFICATION_CHANNEL_TYPE_SLACK      = "SLACK"
	NOTIFICATION_CHANNEL_TYPE_PAGERDUTY  = "PAGER_DUTY"
	NOTIFICATION_CHANNEL_TYPE_MS_TEAMS   = "MS_TEAMS"

	NOTIFICATION_CHANNEL_TYPE_SLACK_TEMPLATE_KEY_V1    = "SLACK_SECURE_EVENT_NOTIFICATION_TEMPLATE_METADATA_v1"
	NOTIFICATION_CHANNEL_TYPE_SLACK_TEMPLATE_KEY_V2    = "SLACK_SECURE_EVENT_NOTIFICATION_TEMPLATE_METADATA_v2"
	NOTIFICATION_CHANNEL_TYPE_MS_TEAMS_TEMPLATE_KEY_V1 = "MS_TEAMS_SECURE_EVENT_NOTIFICATION_TEMPLATE_METADATA_v1"
	NOTIFICATION_CHANNEL_TYPE_MS_TEAMS_TEMPLATE_KEY_V2 = "MS_TEAMS_SECURE_EVENT_NOTIFICATION_TEMPLATE_METADATA_v2"

	NOTIFICATION_CHANNEL_SECURE_EVENT_NOTIFICATION_CONTENT_SECTION = "SECURE_EVENT_NOTIFICATION_CONTENT"
)
View Source
const AlertV2CaptureFilenameRegexp = `.*?\.scap`

Variables

This section is empty.

Functions

func AlertLinkV2TypeValues added in v1.6.0

func AlertLinkV2TypeValues() []string

func AlertV2SeverityValues added in v1.6.0

func AlertV2SeverityValues() []string

func GetValueFromTemplate added in v0.5.38

func GetValueFromTemplate(what *gabs.Container) (string, *gabs.Container)

GetValueFromTemplate can be used to obtain string value from JSON object

func Provider

func Provider() *schema.Provider

Types

type ClientType added in v1.1.0

type ClientType int
const (
	SysdigMonitor ClientType = iota
	SysdigSecure
	IBMMonitor
	IBMSecure
)

func (ClientType) String added in v1.4.0

func (i ClientType) String() string

type KiltRecipeConfig added in v0.5.22

type KiltRecipeConfig struct {
	SysdigAccessKey  string `json:"sysdig_access_key"`
	AgentImage       string `json:"agent_image"`
	OrchestratorHost string `json:"orchestrator_host"`
	OrchestratorPort string `json:"orchestrator_port"`
	CollectorHost    string `json:"collector_host"`
	CollectorPort    string `json:"collector_port"`
	SysdigLogging    string `json:"sysdig_logging"`
}

type SysdigClients

type SysdigClients interface {
	GetClientType() ClientType
	GetSecureEndpoint() (string, error)
	GetSecureApiToken() (string, error)
	// contains filtered or unexported methods
}

Source Files

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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