Documentation ¶
Index ¶
- func ConfigInstance() interface{}
- func GetConfig(connection *plugin.Connection) guardrailsConfig
- func Plugin(ctx context.Context) *plugin.Plugin
- type ActiveGrant
- type ActiveGrantInfo
- type Control
- type ControlMetadataResponse
- type ControlResponse
- type ControlType
- type ControlTypeResponse
- type ControlTypesResponse
- type ControlsResponse
- type Grant
- type GrantInfo
- type GrantNotification
- type GuardrailsControlMetadata
- type GuardrailsIDObject
- type GuardrailsNotificationMetadata
- type GuardrailsPolicySettingMetadata
- type GuardrailsTagMetadata
- type ModVersion
- type ModVersionDetail
- type ModVersionHead
- type ModVersionInfo
- type ModVersionResponse
- type Notification
- type NotificationsGetResponse
- type NotificationsResponse
- type PeerDependency
- type PolicySetting
- type PolicySettingResponse
- type PolicySettingsResponse
- type PolicyType
- type PolicyTypeResponse
- type PolicyTypesResponse
- type PolicyValue
- type PolicyValueResourceDetails
- type PolicyValueTurbotProperty
- type PolicyValueType
- type PolicyValuesResponse
- type Resource
- type ResourceResponse
- type ResourceType
- type ResourceTypeResponse
- type ResourceTypesResponse
- type ResourcesResponse
- type Tag
- type TagResource
- type TagResources
- type TagsResponse
- type TurbotResourceMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) guardrailsConfig
GetConfig :: retrieve and cast connection config from query data
Types ¶
type ActiveGrant ¶
type ActiveGrant struct { Resource struct { Akas []string Title string Trunk struct { Title string } Type struct { URI string Trunk struct { Title string } } Turbot GuardrailsControlMetadata } Grant struct { Identity struct { Akas []string Email string Status string GivenName string ProfileID string FamilyName string DisplayName string LastLoginTimestamp *time.Time Trunk struct { Title string } } Level struct { Title string URI string Trunk struct { Title string } } Turbot GuardrailsControlMetadata } Turbot TurbotResourceMetadata }
type ActiveGrantInfo ¶
type ActiveGrantInfo struct { ActiveGrants struct { Items []ActiveGrant Paging struct { Next string } } }
type ControlMetadataResponse ¶ added in v0.16.0
type ControlMetadataResponse struct {
Controls struct {
Metadata interface{}
}
}
type ControlResponse ¶
type ControlResponse struct {
Control Control
}
type ControlType ¶
type ControlTypeResponse ¶
type ControlTypeResponse struct {
ControlType ControlType
}
type ControlTypesResponse ¶
type ControlTypesResponse struct { ControlTypes struct { Items []ControlType Paging struct { Next string } } }
type ControlsResponse ¶
type Grant ¶
type Grant struct { Resource struct { Akas []string Title string Trunk struct { Title string } Type struct { URI string Trunk struct { Title string } } Turbot GuardrailsControlMetadata } Identity struct { Akas []string Email string Status string GivenName string ProfileID string FamilyName string DisplayName string LastLoginTimestamp *time.Time Trunk struct { Title string } } Type struct { CategoriUri string Category string ModUri string Trunk struct { Title string } URI string } Level struct { Title string URI string Trunk struct { Title string } } Turbot GuardrailsControlMetadata }
type GrantNotification ¶
type GuardrailsIDObject ¶
type GuardrailsIDObject struct { Turbot struct { ID string } }
type GuardrailsNotificationMetadata ¶
type GuardrailsNotificationMetadata struct { ControlID *string ControlNewVersionID *string ControlOldVersionID *string CreateTimestamp string ID string PolicySettingID *string PolicySettingNewVersionID *string PolicySettingOldVersionID *string ProcessID *string ResourceID *string ResourceNewVersionID *string ResourceOldVersionID *string ResourceTypeID *string Timestamp string UpdateTimestamp *string VersionID string GrantID *string GrantNewVersionID *string GrantOldVersionID *string ActiveGrantsID *string ActiveGrantsNewVersionID *string ActiveGrantsOldVersionID *string }
type GuardrailsTagMetadata ¶
type ModVersion ¶
type ModVersion struct { IdentityName string Name string Versions []ModVersionDetail }
type ModVersionDetail ¶
type ModVersionDetail struct { Version string Status string Head ModVersionHead }
type ModVersionHead ¶
type ModVersionHead struct {
PeerDependencies []PeerDependency
}
type ModVersionInfo ¶
type ModVersionInfo struct { IdentityName string Name string Status string Version string Head ModVersionHead }
type ModVersionResponse ¶
type ModVersionResponse struct { ModVersionSearches struct { Items []ModVersion Paging struct { Next string } } }
type Notification ¶
type Notification struct { Icon string Message string NotificationType string Data interface{} Actor struct { Identity struct { Trunk struct { Title *string } Turbot struct { Title *string ID *string ActorIdentityID *string } } } Control struct { State string Reason string Details interface{} Type struct { URI *string Turbot struct { ID *string } Trunk struct { Title *string } } } Resource struct { Data interface{} Object interface{} Metadata interface{} Type struct { URI string Turbot struct { ID string } Trunk struct { Title string } } Trunk struct { Title string } Turbot struct { Akas []string ParentID string Path string Tags interface{} Title string } } PolicySetting *struct { Type struct { URI *string ReadOnly *bool DefaultTemplate *string DefaultTemplateInput interface{} Secret *bool Trunk struct { Title *string } Turbot struct { ID string } } Value interface{} // contains filtered or unexported fields } ActiveGrant struct { Grant GrantNotification } Grant GrantNotification Turbot GuardrailsNotificationMetadata }
type NotificationsGetResponse ¶
type NotificationsGetResponse struct {
Notification Notification
}
type NotificationsResponse ¶
type NotificationsResponse struct { Notifications struct { Items []Notification Paging struct { Next string } } }
type PeerDependency ¶
type PolicySetting ¶
type PolicySetting struct { Default bool Exception int Input string IsCalculated bool Note string Orphan int Precedence string Resource struct { Trunk struct { Title string } } Template string TemplateInput interface{} Type struct { Trunk struct { Title string } URI string } Turbot GuardrailsPolicySettingMetadata ValidFromTimestamp *string ValidToTimestamp *string Value interface{} ValueSource interface{} }
type PolicySettingResponse ¶
type PolicySettingResponse struct {
PolicySetting PolicySetting
}
type PolicySettingsResponse ¶
type PolicySettingsResponse struct { PolicySettings struct { Items []PolicySetting Paging struct { Next string } } }
type PolicyType ¶
type PolicyType struct { Category struct { Turbot struct { ID string } URI string } Description string DefaultTemplate string DefaultTemplateInput interface{} Icon string Input interface{} ModURI string ReadOnly bool ResolvedSchema interface{} Schema interface{} Secret bool SecretLevel string Targets []string Title string Trunk struct { Title string } Turbot TurbotResourceMetadata URI string }
type PolicyTypeResponse ¶
type PolicyTypeResponse struct {
PolicyType PolicyType
}
type PolicyTypesResponse ¶
type PolicyTypesResponse struct { PolicyTypes struct { Items []PolicyType Paging struct { Next string } } }
type PolicyValue ¶
type PolicyValue struct { Default bool Value interface{} State string Reason string Details interface{} SecretValue interface{} IsCalculated bool Precedence string Type PolicyValueType Resource PolicyValueResourceDetails DependentControls interface{} DependentPolicyValues interface{} Turbot PolicyValueTurbotProperty }
type PolicyValueResourceDetails ¶
type PolicyValueResourceDetails struct { Trunk struct { Title string } }
type PolicyValueTurbotProperty ¶
type PolicyValueTurbotProperty struct { TurbotResourceMetadata PolicyTypeId string ResourceId string SettingId string }
type PolicyValueType ¶
type PolicyValuesResponse ¶
type PolicyValuesResponse struct { PolicyValues struct { Items []PolicyValue Paging struct { Next string } } }
type Resource ¶
type Resource struct { AttachedResources struct { Items []GuardrailsIDObject } Data map[string]interface{} Object map[string]interface{} Metadata map[string]interface{} Trunk struct { Title string } Turbot TurbotResourceMetadata Type struct { URI string } }
type ResourceResponse ¶
type ResourceResponse struct {
Resource Resource
}
type ResourceType ¶
type ResourceTypeResponse ¶
type ResourceTypeResponse struct {
ResourceType ResourceType
}
type ResourceTypesResponse ¶
type ResourceTypesResponse struct { ResourceTypes struct { Items []ResourceType Paging struct { Next string } } }
type ResourcesResponse ¶
type Tag ¶
type Tag struct { Key string Value string Resources TagResources Turbot GuardrailsTagMetadata }
type TagResource ¶
type TagResource struct { Turbot struct { ID string } }
type TagResources ¶
type TagResources struct {
Items []TagResource
}
type TagsResponse ¶
type TurbotResourceMetadata ¶
type TurbotResourceMetadata struct { ActorIdentityID string ActorPersonaID string ActorRoleID string Akas []string CategoryID string CreateTimestamp string Custom map[string]interface{} DeleteTimestamp *string ID string Metadata map[string]interface{} ParentID *string Path string ResourceGroupIDs []string ResourceParentAka string ResourceTargetIDs []string ResourceTypeID string State string Tags map[string]interface{} Terraform map[string]interface{} Timestamp *string Title string UpdateTimestamp *string VersionID string }
Source Files ¶
- active_grant_utils.go
- connection_config.go
- control_utils.go
- mod_version_notification_utils.go
- plugin.go
- policy_utils.go
- resource_utils.go
- table_guardrails_active_grant.go
- table_guardrails_control.go
- table_guardrails_control_type.go
- table_guardrails_grant.go
- table_guardrails_mod_version.go
- table_guardrails_notification.go
- table_guardrails_policy_setting.go
- table_guardrails_policy_type.go
- table_guardrails_policy_value.go
- table_guardrails_query.go
- table_guardrails_resource.go
- table_guardrails_resource_type.go
- table_guardrails_smart_folder.go
- table_guardrails_tag.go
- tag_smart_folder_utils.go
- types.go
- utils.go
Click to show internal directories.
Click to hide internal directories.