Documentation ¶
Index ¶
- func PossibleValuesForSecurityEventType() []string
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type ManagedDatabaseSecurityEventsClient
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type SecurityEvent
- type SecurityEventOperationPredicate
- type SecurityEventProperties
- type SecurityEventSqlInjectionAdditionalProperties
- type SecurityEventType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSecurityEventType ¶
func PossibleValuesForSecurityEventType() []string
Types ¶
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []SecurityEvent
}
type ListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions() ListByDatabaseOperationOptions
func (ListByDatabaseOperationOptions) ToHeaders ¶
func (o ListByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByDatabaseOperationOptions) ToOData ¶
func (o ListByDatabaseOperationOptions) ToOData() *odata.Query
func (ListByDatabaseOperationOptions) ToQuery ¶
func (o ListByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityEvent }
type ManagedDatabaseSecurityEventsClient ¶
type ManagedDatabaseSecurityEventsClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseSecurityEventsClientWithBaseURI ¶
func NewManagedDatabaseSecurityEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseSecurityEventsClient, error)
func (ManagedDatabaseSecurityEventsClient) ListByDatabase ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseSecurityEventsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions, predicate SecurityEventOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SecurityEvent ¶
type SecurityEvent struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityEventProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityEventOperationPredicate ¶
func (SecurityEventOperationPredicate) Matches ¶
func (p SecurityEventOperationPredicate) Matches(input SecurityEvent) bool
type SecurityEventProperties ¶
type SecurityEventProperties struct { ApplicationName *string `json:"applicationName,omitempty"` ClientIP *string `json:"clientIp,omitempty"` Database *string `json:"database,omitempty"` EventTime *string `json:"eventTime,omitempty"` PrincipalName *string `json:"principalName,omitempty"` SecurityEventSqlInjectionAdditionalProperties *SecurityEventSqlInjectionAdditionalProperties `json:"securityEventSqlInjectionAdditionalProperties,omitempty"` SecurityEventType *SecurityEventType `json:"securityEventType,omitempty"` Server *string `json:"server,omitempty"` Subscription *string `json:"subscription,omitempty"` }
func (*SecurityEventProperties) GetEventTimeAsTime ¶
func (o *SecurityEventProperties) GetEventTimeAsTime() (*time.Time, error)
func (*SecurityEventProperties) SetEventTimeAsTime ¶
func (o *SecurityEventProperties) SetEventTimeAsTime(input time.Time)
type SecurityEventSqlInjectionAdditionalProperties ¶
type SecurityEventSqlInjectionAdditionalProperties struct { ErrorCode *int64 `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSeverity *int64 `json:"errorSeverity,omitempty"` Statement *string `json:"statement,omitempty"` StatementHighlightLength *int64 `json:"statementHighlightLength,omitempty"` StatementHighlightOffset *int64 `json:"statementHighlightOffset,omitempty"` ThreatId *string `json:"threatId,omitempty"` }
type SecurityEventType ¶
type SecurityEventType string
const ( SecurityEventTypeSqlInjectionExploit SecurityEventType = "SqlInjectionExploit" SecurityEventTypeSqlInjectionVulnerability SecurityEventType = "SqlInjectionVulnerability" SecurityEventTypeUndefined SecurityEventType = "Undefined" )
func (*SecurityEventType) UnmarshalJSON ¶
func (s *SecurityEventType) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.