security

package
v68.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package security implements the Azure ARM Security service API version .

API spec for Microsoft.Security (Azure Security Center) resource provider

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Security
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AadConnectivityState

type AadConnectivityState string

AadConnectivityState enumerates the values for aad connectivity state.

const (
	// Connected ...
	Connected AadConnectivityState = "Connected"
	// Discovered ...
	Discovered AadConnectivityState = "Discovered"
	// NotLicensed ...
	NotLicensed AadConnectivityState = "NotLicensed"
)

func PossibleAadConnectivityStateValues

func PossibleAadConnectivityStateValues() []AadConnectivityState

PossibleAadConnectivityStateValues returns an array of possible values for the AadConnectivityState const type.

type AadConnectivityState1

type AadConnectivityState1 struct {
	// ConnectivityState - Possible values include: 'Discovered', 'NotLicensed', 'Connected'
	ConnectivityState AadConnectivityState `json:"connectivityState,omitempty"`
}

AadConnectivityState1 describes an Azure resource with kind

type AadExternalSecuritySolution

type AadExternalSecuritySolution struct {
	Properties *AadSolutionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
	Kind KindEnum `json:"kind,omitempty"`
}

AadExternalSecuritySolution represents an AAD identity protection solution which sends logs to an OMS workspace.

func (AadExternalSecuritySolution) AsAadExternalSecuritySolution

func (aess AadExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsAtaExternalSecuritySolution

func (aess AadExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsBasicExternalSecuritySolution

func (aess AadExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsCefExternalSecuritySolution

func (aess AadExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsExternalSecuritySolution

func (aess AadExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) MarshalJSON

func (aess AadExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AadExternalSecuritySolution.

type AadSolutionProperties

type AadSolutionProperties struct {
	DeviceVendor *string             `json:"deviceVendor,omitempty"`
	DeviceType   *string             `json:"deviceType,omitempty"`
	Workspace    *ConnectedWorkspace `json:"workspace,omitempty"`
	// ConnectivityState - Possible values include: 'Discovered', 'NotLicensed', 'Connected'
	ConnectivityState AadConnectivityState `json:"connectivityState,omitempty"`
}

AadSolutionProperties ...

type Action

type Action string

Action enumerates the values for action.

const (
	// Add ...
	Add Action = "Add"
	// Recommended ...
	Recommended Action = "Recommended"
	// Remove ...
	Remove Action = "Remove"
)

func PossibleActionValues

func PossibleActionValues() []Action

PossibleActionValues returns an array of possible values for the Action const type.

type ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeAutomationAction ...
	ActionTypeAutomationAction ActionType = "AutomationAction"
	// ActionTypeEventHub ...
	ActionTypeEventHub ActionType = "EventHub"
	// ActionTypeLogicApp ...
	ActionTypeLogicApp ActionType = "LogicApp"
	// ActionTypeWorkspace ...
	ActionTypeWorkspace ActionType = "Workspace"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type ActiveConnectionsNotInAllowedRange

type ActiveConnectionsNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ActiveConnectionsNotInAllowedRange number of active connections is not in allowed range.

func (ActiveConnectionsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAllowlistCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicListCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsConnectionFromIPNotAllowed

func (acniar ActiveConnectionsNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsConnectionToIPNotAllowed

func (acniar ActiveConnectionsNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsDenylistCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsListCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsLocalUserNotAllowed

func (acniar ActiveConnectionsNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsProcessNotAllowed

func (acniar ActiveConnectionsNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsThresholdCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsTimeWindowCustomAlertRule

func (acniar ActiveConnectionsNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (acniar ActiveConnectionsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) MarshalJSON

func (acniar ActiveConnectionsNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActiveConnectionsNotInAllowedRange.

type AdaptiveApplicationControlGroup

type AdaptiveApplicationControlGroup struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location                             *string `json:"location,omitempty"`
	*AdaptiveApplicationControlGroupData `json:"properties,omitempty"`
}

AdaptiveApplicationControlGroup ...

func (AdaptiveApplicationControlGroup) MarshalJSON

func (aacg AdaptiveApplicationControlGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdaptiveApplicationControlGroup.

func (*AdaptiveApplicationControlGroup) UnmarshalJSON

func (aacg *AdaptiveApplicationControlGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdaptiveApplicationControlGroup struct.

type AdaptiveApplicationControlGroupData

type AdaptiveApplicationControlGroupData struct {
	// EnforcementMode - Possible values include: 'EnforcementModeAudit', 'EnforcementModeEnforce', 'EnforcementModeNone'
	EnforcementMode EnforcementMode `json:"enforcementMode,omitempty"`
	ProtectionMode  *ProtectionMode `json:"protectionMode,omitempty"`
	// ConfigurationStatus - READ-ONLY; Possible values include: 'ConfigurationStatus2Configured', 'ConfigurationStatus2NotConfigured', 'ConfigurationStatus2InProgress', 'ConfigurationStatus2Failed', 'ConfigurationStatus2NoStatus'
	ConfigurationStatus ConfigurationStatus2 `json:"configurationStatus,omitempty"`
	// RecommendationStatus - READ-ONLY; Possible values include: 'RecommendationStatusRecommended', 'RecommendationStatusNotRecommended', 'RecommendationStatusNotAvailable', 'RecommendationStatusNoStatus'
	RecommendationStatus RecommendationStatus `json:"recommendationStatus,omitempty"`
	// Issues - READ-ONLY
	Issues *[]AdaptiveApplicationControlIssueSummary `json:"issues,omitempty"`
	// SourceSystem - READ-ONLY; Possible values include: 'SourceSystemAzureAppLocker', 'SourceSystemAzureAuditD', 'SourceSystemNonAzureAppLocker', 'SourceSystemNonAzureAuditD', 'SourceSystemNone'
	SourceSystem        SourceSystem          `json:"sourceSystem,omitempty"`
	VMRecommendations   *[]VMRecommendation   `json:"vmRecommendations,omitempty"`
	PathRecommendations *[]PathRecommendation `json:"pathRecommendations,omitempty"`
}

AdaptiveApplicationControlGroupData represents a machines group and set of rules to be allowed running on a machine

func (AdaptiveApplicationControlGroupData) MarshalJSON

func (aacgd AdaptiveApplicationControlGroupData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdaptiveApplicationControlGroupData.

type AdaptiveApplicationControlGroups

type AdaptiveApplicationControlGroups struct {
	autorest.Response `json:"-"`
	Value             *[]AdaptiveApplicationControlGroup `json:"value,omitempty"`
}

AdaptiveApplicationControlGroups represents a list of VM/server groups and set of rules that are Recommended by Microsoft Defender for Cloud to be allowed

type AdaptiveApplicationControlIssueSummary

type AdaptiveApplicationControlIssueSummary struct {
	// Issue - Possible values include: 'ViolationsAudited', 'ViolationsBlocked', 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', 'ExecutableViolationsAudited', 'RulesViolatedManually'
	Issue Issue `json:"issue,omitempty"`
	// NumberOfVms - The number of machines in the group that have this alert
	NumberOfVms *float64 `json:"numberOfVms,omitempty"`
}

AdaptiveApplicationControlIssueSummary represents a summary of the alerts of the machine group

type AdaptiveApplicationControlsClient

type AdaptiveApplicationControlsClient struct {
	BaseClient
}

AdaptiveApplicationControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAdaptiveApplicationControlsClient

func NewAdaptiveApplicationControlsClient(subscriptionID string) AdaptiveApplicationControlsClient

NewAdaptiveApplicationControlsClient creates an instance of the AdaptiveApplicationControlsClient client.

func NewAdaptiveApplicationControlsClientWithBaseURI

func NewAdaptiveApplicationControlsClientWithBaseURI(baseURI string, subscriptionID string) AdaptiveApplicationControlsClient

NewAdaptiveApplicationControlsClientWithBaseURI creates an instance of the AdaptiveApplicationControlsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdaptiveApplicationControlsClient) Delete

func (client AdaptiveApplicationControlsClient) Delete(ctx context.Context, ascLocation string, groupName string) (result autorest.Response, err error)

Delete delete an application control machine group Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations groupName - name of an application control machine group

func (AdaptiveApplicationControlsClient) DeletePreparer

func (client AdaptiveApplicationControlsClient) DeletePreparer(ctx context.Context, ascLocation string, groupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AdaptiveApplicationControlsClient) DeleteResponder

func (client AdaptiveApplicationControlsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) DeleteSender

func (client AdaptiveApplicationControlsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AdaptiveApplicationControlsClient) Get

func (client AdaptiveApplicationControlsClient) Get(ctx context.Context, ascLocation string, groupName string) (result AdaptiveApplicationControlGroup, err error)

Get gets an application control VM/server group. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations groupName - name of an application control machine group

func (AdaptiveApplicationControlsClient) GetPreparer

func (client AdaptiveApplicationControlsClient) GetPreparer(ctx context.Context, ascLocation string, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdaptiveApplicationControlsClient) GetResponder

func (client AdaptiveApplicationControlsClient) GetResponder(resp *http.Response) (result AdaptiveApplicationControlGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) GetSender

func (client AdaptiveApplicationControlsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AdaptiveApplicationControlsClient) List

func (client AdaptiveApplicationControlsClient) List(ctx context.Context, includePathRecommendations *bool, summary *bool) (result AdaptiveApplicationControlGroups, err error)

List gets a list of application control machine groups for the subscription. Parameters: includePathRecommendations - include the policy rules summary - return output in a summarized form

func (AdaptiveApplicationControlsClient) ListPreparer

func (client AdaptiveApplicationControlsClient) ListPreparer(ctx context.Context, includePathRecommendations *bool, summary *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (AdaptiveApplicationControlsClient) ListResponder

func (client AdaptiveApplicationControlsClient) ListResponder(resp *http.Response) (result AdaptiveApplicationControlGroups, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) ListSender

func (client AdaptiveApplicationControlsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AdaptiveApplicationControlsClient) Put

Put update an application control machine group Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations groupName - name of an application control machine group

func (AdaptiveApplicationControlsClient) PutPreparer

func (client AdaptiveApplicationControlsClient) PutPreparer(ctx context.Context, ascLocation string, groupName string, body AdaptiveApplicationControlGroup) (*http.Request, error)

PutPreparer prepares the Put request.

func (AdaptiveApplicationControlsClient) PutResponder

func (client AdaptiveApplicationControlsClient) PutResponder(resp *http.Response) (result AdaptiveApplicationControlGroup, err error)

PutResponder handles the response to the Put request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) PutSender

func (client AdaptiveApplicationControlsClient) PutSender(req *http.Request) (*http.Response, error)

PutSender sends the Put request. The method will close the http.Response Body if it receives an error.

type AdaptiveNetworkHardening

type AdaptiveNetworkHardening struct {
	autorest.Response `json:"-"`
	// AdaptiveNetworkHardeningProperties - Properties of the Adaptive Network Hardening resource
	*AdaptiveNetworkHardeningProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AdaptiveNetworkHardening the resource whose properties describes the Adaptive Network Hardening settings for some Azure resource

func (AdaptiveNetworkHardening) MarshalJSON

func (anh AdaptiveNetworkHardening) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdaptiveNetworkHardening.

func (*AdaptiveNetworkHardening) UnmarshalJSON

func (anh *AdaptiveNetworkHardening) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdaptiveNetworkHardening struct.

type AdaptiveNetworkHardeningEnforceRequest

type AdaptiveNetworkHardeningEnforceRequest struct {
	// Rules - The rules to enforce
	Rules *[]Rule `json:"rules,omitempty"`
	// NetworkSecurityGroups - The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules
	NetworkSecurityGroups *[]string `json:"networkSecurityGroups,omitempty"`
}

AdaptiveNetworkHardeningEnforceRequest ...

type AdaptiveNetworkHardeningProperties

type AdaptiveNetworkHardeningProperties struct {
	// Rules - The security rules which are recommended to be effective on the VM
	Rules *[]Rule `json:"rules,omitempty"`
	// RulesCalculationTime - The UTC time on which the rules were calculated
	RulesCalculationTime *date.Time `json:"rulesCalculationTime,omitempty"`
	// EffectiveNetworkSecurityGroups - The Network Security Groups effective on the network interfaces of the protected resource
	EffectiveNetworkSecurityGroups *[]EffectiveNetworkSecurityGroups `json:"effectiveNetworkSecurityGroups,omitempty"`
}

AdaptiveNetworkHardeningProperties adaptive Network Hardening resource properties

type AdaptiveNetworkHardeningsClient

type AdaptiveNetworkHardeningsClient struct {
	BaseClient
}

AdaptiveNetworkHardeningsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAdaptiveNetworkHardeningsClient

func NewAdaptiveNetworkHardeningsClient(subscriptionID string) AdaptiveNetworkHardeningsClient

NewAdaptiveNetworkHardeningsClient creates an instance of the AdaptiveNetworkHardeningsClient client.

func NewAdaptiveNetworkHardeningsClientWithBaseURI

func NewAdaptiveNetworkHardeningsClientWithBaseURI(baseURI string, subscriptionID string) AdaptiveNetworkHardeningsClient

NewAdaptiveNetworkHardeningsClientWithBaseURI creates an instance of the AdaptiveNetworkHardeningsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdaptiveNetworkHardeningsClient) Enforce

func (client AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string, body AdaptiveNetworkHardeningEnforceRequest) (result AdaptiveNetworkHardeningsEnforceFuture, err error)

Enforce enforces the given rules on the NSG(s) listed in the request Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource. adaptiveNetworkHardeningResourceName - the name of the Adaptive Network Hardening resource.

func (AdaptiveNetworkHardeningsClient) EnforcePreparer

func (client AdaptiveNetworkHardeningsClient) EnforcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string, body AdaptiveNetworkHardeningEnforceRequest) (*http.Request, error)

EnforcePreparer prepares the Enforce request.

func (AdaptiveNetworkHardeningsClient) EnforceResponder

func (client AdaptiveNetworkHardeningsClient) EnforceResponder(resp *http.Response) (result autorest.Response, err error)

EnforceResponder handles the response to the Enforce request. The method always closes the http.Response Body.

func (AdaptiveNetworkHardeningsClient) EnforceSender

EnforceSender sends the Enforce request. The method will close the http.Response Body if it receives an error.

func (AdaptiveNetworkHardeningsClient) Get

func (client AdaptiveNetworkHardeningsClient) Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string) (result AdaptiveNetworkHardening, err error)

Get gets a single Adaptive Network Hardening resource Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource. adaptiveNetworkHardeningResourceName - the name of the Adaptive Network Hardening resource.

func (AdaptiveNetworkHardeningsClient) GetPreparer

func (client AdaptiveNetworkHardeningsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdaptiveNetworkHardeningsClient) GetResponder

func (client AdaptiveNetworkHardeningsClient) GetResponder(resp *http.Response) (result AdaptiveNetworkHardening, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdaptiveNetworkHardeningsClient) GetSender

func (client AdaptiveNetworkHardeningsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResource

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result AdaptiveNetworkHardeningsListPage, err error)

ListByExtendedResource gets a list of Adaptive Network Hardenings resources in scope of an extended resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result AdaptiveNetworkHardeningsListIterator, err error)

ListByExtendedResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourcePreparer

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

ListByExtendedResourcePreparer prepares the ListByExtendedResource request.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceResponder

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceResponder(resp *http.Response) (result AdaptiveNetworkHardeningsList, err error)

ListByExtendedResourceResponder handles the response to the ListByExtendedResource request. The method always closes the http.Response Body.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceSender

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceSender(req *http.Request) (*http.Response, error)

ListByExtendedResourceSender sends the ListByExtendedResource request. The method will close the http.Response Body if it receives an error.

type AdaptiveNetworkHardeningsEnforceFuture

type AdaptiveNetworkHardeningsEnforceFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AdaptiveNetworkHardeningsClient) (autorest.Response, error)
}

AdaptiveNetworkHardeningsEnforceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AdaptiveNetworkHardeningsEnforceFuture) UnmarshalJSON

func (future *AdaptiveNetworkHardeningsEnforceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AdaptiveNetworkHardeningsList

type AdaptiveNetworkHardeningsList struct {
	autorest.Response `json:"-"`
	// Value - A list of Adaptive Network Hardenings resources
	Value *[]AdaptiveNetworkHardening `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results
	NextLink *string `json:"nextLink,omitempty"`
}

AdaptiveNetworkHardeningsList response for ListAdaptiveNetworkHardenings API service call

func (AdaptiveNetworkHardeningsList) IsEmpty

func (anhl AdaptiveNetworkHardeningsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AdaptiveNetworkHardeningsListIterator

type AdaptiveNetworkHardeningsListIterator struct {
	// contains filtered or unexported fields
}

AdaptiveNetworkHardeningsListIterator provides access to a complete listing of AdaptiveNetworkHardening values.

func NewAdaptiveNetworkHardeningsListIterator

func NewAdaptiveNetworkHardeningsListIterator(page AdaptiveNetworkHardeningsListPage) AdaptiveNetworkHardeningsListIterator

Creates a new instance of the AdaptiveNetworkHardeningsListIterator type.

func (*AdaptiveNetworkHardeningsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AdaptiveNetworkHardeningsListIterator) NextWithContext

func (iter *AdaptiveNetworkHardeningsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AdaptiveNetworkHardeningsListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AdaptiveNetworkHardeningsListIterator) Response

Response returns the raw server response from the last page request.

func (AdaptiveNetworkHardeningsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AdaptiveNetworkHardeningsListPage

type AdaptiveNetworkHardeningsListPage struct {
	// contains filtered or unexported fields
}

AdaptiveNetworkHardeningsListPage contains a page of AdaptiveNetworkHardening values.

func NewAdaptiveNetworkHardeningsListPage

Creates a new instance of the AdaptiveNetworkHardeningsListPage type.

func (*AdaptiveNetworkHardeningsListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AdaptiveNetworkHardeningsListPage) NextWithContext

func (page *AdaptiveNetworkHardeningsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AdaptiveNetworkHardeningsListPage) NotDone

func (page AdaptiveNetworkHardeningsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AdaptiveNetworkHardeningsListPage) Response

Response returns the raw server response from the last page request.

func (AdaptiveNetworkHardeningsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AdditionalData

type AdditionalData struct {
	// AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment'
	AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"`
}

AdditionalData details of the sub-assessment

func (AdditionalData) AsAdditionalData

func (ad AdditionalData) AsAdditionalData() (*AdditionalData, bool)

AsAdditionalData is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsBasicAdditionalData

func (ad AdditionalData) AsBasicAdditionalData() (BasicAdditionalData, bool)

AsBasicAdditionalData is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsContainerRegistryVulnerabilityProperties

func (ad AdditionalData) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)

AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsSQLServerVulnerabilityProperties

func (ad AdditionalData) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)

AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsServerVulnerabilityProperties

func (ad AdditionalData) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)

AsServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) MarshalJSON

func (ad AdditionalData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdditionalData.

type AdditionalWorkspaceDataType

type AdditionalWorkspaceDataType string

AdditionalWorkspaceDataType enumerates the values for additional workspace data type.

const (
	// Alerts ...
	Alerts AdditionalWorkspaceDataType = "Alerts"
	// RawEvents ...
	RawEvents AdditionalWorkspaceDataType = "RawEvents"
)

func PossibleAdditionalWorkspaceDataTypeValues

func PossibleAdditionalWorkspaceDataTypeValues() []AdditionalWorkspaceDataType

PossibleAdditionalWorkspaceDataTypeValues returns an array of possible values for the AdditionalWorkspaceDataType const type.

type AdditionalWorkspaceType

type AdditionalWorkspaceType string

AdditionalWorkspaceType enumerates the values for additional workspace type.

const (
	// Sentinel ...
	Sentinel AdditionalWorkspaceType = "Sentinel"
)

func PossibleAdditionalWorkspaceTypeValues

func PossibleAdditionalWorkspaceTypeValues() []AdditionalWorkspaceType

PossibleAdditionalWorkspaceTypeValues returns an array of possible values for the AdditionalWorkspaceType const type.

type AdditionalWorkspacesProperties

type AdditionalWorkspacesProperties struct {
	// Workspace - Workspace resource id
	Workspace *string `json:"workspace,omitempty"`
	// Type - Workspace type. Possible values include: 'Sentinel'
	Type AdditionalWorkspaceType `json:"type,omitempty"`
	// DataTypes - List of data types sent to workspace
	DataTypes *[]AdditionalWorkspaceDataType `json:"dataTypes,omitempty"`
}

AdditionalWorkspacesProperties properties of the additional workspaces.

type AdvancedThreatProtectionClient

type AdvancedThreatProtectionClient struct {
	BaseClient
}

AdvancedThreatProtectionClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAdvancedThreatProtectionClient

func NewAdvancedThreatProtectionClient(subscriptionID string) AdvancedThreatProtectionClient

NewAdvancedThreatProtectionClient creates an instance of the AdvancedThreatProtectionClient client.

func NewAdvancedThreatProtectionClientWithBaseURI

func NewAdvancedThreatProtectionClientWithBaseURI(baseURI string, subscriptionID string) AdvancedThreatProtectionClient

NewAdvancedThreatProtectionClientWithBaseURI creates an instance of the AdvancedThreatProtectionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdvancedThreatProtectionClient) Create

func (client AdvancedThreatProtectionClient) Create(ctx context.Context, resourceID string, advancedThreatProtectionSetting AdvancedThreatProtectionSetting) (result AdvancedThreatProtectionSetting, err error)

Create creates or updates the Advanced Threat Protection settings on a specified resource. Parameters: resourceID - the identifier of the resource. advancedThreatProtectionSetting - advanced Threat Protection Settings

func (AdvancedThreatProtectionClient) CreatePreparer

func (client AdvancedThreatProtectionClient) CreatePreparer(ctx context.Context, resourceID string, advancedThreatProtectionSetting AdvancedThreatProtectionSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AdvancedThreatProtectionClient) CreateResponder

func (client AdvancedThreatProtectionClient) CreateResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AdvancedThreatProtectionClient) CreateSender

func (client AdvancedThreatProtectionClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (AdvancedThreatProtectionClient) Get

Get gets the Advanced Threat Protection settings for the specified resource. Parameters: resourceID - the identifier of the resource.

func (AdvancedThreatProtectionClient) GetPreparer

func (client AdvancedThreatProtectionClient) GetPreparer(ctx context.Context, resourceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdvancedThreatProtectionClient) GetResponder

func (client AdvancedThreatProtectionClient) GetResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdvancedThreatProtectionClient) GetSender

func (client AdvancedThreatProtectionClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type AdvancedThreatProtectionProperties

type AdvancedThreatProtectionProperties struct {
	// IsEnabled - Indicates whether Advanced Threat Protection is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

AdvancedThreatProtectionProperties the Advanced Threat Protection settings.

type AdvancedThreatProtectionSetting

type AdvancedThreatProtectionSetting struct {
	autorest.Response                   `json:"-"`
	*AdvancedThreatProtectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AdvancedThreatProtectionSetting the Advanced Threat Protection resource.

func (AdvancedThreatProtectionSetting) MarshalJSON

func (atps AdvancedThreatProtectionSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdvancedThreatProtectionSetting.

func (*AdvancedThreatProtectionSetting) UnmarshalJSON

func (atps *AdvancedThreatProtectionSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdvancedThreatProtectionSetting struct.

type Alert

type Alert struct {
	autorest.Response `json:"-"`
	// AlertProperties - describes security alert properties.
	*AlertProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Alert security alert

func (Alert) MarshalJSON

func (a Alert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Alert.

func (*Alert) UnmarshalJSON

func (a *Alert) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Alert struct.

type AlertEntity

type AlertEntity struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Type - READ-ONLY; Type of entity
	Type *string `json:"type,omitempty"`
}

AlertEntity changing set of properties depending on the entity type.

func (AlertEntity) MarshalJSON

func (ae AlertEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertEntity.

func (*AlertEntity) UnmarshalJSON

func (ae *AlertEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertEntity struct.

type AlertList

type AlertList struct {
	autorest.Response `json:"-"`
	// Value - describes security alert properties.
	Value *[]Alert `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AlertList list of security alerts

func (AlertList) IsEmpty

func (al AlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AlertList) MarshalJSON

func (al AlertList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertList.

type AlertListIterator

type AlertListIterator struct {
	// contains filtered or unexported fields
}

AlertListIterator provides access to a complete listing of Alert values.

func NewAlertListIterator

func NewAlertListIterator(page AlertListPage) AlertListIterator

Creates a new instance of the AlertListIterator type.

func (*AlertListIterator) Next

func (iter *AlertListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertListIterator) NextWithContext

func (iter *AlertListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertListIterator) NotDone

func (iter AlertListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AlertListIterator) Response

func (iter AlertListIterator) Response() AlertList

Response returns the raw server response from the last page request.

func (AlertListIterator) Value

func (iter AlertListIterator) Value() Alert

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AlertListPage

type AlertListPage struct {
	// contains filtered or unexported fields
}

AlertListPage contains a page of Alert values.

func NewAlertListPage

func NewAlertListPage(cur AlertList, getNextPage func(context.Context, AlertList) (AlertList, error)) AlertListPage

Creates a new instance of the AlertListPage type.

func (*AlertListPage) Next

func (page *AlertListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertListPage) NextWithContext

func (page *AlertListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertListPage) NotDone

func (page AlertListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AlertListPage) Response

func (page AlertListPage) Response() AlertList

Response returns the raw server response from the last page request.

func (AlertListPage) Values

func (page AlertListPage) Values() []Alert

Values returns the slice of values for the current page or nil if there are no values.

type AlertProperties

type AlertProperties struct {
	// Version - READ-ONLY; Schema version.
	Version *string `json:"version,omitempty"`
	// AlertType - READ-ONLY; Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType).
	AlertType *string `json:"alertType,omitempty"`
	// SystemAlertID - READ-ONLY; Unique identifier for the alert.
	SystemAlertID *string `json:"systemAlertId,omitempty"`
	// ProductComponentName - READ-ONLY; The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing
	ProductComponentName *string `json:"productComponentName,omitempty"`
	// AlertDisplayName - READ-ONLY; The display name of the alert.
	AlertDisplayName *string `json:"alertDisplayName,omitempty"`
	// Description - READ-ONLY; Description of the suspicious activity that was detected.
	Description *string `json:"description,omitempty"`
	// Severity - READ-ONLY; The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified. Possible values include: 'Informational', 'Low', 'Medium', 'High'
	Severity AlertSeverity `json:"severity,omitempty"`
	// Intent - READ-ONLY; The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Possible values include: 'IntentUnknown', 'IntentPreAttack', 'IntentInitialAccess', 'IntentPersistence', 'IntentPrivilegeEscalation', 'IntentDefenseEvasion', 'IntentCredentialAccess', 'IntentDiscovery', 'IntentLateralMovement', 'IntentExecution', 'IntentCollection', 'IntentExfiltration', 'IntentCommandAndControl', 'IntentImpact', 'IntentProbing', 'IntentExploitation'
	Intent Intent `json:"intent,omitempty"`
	// StartTimeUtc - READ-ONLY; The UTC time of the first event or activity included in the alert in ISO8601 format.
	StartTimeUtc *date.Time `json:"startTimeUtc,omitempty"`
	// EndTimeUtc - READ-ONLY; The UTC time of the last event or activity included in the alert in ISO8601 format.
	EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"`
	// ResourceIdentifiers - READ-ONLY; The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert.
	ResourceIdentifiers *[]BasicResourceIdentifier `json:"resourceIdentifiers,omitempty"`
	// RemediationSteps - READ-ONLY; Manual action items to take to remediate the alert.
	RemediationSteps *[]string `json:"remediationSteps,omitempty"`
	// VendorName - READ-ONLY; The name of the vendor that raises the alert.
	VendorName *string `json:"vendorName,omitempty"`
	// Status - READ-ONLY; The life cycle status of the alert. Possible values include: 'Active', 'InProgress', 'Resolved', 'Dismissed'
	Status AlertStatus `json:"status,omitempty"`
	// ExtendedLinks - READ-ONLY; Links related to the alert
	ExtendedLinks *[]map[string]*string `json:"extendedLinks,omitempty"`
	// AlertURI - READ-ONLY; A direct link to the alert page in Azure Portal.
	AlertURI *string `json:"alertUri,omitempty"`
	// TimeGeneratedUtc - READ-ONLY; The UTC time the alert was generated in ISO8601 format.
	TimeGeneratedUtc *date.Time `json:"timeGeneratedUtc,omitempty"`
	// ProductName - READ-ONLY; The name of the product which published this alert (Azure Security Center, Azure ATP, Microsoft Defender ATP, O365 ATP, MCAS, and so on).
	ProductName *string `json:"productName,omitempty"`
	// ProcessingEndTimeUtc - READ-ONLY; The UTC processing end time of the alert in ISO8601 format.
	ProcessingEndTimeUtc *date.Time `json:"processingEndTimeUtc,omitempty"`
	// Entities - READ-ONLY; A list of entities related to the alert.
	Entities *[]AlertEntity `json:"entities,omitempty"`
	// IsIncident - READ-ONLY; This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert.
	IsIncident *bool `json:"isIncident,omitempty"`
	// CorrelationKey - READ-ONLY; Key for corelating related alerts. Alerts with the same correlation key considered to be related.
	CorrelationKey *string `json:"correlationKey,omitempty"`
	// ExtendedProperties - Custom properties for the alert.
	ExtendedProperties map[string]*string `json:"extendedProperties"`
	// CompromisedEntity - READ-ONLY; The display name of the resource most related to this alert.
	CompromisedEntity *string `json:"compromisedEntity,omitempty"`
	// Techniques - READ-ONLY; kill chain related techniques behind the alert.
	Techniques *[]string `json:"techniques,omitempty"`
	// SubTechniques - READ-ONLY; Kill chain related sub-techniques behind the alert.
	SubTechniques *[]string `json:"subTechniques,omitempty"`
	// SupportingEvidence - Changing set of properties depending on the supportingEvidence type.
	SupportingEvidence *AlertPropertiesSupportingEvidence `json:"supportingEvidence,omitempty"`
}

AlertProperties describes security alert properties.

func (AlertProperties) MarshalJSON

func (ap AlertProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertProperties.

func (*AlertProperties) UnmarshalJSON

func (ap *AlertProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertProperties struct.

type AlertPropertiesSupportingEvidence

type AlertPropertiesSupportingEvidence struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Type - READ-ONLY; Type of the supportingEvidence
	Type *string `json:"type,omitempty"`
}

AlertPropertiesSupportingEvidence changing set of properties depending on the supportingEvidence type.

func (AlertPropertiesSupportingEvidence) MarshalJSON

func (apE AlertPropertiesSupportingEvidence) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertPropertiesSupportingEvidence.

func (*AlertPropertiesSupportingEvidence) UnmarshalJSON

func (apE *AlertPropertiesSupportingEvidence) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertPropertiesSupportingEvidence struct.

type AlertSeverity

type AlertSeverity string

AlertSeverity enumerates the values for alert severity.

const (
	// High High
	High AlertSeverity = "High"
	// Informational Informational
	Informational AlertSeverity = "Informational"
	// Low Low
	Low AlertSeverity = "Low"
	// Medium Medium
	Medium AlertSeverity = "Medium"
)

func PossibleAlertSeverityValues

func PossibleAlertSeverityValues() []AlertSeverity

PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.

type AlertSimulatorBundlesRequestProperties

type AlertSimulatorBundlesRequestProperties struct {
	// Bundles - Bundles list.
	Bundles *[]BundleType `json:"bundles,omitempty"`
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Kind - Possible values include: 'KindAlertSimulatorRequestProperties', 'KindBundles'
	Kind KindEnum1 `json:"kind,omitempty"`
}

AlertSimulatorBundlesRequestProperties simulate alerts according to this bundles.

func (AlertSimulatorBundlesRequestProperties) AsAlertSimulatorBundlesRequestProperties

func (asbrp AlertSimulatorBundlesRequestProperties) AsAlertSimulatorBundlesRequestProperties() (*AlertSimulatorBundlesRequestProperties, bool)

AsAlertSimulatorBundlesRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorBundlesRequestProperties.

func (AlertSimulatorBundlesRequestProperties) AsAlertSimulatorRequestProperties

func (asbrp AlertSimulatorBundlesRequestProperties) AsAlertSimulatorRequestProperties() (*AlertSimulatorRequestProperties, bool)

AsAlertSimulatorRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorBundlesRequestProperties.

func (AlertSimulatorBundlesRequestProperties) AsBasicAlertSimulatorRequestProperties

func (asbrp AlertSimulatorBundlesRequestProperties) AsBasicAlertSimulatorRequestProperties() (BasicAlertSimulatorRequestProperties, bool)

AsBasicAlertSimulatorRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorBundlesRequestProperties.

func (AlertSimulatorBundlesRequestProperties) MarshalJSON

func (asbrp AlertSimulatorBundlesRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertSimulatorBundlesRequestProperties.

func (*AlertSimulatorBundlesRequestProperties) UnmarshalJSON

func (asbrp *AlertSimulatorBundlesRequestProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertSimulatorBundlesRequestProperties struct.

type AlertSimulatorRequestBody

type AlertSimulatorRequestBody struct {
	// Properties - Alert Simulator request body data.
	Properties BasicAlertSimulatorRequestProperties `json:"properties,omitempty"`
}

AlertSimulatorRequestBody alert Simulator request body.

func (*AlertSimulatorRequestBody) UnmarshalJSON

func (asrb *AlertSimulatorRequestBody) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertSimulatorRequestBody struct.

type AlertSimulatorRequestProperties

type AlertSimulatorRequestProperties struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Kind - Possible values include: 'KindAlertSimulatorRequestProperties', 'KindBundles'
	Kind KindEnum1 `json:"kind,omitempty"`
}

AlertSimulatorRequestProperties describes properties of an alert simulation request

func (AlertSimulatorRequestProperties) AsAlertSimulatorBundlesRequestProperties

func (asrp AlertSimulatorRequestProperties) AsAlertSimulatorBundlesRequestProperties() (*AlertSimulatorBundlesRequestProperties, bool)

AsAlertSimulatorBundlesRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorRequestProperties.

func (AlertSimulatorRequestProperties) AsAlertSimulatorRequestProperties

func (asrp AlertSimulatorRequestProperties) AsAlertSimulatorRequestProperties() (*AlertSimulatorRequestProperties, bool)

AsAlertSimulatorRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorRequestProperties.

func (AlertSimulatorRequestProperties) AsBasicAlertSimulatorRequestProperties

func (asrp AlertSimulatorRequestProperties) AsBasicAlertSimulatorRequestProperties() (BasicAlertSimulatorRequestProperties, bool)

AsBasicAlertSimulatorRequestProperties is the BasicAlertSimulatorRequestProperties implementation for AlertSimulatorRequestProperties.

func (AlertSimulatorRequestProperties) MarshalJSON

func (asrp AlertSimulatorRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertSimulatorRequestProperties.

func (*AlertSimulatorRequestProperties) UnmarshalJSON

func (asrp *AlertSimulatorRequestProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertSimulatorRequestProperties struct.

type AlertStatus

type AlertStatus string

AlertStatus enumerates the values for alert status.

const (
	// Active An alert which doesn't specify a value is assigned the status 'Active'
	Active AlertStatus = "Active"
	// Dismissed Alert dismissed as false positive
	Dismissed AlertStatus = "Dismissed"
	// InProgress An alert which is in handling state
	InProgress AlertStatus = "InProgress"
	// Resolved Alert closed after handling
	Resolved AlertStatus = "Resolved"
)

func PossibleAlertStatusValues

func PossibleAlertStatusValues() []AlertStatus

PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type.

type AlertSyncSettingProperties

type AlertSyncSettingProperties struct {
	// Enabled - Is the alert sync setting enabled
	Enabled *bool `json:"enabled,omitempty"`
}

AlertSyncSettingProperties the alert sync setting properties

type AlertSyncSettings

type AlertSyncSettings struct {
	// AlertSyncSettingProperties - Alert sync setting data
	*AlertSyncSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings'
	Kind KindEnum2 `json:"kind,omitempty"`
}

AlertSyncSettings represents an alert sync setting

func (AlertSyncSettings) AsAlertSyncSettings

func (ass AlertSyncSettings) AsAlertSyncSettings() (*AlertSyncSettings, bool)

AsAlertSyncSettings is the BasicSetting implementation for AlertSyncSettings.

func (AlertSyncSettings) AsBasicSetting

func (ass AlertSyncSettings) AsBasicSetting() (BasicSetting, bool)

AsBasicSetting is the BasicSetting implementation for AlertSyncSettings.

func (AlertSyncSettings) AsDataExportSettings

func (ass AlertSyncSettings) AsDataExportSettings() (*DataExportSettings, bool)

AsDataExportSettings is the BasicSetting implementation for AlertSyncSettings.

func (AlertSyncSettings) AsSetting

func (ass AlertSyncSettings) AsSetting() (*Setting, bool)

AsSetting is the BasicSetting implementation for AlertSyncSettings.

func (AlertSyncSettings) MarshalJSON

func (ass AlertSyncSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertSyncSettings.

func (*AlertSyncSettings) UnmarshalJSON

func (ass *AlertSyncSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertSyncSettings struct.

type AlertsClient

type AlertsClient struct {
	BaseClient
}

AlertsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAlertsClient

func NewAlertsClient(subscriptionID string) AlertsClient

NewAlertsClient creates an instance of the AlertsClient client.

func NewAlertsClientWithBaseURI

func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient

NewAlertsClientWithBaseURI creates an instance of the AlertsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AlertsClient) GetResourceGroupLevel

func (client AlertsClient) GetResourceGroupLevel(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (result Alert, err error)

GetResourceGroupLevel get an alert that is associated a resource group or a resource in a resource group Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) GetResourceGroupLevelPreparer

func (client AlertsClient) GetResourceGroupLevelPreparer(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (*http.Request, error)

GetResourceGroupLevelPreparer prepares the GetResourceGroupLevel request.

func (AlertsClient) GetResourceGroupLevelResponder

func (client AlertsClient) GetResourceGroupLevelResponder(resp *http.Response) (result Alert, err error)

GetResourceGroupLevelResponder handles the response to the GetResourceGroupLevel request. The method always closes the http.Response Body.

func (AlertsClient) GetResourceGroupLevelSender

func (client AlertsClient) GetResourceGroupLevelSender(req *http.Request) (*http.Response, error)

GetResourceGroupLevelSender sends the GetResourceGroupLevel request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) GetSubscriptionLevel

func (client AlertsClient) GetSubscriptionLevel(ctx context.Context, ascLocation string, alertName string) (result Alert, err error)

GetSubscriptionLevel get an alert that is associated with a subscription Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) GetSubscriptionLevelPreparer

func (client AlertsClient) GetSubscriptionLevelPreparer(ctx context.Context, ascLocation string, alertName string) (*http.Request, error)

GetSubscriptionLevelPreparer prepares the GetSubscriptionLevel request.

func (AlertsClient) GetSubscriptionLevelResponder

func (client AlertsClient) GetSubscriptionLevelResponder(resp *http.Response) (result Alert, err error)

GetSubscriptionLevelResponder handles the response to the GetSubscriptionLevel request. The method always closes the http.Response Body.

func (AlertsClient) GetSubscriptionLevelSender

func (client AlertsClient) GetSubscriptionLevelSender(req *http.Request) (*http.Response, error)

GetSubscriptionLevelSender sends the GetSubscriptionLevel request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) List

func (client AlertsClient) List(ctx context.Context) (result AlertListPage, err error)

List list all the alerts that are associated with the subscription

func (AlertsClient) ListByResourceGroup

func (client AlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertListPage, err error)

ListByResourceGroup list all the alerts that are associated with the resource group Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (AlertsClient) ListByResourceGroupComplete

func (client AlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AlertListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListByResourceGroupPreparer

func (client AlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AlertsClient) ListByResourceGroupResponder

func (client AlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AlertsClient) ListByResourceGroupSender

func (client AlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListComplete

func (client AlertsClient) ListComplete(ctx context.Context) (result AlertListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListPreparer

func (client AlertsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AlertsClient) ListResourceGroupLevelByRegion

func (client AlertsClient) ListResourceGroupLevelByRegion(ctx context.Context, ascLocation string, resourceGroupName string) (result AlertListPage, err error)

ListResourceGroupLevelByRegion list all the alerts that are associated with the resource group that are stored in a specific location Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (AlertsClient) ListResourceGroupLevelByRegionComplete

func (client AlertsClient) ListResourceGroupLevelByRegionComplete(ctx context.Context, ascLocation string, resourceGroupName string) (result AlertListIterator, err error)

ListResourceGroupLevelByRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListResourceGroupLevelByRegionPreparer

func (client AlertsClient) ListResourceGroupLevelByRegionPreparer(ctx context.Context, ascLocation string, resourceGroupName string) (*http.Request, error)

ListResourceGroupLevelByRegionPreparer prepares the ListResourceGroupLevelByRegion request.

func (AlertsClient) ListResourceGroupLevelByRegionResponder

func (client AlertsClient) ListResourceGroupLevelByRegionResponder(resp *http.Response) (result AlertList, err error)

ListResourceGroupLevelByRegionResponder handles the response to the ListResourceGroupLevelByRegion request. The method always closes the http.Response Body.

func (AlertsClient) ListResourceGroupLevelByRegionSender

func (client AlertsClient) ListResourceGroupLevelByRegionSender(req *http.Request) (*http.Response, error)

ListResourceGroupLevelByRegionSender sends the ListResourceGroupLevelByRegion request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListResponder

func (client AlertsClient) ListResponder(resp *http.Response) (result AlertList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AlertsClient) ListSender

func (client AlertsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListSubscriptionLevelByRegion

func (client AlertsClient) ListSubscriptionLevelByRegion(ctx context.Context, ascLocation string) (result AlertListPage, err error)

ListSubscriptionLevelByRegion list all the alerts that are associated with the subscription that are stored in a specific location Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (AlertsClient) ListSubscriptionLevelByRegionComplete

func (client AlertsClient) ListSubscriptionLevelByRegionComplete(ctx context.Context, ascLocation string) (result AlertListIterator, err error)

ListSubscriptionLevelByRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListSubscriptionLevelByRegionPreparer

func (client AlertsClient) ListSubscriptionLevelByRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListSubscriptionLevelByRegionPreparer prepares the ListSubscriptionLevelByRegion request.

func (AlertsClient) ListSubscriptionLevelByRegionResponder

func (client AlertsClient) ListSubscriptionLevelByRegionResponder(resp *http.Response) (result AlertList, err error)

ListSubscriptionLevelByRegionResponder handles the response to the ListSubscriptionLevelByRegion request. The method always closes the http.Response Body.

func (AlertsClient) ListSubscriptionLevelByRegionSender

func (client AlertsClient) ListSubscriptionLevelByRegionSender(req *http.Request) (*http.Response, error)

ListSubscriptionLevelByRegionSender sends the ListSubscriptionLevelByRegion request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) Simulate

func (client AlertsClient) Simulate(ctx context.Context, ascLocation string, alertSimulatorRequestBody AlertSimulatorRequestBody) (result AlertsSimulateFuture, err error)

Simulate simulate security alerts Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertSimulatorRequestBody - alert Simulator Request Properties

func (AlertsClient) SimulatePreparer

func (client AlertsClient) SimulatePreparer(ctx context.Context, ascLocation string, alertSimulatorRequestBody AlertSimulatorRequestBody) (*http.Request, error)

SimulatePreparer prepares the Simulate request.

func (AlertsClient) SimulateResponder

func (client AlertsClient) SimulateResponder(resp *http.Response) (result autorest.Response, err error)

SimulateResponder handles the response to the Simulate request. The method always closes the http.Response Body.

func (AlertsClient) SimulateSender

func (client AlertsClient) SimulateSender(req *http.Request) (future AlertsSimulateFuture, err error)

SimulateSender sends the Simulate request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateResourceGroupLevelStateToActivate

func (client AlertsClient) UpdateResourceGroupLevelStateToActivate(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToActivate update the alert's state Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateResourceGroupLevelStateToActivatePreparer

func (client AlertsClient) UpdateResourceGroupLevelStateToActivatePreparer(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (*http.Request, error)

UpdateResourceGroupLevelStateToActivatePreparer prepares the UpdateResourceGroupLevelStateToActivate request.

func (AlertsClient) UpdateResourceGroupLevelStateToActivateResponder

func (client AlertsClient) UpdateResourceGroupLevelStateToActivateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToActivateResponder handles the response to the UpdateResourceGroupLevelStateToActivate request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelStateToActivateSender

func (client AlertsClient) UpdateResourceGroupLevelStateToActivateSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelStateToActivateSender sends the UpdateResourceGroupLevelStateToActivate request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateResourceGroupLevelStateToDismiss

func (client AlertsClient) UpdateResourceGroupLevelStateToDismiss(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToDismiss update the alert's state Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateResourceGroupLevelStateToDismissPreparer

func (client AlertsClient) UpdateResourceGroupLevelStateToDismissPreparer(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (*http.Request, error)

UpdateResourceGroupLevelStateToDismissPreparer prepares the UpdateResourceGroupLevelStateToDismiss request.

func (AlertsClient) UpdateResourceGroupLevelStateToDismissResponder

func (client AlertsClient) UpdateResourceGroupLevelStateToDismissResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToDismissResponder handles the response to the UpdateResourceGroupLevelStateToDismiss request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelStateToDismissSender

func (client AlertsClient) UpdateResourceGroupLevelStateToDismissSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelStateToDismissSender sends the UpdateResourceGroupLevelStateToDismiss request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateResourceGroupLevelStateToInProgress

func (client AlertsClient) UpdateResourceGroupLevelStateToInProgress(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToInProgress update the alert's state Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateResourceGroupLevelStateToInProgressPreparer

func (client AlertsClient) UpdateResourceGroupLevelStateToInProgressPreparer(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (*http.Request, error)

UpdateResourceGroupLevelStateToInProgressPreparer prepares the UpdateResourceGroupLevelStateToInProgress request.

func (AlertsClient) UpdateResourceGroupLevelStateToInProgressResponder

func (client AlertsClient) UpdateResourceGroupLevelStateToInProgressResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToInProgressResponder handles the response to the UpdateResourceGroupLevelStateToInProgress request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelStateToInProgressSender

func (client AlertsClient) UpdateResourceGroupLevelStateToInProgressSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelStateToInProgressSender sends the UpdateResourceGroupLevelStateToInProgress request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateResourceGroupLevelStateToResolve

func (client AlertsClient) UpdateResourceGroupLevelStateToResolve(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToResolve update the alert's state Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateResourceGroupLevelStateToResolvePreparer

func (client AlertsClient) UpdateResourceGroupLevelStateToResolvePreparer(ctx context.Context, resourceGroupName string, ascLocation string, alertName string) (*http.Request, error)

UpdateResourceGroupLevelStateToResolvePreparer prepares the UpdateResourceGroupLevelStateToResolve request.

func (AlertsClient) UpdateResourceGroupLevelStateToResolveResponder

func (client AlertsClient) UpdateResourceGroupLevelStateToResolveResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelStateToResolveResponder handles the response to the UpdateResourceGroupLevelStateToResolve request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelStateToResolveSender

func (client AlertsClient) UpdateResourceGroupLevelStateToResolveSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelStateToResolveSender sends the UpdateResourceGroupLevelStateToResolve request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateSubscriptionLevelStateToActivate

func (client AlertsClient) UpdateSubscriptionLevelStateToActivate(ctx context.Context, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToActivate update the alert's state Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelStateToActivatePreparer

func (client AlertsClient) UpdateSubscriptionLevelStateToActivatePreparer(ctx context.Context, ascLocation string, alertName string) (*http.Request, error)

UpdateSubscriptionLevelStateToActivatePreparer prepares the UpdateSubscriptionLevelStateToActivate request.

func (AlertsClient) UpdateSubscriptionLevelStateToActivateResponder

func (client AlertsClient) UpdateSubscriptionLevelStateToActivateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToActivateResponder handles the response to the UpdateSubscriptionLevelStateToActivate request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelStateToActivateSender

func (client AlertsClient) UpdateSubscriptionLevelStateToActivateSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelStateToActivateSender sends the UpdateSubscriptionLevelStateToActivate request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateSubscriptionLevelStateToDismiss

func (client AlertsClient) UpdateSubscriptionLevelStateToDismiss(ctx context.Context, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToDismiss update the alert's state Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelStateToDismissPreparer

func (client AlertsClient) UpdateSubscriptionLevelStateToDismissPreparer(ctx context.Context, ascLocation string, alertName string) (*http.Request, error)

UpdateSubscriptionLevelStateToDismissPreparer prepares the UpdateSubscriptionLevelStateToDismiss request.

func (AlertsClient) UpdateSubscriptionLevelStateToDismissResponder

func (client AlertsClient) UpdateSubscriptionLevelStateToDismissResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToDismissResponder handles the response to the UpdateSubscriptionLevelStateToDismiss request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelStateToDismissSender

func (client AlertsClient) UpdateSubscriptionLevelStateToDismissSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelStateToDismissSender sends the UpdateSubscriptionLevelStateToDismiss request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateSubscriptionLevelStateToInProgress

func (client AlertsClient) UpdateSubscriptionLevelStateToInProgress(ctx context.Context, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToInProgress update the alert's state Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelStateToInProgressPreparer

func (client AlertsClient) UpdateSubscriptionLevelStateToInProgressPreparer(ctx context.Context, ascLocation string, alertName string) (*http.Request, error)

UpdateSubscriptionLevelStateToInProgressPreparer prepares the UpdateSubscriptionLevelStateToInProgress request.

func (AlertsClient) UpdateSubscriptionLevelStateToInProgressResponder

func (client AlertsClient) UpdateSubscriptionLevelStateToInProgressResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToInProgressResponder handles the response to the UpdateSubscriptionLevelStateToInProgress request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelStateToInProgressSender

func (client AlertsClient) UpdateSubscriptionLevelStateToInProgressSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelStateToInProgressSender sends the UpdateSubscriptionLevelStateToInProgress request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateSubscriptionLevelStateToResolve

func (client AlertsClient) UpdateSubscriptionLevelStateToResolve(ctx context.Context, ascLocation string, alertName string) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToResolve update the alert's state Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelStateToResolvePreparer

func (client AlertsClient) UpdateSubscriptionLevelStateToResolvePreparer(ctx context.Context, ascLocation string, alertName string) (*http.Request, error)

UpdateSubscriptionLevelStateToResolvePreparer prepares the UpdateSubscriptionLevelStateToResolve request.

func (AlertsClient) UpdateSubscriptionLevelStateToResolveResponder

func (client AlertsClient) UpdateSubscriptionLevelStateToResolveResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelStateToResolveResponder handles the response to the UpdateSubscriptionLevelStateToResolve request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelStateToResolveSender

func (client AlertsClient) UpdateSubscriptionLevelStateToResolveSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelStateToResolveSender sends the UpdateSubscriptionLevelStateToResolve request. The method will close the http.Response Body if it receives an error.

type AlertsSimulateFuture

type AlertsSimulateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AlertsClient) (autorest.Response, error)
}

AlertsSimulateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AlertsSimulateFuture) UnmarshalJSON

func (future *AlertsSimulateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AlertsSuppressionRule

type AlertsSuppressionRule struct {
	autorest.Response                `json:"-"`
	*AlertsSuppressionRuleProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AlertsSuppressionRule describes the suppression rule

func (AlertsSuppressionRule) MarshalJSON

func (asr AlertsSuppressionRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertsSuppressionRule.

func (*AlertsSuppressionRule) UnmarshalJSON

func (asr *AlertsSuppressionRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertsSuppressionRule struct.

type AlertsSuppressionRuleProperties

type AlertsSuppressionRuleProperties struct {
	// AlertType - Type of the alert to automatically suppress. For all alert types, use '*'
	AlertType *string `json:"alertType,omitempty"`
	// LastModifiedUtc - READ-ONLY; The last time this rule was modified
	LastModifiedUtc *date.Time `json:"lastModifiedUtc,omitempty"`
	// ExpirationDateUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
	ExpirationDateUtc *date.Time `json:"expirationDateUtc,omitempty"`
	// Reason - The reason for dismissing the alert
	Reason *string `json:"reason,omitempty"`
	// State - Possible states of the rule. Possible values include: 'RuleStateEnabled', 'RuleStateDisabled', 'RuleStateExpired'
	State RuleState `json:"state,omitempty"`
	// Comment - Any comment regarding the rule
	Comment *string `json:"comment,omitempty"`
	// SuppressionAlertsScope - The suppression conditions
	SuppressionAlertsScope *SuppressionAlertsScope `json:"suppressionAlertsScope,omitempty"`
}

AlertsSuppressionRuleProperties describes AlertsSuppressionRule properties

func (AlertsSuppressionRuleProperties) MarshalJSON

func (asrp AlertsSuppressionRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertsSuppressionRuleProperties.

type AlertsSuppressionRulesClient

type AlertsSuppressionRulesClient struct {
	BaseClient
}

AlertsSuppressionRulesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAlertsSuppressionRulesClient

func NewAlertsSuppressionRulesClient(subscriptionID string) AlertsSuppressionRulesClient

NewAlertsSuppressionRulesClient creates an instance of the AlertsSuppressionRulesClient client.

func NewAlertsSuppressionRulesClientWithBaseURI

func NewAlertsSuppressionRulesClientWithBaseURI(baseURI string, subscriptionID string) AlertsSuppressionRulesClient

NewAlertsSuppressionRulesClientWithBaseURI creates an instance of the AlertsSuppressionRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AlertsSuppressionRulesClient) Delete

func (client AlertsSuppressionRulesClient) Delete(ctx context.Context, alertsSuppressionRuleName string) (result autorest.Response, err error)

Delete delete dismiss alert rule for this subscription. Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule

func (AlertsSuppressionRulesClient) DeletePreparer

func (client AlertsSuppressionRulesClient) DeletePreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AlertsSuppressionRulesClient) DeleteResponder

func (client AlertsSuppressionRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AlertsSuppressionRulesClient) DeleteSender

func (client AlertsSuppressionRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AlertsSuppressionRulesClient) Get

func (client AlertsSuppressionRulesClient) Get(ctx context.Context, alertsSuppressionRuleName string) (result AlertsSuppressionRule, err error)

Get get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule

func (AlertsSuppressionRulesClient) GetPreparer

func (client AlertsSuppressionRulesClient) GetPreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AlertsSuppressionRulesClient) GetResponder

func (client AlertsSuppressionRulesClient) GetResponder(resp *http.Response) (result AlertsSuppressionRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AlertsSuppressionRulesClient) GetSender

func (client AlertsSuppressionRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AlertsSuppressionRulesClient) List

func (client AlertsSuppressionRulesClient) List(ctx context.Context, alertType string) (result AlertsSuppressionRulesListPage, err error)

List list of all the dismiss rules for the given subscription Parameters: alertType - type of the alert to get rules for

func (AlertsSuppressionRulesClient) ListComplete

func (client AlertsSuppressionRulesClient) ListComplete(ctx context.Context, alertType string) (result AlertsSuppressionRulesListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsSuppressionRulesClient) ListPreparer

func (client AlertsSuppressionRulesClient) ListPreparer(ctx context.Context, alertType string) (*http.Request, error)

ListPreparer prepares the List request.

func (AlertsSuppressionRulesClient) ListResponder

func (client AlertsSuppressionRulesClient) ListResponder(resp *http.Response) (result AlertsSuppressionRulesList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AlertsSuppressionRulesClient) ListSender

func (client AlertsSuppressionRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AlertsSuppressionRulesClient) Update

func (client AlertsSuppressionRulesClient) Update(ctx context.Context, alertsSuppressionRuleName string, alertsSuppressionRule AlertsSuppressionRule) (result AlertsSuppressionRule, err error)

Update update existing rule or create new rule if it doesn't exist Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule alertsSuppressionRule - suppression rule object

func (AlertsSuppressionRulesClient) UpdatePreparer

func (client AlertsSuppressionRulesClient) UpdatePreparer(ctx context.Context, alertsSuppressionRuleName string, alertsSuppressionRule AlertsSuppressionRule) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AlertsSuppressionRulesClient) UpdateResponder

func (client AlertsSuppressionRulesClient) UpdateResponder(resp *http.Response) (result AlertsSuppressionRule, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AlertsSuppressionRulesClient) UpdateSender

func (client AlertsSuppressionRulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AlertsSuppressionRulesList

type AlertsSuppressionRulesList struct {
	autorest.Response `json:"-"`
	Value             *[]AlertsSuppressionRule `json:"value,omitempty"`
	// NextLink - READ-ONLY; URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AlertsSuppressionRulesList suppression rules list for subscription.

func (AlertsSuppressionRulesList) IsEmpty

func (asrl AlertsSuppressionRulesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AlertsSuppressionRulesList) MarshalJSON

func (asrl AlertsSuppressionRulesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertsSuppressionRulesList.

type AlertsSuppressionRulesListIterator

type AlertsSuppressionRulesListIterator struct {
	// contains filtered or unexported fields
}

AlertsSuppressionRulesListIterator provides access to a complete listing of AlertsSuppressionRule values.

func NewAlertsSuppressionRulesListIterator

func NewAlertsSuppressionRulesListIterator(page AlertsSuppressionRulesListPage) AlertsSuppressionRulesListIterator

Creates a new instance of the AlertsSuppressionRulesListIterator type.

func (*AlertsSuppressionRulesListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertsSuppressionRulesListIterator) NextWithContext

func (iter *AlertsSuppressionRulesListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertsSuppressionRulesListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AlertsSuppressionRulesListIterator) Response

Response returns the raw server response from the last page request.

func (AlertsSuppressionRulesListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AlertsSuppressionRulesListPage

type AlertsSuppressionRulesListPage struct {
	// contains filtered or unexported fields
}

AlertsSuppressionRulesListPage contains a page of AlertsSuppressionRule values.

func NewAlertsSuppressionRulesListPage

Creates a new instance of the AlertsSuppressionRulesListPage type.

func (*AlertsSuppressionRulesListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertsSuppressionRulesListPage) NextWithContext

func (page *AlertsSuppressionRulesListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertsSuppressionRulesListPage) NotDone

func (page AlertsSuppressionRulesListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AlertsSuppressionRulesListPage) Response

Response returns the raw server response from the last page request.

func (AlertsSuppressionRulesListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AllowedConnectionsClient

type AllowedConnectionsClient struct {
	BaseClient
}

AllowedConnectionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAllowedConnectionsClient

func NewAllowedConnectionsClient(subscriptionID string) AllowedConnectionsClient

NewAllowedConnectionsClient creates an instance of the AllowedConnectionsClient client.

func NewAllowedConnectionsClientWithBaseURI

func NewAllowedConnectionsClientWithBaseURI(baseURI string, subscriptionID string) AllowedConnectionsClient

NewAllowedConnectionsClientWithBaseURI creates an instance of the AllowedConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AllowedConnectionsClient) Get

func (client AllowedConnectionsClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, connectionType ConnectionType) (result AllowedConnectionsResource, err error)

Get gets the list of all possible traffic between resources for the subscription and location, based on connection type. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations connectionType - the type of allowed connections (Internal, External)

func (AllowedConnectionsClient) GetPreparer

func (client AllowedConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, connectionType ConnectionType) (*http.Request, error)

GetPreparer prepares the Get request.

func (AllowedConnectionsClient) GetResponder

func (client AllowedConnectionsClient) GetResponder(resp *http.Response) (result AllowedConnectionsResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) GetSender

func (client AllowedConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AllowedConnectionsClient) List

List gets the list of all possible traffic between resources for the subscription

func (AllowedConnectionsClient) ListByHomeRegion

func (client AllowedConnectionsClient) ListByHomeRegion(ctx context.Context, ascLocation string) (result AllowedConnectionsListPage, err error)

ListByHomeRegion gets the list of all possible traffic between resources for the subscription and location. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (AllowedConnectionsClient) ListByHomeRegionComplete

func (client AllowedConnectionsClient) ListByHomeRegionComplete(ctx context.Context, ascLocation string) (result AllowedConnectionsListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AllowedConnectionsClient) ListByHomeRegionPreparer

func (client AllowedConnectionsClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (AllowedConnectionsClient) ListByHomeRegionResponder

func (client AllowedConnectionsClient) ListByHomeRegionResponder(resp *http.Response) (result AllowedConnectionsList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) ListByHomeRegionSender

func (client AllowedConnectionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (AllowedConnectionsClient) ListComplete

func (client AllowedConnectionsClient) ListComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AllowedConnectionsClient) ListPreparer

func (client AllowedConnectionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AllowedConnectionsClient) ListResponder

func (client AllowedConnectionsClient) ListResponder(resp *http.Response) (result AllowedConnectionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) ListSender

func (client AllowedConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AllowedConnectionsList

type AllowedConnectionsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]AllowedConnectionsResource `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AllowedConnectionsList list of all possible traffic between Azure resources

func (AllowedConnectionsList) IsEmpty

func (ACL AllowedConnectionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AllowedConnectionsList) MarshalJSON

func (ACL AllowedConnectionsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowedConnectionsList.

type AllowedConnectionsListIterator

type AllowedConnectionsListIterator struct {
	// contains filtered or unexported fields
}

AllowedConnectionsListIterator provides access to a complete listing of AllowedConnectionsResource values.

func NewAllowedConnectionsListIterator

func NewAllowedConnectionsListIterator(page AllowedConnectionsListPage) AllowedConnectionsListIterator

Creates a new instance of the AllowedConnectionsListIterator type.

func (*AllowedConnectionsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AllowedConnectionsListIterator) NextWithContext

func (iter *AllowedConnectionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AllowedConnectionsListIterator) NotDone

func (iter AllowedConnectionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AllowedConnectionsListIterator) Response

Response returns the raw server response from the last page request.

func (AllowedConnectionsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AllowedConnectionsListPage

type AllowedConnectionsListPage struct {
	ACL AllowedConnectionsList
	// contains filtered or unexported fields
}

AllowedConnectionsListPage contains a page of AllowedConnectionsResource values.

func NewAllowedConnectionsListPage

Creates a new instance of the AllowedConnectionsListPage type.

func (*AllowedConnectionsListPage) Next

func (page *AllowedConnectionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AllowedConnectionsListPage) NextWithContext

func (page *AllowedConnectionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AllowedConnectionsListPage) NotDone

func (page AllowedConnectionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AllowedConnectionsListPage) Response

Response returns the raw server response from the last page request.

func (AllowedConnectionsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AllowedConnectionsResource

type AllowedConnectionsResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// AllowedConnectionsResourceProperties - READ-ONLY
	*AllowedConnectionsResourceProperties `json:"properties,omitempty"`
}

AllowedConnectionsResource the resource whose properties describes the allowed traffic between Azure resources

func (AllowedConnectionsResource) MarshalJSON

func (acr AllowedConnectionsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowedConnectionsResource.

func (*AllowedConnectionsResource) UnmarshalJSON

func (acr *AllowedConnectionsResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AllowedConnectionsResource struct.

type AllowedConnectionsResourceProperties

type AllowedConnectionsResourceProperties struct {
	// CalculatedDateTime - READ-ONLY; The UTC time on which the allowed connections resource was calculated
	CalculatedDateTime *date.Time `json:"calculatedDateTime,omitempty"`
	// ConnectableResources - READ-ONLY; List of connectable resources
	ConnectableResources *[]ConnectableResource `json:"connectableResources,omitempty"`
}

AllowedConnectionsResourceProperties describes the allowed traffic between Azure resources

func (AllowedConnectionsResourceProperties) MarshalJSON

func (acrp AllowedConnectionsResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowedConnectionsResourceProperties.

type AllowlistCustomAlertRule

type AllowlistCustomAlertRule struct {
	// AllowlistValues - The values to allow. The format of the values depends on the rule type.
	AllowlistValues *[]string `json:"allowlistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

AllowlistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is allowed.

func (AllowlistCustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAllowlistCustomAlertRule

func (acar AllowlistCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicAllowlistCustomAlertRule

func (acar AllowlistCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicCustomAlertRule

func (acar AllowlistCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicListCustomAlertRule

func (acar AllowlistCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicThresholdCustomAlertRule

func (acar AllowlistCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (acar AllowlistCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsConnectionFromIPNotAllowed

func (acar AllowlistCustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsConnectionToIPNotAllowed

func (acar AllowlistCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsCustomAlertRule

func (acar AllowlistCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsDenylistCustomAlertRule

func (acar AllowlistCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsFileUploadsNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsListCustomAlertRule

func (acar AllowlistCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsLocalUserNotAllowed

func (acar AllowlistCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsProcessNotAllowed

func (acar AllowlistCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsQueuePurgesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsThresholdCustomAlertRule

func (acar AllowlistCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsTimeWindowCustomAlertRule

func (acar AllowlistCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (acar AllowlistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) MarshalJSON

func (acar AllowlistCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowlistCustomAlertRule.

type AmqpC2DMessagesNotInAllowedRange

type AmqpC2DMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

AmqpC2DMessagesNotInAllowedRange number of cloud to device messages (AMQP protocol) is not in allowed range.

func (AmqpC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsListCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsProcessNotAllowed

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) MarshalJSON

func (acmniar AmqpC2DMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpC2DMessagesNotInAllowedRange.

type AmqpC2DRejectedMessagesNotInAllowedRange

type AmqpC2DRejectedMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

AmqpC2DRejectedMessagesNotInAllowedRange number of rejected cloud to device messages (AMQP protocol) is not in allowed range.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) MarshalJSON

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpC2DRejectedMessagesNotInAllowedRange.

type AmqpD2CMessagesNotInAllowedRange

type AmqpD2CMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

AmqpD2CMessagesNotInAllowedRange number of device to cloud messages (AMQP protocol) is not in allowed range.

func (AmqpD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (admniar AmqpD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (admniar AmqpD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsListCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (admniar AmqpD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsProcessNotAllowed

func (admniar AmqpD2CMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (admniar AmqpD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (admniar AmqpD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) MarshalJSON

func (admniar AmqpD2CMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpD2CMessagesNotInAllowedRange.

type Application

type Application struct {
	autorest.Response `json:"-"`
	// ApplicationProperties - Properties of a security application
	*ApplicationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Application security Application over a given scope

func (Application) MarshalJSON

func (a Application) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Application.

func (*Application) UnmarshalJSON

func (a *Application) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Application struct.

type ApplicationClient

type ApplicationClient struct {
	BaseClient
}

ApplicationClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewApplicationClient

func NewApplicationClient(subscriptionID string) ApplicationClient

NewApplicationClient creates an instance of the ApplicationClient client.

func NewApplicationClientWithBaseURI

func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient

NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationClient) CreateOrUpdate

func (client ApplicationClient) CreateOrUpdate(ctx context.Context, applicationID string, application Application) (result Application, err error)

CreateOrUpdate creates or update a security application on the given subscription. Parameters: applicationID - the security Application key - unique key for the standard application application - application over a subscription scope

func (ApplicationClient) CreateOrUpdatePreparer

func (client ApplicationClient) CreateOrUpdatePreparer(ctx context.Context, applicationID string, application Application) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationClient) CreateOrUpdateResponder

func (client ApplicationClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationClient) CreateOrUpdateSender

func (client ApplicationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationClient) Delete

func (client ApplicationClient) Delete(ctx context.Context, applicationID string) (result autorest.Response, err error)

Delete delete an Application over a given scope Parameters: applicationID - the security Application key - unique key for the standard application

func (ApplicationClient) DeletePreparer

func (client ApplicationClient) DeletePreparer(ctx context.Context, applicationID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationClient) DeleteResponder

func (client ApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationClient) DeleteSender

func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationClient) Get

func (client ApplicationClient) Get(ctx context.Context, applicationID string) (result Application, err error)

Get get a specific application for the requested scope by applicationId Parameters: applicationID - the security Application key - unique key for the standard application

func (ApplicationClient) GetPreparer

func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationClient) GetResponder

func (client ApplicationClient) GetResponder(resp *http.Response) (result Application, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationClient) GetSender

func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ApplicationCondition

type ApplicationCondition struct {
	// Property - The application Condition's Property, e.g. ID, see examples
	Property *string `json:"property,omitempty"`
	// Value - The application Condition's Value like IDs that contain some string, see examples
	Value *string `json:"value,omitempty"`
	// Operator - The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples. Possible values include: 'In', 'Equals'
	Operator ApplicationConditionOperator `json:"operator,omitempty"`
}

ApplicationCondition application's condition

type ApplicationConditionOperator

type ApplicationConditionOperator string

ApplicationConditionOperator enumerates the values for application condition operator.

const (
	// Equals Checks that the string value of the data defined in Property equals any of the given values
	// (exact fit)
	Equals ApplicationConditionOperator = "Equals"
	// In Checks that the string value of the data defined in Property contains the given value
	In ApplicationConditionOperator = "In"
)

func PossibleApplicationConditionOperatorValues

func PossibleApplicationConditionOperatorValues() []ApplicationConditionOperator

PossibleApplicationConditionOperatorValues returns an array of possible values for the ApplicationConditionOperator const type.

type ApplicationProperties

type ApplicationProperties struct {
	// DisplayName - display name of the application
	DisplayName *string `json:"displayName,omitempty"`
	// Description - description of the application
	Description *string `json:"description,omitempty"`
	// SourceResourceType - The application source, what it affects, e.g. Assessments
	SourceResourceType *string `json:"sourceResourceType,omitempty"`
	// ConditionSets - The application conditionSets - see examples
	ConditionSets *[]interface{} `json:"conditionSets,omitempty"`
}

ApplicationProperties describes properties of an application

type ApplicationsClient

type ApplicationsClient struct {
	BaseClient
}

ApplicationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewApplicationsClient

func NewApplicationsClient(subscriptionID string) ApplicationsClient

NewApplicationsClient creates an instance of the ApplicationsClient client.

func NewApplicationsClientWithBaseURI

func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient

NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationsClient) List

func (client ApplicationsClient) List(ctx context.Context) (result ApplicationsListPage, err error)

List get a list of all relevant applications over a subscription level scope

func (ApplicationsClient) ListComplete

func (client ApplicationsClient) ListComplete(ctx context.Context) (result ApplicationsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationsClient) ListPreparer

func (client ApplicationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationsClient) ListResponder

func (client ApplicationsClient) ListResponder(resp *http.Response) (result ApplicationsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationsClient) ListSender

func (client ApplicationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ApplicationsList

type ApplicationsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of applications in this page
	Value *[]Application `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationsList page of a security applications list

func (ApplicationsList) IsEmpty

func (al ApplicationsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationsList) MarshalJSON

func (al ApplicationsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationsList.

type ApplicationsListIterator

type ApplicationsListIterator struct {
	// contains filtered or unexported fields
}

ApplicationsListIterator provides access to a complete listing of Application values.

func NewApplicationsListIterator

func NewApplicationsListIterator(page ApplicationsListPage) ApplicationsListIterator

Creates a new instance of the ApplicationsListIterator type.

func (*ApplicationsListIterator) Next

func (iter *ApplicationsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationsListIterator) NextWithContext

func (iter *ApplicationsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationsListIterator) NotDone

func (iter ApplicationsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationsListIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationsListPage

type ApplicationsListPage struct {
	// contains filtered or unexported fields
}

ApplicationsListPage contains a page of Application values.

func NewApplicationsListPage

func NewApplicationsListPage(cur ApplicationsList, getNextPage func(context.Context, ApplicationsList) (ApplicationsList, error)) ApplicationsListPage

Creates a new instance of the ApplicationsListPage type.

func (*ApplicationsListPage) Next

func (page *ApplicationsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationsListPage) NextWithContext

func (page *ApplicationsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationsListPage) NotDone

func (page ApplicationsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationsListPage) Response

func (page ApplicationsListPage) Response() ApplicationsList

Response returns the raw server response from the last page request.

func (ApplicationsListPage) Values

func (page ApplicationsListPage) Values() []Application

Values returns the slice of values for the current page or nil if there are no values.

type AscLocation

type AscLocation struct {
	autorest.Response `json:"-"`
	Properties        interface{} `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AscLocation the ASC location of the subscription is in the "name" field

func (AscLocation) MarshalJSON

func (al AscLocation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AscLocation.

type AscLocationList

type AscLocationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]AscLocation `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AscLocationList list of locations where ASC saves your data

func (AscLocationList) IsEmpty

func (all AscLocationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AscLocationList) MarshalJSON

func (all AscLocationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AscLocationList.

type AscLocationListIterator

type AscLocationListIterator struct {
	// contains filtered or unexported fields
}

AscLocationListIterator provides access to a complete listing of AscLocation values.

func NewAscLocationListIterator

func NewAscLocationListIterator(page AscLocationListPage) AscLocationListIterator

Creates a new instance of the AscLocationListIterator type.

func (*AscLocationListIterator) Next

func (iter *AscLocationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AscLocationListIterator) NextWithContext

func (iter *AscLocationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AscLocationListIterator) NotDone

func (iter AscLocationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AscLocationListIterator) Response

func (iter AscLocationListIterator) Response() AscLocationList

Response returns the raw server response from the last page request.

func (AscLocationListIterator) Value

func (iter AscLocationListIterator) Value() AscLocation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AscLocationListPage

type AscLocationListPage struct {
	// contains filtered or unexported fields
}

AscLocationListPage contains a page of AscLocation values.

func NewAscLocationListPage

func NewAscLocationListPage(cur AscLocationList, getNextPage func(context.Context, AscLocationList) (AscLocationList, error)) AscLocationListPage

Creates a new instance of the AscLocationListPage type.

func (*AscLocationListPage) Next

func (page *AscLocationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AscLocationListPage) NextWithContext

func (page *AscLocationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AscLocationListPage) NotDone

func (page AscLocationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AscLocationListPage) Response

func (page AscLocationListPage) Response() AscLocationList

Response returns the raw server response from the last page request.

func (AscLocationListPage) Values

func (page AscLocationListPage) Values() []AscLocation

Values returns the slice of values for the current page or nil if there are no values.

type AssessedResourceType

type AssessedResourceType string

AssessedResourceType enumerates the values for assessed resource type.

const (
	// AssessedResourceTypeAdditionalData ...
	AssessedResourceTypeAdditionalData AssessedResourceType = "AdditionalData"
	// AssessedResourceTypeContainerRegistryVulnerability ...
	AssessedResourceTypeContainerRegistryVulnerability AssessedResourceType = "ContainerRegistryVulnerability"
	// AssessedResourceTypeServerVulnerabilityAssessment ...
	AssessedResourceTypeServerVulnerabilityAssessment AssessedResourceType = "ServerVulnerabilityAssessment"
	// AssessedResourceTypeSQLServerVulnerability ...
	AssessedResourceTypeSQLServerVulnerability AssessedResourceType = "SqlServerVulnerability"
)

func PossibleAssessedResourceTypeValues

func PossibleAssessedResourceTypeValues() []AssessedResourceType

PossibleAssessedResourceTypeValues returns an array of possible values for the AssessedResourceType const type.

type Assessment

type Assessment struct {
	*AssessmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Assessment security assessment on a resource

func (Assessment) MarshalJSON

func (a Assessment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Assessment.

func (*Assessment) UnmarshalJSON

func (a *Assessment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Assessment struct.

type AssessmentLinks struct {
	// AzurePortalURI - READ-ONLY; Link to assessment in Azure Portal
	AzurePortalURI *string `json:"azurePortalUri,omitempty"`
}

AssessmentLinks links relevant to the assessment

func (AssessmentLinks) MarshalJSON

func (al AssessmentLinks) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentLinks.

type AssessmentList

type AssessmentList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of security assessments in this page
	Value *[]AssessmentResponse `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AssessmentList page of a security assessments list

func (AssessmentList) IsEmpty

func (al AssessmentList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AssessmentList) MarshalJSON

func (al AssessmentList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentList.

type AssessmentListIterator

type AssessmentListIterator struct {
	// contains filtered or unexported fields
}

AssessmentListIterator provides access to a complete listing of AssessmentResponse values.

func NewAssessmentListIterator

func NewAssessmentListIterator(page AssessmentListPage) AssessmentListIterator

Creates a new instance of the AssessmentListIterator type.

func (*AssessmentListIterator) Next

func (iter *AssessmentListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssessmentListIterator) NextWithContext

func (iter *AssessmentListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AssessmentListIterator) NotDone

func (iter AssessmentListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AssessmentListIterator) Response

func (iter AssessmentListIterator) Response() AssessmentList

Response returns the raw server response from the last page request.

func (AssessmentListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AssessmentListPage

type AssessmentListPage struct {
	// contains filtered or unexported fields
}

AssessmentListPage contains a page of AssessmentResponse values.

func NewAssessmentListPage

func NewAssessmentListPage(cur AssessmentList, getNextPage func(context.Context, AssessmentList) (AssessmentList, error)) AssessmentListPage

Creates a new instance of the AssessmentListPage type.

func (*AssessmentListPage) Next

func (page *AssessmentListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssessmentListPage) NextWithContext

func (page *AssessmentListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AssessmentListPage) NotDone

func (page AssessmentListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AssessmentListPage) Response

func (page AssessmentListPage) Response() AssessmentList

Response returns the raw server response from the last page request.

func (AssessmentListPage) Values

func (page AssessmentListPage) Values() []AssessmentResponse

Values returns the slice of values for the current page or nil if there are no values.

type AssessmentMetadata

type AssessmentMetadata struct {
	*AssessmentMetadataProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AssessmentMetadata security assessment metadata

func (AssessmentMetadata) MarshalJSON

func (am AssessmentMetadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadata.

func (*AssessmentMetadata) UnmarshalJSON

func (am *AssessmentMetadata) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentMetadata struct.

type AssessmentMetadataPartnerData

type AssessmentMetadataPartnerData struct {
	// PartnerName - Name of the company of the partner
	PartnerName *string `json:"partnerName,omitempty"`
	// ProductName - Name of the product of the partner that created the assessment
	ProductName *string `json:"productName,omitempty"`
	// Secret - Secret to authenticate the partner and verify it created the assessment - write only
	Secret *string `json:"secret,omitempty"`
}

AssessmentMetadataPartnerData describes the partner that created the assessment

type AssessmentMetadataProperties

type AssessmentMetadataProperties struct {
	// DisplayName - User friendly display name of the assessment
	DisplayName *string `json:"displayName,omitempty"`
	// PolicyDefinitionID - READ-ONLY; Azure resource ID of the policy definition that turns this assessment calculation on
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// Description - Human readable description of the assessment
	Description *string `json:"description,omitempty"`
	// RemediationDescription - Human readable description of what you should do to mitigate this security issue
	RemediationDescription *string       `json:"remediationDescription,omitempty"`
	Categories             *[]Categories `json:"categories,omitempty"`
	// Severity - The severity level of the assessment. Possible values include: 'SeverityLow', 'SeverityMedium', 'SeverityHigh'
	Severity Severity `json:"severity,omitempty"`
	// UserImpact - The user impact of the assessment. Possible values include: 'UserImpactLow', 'UserImpactModerate', 'UserImpactHigh'
	UserImpact UserImpact `json:"userImpact,omitempty"`
	// ImplementationEffort - The implementation effort required to remediate this assessment. Possible values include: 'ImplementationEffortLow', 'ImplementationEffortModerate', 'ImplementationEffortHigh'
	ImplementationEffort ImplementationEffort `json:"implementationEffort,omitempty"`
	Threats              *[]Threats           `json:"threats,omitempty"`
	// Preview - True if this assessment is in preview release status
	Preview *bool `json:"preview,omitempty"`
	// AssessmentType - BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition. Possible values include: 'BuiltIn', 'CustomPolicy', 'CustomerManaged', 'VerifiedPartner'
	AssessmentType AssessmentType                 `json:"assessmentType,omitempty"`
	PartnerData    *AssessmentMetadataPartnerData `json:"partnerData,omitempty"`
}

AssessmentMetadataProperties describes properties of an assessment metadata.

func (AssessmentMetadataProperties) MarshalJSON

func (amp AssessmentMetadataProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadataProperties.

type AssessmentMetadataPropertiesResponse

type AssessmentMetadataPropertiesResponse struct {
	PublishDates           *AssessmentMetadataPropertiesResponsePublishDates `json:"publishDates,omitempty"`
	PlannedDeprecationDate *string                                           `json:"plannedDeprecationDate,omitempty"`
	Tactics                *[]Tactics                                        `json:"tactics,omitempty"`
	Techniques             *[]Techniques                                     `json:"techniques,omitempty"`
	// DisplayName - User friendly display name of the assessment
	DisplayName *string `json:"displayName,omitempty"`
	// PolicyDefinitionID - READ-ONLY; Azure resource ID of the policy definition that turns this assessment calculation on
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
	// Description - Human readable description of the assessment
	Description *string `json:"description,omitempty"`
	// RemediationDescription - Human readable description of what you should do to mitigate this security issue
	RemediationDescription *string       `json:"remediationDescription,omitempty"`
	Categories             *[]Categories `json:"categories,omitempty"`
	// Severity - The severity level of the assessment. Possible values include: 'SeverityLow', 'SeverityMedium', 'SeverityHigh'
	Severity Severity `json:"severity,omitempty"`
	// UserImpact - The user impact of the assessment. Possible values include: 'UserImpactLow', 'UserImpactModerate', 'UserImpactHigh'
	UserImpact UserImpact `json:"userImpact,omitempty"`
	// ImplementationEffort - The implementation effort required to remediate this assessment. Possible values include: 'ImplementationEffortLow', 'ImplementationEffortModerate', 'ImplementationEffortHigh'
	ImplementationEffort ImplementationEffort `json:"implementationEffort,omitempty"`
	Threats              *[]Threats           `json:"threats,omitempty"`
	// Preview - True if this assessment is in preview release status
	Preview *bool `json:"preview,omitempty"`
	// AssessmentType - BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition. Possible values include: 'BuiltIn', 'CustomPolicy', 'CustomerManaged', 'VerifiedPartner'
	AssessmentType AssessmentType                 `json:"assessmentType,omitempty"`
	PartnerData    *AssessmentMetadataPartnerData `json:"partnerData,omitempty"`
}

AssessmentMetadataPropertiesResponse describes properties of an assessment metadata response.

func (AssessmentMetadataPropertiesResponse) MarshalJSON

func (ampr AssessmentMetadataPropertiesResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadataPropertiesResponse.

type AssessmentMetadataPropertiesResponsePublishDates

type AssessmentMetadataPropertiesResponsePublishDates struct {
	GA     *string `json:"GA,omitempty"`
	Public *string `json:"public,omitempty"`
}

AssessmentMetadataPropertiesResponsePublishDates ...

type AssessmentMetadataResponse

type AssessmentMetadataResponse struct {
	autorest.Response                     `json:"-"`
	*AssessmentMetadataPropertiesResponse `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AssessmentMetadataResponse security assessment metadata response

func (AssessmentMetadataResponse) MarshalJSON

func (amr AssessmentMetadataResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadataResponse.

func (*AssessmentMetadataResponse) UnmarshalJSON

func (amr *AssessmentMetadataResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentMetadataResponse struct.

type AssessmentMetadataResponseList

type AssessmentMetadataResponseList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]AssessmentMetadataResponse `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AssessmentMetadataResponseList list of security assessment metadata

func (AssessmentMetadataResponseList) IsEmpty

func (amrl AssessmentMetadataResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AssessmentMetadataResponseList) MarshalJSON

func (amrl AssessmentMetadataResponseList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadataResponseList.

type AssessmentMetadataResponseListIterator

type AssessmentMetadataResponseListIterator struct {
	// contains filtered or unexported fields
}

AssessmentMetadataResponseListIterator provides access to a complete listing of AssessmentMetadataResponse values.

func NewAssessmentMetadataResponseListIterator

func NewAssessmentMetadataResponseListIterator(page AssessmentMetadataResponseListPage) AssessmentMetadataResponseListIterator

Creates a new instance of the AssessmentMetadataResponseListIterator type.

func (*AssessmentMetadataResponseListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssessmentMetadataResponseListIterator) NextWithContext

func (iter *AssessmentMetadataResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AssessmentMetadataResponseListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AssessmentMetadataResponseListIterator) Response

Response returns the raw server response from the last page request.

func (AssessmentMetadataResponseListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AssessmentMetadataResponseListPage

type AssessmentMetadataResponseListPage struct {
	// contains filtered or unexported fields
}

AssessmentMetadataResponseListPage contains a page of AssessmentMetadataResponse values.

func NewAssessmentMetadataResponseListPage

Creates a new instance of the AssessmentMetadataResponseListPage type.

func (*AssessmentMetadataResponseListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AssessmentMetadataResponseListPage) NextWithContext

func (page *AssessmentMetadataResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AssessmentMetadataResponseListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AssessmentMetadataResponseListPage) Response

Response returns the raw server response from the last page request.

func (AssessmentMetadataResponseListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AssessmentPartnerData

type AssessmentPartnerData struct {
	// PartnerName - Name of the company of the partner
	PartnerName *string `json:"partnerName,omitempty"`
	// Secret - secret to authenticate the partner - write only
	Secret *string `json:"secret,omitempty"`
}

AssessmentPartnerData data regarding 3rd party partner integration

type AssessmentProperties

type AssessmentProperties struct {
	Status          *AssessmentStatus    `json:"status,omitempty"`
	ResourceDetails BasicResourceDetails `json:"resourceDetails,omitempty"`
	// DisplayName - READ-ONLY; User friendly display name of the assessment
	DisplayName *string `json:"displayName,omitempty"`
	// AdditionalData - Additional data regarding the assessment
	AdditionalData map[string]*string            `json:"additionalData"`
	Links          *AssessmentLinks              `json:"links,omitempty"`
	Metadata       *AssessmentMetadataProperties `json:"metadata,omitempty"`
	PartnersData   *AssessmentPartnerData        `json:"partnersData,omitempty"`
}

AssessmentProperties describes properties of an assessment.

func (AssessmentProperties) MarshalJSON

func (ap AssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentProperties.

func (*AssessmentProperties) UnmarshalJSON

func (ap *AssessmentProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentProperties struct.

type AssessmentPropertiesBase

type AssessmentPropertiesBase struct {
	ResourceDetails BasicResourceDetails `json:"resourceDetails,omitempty"`
	// DisplayName - READ-ONLY; User friendly display name of the assessment
	DisplayName *string `json:"displayName,omitempty"`
	// AdditionalData - Additional data regarding the assessment
	AdditionalData map[string]*string            `json:"additionalData"`
	Links          *AssessmentLinks              `json:"links,omitempty"`
	Metadata       *AssessmentMetadataProperties `json:"metadata,omitempty"`
	PartnersData   *AssessmentPartnerData        `json:"partnersData,omitempty"`
}

AssessmentPropertiesBase describes properties of an assessment.

func (AssessmentPropertiesBase) MarshalJSON

func (apb AssessmentPropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentPropertiesBase.

func (*AssessmentPropertiesBase) UnmarshalJSON

func (apb *AssessmentPropertiesBase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentPropertiesBase struct.

type AssessmentPropertiesResponse

type AssessmentPropertiesResponse struct {
	Status          *AssessmentStatusResponse `json:"status,omitempty"`
	ResourceDetails BasicResourceDetails      `json:"resourceDetails,omitempty"`
	// DisplayName - READ-ONLY; User friendly display name of the assessment
	DisplayName *string `json:"displayName,omitempty"`
	// AdditionalData - Additional data regarding the assessment
	AdditionalData map[string]*string            `json:"additionalData"`
	Links          *AssessmentLinks              `json:"links,omitempty"`
	Metadata       *AssessmentMetadataProperties `json:"metadata,omitempty"`
	PartnersData   *AssessmentPartnerData        `json:"partnersData,omitempty"`
}

AssessmentPropertiesResponse describes properties of an assessment.

func (AssessmentPropertiesResponse) MarshalJSON

func (apr AssessmentPropertiesResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentPropertiesResponse.

func (*AssessmentPropertiesResponse) UnmarshalJSON

func (apr *AssessmentPropertiesResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentPropertiesResponse struct.

type AssessmentResponse

type AssessmentResponse struct {
	autorest.Response             `json:"-"`
	*AssessmentPropertiesResponse `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AssessmentResponse security assessment on a resource - response format

func (AssessmentResponse) MarshalJSON

func (ar AssessmentResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentResponse.

func (*AssessmentResponse) UnmarshalJSON

func (ar *AssessmentResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentResponse struct.

type AssessmentStatus

type AssessmentStatus struct {
	// Code - Programmatic code for the status of the assessment. Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable'
	Code AssessmentStatusCode `json:"code,omitempty"`
	// Cause - Programmatic code for the cause of the assessment status
	Cause *string `json:"cause,omitempty"`
	// Description - Human readable description of the assessment status
	Description *string `json:"description,omitempty"`
}

AssessmentStatus the result of the assessment

type AssessmentStatusCode

type AssessmentStatusCode string

AssessmentStatusCode enumerates the values for assessment status code.

const (
	// Healthy The resource is healthy
	Healthy AssessmentStatusCode = "Healthy"
	// NotApplicable Assessment for this resource did not happen
	NotApplicable AssessmentStatusCode = "NotApplicable"
	// Unhealthy The resource has a security issue that needs to be addressed
	Unhealthy AssessmentStatusCode = "Unhealthy"
)

func PossibleAssessmentStatusCodeValues

func PossibleAssessmentStatusCodeValues() []AssessmentStatusCode

PossibleAssessmentStatusCodeValues returns an array of possible values for the AssessmentStatusCode const type.

type AssessmentStatusResponse

type AssessmentStatusResponse struct {
	// FirstEvaluationDate - READ-ONLY; The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
	FirstEvaluationDate *date.Time `json:"firstEvaluationDate,omitempty"`
	// StatusChangeDate - READ-ONLY; The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
	StatusChangeDate *date.Time `json:"statusChangeDate,omitempty"`
	// Code - Programmatic code for the status of the assessment. Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable'
	Code AssessmentStatusCode `json:"code,omitempty"`
	// Cause - Programmatic code for the cause of the assessment status
	Cause *string `json:"cause,omitempty"`
	// Description - Human readable description of the assessment status
	Description *string `json:"description,omitempty"`
}

AssessmentStatusResponse the result of the assessment

func (AssessmentStatusResponse) MarshalJSON

func (asr AssessmentStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentStatusResponse.

type AssessmentType

type AssessmentType string

AssessmentType enumerates the values for assessment type.

const (
	// BuiltIn Microsoft Defender for Cloud managed assessments
	BuiltIn AssessmentType = "BuiltIn"
	// CustomerManaged User assessments pushed directly by the user or other third party to Microsoft Defender
	// for Cloud
	CustomerManaged AssessmentType = "CustomerManaged"
	// CustomPolicy User defined policies that are automatically ingested from Azure Policy to Microsoft
	// Defender for Cloud
	CustomPolicy AssessmentType = "CustomPolicy"
	// VerifiedPartner An assessment that was created by a verified 3rd party if the user connected it to ASC
	VerifiedPartner AssessmentType = "VerifiedPartner"
)

func PossibleAssessmentTypeValues

func PossibleAssessmentTypeValues() []AssessmentType

PossibleAssessmentTypeValues returns an array of possible values for the AssessmentType const type.

type AssessmentsClient

type AssessmentsClient struct {
	BaseClient
}

AssessmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAssessmentsClient

func NewAssessmentsClient(subscriptionID string) AssessmentsClient

NewAssessmentsClient creates an instance of the AssessmentsClient client.

func NewAssessmentsClientWithBaseURI

func NewAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) AssessmentsClient

NewAssessmentsClientWithBaseURI creates an instance of the AssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AssessmentsClient) CreateOrUpdate

func (client AssessmentsClient) CreateOrUpdate(ctx context.Context, resourceID string, assessmentName string, assessment Assessment) (result AssessmentResponse, err error)

CreateOrUpdate create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result Parameters: resourceID - the identifier of the resource. assessmentName - the Assessment Key - Unique key for the assessment type assessment - calculated assessment on a pre-defined assessment metadata

func (AssessmentsClient) CreateOrUpdatePreparer

func (client AssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceID string, assessmentName string, assessment Assessment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AssessmentsClient) CreateOrUpdateResponder

func (client AssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result AssessmentResponse, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AssessmentsClient) CreateOrUpdateSender

func (client AssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AssessmentsClient) Delete

func (client AssessmentsClient) Delete(ctx context.Context, resourceID string, assessmentName string) (result autorest.Response, err error)

Delete delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result Parameters: resourceID - the identifier of the resource. assessmentName - the Assessment Key - Unique key for the assessment type

func (AssessmentsClient) DeletePreparer

func (client AssessmentsClient) DeletePreparer(ctx context.Context, resourceID string, assessmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AssessmentsClient) DeleteResponder

func (client AssessmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AssessmentsClient) DeleteSender

func (client AssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AssessmentsClient) Get

func (client AssessmentsClient) Get(ctx context.Context, resourceID string, assessmentName string, expand ExpandEnum) (result AssessmentResponse, err error)

Get get a security assessment on your scanned resource Parameters: resourceID - the identifier of the resource. assessmentName - the Assessment Key - Unique key for the assessment type expand - oData expand. Optional.

func (AssessmentsClient) GetPreparer

func (client AssessmentsClient) GetPreparer(ctx context.Context, resourceID string, assessmentName string, expand ExpandEnum) (*http.Request, error)

GetPreparer prepares the Get request.

func (AssessmentsClient) GetResponder

func (client AssessmentsClient) GetResponder(resp *http.Response) (result AssessmentResponse, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AssessmentsClient) GetSender

func (client AssessmentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AssessmentsClient) List

func (client AssessmentsClient) List(ctx context.Context, scope string) (result AssessmentListPage, err error)

List get security assessments on all your scanned resources inside a scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (AssessmentsClient) ListComplete

func (client AssessmentsClient) ListComplete(ctx context.Context, scope string) (result AssessmentListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AssessmentsClient) ListPreparer

func (client AssessmentsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (AssessmentsClient) ListResponder

func (client AssessmentsClient) ListResponder(resp *http.Response) (result AssessmentList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AssessmentsClient) ListSender

func (client AssessmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AssessmentsMetadataClient

type AssessmentsMetadataClient struct {
	BaseClient
}

AssessmentsMetadataClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAssessmentsMetadataClient

func NewAssessmentsMetadataClient(subscriptionID string) AssessmentsMetadataClient

NewAssessmentsMetadataClient creates an instance of the AssessmentsMetadataClient client.

func NewAssessmentsMetadataClientWithBaseURI

func NewAssessmentsMetadataClientWithBaseURI(baseURI string, subscriptionID string) AssessmentsMetadataClient

NewAssessmentsMetadataClientWithBaseURI creates an instance of the AssessmentsMetadataClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AssessmentsMetadataClient) CreateInSubscription

func (client AssessmentsMetadataClient) CreateInSubscription(ctx context.Context, assessmentMetadataName string, assessmentMetadata AssessmentMetadataResponse) (result AssessmentMetadataResponse, err error)

CreateInSubscription create metadata information on an assessment type in a specific subscription Parameters: assessmentMetadataName - the Assessment Key - Unique key for the assessment type assessmentMetadata - assessmentMetadata object

func (AssessmentsMetadataClient) CreateInSubscriptionPreparer

func (client AssessmentsMetadataClient) CreateInSubscriptionPreparer(ctx context.Context, assessmentMetadataName string, assessmentMetadata AssessmentMetadataResponse) (*http.Request, error)

CreateInSubscriptionPreparer prepares the CreateInSubscription request.

func (AssessmentsMetadataClient) CreateInSubscriptionResponder

func (client AssessmentsMetadataClient) CreateInSubscriptionResponder(resp *http.Response) (result AssessmentMetadataResponse, err error)

CreateInSubscriptionResponder handles the response to the CreateInSubscription request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) CreateInSubscriptionSender

func (client AssessmentsMetadataClient) CreateInSubscriptionSender(req *http.Request) (*http.Response, error)

CreateInSubscriptionSender sends the CreateInSubscription request. The method will close the http.Response Body if it receives an error.

func (AssessmentsMetadataClient) DeleteInSubscription

func (client AssessmentsMetadataClient) DeleteInSubscription(ctx context.Context, assessmentMetadataName string) (result autorest.Response, err error)

DeleteInSubscription delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription Parameters: assessmentMetadataName - the Assessment Key - Unique key for the assessment type

func (AssessmentsMetadataClient) DeleteInSubscriptionPreparer

func (client AssessmentsMetadataClient) DeleteInSubscriptionPreparer(ctx context.Context, assessmentMetadataName string) (*http.Request, error)

DeleteInSubscriptionPreparer prepares the DeleteInSubscription request.

func (AssessmentsMetadataClient) DeleteInSubscriptionResponder

func (client AssessmentsMetadataClient) DeleteInSubscriptionResponder(resp *http.Response) (result autorest.Response, err error)

DeleteInSubscriptionResponder handles the response to the DeleteInSubscription request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) DeleteInSubscriptionSender

func (client AssessmentsMetadataClient) DeleteInSubscriptionSender(req *http.Request) (*http.Response, error)

DeleteInSubscriptionSender sends the DeleteInSubscription request. The method will close the http.Response Body if it receives an error.

func (AssessmentsMetadataClient) Get

func (client AssessmentsMetadataClient) Get(ctx context.Context, assessmentMetadataName string) (result AssessmentMetadataResponse, err error)

Get get metadata information on an assessment type Parameters: assessmentMetadataName - the Assessment Key - Unique key for the assessment type

func (AssessmentsMetadataClient) GetInSubscription

func (client AssessmentsMetadataClient) GetInSubscription(ctx context.Context, assessmentMetadataName string) (result AssessmentMetadataResponse, err error)

GetInSubscription get metadata information on an assessment type in a specific subscription Parameters: assessmentMetadataName - the Assessment Key - Unique key for the assessment type

func (AssessmentsMetadataClient) GetInSubscriptionPreparer

func (client AssessmentsMetadataClient) GetInSubscriptionPreparer(ctx context.Context, assessmentMetadataName string) (*http.Request, error)

GetInSubscriptionPreparer prepares the GetInSubscription request.

func (AssessmentsMetadataClient) GetInSubscriptionResponder

func (client AssessmentsMetadataClient) GetInSubscriptionResponder(resp *http.Response) (result AssessmentMetadataResponse, err error)

GetInSubscriptionResponder handles the response to the GetInSubscription request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) GetInSubscriptionSender

func (client AssessmentsMetadataClient) GetInSubscriptionSender(req *http.Request) (*http.Response, error)

GetInSubscriptionSender sends the GetInSubscription request. The method will close the http.Response Body if it receives an error.

func (AssessmentsMetadataClient) GetPreparer

func (client AssessmentsMetadataClient) GetPreparer(ctx context.Context, assessmentMetadataName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AssessmentsMetadataClient) GetResponder

func (client AssessmentsMetadataClient) GetResponder(resp *http.Response) (result AssessmentMetadataResponse, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) GetSender

func (client AssessmentsMetadataClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AssessmentsMetadataClient) List

List get metadata information on all assessment types

func (AssessmentsMetadataClient) ListBySubscription

func (client AssessmentsMetadataClient) ListBySubscription(ctx context.Context) (result AssessmentMetadataResponseListPage, err error)

ListBySubscription get metadata information on all assessment types in a specific subscription

func (AssessmentsMetadataClient) ListBySubscriptionComplete

func (client AssessmentsMetadataClient) ListBySubscriptionComplete(ctx context.Context) (result AssessmentMetadataResponseListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (AssessmentsMetadataClient) ListBySubscriptionPreparer

func (client AssessmentsMetadataClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AssessmentsMetadataClient) ListBySubscriptionResponder

func (client AssessmentsMetadataClient) ListBySubscriptionResponder(resp *http.Response) (result AssessmentMetadataResponseList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) ListBySubscriptionSender

func (client AssessmentsMetadataClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (AssessmentsMetadataClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AssessmentsMetadataClient) ListPreparer

func (client AssessmentsMetadataClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AssessmentsMetadataClient) ListResponder

func (client AssessmentsMetadataClient) ListResponder(resp *http.Response) (result AssessmentMetadataResponseList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AssessmentsMetadataClient) ListSender

func (client AssessmentsMetadataClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AtaExternalSecuritySolution

type AtaExternalSecuritySolution struct {
	Properties *AtaSolutionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
	Kind KindEnum `json:"kind,omitempty"`
}

AtaExternalSecuritySolution represents an ATA security solution which sends logs to an OMS workspace

func (AtaExternalSecuritySolution) AsAadExternalSecuritySolution

func (aess AtaExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsAtaExternalSecuritySolution

func (aess AtaExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsBasicExternalSecuritySolution

func (aess AtaExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsCefExternalSecuritySolution

func (aess AtaExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsExternalSecuritySolution

func (aess AtaExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) MarshalJSON

func (aess AtaExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AtaExternalSecuritySolution.

type AtaSolutionProperties

type AtaSolutionProperties struct {
	LastEventReceived *string `json:"lastEventReceived,omitempty"`
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	DeviceVendor         *string                `json:"deviceVendor,omitempty"`
	DeviceType           *string                `json:"deviceType,omitempty"`
	Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

AtaSolutionProperties ...

func (AtaSolutionProperties) MarshalJSON

func (asp AtaSolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AtaSolutionProperties.

func (*AtaSolutionProperties) UnmarshalJSON

func (asp *AtaSolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AtaSolutionProperties struct.

type AuthenticationDetailsProperties

type AuthenticationDetailsProperties struct {
	// AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy'
	AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"`
	// GrantedPermissions - READ-ONLY; The permissions detected in the cloud account.
	GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"`
	// AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials'
	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
}

AuthenticationDetailsProperties settings for cloud authentication management

func (AuthenticationDetailsProperties) AsAuthenticationDetailsProperties

func (adp AuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)

AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.

func (AuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties

func (adp AuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)

AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.

func (AuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties

func (adp AuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)

AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.

func (AuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties

func (adp AuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)

AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.

func (AuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties

func (adp AuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)

AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.

func (AuthenticationDetailsProperties) MarshalJSON

func (adp AuthenticationDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AuthenticationDetailsProperties.

type AuthenticationProvisioningState

type AuthenticationProvisioningState string

AuthenticationProvisioningState enumerates the values for authentication provisioning state.

const (
	// Expired the connection has expired
	Expired AuthenticationProvisioningState = "Expired"
	// IncorrectPolicy Incorrect policy of the connector
	IncorrectPolicy AuthenticationProvisioningState = "IncorrectPolicy"
	// Invalid Invalid connector
	Invalid AuthenticationProvisioningState = "Invalid"
	// Valid Valid connector
	Valid AuthenticationProvisioningState = "Valid"
)

func PossibleAuthenticationProvisioningStateValues

func PossibleAuthenticationProvisioningStateValues() []AuthenticationProvisioningState

PossibleAuthenticationProvisioningStateValues returns an array of possible values for the AuthenticationProvisioningState const type.

type AuthenticationType

type AuthenticationType string

AuthenticationType enumerates the values for authentication type.

const (
	// AuthenticationTypeAuthenticationDetailsProperties ...
	AuthenticationTypeAuthenticationDetailsProperties AuthenticationType = "AuthenticationDetailsProperties"
	// AuthenticationTypeAwsAssumeRole ...
	AuthenticationTypeAwsAssumeRole AuthenticationType = "awsAssumeRole"
	// AuthenticationTypeAwsCreds ...
	AuthenticationTypeAwsCreds AuthenticationType = "awsCreds"
	// AuthenticationTypeGcpCredentials ...
	AuthenticationTypeGcpCredentials AuthenticationType = "gcpCredentials"
)

func PossibleAuthenticationTypeValues

func PossibleAuthenticationTypeValues() []AuthenticationType

PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.

type AutoProvision

type AutoProvision string

AutoProvision enumerates the values for auto provision.

const (
	// Off Do not install security agent on the VMs automatically
	Off AutoProvision = "Off"
	// On Install missing security agent on VMs automatically
	On AutoProvision = "On"
)

func PossibleAutoProvisionValues

func PossibleAutoProvisionValues() []AutoProvision

PossibleAutoProvisionValues returns an array of possible values for the AutoProvision const type.

type AutoProvisioningSetting

type AutoProvisioningSetting struct {
	autorest.Response `json:"-"`
	// AutoProvisioningSettingProperties - Auto provisioning setting data
	*AutoProvisioningSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

AutoProvisioningSetting auto provisioning setting

func (AutoProvisioningSetting) MarshalJSON

func (aps AutoProvisioningSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoProvisioningSetting.

func (*AutoProvisioningSetting) UnmarshalJSON

func (aps *AutoProvisioningSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoProvisioningSetting struct.

type AutoProvisioningSettingList

type AutoProvisioningSettingList struct {
	autorest.Response `json:"-"`
	// Value - List of all the auto provisioning settings
	Value *[]AutoProvisioningSetting `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AutoProvisioningSettingList list of all the auto provisioning settings response

func (AutoProvisioningSettingList) IsEmpty

func (apsl AutoProvisioningSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AutoProvisioningSettingList) MarshalJSON

func (apsl AutoProvisioningSettingList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoProvisioningSettingList.

type AutoProvisioningSettingListIterator

type AutoProvisioningSettingListIterator struct {
	// contains filtered or unexported fields
}

AutoProvisioningSettingListIterator provides access to a complete listing of AutoProvisioningSetting values.

func NewAutoProvisioningSettingListIterator

func NewAutoProvisioningSettingListIterator(page AutoProvisioningSettingListPage) AutoProvisioningSettingListIterator

Creates a new instance of the AutoProvisioningSettingListIterator type.

func (*AutoProvisioningSettingListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoProvisioningSettingListIterator) NextWithContext

func (iter *AutoProvisioningSettingListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AutoProvisioningSettingListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AutoProvisioningSettingListIterator) Response

Response returns the raw server response from the last page request.

func (AutoProvisioningSettingListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AutoProvisioningSettingListPage

type AutoProvisioningSettingListPage struct {
	// contains filtered or unexported fields
}

AutoProvisioningSettingListPage contains a page of AutoProvisioningSetting values.

func NewAutoProvisioningSettingListPage

Creates a new instance of the AutoProvisioningSettingListPage type.

func (*AutoProvisioningSettingListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoProvisioningSettingListPage) NextWithContext

func (page *AutoProvisioningSettingListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AutoProvisioningSettingListPage) NotDone

func (page AutoProvisioningSettingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AutoProvisioningSettingListPage) Response

Response returns the raw server response from the last page request.

func (AutoProvisioningSettingListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AutoProvisioningSettingProperties

type AutoProvisioningSettingProperties struct {
	// AutoProvision - Describes what kind of security agent provisioning action to take. Possible values include: 'On', 'Off'
	AutoProvision AutoProvision `json:"autoProvision,omitempty"`
}

AutoProvisioningSettingProperties describes properties of an auto provisioning setting

type AutoProvisioningSettingsClient

type AutoProvisioningSettingsClient struct {
	BaseClient
}

AutoProvisioningSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAutoProvisioningSettingsClient

func NewAutoProvisioningSettingsClient(subscriptionID string) AutoProvisioningSettingsClient

NewAutoProvisioningSettingsClient creates an instance of the AutoProvisioningSettingsClient client.

func NewAutoProvisioningSettingsClientWithBaseURI

func NewAutoProvisioningSettingsClientWithBaseURI(baseURI string, subscriptionID string) AutoProvisioningSettingsClient

NewAutoProvisioningSettingsClientWithBaseURI creates an instance of the AutoProvisioningSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AutoProvisioningSettingsClient) Create

func (client AutoProvisioningSettingsClient) Create(ctx context.Context, settingName string, setting AutoProvisioningSetting) (result AutoProvisioningSetting, err error)

Create details of a specific setting Parameters: settingName - auto provisioning setting key setting - auto provisioning setting key

func (AutoProvisioningSettingsClient) CreatePreparer

func (client AutoProvisioningSettingsClient) CreatePreparer(ctx context.Context, settingName string, setting AutoProvisioningSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AutoProvisioningSettingsClient) CreateResponder

func (client AutoProvisioningSettingsClient) CreateResponder(resp *http.Response) (result AutoProvisioningSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) CreateSender

func (client AutoProvisioningSettingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (AutoProvisioningSettingsClient) Get

func (client AutoProvisioningSettingsClient) Get(ctx context.Context, settingName string) (result AutoProvisioningSetting, err error)

Get details of a specific setting Parameters: settingName - auto provisioning setting key

func (AutoProvisioningSettingsClient) GetPreparer

func (client AutoProvisioningSettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AutoProvisioningSettingsClient) GetResponder

func (client AutoProvisioningSettingsClient) GetResponder(resp *http.Response) (result AutoProvisioningSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) GetSender

func (client AutoProvisioningSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AutoProvisioningSettingsClient) List

List exposes the auto provisioning settings of the subscriptions

func (AutoProvisioningSettingsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AutoProvisioningSettingsClient) ListPreparer

func (client AutoProvisioningSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AutoProvisioningSettingsClient) ListResponder

func (client AutoProvisioningSettingsClient) ListResponder(resp *http.Response) (result AutoProvisioningSettingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) ListSender

func (client AutoProvisioningSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Automation

type Automation struct {
	autorest.Response `json:"-"`
	// AutomationProperties - Security automation data
	*AutomationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Kind of the resource
	Kind *string `json:"kind,omitempty"`
	// Etag - Entity tag is used for comparing two or more entities from the same requested resource.
	Etag *string `json:"etag,omitempty"`
	// Tags - A list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
}

Automation the security automation resource.

func (Automation) MarshalJSON

func (a Automation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Automation.

func (*Automation) UnmarshalJSON

func (a *Automation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Automation struct.

type AutomationAction

type AutomationAction struct {
	// ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace'
	ActionType ActionType `json:"actionType,omitempty"`
}

AutomationAction the action that should be triggered.

func (AutomationAction) AsAutomationAction

func (aa AutomationAction) AsAutomationAction() (*AutomationAction, bool)

AsAutomationAction is the BasicAutomationAction implementation for AutomationAction.

func (AutomationAction) AsAutomationActionEventHub

func (aa AutomationAction) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)

AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationAction.

func (AutomationAction) AsAutomationActionLogicApp

func (aa AutomationAction) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)

AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationAction.

func (AutomationAction) AsAutomationActionWorkspace

func (aa AutomationAction) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)

AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationAction.

func (AutomationAction) AsBasicAutomationAction

func (aa AutomationAction) AsBasicAutomationAction() (BasicAutomationAction, bool)

AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationAction.

func (AutomationAction) MarshalJSON

func (aa AutomationAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationAction.

type AutomationActionEventHub

type AutomationActionEventHub struct {
	// EventHubResourceID - The target Event Hub Azure Resource ID.
	EventHubResourceID *string `json:"eventHubResourceId,omitempty"`
	// SasPolicyName - READ-ONLY; The target Event Hub SAS policy name.
	SasPolicyName *string `json:"sasPolicyName,omitempty"`
	// ConnectionString - The target Event Hub connection string (it will not be included in any response).
	ConnectionString *string `json:"connectionString,omitempty"`
	// ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace'
	ActionType ActionType `json:"actionType,omitempty"`
}

AutomationActionEventHub the target Event Hub to which event data will be exported. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore

func (AutomationActionEventHub) AsAutomationAction

func (aaeh AutomationActionEventHub) AsAutomationAction() (*AutomationAction, bool)

AsAutomationAction is the BasicAutomationAction implementation for AutomationActionEventHub.

func (AutomationActionEventHub) AsAutomationActionEventHub

func (aaeh AutomationActionEventHub) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)

AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionEventHub.

func (AutomationActionEventHub) AsAutomationActionLogicApp

func (aaeh AutomationActionEventHub) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)

AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionEventHub.

func (AutomationActionEventHub) AsAutomationActionWorkspace

func (aaeh AutomationActionEventHub) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)

AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionEventHub.

func (AutomationActionEventHub) AsBasicAutomationAction

func (aaeh AutomationActionEventHub) AsBasicAutomationAction() (BasicAutomationAction, bool)

AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionEventHub.

func (AutomationActionEventHub) MarshalJSON

func (aaeh AutomationActionEventHub) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationActionEventHub.

type AutomationActionLogicApp

type AutomationActionLogicApp struct {
	// LogicAppResourceID - The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App
	LogicAppResourceID *string `json:"logicAppResourceId,omitempty"`
	// URI - The Logic App trigger URI endpoint (it will not be included in any response).
	URI *string `json:"uri,omitempty"`
	// ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace'
	ActionType ActionType `json:"actionType,omitempty"`
}

AutomationActionLogicApp the logic app action that should be triggered. To learn more about Microsoft Defender for Cloud's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore

func (AutomationActionLogicApp) AsAutomationAction

func (aala AutomationActionLogicApp) AsAutomationAction() (*AutomationAction, bool)

AsAutomationAction is the BasicAutomationAction implementation for AutomationActionLogicApp.

func (AutomationActionLogicApp) AsAutomationActionEventHub

func (aala AutomationActionLogicApp) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)

AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionLogicApp.

func (AutomationActionLogicApp) AsAutomationActionLogicApp

func (aala AutomationActionLogicApp) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)

AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionLogicApp.

func (AutomationActionLogicApp) AsAutomationActionWorkspace

func (aala AutomationActionLogicApp) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)

AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionLogicApp.

func (AutomationActionLogicApp) AsBasicAutomationAction

func (aala AutomationActionLogicApp) AsBasicAutomationAction() (BasicAutomationAction, bool)

AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionLogicApp.

func (AutomationActionLogicApp) MarshalJSON

func (aala AutomationActionLogicApp) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationActionLogicApp.

type AutomationActionWorkspace

type AutomationActionWorkspace struct {
	// WorkspaceResourceID - The fully qualified Log Analytics Workspace Azure Resource ID.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
	// ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace'
	ActionType ActionType `json:"actionType,omitempty"`
}

AutomationActionWorkspace the Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore

func (AutomationActionWorkspace) AsAutomationAction

func (aaw AutomationActionWorkspace) AsAutomationAction() (*AutomationAction, bool)

AsAutomationAction is the BasicAutomationAction implementation for AutomationActionWorkspace.

func (AutomationActionWorkspace) AsAutomationActionEventHub

func (aaw AutomationActionWorkspace) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)

AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionWorkspace.

func (AutomationActionWorkspace) AsAutomationActionLogicApp

func (aaw AutomationActionWorkspace) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)

AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionWorkspace.

func (AutomationActionWorkspace) AsAutomationActionWorkspace

func (aaw AutomationActionWorkspace) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)

AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionWorkspace.

func (AutomationActionWorkspace) AsBasicAutomationAction

func (aaw AutomationActionWorkspace) AsBasicAutomationAction() (BasicAutomationAction, bool)

AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionWorkspace.

func (AutomationActionWorkspace) MarshalJSON

func (aaw AutomationActionWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationActionWorkspace.

type AutomationList

type AutomationList struct {
	autorest.Response `json:"-"`
	// Value - The list of security automations under the given scope.
	Value *[]Automation `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

AutomationList list of security automations response.

func (AutomationList) IsEmpty

func (al AutomationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AutomationList) MarshalJSON

func (al AutomationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationList.

type AutomationListIterator

type AutomationListIterator struct {
	// contains filtered or unexported fields
}

AutomationListIterator provides access to a complete listing of Automation values.

func NewAutomationListIterator

func NewAutomationListIterator(page AutomationListPage) AutomationListIterator

Creates a new instance of the AutomationListIterator type.

func (*AutomationListIterator) Next

func (iter *AutomationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutomationListIterator) NextWithContext

func (iter *AutomationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AutomationListIterator) NotDone

func (iter AutomationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AutomationListIterator) Response

func (iter AutomationListIterator) Response() AutomationList

Response returns the raw server response from the last page request.

func (AutomationListIterator) Value

func (iter AutomationListIterator) Value() Automation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AutomationListPage

type AutomationListPage struct {
	// contains filtered or unexported fields
}

AutomationListPage contains a page of Automation values.

func NewAutomationListPage

func NewAutomationListPage(cur AutomationList, getNextPage func(context.Context, AutomationList) (AutomationList, error)) AutomationListPage

Creates a new instance of the AutomationListPage type.

func (*AutomationListPage) Next

func (page *AutomationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutomationListPage) NextWithContext

func (page *AutomationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AutomationListPage) NotDone

func (page AutomationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AutomationListPage) Response

func (page AutomationListPage) Response() AutomationList

Response returns the raw server response from the last page request.

func (AutomationListPage) Values

func (page AutomationListPage) Values() []Automation

Values returns the slice of values for the current page or nil if there are no values.

type AutomationProperties

type AutomationProperties struct {
	// Description - The security automation description.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Indicates whether the security automation is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Scopes - A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.
	Scopes *[]AutomationScope `json:"scopes,omitempty"`
	// Sources - A collection of the source event types which evaluate the security automation set of rules.
	Sources *[]AutomationSource `json:"sources,omitempty"`
	// Actions - A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
	Actions *[]BasicAutomationAction `json:"actions,omitempty"`
}

AutomationProperties a set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.

func (*AutomationProperties) UnmarshalJSON

func (ap *AutomationProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutomationProperties struct.

type AutomationRuleSet

type AutomationRuleSet struct {
	Rules *[]AutomationTriggeringRule `json:"rules,omitempty"`
}

AutomationRuleSet a rule set which evaluates all its rules upon an event interception. Only when all the included rules in the rule set will be evaluated as 'true', will the event trigger the defined actions.

type AutomationScope

type AutomationScope struct {
	// Description - The resources scope description.
	Description *string `json:"description,omitempty"`
	// ScopePath - The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).
	ScopePath *string `json:"scopePath,omitempty"`
}

AutomationScope a single automation scope.

type AutomationSource

type AutomationSource struct {
	// EventSource - A valid event source type. Possible values include: 'EventSourceAssessments', 'EventSourceAssessmentsSnapshot', 'EventSourceSubAssessments', 'EventSourceSubAssessmentsSnapshot', 'EventSourceAlerts', 'EventSourceSecureScores', 'EventSourceSecureScoresSnapshot', 'EventSourceSecureScoreControls', 'EventSourceSecureScoreControlsSnapshot', 'EventSourceRegulatoryComplianceAssessment', 'EventSourceRegulatoryComplianceAssessmentSnapshot'
	EventSource EventSource `json:"eventSource,omitempty"`
	// RuleSets - A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').
	RuleSets *[]AutomationRuleSet `json:"ruleSets,omitempty"`
}

AutomationSource the source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.

type AutomationTriggeringRule

type AutomationTriggeringRule struct {
	// PropertyJPath - The JPath of the entity model property that should be checked.
	PropertyJPath *string `json:"propertyJPath,omitempty"`
	// PropertyType - The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]. Possible values include: 'String', 'Integer', 'Number', 'Boolean'
	PropertyType PropertyType `json:"propertyType,omitempty"`
	// ExpectedValue - The expected value.
	ExpectedValue *string `json:"expectedValue,omitempty"`
	// Operator - A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. Possible values include: 'OperatorEquals', 'OperatorGreaterThan', 'OperatorGreaterThanOrEqualTo', 'OperatorLesserThan', 'OperatorLesserThanOrEqualTo', 'OperatorNotEquals', 'OperatorContains', 'OperatorStartsWith', 'OperatorEndsWith'
	Operator Operator `json:"operator,omitempty"`
}

AutomationTriggeringRule a rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.

type AutomationValidationStatus

type AutomationValidationStatus struct {
	autorest.Response `json:"-"`
	// IsValid - Indicates whether the model is valid or not.
	IsValid *bool `json:"isValid,omitempty"`
	// Message - The validation message.
	Message *string `json:"message,omitempty"`
}

AutomationValidationStatus the security automation model state property bag.

type AutomationsClient

type AutomationsClient struct {
	BaseClient
}

AutomationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAutomationsClient

func NewAutomationsClient(subscriptionID string) AutomationsClient

NewAutomationsClient creates an instance of the AutomationsClient client.

func NewAutomationsClientWithBaseURI

func NewAutomationsClientWithBaseURI(baseURI string, subscriptionID string) AutomationsClient

NewAutomationsClientWithBaseURI creates an instance of the AutomationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AutomationsClient) CreateOrUpdate

func (client AutomationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (result Automation, err error)

CreateOrUpdate creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name. automation - the security automation resource

func (AutomationsClient) CreateOrUpdatePreparer

func (client AutomationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AutomationsClient) CreateOrUpdateResponder

func (client AutomationsClient) CreateOrUpdateResponder(resp *http.Response) (result Automation, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AutomationsClient) CreateOrUpdateSender

func (client AutomationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AutomationsClient) Delete

func (client AutomationsClient) Delete(ctx context.Context, resourceGroupName string, automationName string) (result autorest.Response, err error)

Delete deletes a security automation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name.

func (AutomationsClient) DeletePreparer

func (client AutomationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AutomationsClient) DeleteResponder

func (client AutomationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AutomationsClient) DeleteSender

func (client AutomationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AutomationsClient) Get

func (client AutomationsClient) Get(ctx context.Context, resourceGroupName string, automationName string) (result Automation, err error)

Get retrieves information about the model of a security automation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name.

func (AutomationsClient) GetPreparer

func (client AutomationsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AutomationsClient) GetResponder

func (client AutomationsClient) GetResponder(resp *http.Response) (result Automation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AutomationsClient) GetSender

func (client AutomationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AutomationsClient) List

func (client AutomationsClient) List(ctx context.Context) (result AutomationListPage, err error)

List lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.

func (AutomationsClient) ListByResourceGroup

func (client AutomationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutomationListPage, err error)

ListByResourceGroup lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (AutomationsClient) ListByResourceGroupComplete

func (client AutomationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutomationListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AutomationsClient) ListByResourceGroupPreparer

func (client AutomationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AutomationsClient) ListByResourceGroupResponder

func (client AutomationsClient) ListByResourceGroupResponder(resp *http.Response) (result AutomationList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AutomationsClient) ListByResourceGroupSender

func (client AutomationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AutomationsClient) ListComplete

func (client AutomationsClient) ListComplete(ctx context.Context) (result AutomationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AutomationsClient) ListPreparer

func (client AutomationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AutomationsClient) ListResponder

func (client AutomationsClient) ListResponder(resp *http.Response) (result AutomationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AutomationsClient) ListSender

func (client AutomationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AutomationsClient) Validate

func (client AutomationsClient) Validate(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (result AutomationValidationStatus, err error)

Validate validates the security automation model before create or update. Any validation errors are returned to the client. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name. automation - the security automation resource

func (AutomationsClient) ValidatePreparer

func (client AutomationsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (AutomationsClient) ValidateResponder

func (client AutomationsClient) ValidateResponder(resp *http.Response) (result AutomationValidationStatus, err error)

ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.

func (AutomationsClient) ValidateSender

func (client AutomationsClient) ValidateSender(req *http.Request) (*http.Response, error)

ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.

type AwAssumeRoleAuthenticationDetailsProperties

type AwAssumeRoleAuthenticationDetailsProperties struct {
	// AccountID - READ-ONLY; The ID of the cloud account
	AccountID *string `json:"accountId,omitempty"`
	// AwsAssumeRoleArn - Assumed role ID is an identifier that you can use to create temporary security credentials.
	AwsAssumeRoleArn *string `json:"awsAssumeRoleArn,omitempty"`
	// AwsExternalID - A unique identifier that is required when you assume a role in another account.
	AwsExternalID *string `json:"awsExternalId,omitempty"`
	// AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy'
	AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"`
	// GrantedPermissions - READ-ONLY; The permissions detected in the cloud account.
	GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"`
	// AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials'
	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
}

AwAssumeRoleAuthenticationDetailsProperties AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more details, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html">Creating a Role to Delegate Permissions to an IAM User (write only)</a>

func (AwAssumeRoleAuthenticationDetailsProperties) AsAuthenticationDetailsProperties

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)

AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.

func (AwAssumeRoleAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)

AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.

func (AwAssumeRoleAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)

AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.

func (AwAssumeRoleAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)

AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.

func (AwAssumeRoleAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)

AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.

func (AwAssumeRoleAuthenticationDetailsProperties) MarshalJSON

func (aaradp AwAssumeRoleAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwAssumeRoleAuthenticationDetailsProperties.

type AwsCredsAuthenticationDetailsProperties

type AwsCredsAuthenticationDetailsProperties struct {
	// AccountID - READ-ONLY; The ID of the cloud account
	AccountID *string `json:"accountId,omitempty"`
	// AwsAccessKeyID - Public key element of the AWS credential object (write only)
	AwsAccessKeyID *string `json:"awsAccessKeyId,omitempty"`
	// AwsSecretAccessKey - Secret key element of the AWS credential object (write only)
	AwsSecretAccessKey *string `json:"awsSecretAccessKey,omitempty"`
	// AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy'
	AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"`
	// GrantedPermissions - READ-ONLY; The permissions detected in the cloud account.
	GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"`
	// AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials'
	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
}

AwsCredsAuthenticationDetailsProperties AWS cloud account connector based credentials, the credentials is composed of access key ID and secret key, for more details, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html">Creating an IAM User in Your AWS Account (write only)</a>

func (AwsCredsAuthenticationDetailsProperties) AsAuthenticationDetailsProperties

func (acadp AwsCredsAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)

AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.

func (AwsCredsAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties

func (acadp AwsCredsAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)

AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.

func (AwsCredsAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties

func (acadp AwsCredsAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)

AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.

func (AwsCredsAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties

func (acadp AwsCredsAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)

AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.

func (AwsCredsAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties

func (acadp AwsCredsAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)

AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.

func (AwsCredsAuthenticationDetailsProperties) MarshalJSON

func (acadp AwsCredsAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwsCredsAuthenticationDetailsProperties.

type AwsEnvironmentData

type AwsEnvironmentData struct {
	// OrganizationalData - The AWS account's organizational data
	OrganizationalData BasicAwsOrganizationalData `json:"organizationalData,omitempty"`
	// EnvironmentType - Possible values include: 'EnvironmentTypeEnvironmentData', 'EnvironmentTypeAwsAccount', 'EnvironmentTypeGcpProject', 'EnvironmentTypeGithubScope', 'EnvironmentTypeAzureDevOpsScope'
	EnvironmentType EnvironmentType `json:"environmentType,omitempty"`
}

AwsEnvironmentData the aws connector environment data

func (AwsEnvironmentData) AsAwsEnvironmentData

func (aed AwsEnvironmentData) AsAwsEnvironmentData() (*AwsEnvironmentData, bool)

AsAwsEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) AsAzureDevOpsScopeEnvironmentData

func (aed AwsEnvironmentData) AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)

AsAzureDevOpsScopeEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) AsBasicEnvironmentData

func (aed AwsEnvironmentData) AsBasicEnvironmentData() (BasicEnvironmentData, bool)

AsBasicEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) AsEnvironmentData

func (aed AwsEnvironmentData) AsEnvironmentData() (*EnvironmentData, bool)

AsEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) AsGcpProjectEnvironmentData

func (aed AwsEnvironmentData) AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)

AsGcpProjectEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) AsGithubScopeEnvironmentData

func (aed AwsEnvironmentData) AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)

AsGithubScopeEnvironmentData is the BasicEnvironmentData implementation for AwsEnvironmentData.

func (AwsEnvironmentData) MarshalJSON

func (aed AwsEnvironmentData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwsEnvironmentData.

func (*AwsEnvironmentData) UnmarshalJSON

func (aed *AwsEnvironmentData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AwsEnvironmentData struct.

type AwsOrganizationalData

type AwsOrganizationalData struct {
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeAwsOrganizationalData', 'OrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType,omitempty"`
}

AwsOrganizationalData the awsOrganization data

func (AwsOrganizationalData) AsAwsOrganizationalData

func (aod AwsOrganizationalData) AsAwsOrganizationalData() (*AwsOrganizationalData, bool)

AsAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalData.

func (AwsOrganizationalData) AsAwsOrganizationalDataMaster

func (aod AwsOrganizationalData) AsAwsOrganizationalDataMaster() (*AwsOrganizationalDataMaster, bool)

AsAwsOrganizationalDataMaster is the BasicAwsOrganizationalData implementation for AwsOrganizationalData.

func (AwsOrganizationalData) AsAwsOrganizationalDataMember

func (aod AwsOrganizationalData) AsAwsOrganizationalDataMember() (*AwsOrganizationalDataMember, bool)

AsAwsOrganizationalDataMember is the BasicAwsOrganizationalData implementation for AwsOrganizationalData.

func (AwsOrganizationalData) AsBasicAwsOrganizationalData

func (aod AwsOrganizationalData) AsBasicAwsOrganizationalData() (BasicAwsOrganizationalData, bool)

AsBasicAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalData.

func (AwsOrganizationalData) MarshalJSON

func (aod AwsOrganizationalData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwsOrganizationalData.

type AwsOrganizationalDataMaster

type AwsOrganizationalDataMaster struct {
	// StacksetName - If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset
	StacksetName *string `json:"stacksetName,omitempty"`
	// ExcludedAccountIds - If the multi cloud account is of membership type organization, list of accounts excluded from offering
	ExcludedAccountIds *[]string `json:"excludedAccountIds,omitempty"`
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeAwsOrganizationalData', 'OrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType,omitempty"`
}

AwsOrganizationalDataMaster the awsOrganization data for the master account

func (AwsOrganizationalDataMaster) AsAwsOrganizationalData

func (aodm AwsOrganizationalDataMaster) AsAwsOrganizationalData() (*AwsOrganizationalData, bool)

AsAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMaster.

func (AwsOrganizationalDataMaster) AsAwsOrganizationalDataMaster

func (aodm AwsOrganizationalDataMaster) AsAwsOrganizationalDataMaster() (*AwsOrganizationalDataMaster, bool)

AsAwsOrganizationalDataMaster is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMaster.

func (AwsOrganizationalDataMaster) AsAwsOrganizationalDataMember

func (aodm AwsOrganizationalDataMaster) AsAwsOrganizationalDataMember() (*AwsOrganizationalDataMember, bool)

AsAwsOrganizationalDataMember is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMaster.

func (AwsOrganizationalDataMaster) AsBasicAwsOrganizationalData

func (aodm AwsOrganizationalDataMaster) AsBasicAwsOrganizationalData() (BasicAwsOrganizationalData, bool)

AsBasicAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMaster.

func (AwsOrganizationalDataMaster) MarshalJSON

func (aodm AwsOrganizationalDataMaster) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwsOrganizationalDataMaster.

type AwsOrganizationalDataMember

type AwsOrganizationalDataMember struct {
	// ParentHierarchyID - If the multi cloud account is not of membership type organization, this will be the ID of the account's parent
	ParentHierarchyID *string `json:"parentHierarchyId,omitempty"`
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeAwsOrganizationalData', 'OrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType,omitempty"`
}

AwsOrganizationalDataMember the awsOrganization data for the member account

func (AwsOrganizationalDataMember) AsAwsOrganizationalData

func (aodm AwsOrganizationalDataMember) AsAwsOrganizationalData() (*AwsOrganizationalData, bool)

AsAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMember.

func (AwsOrganizationalDataMember) AsAwsOrganizationalDataMaster

func (aodm AwsOrganizationalDataMember) AsAwsOrganizationalDataMaster() (*AwsOrganizationalDataMaster, bool)

AsAwsOrganizationalDataMaster is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMember.

func (AwsOrganizationalDataMember) AsAwsOrganizationalDataMember

func (aodm AwsOrganizationalDataMember) AsAwsOrganizationalDataMember() (*AwsOrganizationalDataMember, bool)

AsAwsOrganizationalDataMember is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMember.

func (AwsOrganizationalDataMember) AsBasicAwsOrganizationalData

func (aodm AwsOrganizationalDataMember) AsBasicAwsOrganizationalData() (BasicAwsOrganizationalData, bool)

AsBasicAwsOrganizationalData is the BasicAwsOrganizationalData implementation for AwsOrganizationalDataMember.

func (AwsOrganizationalDataMember) MarshalJSON

func (aodm AwsOrganizationalDataMember) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AwsOrganizationalDataMember.

type AzureDevOpsScopeEnvironmentData

type AzureDevOpsScopeEnvironmentData struct {
	// EnvironmentType - Possible values include: 'EnvironmentTypeEnvironmentData', 'EnvironmentTypeAwsAccount', 'EnvironmentTypeGcpProject', 'EnvironmentTypeGithubScope', 'EnvironmentTypeAzureDevOpsScope'
	EnvironmentType EnvironmentType `json:"environmentType,omitempty"`
}

AzureDevOpsScopeEnvironmentData the AzureDevOps scope connector's environment data

func (AzureDevOpsScopeEnvironmentData) AsAwsEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsAwsEnvironmentData() (*AwsEnvironmentData, bool)

AsAwsEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) AsAzureDevOpsScopeEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)

AsAzureDevOpsScopeEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) AsBasicEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsBasicEnvironmentData() (BasicEnvironmentData, bool)

AsBasicEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) AsEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsEnvironmentData() (*EnvironmentData, bool)

AsEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) AsGcpProjectEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)

AsGcpProjectEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) AsGithubScopeEnvironmentData

func (adosed AzureDevOpsScopeEnvironmentData) AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)

AsGithubScopeEnvironmentData is the BasicEnvironmentData implementation for AzureDevOpsScopeEnvironmentData.

func (AzureDevOpsScopeEnvironmentData) MarshalJSON

func (adosed AzureDevOpsScopeEnvironmentData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureDevOpsScopeEnvironmentData.

type AzureResourceDetails

type AzureResourceDetails struct {
	// ID - READ-ONLY; Azure resource Id of the assessed resource
	ID *string `json:"id,omitempty"`
	// Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure'
	Source Source `json:"source,omitempty"`
}

AzureResourceDetails details of the Azure resource that was assessed

func (AzureResourceDetails) AsAzureResourceDetails

func (ard AzureResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)

AsAzureResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) AsBasicOnPremiseResourceDetails

func (ard AzureResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)

AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) AsBasicResourceDetails

func (ard AzureResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)

AsBasicResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) AsOnPremiseResourceDetails

func (ard AzureResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)

AsOnPremiseResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) AsOnPremiseSQLResourceDetails

func (ard AzureResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)

AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) AsResourceDetails

func (ard AzureResourceDetails) AsResourceDetails() (*ResourceDetails, bool)

AsResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.

func (AzureResourceDetails) MarshalJSON

func (ard AzureResourceDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureResourceDetails.

type AzureResourceIdentifier

type AzureResourceIdentifier struct {
	// AzureResourceID - READ-ONLY; ARM resource identifier for the cloud resource being alerted on
	AzureResourceID *string `json:"azureResourceId,omitempty"`
	// Type - Possible values include: 'TypeResourceIdentifier', 'TypeAzureResource', 'TypeLogAnalytics'
	Type TypeBasicResourceIdentifier `json:"type,omitempty"`
}

AzureResourceIdentifier azure resource identifier.

func (AzureResourceIdentifier) AsAzureResourceIdentifier

func (ari AzureResourceIdentifier) AsAzureResourceIdentifier() (*AzureResourceIdentifier, bool)

AsAzureResourceIdentifier is the BasicResourceIdentifier implementation for AzureResourceIdentifier.

func (AzureResourceIdentifier) AsBasicResourceIdentifier

func (ari AzureResourceIdentifier) AsBasicResourceIdentifier() (BasicResourceIdentifier, bool)

AsBasicResourceIdentifier is the BasicResourceIdentifier implementation for AzureResourceIdentifier.

func (AzureResourceIdentifier) AsLogAnalyticsIdentifier

func (ari AzureResourceIdentifier) AsLogAnalyticsIdentifier() (*LogAnalyticsIdentifier, bool)

AsLogAnalyticsIdentifier is the BasicResourceIdentifier implementation for AzureResourceIdentifier.

func (AzureResourceIdentifier) AsResourceIdentifier

func (ari AzureResourceIdentifier) AsResourceIdentifier() (*ResourceIdentifier, bool)

AsResourceIdentifier is the BasicResourceIdentifier implementation for AzureResourceIdentifier.

func (AzureResourceIdentifier) MarshalJSON

func (ari AzureResourceIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureResourceIdentifier.

type AzureResourceLink struct {
	// ID - READ-ONLY; Azure resource Id
	ID *string `json:"id,omitempty"`
}

AzureResourceLink describes an Azure resource with kind

func (AzureResourceLink) MarshalJSON

func (arl AzureResourceLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureResourceLink.

type AzureTrackedResourceLocation

type AzureTrackedResourceLocation struct {
	// Location - Location where the resource is stored
	Location *string `json:"location,omitempty"`
}

AzureTrackedResourceLocation describes an Azure resource with location

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Security.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type Baseline

type Baseline struct {
	// ExpectedResults - Expected results.
	ExpectedResults *[][]string `json:"expectedResults,omitempty"`
	// UpdatedTime - Baseline update time (UTC).
	UpdatedTime *date.Time `json:"updatedTime,omitempty"`
}

Baseline baseline details.

type BaselineAdjustedResult

type BaselineAdjustedResult struct {
	Baseline *Baseline `json:"baseline,omitempty"`
	// Status - Possible values include: 'NonFinding', 'Finding', 'InternalError'
	Status RuleStatus `json:"status,omitempty"`
	// ResultsNotInBaseline - Results the are not in baseline.
	ResultsNotInBaseline *[][]string `json:"resultsNotInBaseline,omitempty"`
	// ResultsOnlyInBaseline - Results the are in baseline.
	ResultsOnlyInBaseline *[][]string `json:"resultsOnlyInBaseline,omitempty"`
}

BaselineAdjustedResult the rule result adjusted with baseline.

type BasicAdditionalData

type BasicAdditionalData interface {
	AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
	AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
	AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
	AsAdditionalData() (*AdditionalData, bool)
}

BasicAdditionalData details of the sub-assessment

type BasicAlertSimulatorRequestProperties

type BasicAlertSimulatorRequestProperties interface {
	AsAlertSimulatorBundlesRequestProperties() (*AlertSimulatorBundlesRequestProperties, bool)
	AsAlertSimulatorRequestProperties() (*AlertSimulatorRequestProperties, bool)
}

BasicAlertSimulatorRequestProperties describes properties of an alert simulation request

type BasicAllowlistCustomAlertRule

type BasicAllowlistCustomAlertRule interface {
	AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)
	AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)
	AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)
	AsProcessNotAllowed() (*ProcessNotAllowed, bool)
	AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)
}

BasicAllowlistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is allowed.

type BasicAuthenticationDetailsProperties

type BasicAuthenticationDetailsProperties interface {
	AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
	AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
	AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
	AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
}

BasicAuthenticationDetailsProperties settings for cloud authentication management

type BasicAutomationAction

type BasicAutomationAction interface {
	AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
	AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
	AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
	AsAutomationAction() (*AutomationAction, bool)
}

BasicAutomationAction the action that should be triggered.

type BasicAwsOrganizationalData

type BasicAwsOrganizationalData interface {
	AsAwsOrganizationalDataMaster() (*AwsOrganizationalDataMaster, bool)
	AsAwsOrganizationalDataMember() (*AwsOrganizationalDataMember, bool)
	AsAwsOrganizationalData() (*AwsOrganizationalData, bool)
}

BasicAwsOrganizationalData the awsOrganization data

type BasicCloudOffering

type BasicCloudOffering interface {
	AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)
	AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)
	AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)
	AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)
	AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)
	AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)
	AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)
	AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)
	AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)
	AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)
	AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)
	AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)
	AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)
	AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)
	AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)
	AsCloudOffering() (*CloudOffering, bool)
}

BasicCloudOffering the security offering details

type BasicCustomAlertRule

type BasicCustomAlertRule interface {
	AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)
	AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)
	AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)
	AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)
	AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)
	AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)
	AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)
	AsListCustomAlertRule() (*ListCustomAlertRule, bool)
	AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)
	AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)
	AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)
	AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)
	AsProcessNotAllowed() (*ProcessNotAllowed, bool)
	AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)
	AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)
	AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)
	AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)
	AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)
	AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)
	AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)
	AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)
	AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)
	AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)
	AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)
	AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)
	AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)
	AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)
	AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)
	AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)
	AsCustomAlertRule() (*CustomAlertRule, bool)
}

BasicCustomAlertRule a custom alert rule.

type BasicEnvironmentData

type BasicEnvironmentData interface {
	AsAwsEnvironmentData() (*AwsEnvironmentData, bool)
	AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)
	AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)
	AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)
	AsEnvironmentData() (*EnvironmentData, bool)
}

BasicEnvironmentData the security connector environment data.

type BasicExternalSecuritySolution

type BasicExternalSecuritySolution interface {
	AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
	AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
	AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
	AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
}

BasicExternalSecuritySolution represents a security solution external to Microsoft Defender for Cloud which sends information to an OMS workspace and whose data is displayed by Microsoft Defender for Cloud.

type BasicGcpOrganizationalData

type BasicGcpOrganizationalData interface {
	AsGcpOrganizationalDataOrganization() (*GcpOrganizationalDataOrganization, bool)
	AsGcpOrganizationalDataMember() (*GcpOrganizationalDataMember, bool)
	AsGcpOrganizationalData() (*GcpOrganizationalData, bool)
}

BasicGcpOrganizationalData the gcpOrganization data

type BasicListCustomAlertRule

type BasicListCustomAlertRule interface {
	AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)
	AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)
	AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)
	AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)
	AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)
	AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)
	AsProcessNotAllowed() (*ProcessNotAllowed, bool)
	AsListCustomAlertRule() (*ListCustomAlertRule, bool)
}

BasicListCustomAlertRule a List custom alert rule.

type BasicOnPremiseResourceDetails

type BasicOnPremiseResourceDetails interface {
	AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
	AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
}

BasicOnPremiseResourceDetails details of the On Premise resource that was assessed

type BasicResourceDetails

type BasicResourceDetails interface {
	AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
	AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
	AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
	AsAzureResourceDetails() (*AzureResourceDetails, bool)
	AsResourceDetails() (*ResourceDetails, bool)
}

BasicResourceDetails details of the resource that was assessed

type BasicResourceIdentifier

type BasicResourceIdentifier interface {
	AsAzureResourceIdentifier() (*AzureResourceIdentifier, bool)
	AsLogAnalyticsIdentifier() (*LogAnalyticsIdentifier, bool)
	AsResourceIdentifier() (*ResourceIdentifier, bool)
}

BasicResourceIdentifier a resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.).

type BasicSetting

type BasicSetting interface {
	AsDataExportSettings() (*DataExportSettings, bool)
	AsAlertSyncSettings() (*AlertSyncSettings, bool)
	AsSetting() (*Setting, bool)
}

BasicSetting the kind of the security setting

type BasicThresholdCustomAlertRule

type BasicThresholdCustomAlertRule interface {
	AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)
	AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)
	AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)
	AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)
	AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)
	AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)
	AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)
	AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)
	AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)
	AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)
	AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)
	AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)
	AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)
	AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)
	AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)
	AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)
	AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)
	AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)
	AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)
}

BasicThresholdCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is within the given range.

type BasicTimeWindowCustomAlertRule

type BasicTimeWindowCustomAlertRule interface {
	AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)
	AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)
	AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)
	AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)
	AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)
	AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)
	AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)
	AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)
	AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)
	AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)
	AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)
	AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)
	AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)
	AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)
	AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)
	AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)
	AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)
}

BasicTimeWindowCustomAlertRule a custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.

type BenchmarkReference

type BenchmarkReference struct {
	// Benchmark - The benchmark name.
	Benchmark *string `json:"benchmark,omitempty"`
	// Reference - The benchmark reference.
	Reference *string `json:"reference,omitempty"`
}

BenchmarkReference the benchmark references.

type BundleType

type BundleType string

BundleType enumerates the values for bundle type.

const (
	// AppServices ...
	AppServices BundleType = "AppServices"
	// CosmosDbs ...
	CosmosDbs BundleType = "CosmosDbs"
	// DNS ...
	DNS BundleType = "DNS"
	// KeyVaults ...
	KeyVaults BundleType = "KeyVaults"
	// KubernetesService ...
	KubernetesService BundleType = "KubernetesService"
	// ResourceManager ...
	ResourceManager BundleType = "ResourceManager"
	// SQLServers ...
	SQLServers BundleType = "SqlServers"
	// StorageAccounts ...
	StorageAccounts BundleType = "StorageAccounts"
	// VirtualMachines ...
	VirtualMachines BundleType = "VirtualMachines"
)

func PossibleBundleTypeValues

func PossibleBundleTypeValues() []BundleType

PossibleBundleTypeValues returns an array of possible values for the BundleType const type.

type CVE

type CVE struct {
	// Title - READ-ONLY; CVE title
	Title *string `json:"title,omitempty"`
	// Link - READ-ONLY; Link url
	Link *string `json:"link,omitempty"`
}

CVE CVE details

func (CVE) MarshalJSON

func (c CVE) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CVE.

type CVSS

type CVSS struct {
	// Base - READ-ONLY; CVSS base
	Base *float64 `json:"base,omitempty"`
}

CVSS CVSS details

func (CVSS) MarshalJSON

func (c CVSS) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CVSS.

type Categories

type Categories string

Categories enumerates the values for categories.

const (
	// Compute ...
	Compute Categories = "Compute"
	// Data ...
	Data Categories = "Data"
	// IdentityAndAccess ...
	IdentityAndAccess Categories = "IdentityAndAccess"
	// IoT ...
	IoT Categories = "IoT"
	// Networking ...
	Networking Categories = "Networking"
)

func PossibleCategoriesValues

func PossibleCategoriesValues() []Categories

PossibleCategoriesValues returns an array of possible values for the Categories const type.

type CefExternalSecuritySolution

type CefExternalSecuritySolution struct {
	Properties *CefSolutionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
	Kind KindEnum `json:"kind,omitempty"`
}

CefExternalSecuritySolution represents a security solution which sends CEF logs to an OMS workspace

func (CefExternalSecuritySolution) AsAadExternalSecuritySolution

func (cess CefExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsAtaExternalSecuritySolution

func (cess CefExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsBasicExternalSecuritySolution

func (cess CefExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsCefExternalSecuritySolution

func (cess CefExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsExternalSecuritySolution

func (cess CefExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) MarshalJSON

func (cess CefExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CefExternalSecuritySolution.

type CefSolutionProperties

type CefSolutionProperties struct {
	Hostname          *string `json:"hostname,omitempty"`
	Agent             *string `json:"agent,omitempty"`
	LastEventReceived *string `json:"lastEventReceived,omitempty"`
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	DeviceVendor         *string                `json:"deviceVendor,omitempty"`
	DeviceType           *string                `json:"deviceType,omitempty"`
	Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

CefSolutionProperties ...

func (CefSolutionProperties) MarshalJSON

func (csp CefSolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CefSolutionProperties.

func (*CefSolutionProperties) UnmarshalJSON

func (csp *CefSolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CefSolutionProperties struct.

type CloudError

type CloudError struct {
	// CloudErrorBody - The error object.
	*CloudErrorBody `json:"error,omitempty"`
}

CloudError common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

func (CloudError) MarshalJSON

func (ce CloudError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudError.

func (*CloudError) UnmarshalJSON

func (ce *CloudError) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloudError struct.

type CloudErrorBody

type CloudErrorBody struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]CloudErrorBody `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

CloudErrorBody the error detail.

func (CloudErrorBody) MarshalJSON

func (ceb CloudErrorBody) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudErrorBody.

type CloudName

type CloudName string

CloudName enumerates the values for cloud name.

const (
	// AWS ...
	AWS CloudName = "AWS"
	// Azure ...
	Azure CloudName = "Azure"
	// AzureDevOps ...
	AzureDevOps CloudName = "AzureDevOps"
	// GCP ...
	GCP CloudName = "GCP"
	// Github ...
	Github CloudName = "Github"
)

func PossibleCloudNameValues

func PossibleCloudNameValues() []CloudName

PossibleCloudNameValues returns an array of possible values for the CloudName const type.

type CloudOffering

type CloudOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

CloudOffering the security offering details

func (CloudOffering) AsBasicCloudOffering

func (co CloudOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsCloudOffering

func (co CloudOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsCspmMonitorAwsOffering

func (co CloudOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsCspmMonitorAzureDevOpsOffering

func (co CloudOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsCspmMonitorGcpOffering

func (co CloudOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsCspmMonitorGithubOffering

func (co CloudOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderCspmAwsOffering

func (co CloudOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderCspmGcpOffering

func (co CloudOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderFoDatabasesAwsOffering

func (co CloudOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForContainersAwsOffering

func (co CloudOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForContainersGcpOffering

func (co CloudOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForDatabasesGcpOffering

func (co CloudOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (co CloudOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForDevOpsGithubOffering

func (co CloudOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForServersAwsOffering

func (co CloudOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsDefenderForServersGcpOffering

func (co CloudOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) AsInformationProtectionAwsOffering

func (co CloudOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for CloudOffering.

func (CloudOffering) MarshalJSON

func (co CloudOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudOffering.

type Compliance

type Compliance struct {
	autorest.Response `json:"-"`
	// ComplianceProperties - Compliance data
	*ComplianceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Compliance compliance of a scope

func (Compliance) MarshalJSON

func (c Compliance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Compliance.

func (*Compliance) UnmarshalJSON

func (c *Compliance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Compliance struct.

type ComplianceList

type ComplianceList struct {
	autorest.Response `json:"-"`
	// Value - List of Compliance objects
	Value *[]Compliance `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ComplianceList list of Compliance objects response

func (ComplianceList) IsEmpty

func (cl ComplianceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ComplianceList) MarshalJSON

func (cl ComplianceList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceList.

type ComplianceListIterator

type ComplianceListIterator struct {
	// contains filtered or unexported fields
}

ComplianceListIterator provides access to a complete listing of Compliance values.

func NewComplianceListIterator

func NewComplianceListIterator(page ComplianceListPage) ComplianceListIterator

Creates a new instance of the ComplianceListIterator type.

func (*ComplianceListIterator) Next

func (iter *ComplianceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceListIterator) NextWithContext

func (iter *ComplianceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ComplianceListIterator) NotDone

func (iter ComplianceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ComplianceListIterator) Response

func (iter ComplianceListIterator) Response() ComplianceList

Response returns the raw server response from the last page request.

func (ComplianceListIterator) Value

func (iter ComplianceListIterator) Value() Compliance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ComplianceListPage

type ComplianceListPage struct {
	// contains filtered or unexported fields
}

ComplianceListPage contains a page of Compliance values.

func NewComplianceListPage

func NewComplianceListPage(cur ComplianceList, getNextPage func(context.Context, ComplianceList) (ComplianceList, error)) ComplianceListPage

Creates a new instance of the ComplianceListPage type.

func (*ComplianceListPage) Next

func (page *ComplianceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceListPage) NextWithContext

func (page *ComplianceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ComplianceListPage) NotDone

func (page ComplianceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ComplianceListPage) Response

func (page ComplianceListPage) Response() ComplianceList

Response returns the raw server response from the last page request.

func (ComplianceListPage) Values

func (page ComplianceListPage) Values() []Compliance

Values returns the slice of values for the current page or nil if there are no values.

type ComplianceProperties

type ComplianceProperties struct {
	// AssessmentTimestampUtcDate - READ-ONLY; The timestamp when the Compliance calculation was conducted.
	AssessmentTimestampUtcDate *date.Time `json:"assessmentTimestampUtcDate,omitempty"`
	// ResourceCount - READ-ONLY; The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).
	ResourceCount *int32 `json:"resourceCount,omitempty"`
	// AssessmentResult - READ-ONLY; An array of segment, which is the actually the compliance assessment.
	AssessmentResult *[]ComplianceSegment `json:"assessmentResult,omitempty"`
}

ComplianceProperties the Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy Definitions applicable to a given resource.

func (ComplianceProperties) MarshalJSON

func (cp ComplianceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceProperties.

type ComplianceResult

type ComplianceResult struct {
	autorest.Response `json:"-"`
	// ComplianceResultProperties - Compliance result data
	*ComplianceResultProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ComplianceResult a compliance result

func (ComplianceResult) MarshalJSON

func (cr ComplianceResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceResult.

func (*ComplianceResult) UnmarshalJSON

func (cr *ComplianceResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComplianceResult struct.

type ComplianceResultList

type ComplianceResultList struct {
	autorest.Response `json:"-"`
	// Value - List of compliance results
	Value *[]ComplianceResult `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ComplianceResultList list of compliance results response

func (ComplianceResultList) IsEmpty

func (crl ComplianceResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ComplianceResultList) MarshalJSON

func (crl ComplianceResultList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceResultList.

type ComplianceResultListIterator

type ComplianceResultListIterator struct {
	// contains filtered or unexported fields
}

ComplianceResultListIterator provides access to a complete listing of ComplianceResult values.

func NewComplianceResultListIterator

func NewComplianceResultListIterator(page ComplianceResultListPage) ComplianceResultListIterator

Creates a new instance of the ComplianceResultListIterator type.

func (*ComplianceResultListIterator) Next

func (iter *ComplianceResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceResultListIterator) NextWithContext

func (iter *ComplianceResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ComplianceResultListIterator) NotDone

func (iter ComplianceResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ComplianceResultListIterator) Response

Response returns the raw server response from the last page request.

func (ComplianceResultListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ComplianceResultListPage

type ComplianceResultListPage struct {
	// contains filtered or unexported fields
}

ComplianceResultListPage contains a page of ComplianceResult values.

func NewComplianceResultListPage

func NewComplianceResultListPage(cur ComplianceResultList, getNextPage func(context.Context, ComplianceResultList) (ComplianceResultList, error)) ComplianceResultListPage

Creates a new instance of the ComplianceResultListPage type.

func (*ComplianceResultListPage) Next

func (page *ComplianceResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceResultListPage) NextWithContext

func (page *ComplianceResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ComplianceResultListPage) NotDone

func (page ComplianceResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ComplianceResultListPage) Response

Response returns the raw server response from the last page request.

func (ComplianceResultListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ComplianceResultProperties

type ComplianceResultProperties struct {
	// ResourceStatus - READ-ONLY; The status of the resource regarding a single assessment. Possible values include: 'ResourceStatusHealthy', 'ResourceStatusNotApplicable', 'ResourceStatusOffByPolicy', 'ResourceStatusNotHealthy'
	ResourceStatus ResourceStatus `json:"resourceStatus,omitempty"`
}

ComplianceResultProperties compliance result data

func (ComplianceResultProperties) MarshalJSON

func (crp ComplianceResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceResultProperties.

type ComplianceResultsClient

type ComplianceResultsClient struct {
	BaseClient
}

ComplianceResultsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewComplianceResultsClient

func NewComplianceResultsClient(subscriptionID string) ComplianceResultsClient

NewComplianceResultsClient creates an instance of the ComplianceResultsClient client.

func NewComplianceResultsClientWithBaseURI

func NewComplianceResultsClientWithBaseURI(baseURI string, subscriptionID string) ComplianceResultsClient

NewComplianceResultsClientWithBaseURI creates an instance of the ComplianceResultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ComplianceResultsClient) Get

func (client ComplianceResultsClient) Get(ctx context.Context, resourceID string, complianceResultName string) (result ComplianceResult, err error)

Get security Compliance Result Parameters: resourceID - the identifier of the resource. complianceResultName - name of the desired assessment compliance result

func (ComplianceResultsClient) GetPreparer

func (client ComplianceResultsClient) GetPreparer(ctx context.Context, resourceID string, complianceResultName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComplianceResultsClient) GetResponder

func (client ComplianceResultsClient) GetResponder(resp *http.Response) (result ComplianceResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ComplianceResultsClient) GetSender

func (client ComplianceResultsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ComplianceResultsClient) List

func (client ComplianceResultsClient) List(ctx context.Context, scope string) (result ComplianceResultListPage, err error)

List security compliance results in the subscription Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (ComplianceResultsClient) ListComplete

func (client ComplianceResultsClient) ListComplete(ctx context.Context, scope string) (result ComplianceResultListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ComplianceResultsClient) ListPreparer

func (client ComplianceResultsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (ComplianceResultsClient) ListResponder

func (client ComplianceResultsClient) ListResponder(resp *http.Response) (result ComplianceResultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ComplianceResultsClient) ListSender

func (client ComplianceResultsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ComplianceSegment

type ComplianceSegment struct {
	// SegmentType - READ-ONLY; The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.
	SegmentType *string `json:"segmentType,omitempty"`
	// Percentage - READ-ONLY; The size (%) of the segment.
	Percentage *float64 `json:"percentage,omitempty"`
}

ComplianceSegment a segment of a compliance assessment.

func (ComplianceSegment) MarshalJSON

func (cs ComplianceSegment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceSegment.

type CompliancesClient

type CompliancesClient struct {
	BaseClient
}

CompliancesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewCompliancesClient

func NewCompliancesClient(subscriptionID string) CompliancesClient

NewCompliancesClient creates an instance of the CompliancesClient client.

func NewCompliancesClientWithBaseURI

func NewCompliancesClientWithBaseURI(baseURI string, subscriptionID string) CompliancesClient

NewCompliancesClientWithBaseURI creates an instance of the CompliancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CompliancesClient) Get

func (client CompliancesClient) Get(ctx context.Context, scope string, complianceName string) (result Compliance, err error)

Get details of a specific Compliance. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). complianceName - name of the Compliance

func (CompliancesClient) GetPreparer

func (client CompliancesClient) GetPreparer(ctx context.Context, scope string, complianceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CompliancesClient) GetResponder

func (client CompliancesClient) GetResponder(resp *http.Response) (result Compliance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CompliancesClient) GetSender

func (client CompliancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CompliancesClient) List

func (client CompliancesClient) List(ctx context.Context, scope string) (result ComplianceListPage, err error)

List the Compliance scores of the specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (CompliancesClient) ListComplete

func (client CompliancesClient) ListComplete(ctx context.Context, scope string) (result ComplianceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CompliancesClient) ListPreparer

func (client CompliancesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (CompliancesClient) ListResponder

func (client CompliancesClient) ListResponder(resp *http.Response) (result ComplianceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CompliancesClient) ListSender

func (client CompliancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Condition

type Condition struct {
	// Property - The governance rule Condition's Property, e.g. Severity or AssessmentKey, see examples
	Property *string `json:"property,omitempty"`
	// Value - The governance rule Condition's Value like severity Low, High or assessments keys, see examples
	Value *string `json:"value,omitempty"`
	// Operator - The governance rule Condition's Operator, for example Equals for severity or In for list of assessments, see examples. Possible values include: 'GovernanceRuleConditionOperatorEquals', 'GovernanceRuleConditionOperatorIn'
	Operator GovernanceRuleConditionOperator `json:"operator,omitempty"`
}

Condition governance rule's condition

type ConfigurationStatus

type ConfigurationStatus string

ConfigurationStatus enumerates the values for configuration status.

const (
	// ConfigurationStatusConfigured ...
	ConfigurationStatusConfigured ConfigurationStatus = "Configured"
	// ConfigurationStatusFailed ...
	ConfigurationStatusFailed ConfigurationStatus = "Failed"
	// ConfigurationStatusInProgress ...
	ConfigurationStatusInProgress ConfigurationStatus = "InProgress"
	// ConfigurationStatusNoStatus ...
	ConfigurationStatusNoStatus ConfigurationStatus = "NoStatus"
	// ConfigurationStatusNotConfigured ...
	ConfigurationStatusNotConfigured ConfigurationStatus = "NotConfigured"
)

func PossibleConfigurationStatusValues

func PossibleConfigurationStatusValues() []ConfigurationStatus

PossibleConfigurationStatusValues returns an array of possible values for the ConfigurationStatus const type.

type ConfigurationStatus1

type ConfigurationStatus1 string

ConfigurationStatus1 enumerates the values for configuration status 1.

const (
	// ConfigurationStatus1Configured ...
	ConfigurationStatus1Configured ConfigurationStatus1 = "Configured"
	// ConfigurationStatus1Failed ...
	ConfigurationStatus1Failed ConfigurationStatus1 = "Failed"
	// ConfigurationStatus1InProgress ...
	ConfigurationStatus1InProgress ConfigurationStatus1 = "InProgress"
	// ConfigurationStatus1NoStatus ...
	ConfigurationStatus1NoStatus ConfigurationStatus1 = "NoStatus"
	// ConfigurationStatus1NotConfigured ...
	ConfigurationStatus1NotConfigured ConfigurationStatus1 = "NotConfigured"
)

func PossibleConfigurationStatus1Values

func PossibleConfigurationStatus1Values() []ConfigurationStatus1

PossibleConfigurationStatus1Values returns an array of possible values for the ConfigurationStatus1 const type.

type ConfigurationStatus2

type ConfigurationStatus2 string

ConfigurationStatus2 enumerates the values for configuration status 2.

const (
	// ConfigurationStatus2Configured ...
	ConfigurationStatus2Configured ConfigurationStatus2 = "Configured"
	// ConfigurationStatus2Failed ...
	ConfigurationStatus2Failed ConfigurationStatus2 = "Failed"
	// ConfigurationStatus2InProgress ...
	ConfigurationStatus2InProgress ConfigurationStatus2 = "InProgress"
	// ConfigurationStatus2NoStatus ...
	ConfigurationStatus2NoStatus ConfigurationStatus2 = "NoStatus"
	// ConfigurationStatus2NotConfigured ...
	ConfigurationStatus2NotConfigured ConfigurationStatus2 = "NotConfigured"
)

func PossibleConfigurationStatus2Values

func PossibleConfigurationStatus2Values() []ConfigurationStatus2

PossibleConfigurationStatus2Values returns an array of possible values for the ConfigurationStatus2 const type.

type ConnectableResource

type ConnectableResource struct {
	// ID - READ-ONLY; The Azure resource id
	ID *string `json:"id,omitempty"`
	// InboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has inbound allowed connection from
	InboundConnectedResources *[]ConnectedResource `json:"inboundConnectedResources,omitempty"`
	// OutboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has outbound allowed connection to
	OutboundConnectedResources *[]ConnectedResource `json:"outboundConnectedResources,omitempty"`
}

ConnectableResource describes the allowed inbound and outbound traffic of an Azure resource

func (ConnectableResource) MarshalJSON

func (cr ConnectableResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectableResource.

type ConnectedResource

type ConnectedResource struct {
	// ConnectedResourceID - READ-ONLY; The Azure resource id of the connected resource
	ConnectedResourceID *string `json:"connectedResourceId,omitempty"`
	// TCPPorts - READ-ONLY; The allowed tcp ports
	TCPPorts *string `json:"tcpPorts,omitempty"`
	// UDPPorts - READ-ONLY; The allowed udp ports
	UDPPorts *string `json:"udpPorts,omitempty"`
}

ConnectedResource describes properties of a connected resource

func (ConnectedResource) MarshalJSON

func (cr ConnectedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectedResource.

type ConnectedWorkspace

type ConnectedWorkspace struct {
	// ID - Azure resource ID of the connected OMS workspace
	ID *string `json:"id,omitempty"`
}

ConnectedWorkspace ...

type ConnectionFromIPNotAllowed

type ConnectionFromIPNotAllowed struct {
	// AllowlistValues - The values to allow. The format of the values depends on the rule type.
	AllowlistValues *[]string `json:"allowlistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ConnectionFromIPNotAllowed inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.

func (ConnectionFromIPNotAllowed) AsActiveConnectionsNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsAllowlistCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsAmqpC2DMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsAmqpD2CMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsBasicAllowlistCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsBasicCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsBasicListCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsBasicThresholdCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsBasicTimeWindowCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsConnectionFromIPNotAllowed

func (cfina ConnectionFromIPNotAllowed) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsConnectionToIPNotAllowed

func (cfina ConnectionFromIPNotAllowed) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsDenylistCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsDirectMethodInvokesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsFailedLocalLoginsNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsFileUploadsNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsHTTPC2DMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsHTTPD2CMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsListCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsLocalUserNotAllowed

func (cfina ConnectionFromIPNotAllowed) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsMqttC2DMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsMqttD2CMessagesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsProcessNotAllowed

func (cfina ConnectionFromIPNotAllowed) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsQueuePurgesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsThresholdCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsTimeWindowCustomAlertRule

func (cfina ConnectionFromIPNotAllowed) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsTwinUpdatesNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) AsUnauthorizedOperationsNotInAllowedRange

func (cfina ConnectionFromIPNotAllowed) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionFromIPNotAllowed.

func (ConnectionFromIPNotAllowed) MarshalJSON

func (cfina ConnectionFromIPNotAllowed) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionFromIPNotAllowed.

type ConnectionStrings

type ConnectionStrings struct {
	autorest.Response `json:"-"`
	// Value - Connection strings
	Value *[]IngestionConnectionString `json:"value,omitempty"`
}

ConnectionStrings connection string for ingesting security data and logs

type ConnectionToIPNotAllowed

type ConnectionToIPNotAllowed struct {
	// AllowlistValues - The values to allow. The format of the values depends on the rule type.
	AllowlistValues *[]string `json:"allowlistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ConnectionToIPNotAllowed outbound connection to an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.

func (ConnectionToIPNotAllowed) AsActiveConnectionsNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsAllowlistCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsAmqpC2DMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsAmqpD2CMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsBasicAllowlistCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsBasicCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsBasicListCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsBasicThresholdCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsBasicTimeWindowCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsConnectionFromIPNotAllowed

func (ctina ConnectionToIPNotAllowed) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsConnectionToIPNotAllowed

func (ctina ConnectionToIPNotAllowed) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsDenylistCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsDirectMethodInvokesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsFailedLocalLoginsNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsFileUploadsNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsHTTPC2DMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsHTTPD2CMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsListCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsLocalUserNotAllowed

func (ctina ConnectionToIPNotAllowed) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsMqttC2DMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsMqttD2CMessagesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsProcessNotAllowed

func (ctina ConnectionToIPNotAllowed) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsQueuePurgesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsThresholdCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsTimeWindowCustomAlertRule

func (ctina ConnectionToIPNotAllowed) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsTwinUpdatesNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) AsUnauthorizedOperationsNotInAllowedRange

func (ctina ConnectionToIPNotAllowed) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ConnectionToIPNotAllowed.

func (ConnectionToIPNotAllowed) MarshalJSON

func (ctina ConnectionToIPNotAllowed) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionToIPNotAllowed.

type ConnectionType

type ConnectionType string

ConnectionType enumerates the values for connection type.

const (
	// External ...
	External ConnectionType = "External"
	// Internal ...
	Internal ConnectionType = "Internal"
)

func PossibleConnectionTypeValues

func PossibleConnectionTypeValues() []ConnectionType

PossibleConnectionTypeValues returns an array of possible values for the ConnectionType const type.

type Connector

type Connector struct {
	autorest.Response `json:"-"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ConnectorProperties - Security connector data
	*ConnectorProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Kind of the resource
	Kind *string `json:"kind,omitempty"`
	// Etag - Entity tag is used for comparing two or more entities from the same requested resource.
	Etag *string `json:"etag,omitempty"`
	// Tags - A list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
}

Connector the security connector resource.

func (Connector) MarshalJSON

func (c Connector) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Connector.

func (*Connector) UnmarshalJSON

func (c *Connector) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Connector struct.

type ConnectorApplicationClient

type ConnectorApplicationClient struct {
	BaseClient
}

ConnectorApplicationClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorApplicationClient

func NewConnectorApplicationClient(subscriptionID string) ConnectorApplicationClient

NewConnectorApplicationClient creates an instance of the ConnectorApplicationClient client.

func NewConnectorApplicationClientWithBaseURI

func NewConnectorApplicationClientWithBaseURI(baseURI string, subscriptionID string) ConnectorApplicationClient

NewConnectorApplicationClientWithBaseURI creates an instance of the ConnectorApplicationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorApplicationClient) CreateOrUpdate

func (client ConnectorApplicationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string, application Application) (result Application, err error)

CreateOrUpdate creates or update a security Application on the given security connector. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. applicationID - the security Application key - unique key for the standard application application - application over a subscription scope

func (ConnectorApplicationClient) CreateOrUpdatePreparer

func (client ConnectorApplicationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string, application Application) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorApplicationClient) CreateOrUpdateResponder

func (client ConnectorApplicationClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectorApplicationClient) CreateOrUpdateSender

func (client ConnectorApplicationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConnectorApplicationClient) Delete

func (client ConnectorApplicationClient) Delete(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string) (result autorest.Response, err error)

Delete delete an Application over a given scope Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. applicationID - the security Application key - unique key for the standard application

func (ConnectorApplicationClient) DeletePreparer

func (client ConnectorApplicationClient) DeletePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorApplicationClient) DeleteResponder

func (client ConnectorApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConnectorApplicationClient) DeleteSender

func (client ConnectorApplicationClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConnectorApplicationClient) Get

func (client ConnectorApplicationClient) Get(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string) (result Application, err error)

Get get a specific application for the requested scope by applicationId Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. applicationID - the security Application key - unique key for the standard application

func (ConnectorApplicationClient) GetPreparer

func (client ConnectorApplicationClient) GetPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, applicationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorApplicationClient) GetResponder

func (client ConnectorApplicationClient) GetResponder(resp *http.Response) (result Application, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectorApplicationClient) GetSender

func (client ConnectorApplicationClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ConnectorApplicationsClient

type ConnectorApplicationsClient struct {
	BaseClient
}

ConnectorApplicationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorApplicationsClient

func NewConnectorApplicationsClient(subscriptionID string) ConnectorApplicationsClient

NewConnectorApplicationsClient creates an instance of the ConnectorApplicationsClient client.

func NewConnectorApplicationsClientWithBaseURI

func NewConnectorApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorApplicationsClient

NewConnectorApplicationsClientWithBaseURI creates an instance of the ConnectorApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorApplicationsClient) List

func (client ConnectorApplicationsClient) List(ctx context.Context, resourceGroupName string, securityConnectorName string) (result ApplicationsListPage, err error)

List get a list of all relevant applications over a security connector level scope Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name.

func (ConnectorApplicationsClient) ListComplete

func (client ConnectorApplicationsClient) ListComplete(ctx context.Context, resourceGroupName string, securityConnectorName string) (result ApplicationsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectorApplicationsClient) ListPreparer

func (client ConnectorApplicationsClient) ListPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectorApplicationsClient) ListResponder

func (client ConnectorApplicationsClient) ListResponder(resp *http.Response) (result ApplicationsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConnectorApplicationsClient) ListSender

func (client ConnectorApplicationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ConnectorGovernanceRuleClient

type ConnectorGovernanceRuleClient struct {
	BaseClient
}

ConnectorGovernanceRuleClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorGovernanceRuleClient

func NewConnectorGovernanceRuleClient(subscriptionID string) ConnectorGovernanceRuleClient

NewConnectorGovernanceRuleClient creates an instance of the ConnectorGovernanceRuleClient client.

func NewConnectorGovernanceRuleClientWithBaseURI

func NewConnectorGovernanceRuleClientWithBaseURI(baseURI string, subscriptionID string) ConnectorGovernanceRuleClient

NewConnectorGovernanceRuleClientWithBaseURI creates an instance of the ConnectorGovernanceRuleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorGovernanceRuleClient) List

func (client ConnectorGovernanceRuleClient) List(ctx context.Context, resourceGroupName string, securityConnectorName string) (result GovernanceRuleListPage, err error)

List get a list of all relevant governanceRules over a security connector level scope Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name.

func (ConnectorGovernanceRuleClient) ListComplete

func (client ConnectorGovernanceRuleClient) ListComplete(ctx context.Context, resourceGroupName string, securityConnectorName string) (result GovernanceRuleListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectorGovernanceRuleClient) ListPreparer

func (client ConnectorGovernanceRuleClient) ListPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectorGovernanceRuleClient) ListResponder

func (client ConnectorGovernanceRuleClient) ListResponder(resp *http.Response) (result GovernanceRuleList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConnectorGovernanceRuleClient) ListSender

func (client ConnectorGovernanceRuleClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ConnectorGovernanceRulesClient

type ConnectorGovernanceRulesClient struct {
	BaseClient
}

ConnectorGovernanceRulesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorGovernanceRulesClient

func NewConnectorGovernanceRulesClient(subscriptionID string) ConnectorGovernanceRulesClient

NewConnectorGovernanceRulesClient creates an instance of the ConnectorGovernanceRulesClient client.

func NewConnectorGovernanceRulesClientWithBaseURI

func NewConnectorGovernanceRulesClientWithBaseURI(baseURI string, subscriptionID string) ConnectorGovernanceRulesClient

NewConnectorGovernanceRulesClientWithBaseURI creates an instance of the ConnectorGovernanceRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorGovernanceRulesClient) CreateOrUpdate

func (client ConnectorGovernanceRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, governanceRule GovernanceRule) (result GovernanceRule, err error)

CreateOrUpdate creates or update a security GovernanceRule on the given security connector. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule governanceRule - governanceRule over a subscription scope

func (ConnectorGovernanceRulesClient) CreateOrUpdatePreparer

func (client ConnectorGovernanceRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, governanceRule GovernanceRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorGovernanceRulesClient) CreateOrUpdateResponder

func (client ConnectorGovernanceRulesClient) CreateOrUpdateResponder(resp *http.Response) (result GovernanceRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectorGovernanceRulesClient) CreateOrUpdateSender

func (client ConnectorGovernanceRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConnectorGovernanceRulesClient) Delete

func (client ConnectorGovernanceRulesClient) Delete(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string) (result autorest.Response, err error)

Delete delete a GovernanceRule over a given scope Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule

func (ConnectorGovernanceRulesClient) DeletePreparer

func (client ConnectorGovernanceRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorGovernanceRulesClient) DeleteResponder

func (client ConnectorGovernanceRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConnectorGovernanceRulesClient) DeleteSender

func (client ConnectorGovernanceRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConnectorGovernanceRulesClient) Get

func (client ConnectorGovernanceRulesClient) Get(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string) (result GovernanceRule, err error)

Get get a specific governanceRule for the requested scope by ruleId Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule

func (ConnectorGovernanceRulesClient) GetPreparer

func (client ConnectorGovernanceRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorGovernanceRulesClient) GetResponder

func (client ConnectorGovernanceRulesClient) GetResponder(resp *http.Response) (result GovernanceRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectorGovernanceRulesClient) GetSender

func (client ConnectorGovernanceRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ConnectorGovernanceRulesExecuteStatusClient

type ConnectorGovernanceRulesExecuteStatusClient struct {
	BaseClient
}

ConnectorGovernanceRulesExecuteStatusClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorGovernanceRulesExecuteStatusClient

func NewConnectorGovernanceRulesExecuteStatusClient(subscriptionID string) ConnectorGovernanceRulesExecuteStatusClient

NewConnectorGovernanceRulesExecuteStatusClient creates an instance of the ConnectorGovernanceRulesExecuteStatusClient client.

func NewConnectorGovernanceRulesExecuteStatusClientWithBaseURI

func NewConnectorGovernanceRulesExecuteStatusClientWithBaseURI(baseURI string, subscriptionID string) ConnectorGovernanceRulesExecuteStatusClient

NewConnectorGovernanceRulesExecuteStatusClientWithBaseURI creates an instance of the ConnectorGovernanceRulesExecuteStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorGovernanceRulesExecuteStatusClient) Get

func (client ConnectorGovernanceRulesExecuteStatusClient) Get(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, operationID string) (result ConnectorGovernanceRulesExecuteStatusGetFuture, err error)

Get get a specific governanceRule execution status for the requested scope by ruleId and operationId Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule operationID - the security GovernanceRule execution key - unique key for the execution of GovernanceRule

func (ConnectorGovernanceRulesExecuteStatusClient) GetPreparer

func (client ConnectorGovernanceRulesExecuteStatusClient) GetPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorGovernanceRulesExecuteStatusClient) GetResponder

func (client ConnectorGovernanceRulesExecuteStatusClient) GetResponder(resp *http.Response) (result ExecuteRuleStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectorGovernanceRulesExecuteStatusClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ConnectorGovernanceRulesExecuteStatusGetFuture

type ConnectorGovernanceRulesExecuteStatusGetFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectorGovernanceRulesExecuteStatusClient) (ExecuteRuleStatus, error)
}

ConnectorGovernanceRulesExecuteStatusGetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectorGovernanceRulesExecuteStatusGetFuture) UnmarshalJSON

func (future *ConnectorGovernanceRulesExecuteStatusGetFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectorProperties

type ConnectorProperties struct {
	// HierarchyIdentifier - The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
	HierarchyIdentifier *string `json:"hierarchyIdentifier,omitempty"`
	// HierarchyIdentifierTrialEndDate - READ-ONLY; The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
	HierarchyIdentifierTrialEndDate *date.Time `json:"hierarchyIdentifierTrialEndDate,omitempty"`
	// EnvironmentName - The multi cloud resource's cloud name. Possible values include: 'Azure', 'AWS', 'GCP', 'Github', 'AzureDevOps'
	EnvironmentName CloudName `json:"environmentName,omitempty"`
	// Offerings - A collection of offerings for the security connector.
	Offerings *[]BasicCloudOffering `json:"offerings,omitempty"`
	// EnvironmentData - The security connector environment data.
	EnvironmentData BasicEnvironmentData `json:"environmentData,omitempty"`
}

ConnectorProperties a set of properties that defines the security connector configuration.

func (ConnectorProperties) MarshalJSON

func (cp ConnectorProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorProperties.

func (*ConnectorProperties) UnmarshalJSON

func (cp *ConnectorProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectorProperties struct.

type ConnectorSetting

type ConnectorSetting struct {
	autorest.Response `json:"-"`
	// ConnectorSettingProperties - Connector setting data
	*ConnectorSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ConnectorSetting the connector setting

func (ConnectorSetting) MarshalJSON

func (cs ConnectorSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorSetting.

func (*ConnectorSetting) UnmarshalJSON

func (cs *ConnectorSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectorSetting struct.

type ConnectorSettingList

type ConnectorSettingList struct {
	autorest.Response `json:"-"`
	// Value - List of all the cloud account connector settings
	Value *[]ConnectorSetting `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectorSettingList for a subscription, list of all cloud account connectors and their settings

func (ConnectorSettingList) IsEmpty

func (csl ConnectorSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ConnectorSettingList) MarshalJSON

func (csl ConnectorSettingList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorSettingList.

type ConnectorSettingListIterator

type ConnectorSettingListIterator struct {
	// contains filtered or unexported fields
}

ConnectorSettingListIterator provides access to a complete listing of ConnectorSetting values.

func NewConnectorSettingListIterator

func NewConnectorSettingListIterator(page ConnectorSettingListPage) ConnectorSettingListIterator

Creates a new instance of the ConnectorSettingListIterator type.

func (*ConnectorSettingListIterator) Next

func (iter *ConnectorSettingListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectorSettingListIterator) NextWithContext

func (iter *ConnectorSettingListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectorSettingListIterator) NotDone

func (iter ConnectorSettingListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectorSettingListIterator) Response

Response returns the raw server response from the last page request.

func (ConnectorSettingListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectorSettingListPage

type ConnectorSettingListPage struct {
	// contains filtered or unexported fields
}

ConnectorSettingListPage contains a page of ConnectorSetting values.

func NewConnectorSettingListPage

func NewConnectorSettingListPage(cur ConnectorSettingList, getNextPage func(context.Context, ConnectorSettingList) (ConnectorSettingList, error)) ConnectorSettingListPage

Creates a new instance of the ConnectorSettingListPage type.

func (*ConnectorSettingListPage) Next

func (page *ConnectorSettingListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectorSettingListPage) NextWithContext

func (page *ConnectorSettingListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectorSettingListPage) NotDone

func (page ConnectorSettingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectorSettingListPage) Response

Response returns the raw server response from the last page request.

func (ConnectorSettingListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ConnectorSettingProperties

type ConnectorSettingProperties struct {
	// HybridComputeSettings - Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).
	HybridComputeSettings *HybridComputeSettingsProperties `json:"hybridComputeSettings,omitempty"`
	// AuthenticationDetails - Settings for authentication management, these settings are relevant only for the cloud connector.
	AuthenticationDetails BasicAuthenticationDetailsProperties `json:"authenticationDetails,omitempty"`
}

ConnectorSettingProperties describes properties of a connector setting

func (*ConnectorSettingProperties) UnmarshalJSON

func (csp *ConnectorSettingProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectorSettingProperties struct.

type ConnectorsClient

type ConnectorsClient struct {
	BaseClient
}

ConnectorsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorsClient

func NewConnectorsClient(subscriptionID string) ConnectorsClient

NewConnectorsClient creates an instance of the ConnectorsClient client.

func NewConnectorsClientWithBaseURI

func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsClient

NewConnectorsClientWithBaseURI creates an instance of the ConnectorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorsClient) CreateOrUpdate

func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (result ConnectorSetting, err error)

CreateOrUpdate create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials. Parameters: connectorName - name of the cloud account connector connectorSetting - settings for the cloud account connector

func (ConnectorsClient) CreateOrUpdatePreparer

func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorsClient) CreateOrUpdateResponder

func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorSetting, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectorsClient) CreateOrUpdateSender

func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConnectorsClient) Delete

func (client ConnectorsClient) Delete(ctx context.Context, connectorName string) (result autorest.Response, err error)

Delete delete a cloud account connector from a subscription Parameters: connectorName - name of the cloud account connector

func (ConnectorsClient) DeletePreparer

func (client ConnectorsClient) DeletePreparer(ctx context.Context, connectorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorsClient) DeleteResponder

func (client ConnectorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConnectorsClient) DeleteSender

func (client ConnectorsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConnectorsClient) Get

func (client ConnectorsClient) Get(ctx context.Context, connectorName string) (result ConnectorSetting, err error)

Get details of a specific cloud account connector Parameters: connectorName - name of the cloud account connector

func (ConnectorsClient) GetPreparer

func (client ConnectorsClient) GetPreparer(ctx context.Context, connectorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorsClient) GetResponder

func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectorsClient) GetSender

func (client ConnectorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConnectorsClient) List

func (client ConnectorsClient) List(ctx context.Context) (result ConnectorSettingListPage, err error)

List cloud accounts connectors of a subscription

func (ConnectorsClient) ListComplete

func (client ConnectorsClient) ListComplete(ctx context.Context) (result ConnectorSettingListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectorsClient) ListPreparer

func (client ConnectorsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectorsClient) ListResponder

func (client ConnectorsClient) ListResponder(resp *http.Response) (result ConnectorSettingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConnectorsClient) ListSender

func (client ConnectorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ConnectorsGroupClient

type ConnectorsGroupClient struct {
	BaseClient
}

ConnectorsGroupClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewConnectorsGroupClient

func NewConnectorsGroupClient(subscriptionID string) ConnectorsGroupClient

NewConnectorsGroupClient creates an instance of the ConnectorsGroupClient client.

func NewConnectorsGroupClientWithBaseURI

func NewConnectorsGroupClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsGroupClient

NewConnectorsGroupClientWithBaseURI creates an instance of the ConnectorsGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectorsGroupClient) CreateOrUpdate

func (client ConnectorsGroupClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, securityConnectorName string, securityConnector Connector) (result Connector, err error)

CreateOrUpdate creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. securityConnector - the security connector resource

func (ConnectorsGroupClient) CreateOrUpdatePreparer

func (client ConnectorsGroupClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, securityConnector Connector) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorsGroupClient) CreateOrUpdateResponder

func (client ConnectorsGroupClient) CreateOrUpdateResponder(resp *http.Response) (result Connector, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) CreateOrUpdateSender

func (client ConnectorsGroupClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConnectorsGroupClient) Delete

func (client ConnectorsGroupClient) Delete(ctx context.Context, resourceGroupName string, securityConnectorName string) (result autorest.Response, err error)

Delete deletes a security connector. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name.

func (ConnectorsGroupClient) DeletePreparer

func (client ConnectorsGroupClient) DeletePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorsGroupClient) DeleteResponder

func (client ConnectorsGroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) DeleteSender

func (client ConnectorsGroupClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConnectorsGroupClient) Get

func (client ConnectorsGroupClient) Get(ctx context.Context, resourceGroupName string, securityConnectorName string) (result Connector, err error)

Get retrieves details of a specific security connector Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name.

func (ConnectorsGroupClient) GetPreparer

func (client ConnectorsGroupClient) GetPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorsGroupClient) GetResponder

func (client ConnectorsGroupClient) GetResponder(resp *http.Response) (result Connector, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) GetSender

func (client ConnectorsGroupClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConnectorsGroupClient) List

func (client ConnectorsGroupClient) List(ctx context.Context) (result ConnectorsListPage, err error)

List lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.

func (ConnectorsGroupClient) ListByResourceGroup

func (client ConnectorsGroupClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ConnectorsListPage, err error)

ListByResourceGroup lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (ConnectorsGroupClient) ListByResourceGroupComplete

func (client ConnectorsGroupClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ConnectorsListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectorsGroupClient) ListByResourceGroupPreparer

func (client ConnectorsGroupClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ConnectorsGroupClient) ListByResourceGroupResponder

func (client ConnectorsGroupClient) ListByResourceGroupResponder(resp *http.Response) (result ConnectorsList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) ListByResourceGroupSender

func (client ConnectorsGroupClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ConnectorsGroupClient) ListComplete

func (client ConnectorsGroupClient) ListComplete(ctx context.Context) (result ConnectorsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectorsGroupClient) ListPreparer

func (client ConnectorsGroupClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectorsGroupClient) ListResponder

func (client ConnectorsGroupClient) ListResponder(resp *http.Response) (result ConnectorsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) ListSender

func (client ConnectorsGroupClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ConnectorsGroupClient) Update

func (client ConnectorsGroupClient) Update(ctx context.Context, resourceGroupName string, securityConnectorName string, securityConnector Connector) (result Connector, err error)

Update updates a security connector Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. securityConnector - the security connector resource

func (ConnectorsGroupClient) UpdatePreparer

func (client ConnectorsGroupClient) UpdatePreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, securityConnector Connector) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ConnectorsGroupClient) UpdateResponder

func (client ConnectorsGroupClient) UpdateResponder(resp *http.Response) (result Connector, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ConnectorsGroupClient) UpdateSender

func (client ConnectorsGroupClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ConnectorsList

type ConnectorsList struct {
	autorest.Response `json:"-"`
	// Value - The list of security connectors under the given scope.
	Value *[]Connector `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectorsList list of security connectors response.

func (ConnectorsList) IsEmpty

func (cl ConnectorsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ConnectorsList) MarshalJSON

func (cl ConnectorsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorsList.

type ConnectorsListIterator

type ConnectorsListIterator struct {
	// contains filtered or unexported fields
}

ConnectorsListIterator provides access to a complete listing of Connector values.

func NewConnectorsListIterator

func NewConnectorsListIterator(page ConnectorsListPage) ConnectorsListIterator

Creates a new instance of the ConnectorsListIterator type.

func (*ConnectorsListIterator) Next

func (iter *ConnectorsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectorsListIterator) NextWithContext

func (iter *ConnectorsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectorsListIterator) NotDone

func (iter ConnectorsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectorsListIterator) Response

func (iter ConnectorsListIterator) Response() ConnectorsList

Response returns the raw server response from the last page request.

func (ConnectorsListIterator) Value

func (iter ConnectorsListIterator) Value() Connector

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectorsListPage

type ConnectorsListPage struct {
	// contains filtered or unexported fields
}

ConnectorsListPage contains a page of Connector values.

func NewConnectorsListPage

func NewConnectorsListPage(cur ConnectorsList, getNextPage func(context.Context, ConnectorsList) (ConnectorsList, error)) ConnectorsListPage

Creates a new instance of the ConnectorsListPage type.

func (*ConnectorsListPage) Next

func (page *ConnectorsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectorsListPage) NextWithContext

func (page *ConnectorsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectorsListPage) NotDone

func (page ConnectorsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectorsListPage) Response

func (page ConnectorsListPage) Response() ConnectorsList

Response returns the raw server response from the last page request.

func (ConnectorsListPage) Values

func (page ConnectorsListPage) Values() []Connector

Values returns the slice of values for the current page or nil if there are no values.

type Contact

type Contact struct {
	autorest.Response `json:"-"`
	// ContactProperties - Security contact data
	*ContactProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Contact contact details and configurations for notifications coming from Microsoft Defender for Cloud.

func (Contact) MarshalJSON

func (c Contact) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Contact.

func (*Contact) UnmarshalJSON

func (c *Contact) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Contact struct.

type ContactList

type ContactList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of security contacts
	Value *[]Contact `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ContactList list of security contacts response

func (ContactList) IsEmpty

func (cl ContactList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ContactList) MarshalJSON

func (cl ContactList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContactList.

type ContactListIterator

type ContactListIterator struct {
	// contains filtered or unexported fields
}

ContactListIterator provides access to a complete listing of Contact values.

func NewContactListIterator

func NewContactListIterator(page ContactListPage) ContactListIterator

Creates a new instance of the ContactListIterator type.

func (*ContactListIterator) Next

func (iter *ContactListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContactListIterator) NextWithContext

func (iter *ContactListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ContactListIterator) NotDone

func (iter ContactListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ContactListIterator) Response

func (iter ContactListIterator) Response() ContactList

Response returns the raw server response from the last page request.

func (ContactListIterator) Value

func (iter ContactListIterator) Value() Contact

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ContactListPage

type ContactListPage struct {
	// contains filtered or unexported fields
}

ContactListPage contains a page of Contact values.

func NewContactListPage

func NewContactListPage(cur ContactList, getNextPage func(context.Context, ContactList) (ContactList, error)) ContactListPage

Creates a new instance of the ContactListPage type.

func (*ContactListPage) Next

func (page *ContactListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContactListPage) NextWithContext

func (page *ContactListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ContactListPage) NotDone

func (page ContactListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ContactListPage) Response

func (page ContactListPage) Response() ContactList

Response returns the raw server response from the last page request.

func (ContactListPage) Values

func (page ContactListPage) Values() []Contact

Values returns the slice of values for the current page or nil if there are no values.

type ContactProperties

type ContactProperties struct {
	// Emails - List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
	Emails *string `json:"emails,omitempty"`
	// Phone - The security contact's phone number
	Phone *string `json:"phone,omitempty"`
	// AlertNotifications - Defines whether to send email notifications about new security alerts
	AlertNotifications *ContactPropertiesAlertNotifications `json:"alertNotifications,omitempty"`
	// NotificationsByRole - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
	NotificationsByRole *ContactPropertiesNotificationsByRole `json:"notificationsByRole,omitempty"`
}

ContactProperties describes security contact properties

type ContactPropertiesAlertNotifications

type ContactPropertiesAlertNotifications struct {
	// State - Defines if email notifications will be sent about new security alerts. Possible values include: 'StateForAlertNotificationsOn', 'StateForAlertNotificationsOff'
	State StateForAlertNotifications `json:"state,omitempty"`
	// MinimalSeverity - Defines the minimal alert severity which will be sent as email notifications. Possible values include: 'MinimalSeverityHigh', 'MinimalSeverityMedium', 'MinimalSeverityLow'
	MinimalSeverity MinimalSeverity `json:"minimalSeverity,omitempty"`
}

ContactPropertiesAlertNotifications defines whether to send email notifications about new security alerts

type ContactPropertiesNotificationsByRole

type ContactPropertiesNotificationsByRole struct {
	// State - Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription. Possible values include: 'StateForNotificationsByRoleOn', 'StateForNotificationsByRoleOff'
	State StateForNotificationsByRole `json:"state,omitempty"`
	// Roles - Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
	Roles *[]Roles `json:"roles,omitempty"`
}

ContactPropertiesNotificationsByRole defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.

type ContactsClient

type ContactsClient struct {
	BaseClient
}

ContactsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewContactsClient

func NewContactsClient(subscriptionID string) ContactsClient

NewContactsClient creates an instance of the ContactsClient client.

func NewContactsClientWithBaseURI

func NewContactsClientWithBaseURI(baseURI string, subscriptionID string) ContactsClient

NewContactsClientWithBaseURI creates an instance of the ContactsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ContactsClient) Create

func (client ContactsClient) Create(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)

Create create security contact configurations for the subscription Parameters: securityContactName - name of the security contact object securityContact - security contact object

func (ContactsClient) CreatePreparer

func (client ContactsClient) CreatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ContactsClient) CreateResponder

func (client ContactsClient) CreateResponder(resp *http.Response) (result Contact, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ContactsClient) CreateSender

func (client ContactsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) Delete

func (client ContactsClient) Delete(ctx context.Context, securityContactName string) (result autorest.Response, err error)

Delete delete security contact configurations for the subscription Parameters: securityContactName - name of the security contact object

func (ContactsClient) DeletePreparer

func (client ContactsClient) DeletePreparer(ctx context.Context, securityContactName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ContactsClient) DeleteResponder

func (client ContactsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ContactsClient) DeleteSender

func (client ContactsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) Get

func (client ContactsClient) Get(ctx context.Context, securityContactName string) (result Contact, err error)

Get get Default Security contact configurations for the subscription Parameters: securityContactName - name of the security contact object

func (ContactsClient) GetPreparer

func (client ContactsClient) GetPreparer(ctx context.Context, securityContactName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ContactsClient) GetResponder

func (client ContactsClient) GetResponder(resp *http.Response) (result Contact, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ContactsClient) GetSender

func (client ContactsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) List

func (client ContactsClient) List(ctx context.Context) (result ContactListPage, err error)

List list all security contact configurations for the subscription

func (ContactsClient) ListComplete

func (client ContactsClient) ListComplete(ctx context.Context) (result ContactListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ContactsClient) ListPreparer

func (client ContactsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ContactsClient) ListResponder

func (client ContactsClient) ListResponder(resp *http.Response) (result ContactList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ContactsClient) ListSender

func (client ContactsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ContainerRegistryVulnerabilityProperties

type ContainerRegistryVulnerabilityProperties struct {
	// Type - READ-ONLY; Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability
	Type *string `json:"type,omitempty"`
	// Cvss - READ-ONLY; Dictionary from cvss version to cvss details object
	Cvss map[string]*CVSS `json:"cvss"`
	// Patchable - READ-ONLY; Indicates whether a patch is available or not
	Patchable *bool `json:"patchable,omitempty"`
	// Cve - READ-ONLY; List of CVEs
	Cve *[]CVE `json:"cve,omitempty"`
	// PublishedTime - READ-ONLY; Published time
	PublishedTime *date.Time `json:"publishedTime,omitempty"`
	// VendorReferences - READ-ONLY
	VendorReferences *[]VendorReference `json:"vendorReferences,omitempty"`
	// RepositoryName - READ-ONLY; Name of the repository which the vulnerable image belongs to
	RepositoryName *string `json:"repositoryName,omitempty"`
	// ImageDigest - READ-ONLY; Digest of the vulnerable image
	ImageDigest *string `json:"imageDigest,omitempty"`
	// AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment'
	AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"`
}

ContainerRegistryVulnerabilityProperties additional context fields for container registry Vulnerability assessment

func (ContainerRegistryVulnerabilityProperties) AsAdditionalData

func (crvp ContainerRegistryVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)

AsAdditionalData is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.

func (ContainerRegistryVulnerabilityProperties) AsBasicAdditionalData

func (crvp ContainerRegistryVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)

AsBasicAdditionalData is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.

func (ContainerRegistryVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties

func (crvp ContainerRegistryVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)

AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.

func (ContainerRegistryVulnerabilityProperties) AsSQLServerVulnerabilityProperties

func (crvp ContainerRegistryVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)

AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.

func (ContainerRegistryVulnerabilityProperties) AsServerVulnerabilityProperties

func (crvp ContainerRegistryVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)

AsServerVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.

func (ContainerRegistryVulnerabilityProperties) MarshalJSON

func (crvp ContainerRegistryVulnerabilityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerRegistryVulnerabilityProperties.

type ControlType

type ControlType string

ControlType enumerates the values for control type.

const (
	// ControlTypeBuiltIn Microsoft Defender for Cloud managed assessments
	ControlTypeBuiltIn ControlType = "BuiltIn"
	// ControlTypeCustom Non Microsoft Defender for Cloud managed assessments
	ControlTypeCustom ControlType = "Custom"
)

func PossibleControlTypeValues

func PossibleControlTypeValues() []ControlType

PossibleControlTypeValues returns an array of possible values for the ControlType const type.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type CspmMonitorAwsOffering

type CspmMonitorAwsOffering struct {
	// NativeCloudConnection - The native cloud connection configuration
	NativeCloudConnection *CspmMonitorAwsOfferingNativeCloudConnection `json:"nativeCloudConnection,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

CspmMonitorAwsOffering the CSPM monitoring for AWS offering

func (CspmMonitorAwsOffering) AsBasicCloudOffering

func (cmao CspmMonitorAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsCloudOffering

func (cmao CspmMonitorAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsCspmMonitorAwsOffering

func (cmao CspmMonitorAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (cmao CspmMonitorAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsCspmMonitorGcpOffering

func (cmao CspmMonitorAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsCspmMonitorGithubOffering

func (cmao CspmMonitorAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderCspmAwsOffering

func (cmao CspmMonitorAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderCspmGcpOffering

func (cmao CspmMonitorAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderFoDatabasesAwsOffering

func (cmao CspmMonitorAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForContainersAwsOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForContainersGcpOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForDatabasesGcpOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForDevOpsGithubOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForServersAwsOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsDefenderForServersGcpOffering

func (cmao CspmMonitorAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) AsInformationProtectionAwsOffering

func (cmao CspmMonitorAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for CspmMonitorAwsOffering.

func (CspmMonitorAwsOffering) MarshalJSON

func (cmao CspmMonitorAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CspmMonitorAwsOffering.

type CspmMonitorAwsOfferingNativeCloudConnection

type CspmMonitorAwsOfferingNativeCloudConnection struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

CspmMonitorAwsOfferingNativeCloudConnection the native cloud connection configuration

type CspmMonitorAzureDevOpsOffering

type CspmMonitorAzureDevOpsOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

CspmMonitorAzureDevOpsOffering the CSPM monitoring for AzureDevOps offering

func (CspmMonitorAzureDevOpsOffering) AsBasicCloudOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsCloudOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsCspmMonitorAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsCspmMonitorAzureDevOpsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsCspmMonitorGcpOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsCspmMonitorGithubOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderCspmAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderCspmGcpOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderFoDatabasesAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForContainersAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForContainersGcpOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForDatabasesGcpOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForDevOpsGithubOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForServersAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsDefenderForServersGcpOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) AsInformationProtectionAwsOffering

func (cmadoo CspmMonitorAzureDevOpsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for CspmMonitorAzureDevOpsOffering.

func (CspmMonitorAzureDevOpsOffering) MarshalJSON

func (cmadoo CspmMonitorAzureDevOpsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CspmMonitorAzureDevOpsOffering.

type CspmMonitorGcpOffering

type CspmMonitorGcpOffering struct {
	// NativeCloudConnection - The native cloud connection configuration
	NativeCloudConnection *CspmMonitorGcpOfferingNativeCloudConnection `json:"nativeCloudConnection,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

CspmMonitorGcpOffering the CSPM monitoring for GCP offering

func (CspmMonitorGcpOffering) AsBasicCloudOffering

func (cmgo CspmMonitorGcpOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsCloudOffering

func (cmgo CspmMonitorGcpOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsCspmMonitorAwsOffering

func (cmgo CspmMonitorGcpOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsCspmMonitorAzureDevOpsOffering

func (cmgo CspmMonitorGcpOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsCspmMonitorGcpOffering

func (cmgo CspmMonitorGcpOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsCspmMonitorGithubOffering

func (cmgo CspmMonitorGcpOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderCspmAwsOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderCspmGcpOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderFoDatabasesAwsOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForContainersAwsOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForContainersGcpOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForDatabasesGcpOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForDevOpsGithubOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForServersAwsOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsDefenderForServersGcpOffering

func (cmgo CspmMonitorGcpOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) AsInformationProtectionAwsOffering

func (cmgo CspmMonitorGcpOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for CspmMonitorGcpOffering.

func (CspmMonitorGcpOffering) MarshalJSON

func (cmgo CspmMonitorGcpOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CspmMonitorGcpOffering.

type CspmMonitorGcpOfferingNativeCloudConnection

type CspmMonitorGcpOfferingNativeCloudConnection struct {
	// WorkloadIdentityProviderID - The GCP workload identity provider id for the offering
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
	// ServiceAccountEmailAddress - The service account email address in GCP for this offering
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
}

CspmMonitorGcpOfferingNativeCloudConnection the native cloud connection configuration

type CspmMonitorGithubOffering

type CspmMonitorGithubOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

CspmMonitorGithubOffering the CSPM monitoring for github offering

func (CspmMonitorGithubOffering) AsBasicCloudOffering

func (cmgo CspmMonitorGithubOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsCloudOffering

func (cmgo CspmMonitorGithubOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsCspmMonitorAwsOffering

func (cmgo CspmMonitorGithubOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsCspmMonitorAzureDevOpsOffering

func (cmgo CspmMonitorGithubOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsCspmMonitorGcpOffering

func (cmgo CspmMonitorGithubOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsCspmMonitorGithubOffering

func (cmgo CspmMonitorGithubOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderCspmAwsOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderCspmGcpOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderFoDatabasesAwsOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForContainersAwsOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForContainersGcpOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForDatabasesGcpOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForDevOpsGithubOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForServersAwsOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsDefenderForServersGcpOffering

func (cmgo CspmMonitorGithubOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) AsInformationProtectionAwsOffering

func (cmgo CspmMonitorGithubOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for CspmMonitorGithubOffering.

func (CspmMonitorGithubOffering) MarshalJSON

func (cmgo CspmMonitorGithubOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CspmMonitorGithubOffering.

type CustomAlertRule

type CustomAlertRule struct {
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

CustomAlertRule a custom alert rule.

func (CustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (car CustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsAllowlistCustomAlertRule

func (car CustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (car CustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (car CustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (car CustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsBasicAllowlistCustomAlertRule

func (car CustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsBasicCustomAlertRule

func (car CustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsBasicListCustomAlertRule

func (car CustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsBasicThresholdCustomAlertRule

func (car CustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (car CustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsConnectionFromIPNotAllowed

func (car CustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsConnectionToIPNotAllowed

func (car CustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsCustomAlertRule

func (car CustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsDenylistCustomAlertRule

func (car CustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (car CustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (car CustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsFileUploadsNotInAllowedRange

func (car CustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (car CustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (car CustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (car CustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsListCustomAlertRule

func (car CustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsLocalUserNotAllowed

func (car CustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (car CustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (car CustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (car CustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsProcessNotAllowed

func (car CustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsQueuePurgesNotInAllowedRange

func (car CustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsThresholdCustomAlertRule

func (car CustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsTimeWindowCustomAlertRule

func (car CustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (car CustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (car CustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for CustomAlertRule.

func (CustomAlertRule) MarshalJSON

func (car CustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomAlertRule.

type CustomAssessmentAutomation

type CustomAssessmentAutomation struct {
	autorest.Response `json:"-"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
	// CustomAssessmentAutomationProperties - describes Custom Assessment Automation properties.
	*CustomAssessmentAutomationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

CustomAssessmentAutomation custom Assessment Automation

func (CustomAssessmentAutomation) MarshalJSON

func (caa CustomAssessmentAutomation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomAssessmentAutomation.

func (*CustomAssessmentAutomation) UnmarshalJSON

func (caa *CustomAssessmentAutomation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomAssessmentAutomation struct.

type CustomAssessmentAutomationProperties

type CustomAssessmentAutomationProperties struct {
	// CompressedQuery - GZip encoded KQL query representing the assessment automation results required.
	CompressedQuery *string `json:"compressedQuery,omitempty"`
	// SupportedCloud - Relevant cloud for the custom assessment automation. Possible values include: 'SupportedCloudEnumAWS', 'SupportedCloudEnumGCP'
	SupportedCloud SupportedCloudEnum `json:"supportedCloud,omitempty"`
	// Severity - The severity to relate to the assessments generated by this assessment automation. Possible values include: 'SeverityEnumHigh', 'SeverityEnumMedium', 'SeverityEnumLow'
	Severity SeverityEnum `json:"severity,omitempty"`
	// DisplayName - The display name of the assessments generated by this assessment automation.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description to relate to the assessments generated by this assessment automation.
	Description *string `json:"description,omitempty"`
	// RemediationDescription - The remediation description to relate to the assessments generated by this assessment automation.
	RemediationDescription *string `json:"remediationDescription,omitempty"`
	// AssessmentKey - The assessment metadata key used when an assessment is generated for this assessment automation.
	AssessmentKey *string `json:"assessmentKey,omitempty"`
}

CustomAssessmentAutomationProperties describes the Custom Assessment Automation properties

type CustomAssessmentAutomationRequest

type CustomAssessmentAutomationRequest struct {
	// CustomAssessmentAutomationRequestProperties - describes Custom Assessment Automation request properties.
	*CustomAssessmentAutomationRequestProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

CustomAssessmentAutomationRequest custom Assessment Automation request

func (CustomAssessmentAutomationRequest) MarshalJSON

func (caar CustomAssessmentAutomationRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomAssessmentAutomationRequest.

func (*CustomAssessmentAutomationRequest) UnmarshalJSON

func (caar *CustomAssessmentAutomationRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomAssessmentAutomationRequest struct.

type CustomAssessmentAutomationRequestProperties

type CustomAssessmentAutomationRequestProperties struct {
	// CompressedQuery - Base 64 encoded KQL query representing the assessment automation results required.
	CompressedQuery *string `json:"compressedQuery,omitempty"`
	// SupportedCloud - Relevant cloud for the custom assessment automation. Possible values include: 'SupportedCloudEnumAWS', 'SupportedCloudEnumGCP'
	SupportedCloud SupportedCloudEnum `json:"supportedCloud,omitempty"`
	// Severity - The severity to relate to the assessments generated by this assessment automation. Possible values include: 'SeverityEnumHigh', 'SeverityEnumMedium', 'SeverityEnumLow'
	Severity SeverityEnum `json:"severity,omitempty"`
	// DisplayName - The display name of the assessments generated by this assessment automation.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description to relate to the assessments generated by this assessment automation.
	Description *string `json:"description,omitempty"`
	// RemediationDescription - The remediation description to relate to the assessments generated by this assessment automation.
	RemediationDescription *string `json:"remediationDescription,omitempty"`
}

CustomAssessmentAutomationRequestProperties describes the Custom Assessment Automation properties

type CustomAssessmentAutomationsClient

type CustomAssessmentAutomationsClient struct {
	BaseClient
}

CustomAssessmentAutomationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewCustomAssessmentAutomationsClient

func NewCustomAssessmentAutomationsClient(subscriptionID string) CustomAssessmentAutomationsClient

NewCustomAssessmentAutomationsClient creates an instance of the CustomAssessmentAutomationsClient client.

func NewCustomAssessmentAutomationsClientWithBaseURI

func NewCustomAssessmentAutomationsClientWithBaseURI(baseURI string, subscriptionID string) CustomAssessmentAutomationsClient

NewCustomAssessmentAutomationsClientWithBaseURI creates an instance of the CustomAssessmentAutomationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CustomAssessmentAutomationsClient) Create

func (client CustomAssessmentAutomationsClient) Create(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string, customAssessmentAutomationBody CustomAssessmentAutomationRequest) (result CustomAssessmentAutomation, err error)

Create creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customAssessmentAutomationName - name of the Custom Assessment Automation. customAssessmentAutomationBody - custom Assessment Automation body

func (CustomAssessmentAutomationsClient) CreatePreparer

func (client CustomAssessmentAutomationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string, customAssessmentAutomationBody CustomAssessmentAutomationRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CustomAssessmentAutomationsClient) CreateResponder

func (client CustomAssessmentAutomationsClient) CreateResponder(resp *http.Response) (result CustomAssessmentAutomation, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CustomAssessmentAutomationsClient) CreateSender

func (client CustomAssessmentAutomationsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (CustomAssessmentAutomationsClient) Delete

func (client CustomAssessmentAutomationsClient) Delete(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string) (result autorest.Response, err error)

Delete deletes a custom assessment automation by name for a provided subscription Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customAssessmentAutomationName - name of the Custom Assessment Automation.

func (CustomAssessmentAutomationsClient) DeletePreparer

func (client CustomAssessmentAutomationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CustomAssessmentAutomationsClient) DeleteResponder

func (client CustomAssessmentAutomationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CustomAssessmentAutomationsClient) DeleteSender

func (client CustomAssessmentAutomationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CustomAssessmentAutomationsClient) Get

func (client CustomAssessmentAutomationsClient) Get(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string) (result CustomAssessmentAutomation, err error)

Get gets a single custom assessment automation by name for the provided subscription and resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customAssessmentAutomationName - name of the Custom Assessment Automation.

func (CustomAssessmentAutomationsClient) GetPreparer

func (client CustomAssessmentAutomationsClient) GetPreparer(ctx context.Context, resourceGroupName string, customAssessmentAutomationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CustomAssessmentAutomationsClient) GetResponder

func (client CustomAssessmentAutomationsClient) GetResponder(resp *http.Response) (result CustomAssessmentAutomation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CustomAssessmentAutomationsClient) GetSender

func (client CustomAssessmentAutomationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CustomAssessmentAutomationsClient) ListByResourceGroup

func (client CustomAssessmentAutomationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CustomAssessmentAutomationsListResultPage, err error)

ListByResourceGroup list custom assessment automations by provided subscription and resource group Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (CustomAssessmentAutomationsClient) ListByResourceGroupComplete

func (client CustomAssessmentAutomationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result CustomAssessmentAutomationsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomAssessmentAutomationsClient) ListByResourceGroupPreparer

func (client CustomAssessmentAutomationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (CustomAssessmentAutomationsClient) ListByResourceGroupResponder

func (client CustomAssessmentAutomationsClient) ListByResourceGroupResponder(resp *http.Response) (result CustomAssessmentAutomationsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (CustomAssessmentAutomationsClient) ListByResourceGroupSender

func (client CustomAssessmentAutomationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (CustomAssessmentAutomationsClient) ListBySubscription

ListBySubscription list custom assessment automations by provided subscription

func (CustomAssessmentAutomationsClient) ListBySubscriptionComplete

func (client CustomAssessmentAutomationsClient) ListBySubscriptionComplete(ctx context.Context) (result CustomAssessmentAutomationsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomAssessmentAutomationsClient) ListBySubscriptionPreparer

func (client CustomAssessmentAutomationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (CustomAssessmentAutomationsClient) ListBySubscriptionResponder

func (client CustomAssessmentAutomationsClient) ListBySubscriptionResponder(resp *http.Response) (result CustomAssessmentAutomationsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (CustomAssessmentAutomationsClient) ListBySubscriptionSender

func (client CustomAssessmentAutomationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

type CustomAssessmentAutomationsListResult

type CustomAssessmentAutomationsListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of Custom Assessment Automations
	Value *[]CustomAssessmentAutomation `json:"value,omitempty"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
}

CustomAssessmentAutomationsListResult a list of Custom Assessment Automations

func (CustomAssessmentAutomationsListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (CustomAssessmentAutomationsListResult) MarshalJSON

func (caalr CustomAssessmentAutomationsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomAssessmentAutomationsListResult.

type CustomAssessmentAutomationsListResultIterator

type CustomAssessmentAutomationsListResultIterator struct {
	// contains filtered or unexported fields
}

CustomAssessmentAutomationsListResultIterator provides access to a complete listing of CustomAssessmentAutomation values.

func NewCustomAssessmentAutomationsListResultIterator

func NewCustomAssessmentAutomationsListResultIterator(page CustomAssessmentAutomationsListResultPage) CustomAssessmentAutomationsListResultIterator

Creates a new instance of the CustomAssessmentAutomationsListResultIterator type.

func (*CustomAssessmentAutomationsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomAssessmentAutomationsListResultIterator) NextWithContext

func (iter *CustomAssessmentAutomationsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CustomAssessmentAutomationsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (CustomAssessmentAutomationsListResultIterator) Response

Response returns the raw server response from the last page request.

func (CustomAssessmentAutomationsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CustomAssessmentAutomationsListResultPage

type CustomAssessmentAutomationsListResultPage struct {
	// contains filtered or unexported fields
}

CustomAssessmentAutomationsListResultPage contains a page of CustomAssessmentAutomation values.

func NewCustomAssessmentAutomationsListResultPage

Creates a new instance of the CustomAssessmentAutomationsListResultPage type.

func (*CustomAssessmentAutomationsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomAssessmentAutomationsListResultPage) NextWithContext

func (page *CustomAssessmentAutomationsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CustomAssessmentAutomationsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CustomAssessmentAutomationsListResultPage) Response

Response returns the raw server response from the last page request.

func (CustomAssessmentAutomationsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type CustomEntityStoreAssignment

type CustomEntityStoreAssignment struct {
	autorest.Response `json:"-"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
	// CustomEntityStoreAssignmentProperties - describes custom entity store assignment properties.
	*CustomEntityStoreAssignmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

CustomEntityStoreAssignment custom entity store assignment

func (CustomEntityStoreAssignment) MarshalJSON

func (cesa CustomEntityStoreAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomEntityStoreAssignment.

func (*CustomEntityStoreAssignment) UnmarshalJSON

func (cesa *CustomEntityStoreAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomEntityStoreAssignment struct.

type CustomEntityStoreAssignmentProperties

type CustomEntityStoreAssignmentProperties struct {
	// Principal - The principal assigned with entity store. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]
	Principal *string `json:"principal,omitempty"`
	// EntityStoreDatabaseLink - The link to entity store database.
	EntityStoreDatabaseLink *string `json:"entityStoreDatabaseLink,omitempty"`
}

CustomEntityStoreAssignmentProperties describes the custom entity store assignment properties

type CustomEntityStoreAssignmentRequest

type CustomEntityStoreAssignmentRequest struct {
	*CustomEntityStoreAssignmentRequestProperties `json:"properties,omitempty"`
}

CustomEntityStoreAssignmentRequest describes the custom entity store assignment request

func (CustomEntityStoreAssignmentRequest) MarshalJSON

func (cesar CustomEntityStoreAssignmentRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomEntityStoreAssignmentRequest.

func (*CustomEntityStoreAssignmentRequest) UnmarshalJSON

func (cesar *CustomEntityStoreAssignmentRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomEntityStoreAssignmentRequest struct.

type CustomEntityStoreAssignmentRequestProperties

type CustomEntityStoreAssignmentRequestProperties struct {
	// Principal - The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]
	Principal *string `json:"principal,omitempty"`
}

CustomEntityStoreAssignmentRequestProperties describes properties of custom entity store assignment request

type CustomEntityStoreAssignmentsClient

type CustomEntityStoreAssignmentsClient struct {
	BaseClient
}

CustomEntityStoreAssignmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewCustomEntityStoreAssignmentsClient

func NewCustomEntityStoreAssignmentsClient(subscriptionID string) CustomEntityStoreAssignmentsClient

NewCustomEntityStoreAssignmentsClient creates an instance of the CustomEntityStoreAssignmentsClient client.

func NewCustomEntityStoreAssignmentsClientWithBaseURI

func NewCustomEntityStoreAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) CustomEntityStoreAssignmentsClient

NewCustomEntityStoreAssignmentsClientWithBaseURI creates an instance of the CustomEntityStoreAssignmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CustomEntityStoreAssignmentsClient) Create

func (client CustomEntityStoreAssignmentsClient) Create(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string, customEntityStoreAssignmentRequestBody CustomEntityStoreAssignmentRequest) (result CustomEntityStoreAssignment, err error)

Create creates a custom entity store assignment for the provided subscription, if not already exists. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customEntityStoreAssignmentName - name of the custom entity store assignment. Generated name is GUID. customEntityStoreAssignmentRequestBody - custom entity store assignment body

func (CustomEntityStoreAssignmentsClient) CreatePreparer

func (client CustomEntityStoreAssignmentsClient) CreatePreparer(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string, customEntityStoreAssignmentRequestBody CustomEntityStoreAssignmentRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CustomEntityStoreAssignmentsClient) CreateResponder

func (client CustomEntityStoreAssignmentsClient) CreateResponder(resp *http.Response) (result CustomEntityStoreAssignment, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CustomEntityStoreAssignmentsClient) CreateSender

func (client CustomEntityStoreAssignmentsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (CustomEntityStoreAssignmentsClient) Delete

func (client CustomEntityStoreAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string) (result autorest.Response, err error)

Delete delete a custom entity store assignment by name for a provided subscription Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customEntityStoreAssignmentName - name of the custom entity store assignment. Generated name is GUID.

func (CustomEntityStoreAssignmentsClient) DeletePreparer

func (client CustomEntityStoreAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CustomEntityStoreAssignmentsClient) DeleteResponder

func (client CustomEntityStoreAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CustomEntityStoreAssignmentsClient) DeleteSender

func (client CustomEntityStoreAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CustomEntityStoreAssignmentsClient) Get

func (client CustomEntityStoreAssignmentsClient) Get(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string) (result CustomEntityStoreAssignment, err error)

Get gets a single custom entity store assignment by name for the provided subscription and resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. customEntityStoreAssignmentName - name of the custom entity store assignment. Generated name is GUID.

func (CustomEntityStoreAssignmentsClient) GetPreparer

func (client CustomEntityStoreAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, customEntityStoreAssignmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CustomEntityStoreAssignmentsClient) GetResponder

func (client CustomEntityStoreAssignmentsClient) GetResponder(resp *http.Response) (result CustomEntityStoreAssignment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CustomEntityStoreAssignmentsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CustomEntityStoreAssignmentsClient) ListByResourceGroup

func (client CustomEntityStoreAssignmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CustomEntityStoreAssignmentsListResultPage, err error)

ListByResourceGroup list custom entity store assignments by a provided subscription and resource group Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (CustomEntityStoreAssignmentsClient) ListByResourceGroupComplete

func (client CustomEntityStoreAssignmentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result CustomEntityStoreAssignmentsListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomEntityStoreAssignmentsClient) ListByResourceGroupPreparer

func (client CustomEntityStoreAssignmentsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (CustomEntityStoreAssignmentsClient) ListByResourceGroupResponder

func (client CustomEntityStoreAssignmentsClient) ListByResourceGroupResponder(resp *http.Response) (result CustomEntityStoreAssignmentsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (CustomEntityStoreAssignmentsClient) ListByResourceGroupSender

func (client CustomEntityStoreAssignmentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (CustomEntityStoreAssignmentsClient) ListBySubscription

ListBySubscription list custom entity store assignments by provided subscription

func (CustomEntityStoreAssignmentsClient) ListBySubscriptionComplete

func (client CustomEntityStoreAssignmentsClient) ListBySubscriptionComplete(ctx context.Context) (result CustomEntityStoreAssignmentsListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomEntityStoreAssignmentsClient) ListBySubscriptionPreparer

func (client CustomEntityStoreAssignmentsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (CustomEntityStoreAssignmentsClient) ListBySubscriptionResponder

func (client CustomEntityStoreAssignmentsClient) ListBySubscriptionResponder(resp *http.Response) (result CustomEntityStoreAssignmentsListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (CustomEntityStoreAssignmentsClient) ListBySubscriptionSender

func (client CustomEntityStoreAssignmentsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

type CustomEntityStoreAssignmentsListResult

type CustomEntityStoreAssignmentsListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of custom entity store assignments
	Value *[]CustomEntityStoreAssignment `json:"value,omitempty"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
}

CustomEntityStoreAssignmentsListResult a list of custom entity store assignments

func (CustomEntityStoreAssignmentsListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (CustomEntityStoreAssignmentsListResult) MarshalJSON

func (cesalr CustomEntityStoreAssignmentsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomEntityStoreAssignmentsListResult.

type CustomEntityStoreAssignmentsListResultIterator

type CustomEntityStoreAssignmentsListResultIterator struct {
	// contains filtered or unexported fields
}

CustomEntityStoreAssignmentsListResultIterator provides access to a complete listing of CustomEntityStoreAssignment values.

func NewCustomEntityStoreAssignmentsListResultIterator

func NewCustomEntityStoreAssignmentsListResultIterator(page CustomEntityStoreAssignmentsListResultPage) CustomEntityStoreAssignmentsListResultIterator

Creates a new instance of the CustomEntityStoreAssignmentsListResultIterator type.

func (*CustomEntityStoreAssignmentsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomEntityStoreAssignmentsListResultIterator) NextWithContext

func (iter *CustomEntityStoreAssignmentsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CustomEntityStoreAssignmentsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (CustomEntityStoreAssignmentsListResultIterator) Response

Response returns the raw server response from the last page request.

func (CustomEntityStoreAssignmentsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CustomEntityStoreAssignmentsListResultPage

type CustomEntityStoreAssignmentsListResultPage struct {
	// contains filtered or unexported fields
}

CustomEntityStoreAssignmentsListResultPage contains a page of CustomEntityStoreAssignment values.

func NewCustomEntityStoreAssignmentsListResultPage

Creates a new instance of the CustomEntityStoreAssignmentsListResultPage type.

func (*CustomEntityStoreAssignmentsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CustomEntityStoreAssignmentsListResultPage) NextWithContext

func (page *CustomEntityStoreAssignmentsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CustomEntityStoreAssignmentsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CustomEntityStoreAssignmentsListResultPage) Response

Response returns the raw server response from the last page request.

func (CustomEntityStoreAssignmentsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataExportSettingProperties

type DataExportSettingProperties struct {
	// Enabled - Is the data export setting enabled
	Enabled *bool `json:"enabled,omitempty"`
}

DataExportSettingProperties the data export setting properties

type DataExportSettings

type DataExportSettings struct {
	// DataExportSettingProperties - Data export setting data
	*DataExportSettingProperties `json:"properties,omitempty"`
	// Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings'
	Kind KindEnum2 `json:"kind,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

DataExportSettings represents a data export setting

func (DataExportSettings) AsAlertSyncSettings

func (desVar DataExportSettings) AsAlertSyncSettings() (*AlertSyncSettings, bool)

AsAlertSyncSettings is the BasicSetting implementation for DataExportSettings.

func (DataExportSettings) AsBasicSetting

func (desVar DataExportSettings) AsBasicSetting() (BasicSetting, bool)

AsBasicSetting is the BasicSetting implementation for DataExportSettings.

func (DataExportSettings) AsDataExportSettings

func (desVar DataExportSettings) AsDataExportSettings() (*DataExportSettings, bool)

AsDataExportSettings is the BasicSetting implementation for DataExportSettings.

func (DataExportSettings) AsSetting

func (desVar DataExportSettings) AsSetting() (*Setting, bool)

AsSetting is the BasicSetting implementation for DataExportSettings.

func (DataExportSettings) MarshalJSON

func (desVar DataExportSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataExportSettings.

func (*DataExportSettings) UnmarshalJSON

func (desVar *DataExportSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataExportSettings struct.

type DataSource

type DataSource string

DataSource enumerates the values for data source.

const (
	// TwinData Devices twin data
	TwinData DataSource = "TwinData"
)

func PossibleDataSourceValues

func PossibleDataSourceValues() []DataSource

PossibleDataSourceValues returns an array of possible values for the DataSource const type.

type DefenderCspmAwsOffering

type DefenderCspmAwsOffering struct {
	// VMScanners - The Microsoft Defender for Server VM scanning configuration
	VMScanners *DefenderCspmAwsOfferingVMScanners `json:"vmScanners,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderCspmAwsOffering the CSPM P1 for Aws offering

func (DefenderCspmAwsOffering) AsBasicCloudOffering

func (dcao DefenderCspmAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsCloudOffering

func (dcao DefenderCspmAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsCspmMonitorAwsOffering

func (dcao DefenderCspmAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (dcao DefenderCspmAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsCspmMonitorGcpOffering

func (dcao DefenderCspmAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsCspmMonitorGithubOffering

func (dcao DefenderCspmAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderCspmAwsOffering

func (dcao DefenderCspmAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderCspmGcpOffering

func (dcao DefenderCspmAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderFoDatabasesAwsOffering

func (dcao DefenderCspmAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForContainersAwsOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForContainersGcpOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForDatabasesGcpOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForDevOpsGithubOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForServersAwsOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsDefenderForServersGcpOffering

func (dcao DefenderCspmAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) AsInformationProtectionAwsOffering

func (dcao DefenderCspmAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderCspmAwsOffering.

func (DefenderCspmAwsOffering) MarshalJSON

func (dcao DefenderCspmAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderCspmAwsOffering.

type DefenderCspmAwsOfferingVMScanners

type DefenderCspmAwsOfferingVMScanners struct {
	// Enabled - Is Microsoft Defender for Server VM scanning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Microsoft Defender for Server VM scanning
	Configuration *DefenderCspmAwsOfferingVMScannersConfiguration `json:"configuration,omitempty"`
}

DefenderCspmAwsOfferingVMScanners the Microsoft Defender for Server VM scanning configuration

type DefenderCspmAwsOfferingVMScannersConfiguration

type DefenderCspmAwsOfferingVMScannersConfiguration struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	// ScanningMode - The scanning mode for the vm scan. Possible values include: 'Default'
	ScanningMode ScanningMode `json:"scanningMode,omitempty"`
	// ExclusionTags - VM tags that indicates that VM should not be scanned
	ExclusionTags map[string]*string `json:"exclusionTags"`
}

DefenderCspmAwsOfferingVMScannersConfiguration configuration for Microsoft Defender for Server VM scanning

func (DefenderCspmAwsOfferingVMScannersConfiguration) MarshalJSON

MarshalJSON is the custom marshaler for DefenderCspmAwsOfferingVMScannersConfiguration.

type DefenderCspmGcpOffering

type DefenderCspmGcpOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderCspmGcpOffering the CSPM P1 for GCP offering

func (DefenderCspmGcpOffering) AsBasicCloudOffering

func (dcgo DefenderCspmGcpOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsCloudOffering

func (dcgo DefenderCspmGcpOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsCspmMonitorAwsOffering

func (dcgo DefenderCspmGcpOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsCspmMonitorAzureDevOpsOffering

func (dcgo DefenderCspmGcpOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsCspmMonitorGcpOffering

func (dcgo DefenderCspmGcpOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsCspmMonitorGithubOffering

func (dcgo DefenderCspmGcpOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderCspmAwsOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderCspmGcpOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderFoDatabasesAwsOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForContainersAwsOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForContainersGcpOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForDatabasesGcpOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForDevOpsGithubOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForServersAwsOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsDefenderForServersGcpOffering

func (dcgo DefenderCspmGcpOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) AsInformationProtectionAwsOffering

func (dcgo DefenderCspmGcpOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderCspmGcpOffering.

func (DefenderCspmGcpOffering) MarshalJSON

func (dcgo DefenderCspmGcpOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderCspmGcpOffering.

type DefenderFoDatabasesAwsOffering

type DefenderFoDatabasesAwsOffering struct {
	// ArcAutoProvisioning - The ARC autoprovisioning configuration
	ArcAutoProvisioning *DefenderFoDatabasesAwsOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	// Rds - The RDS configuration
	Rds *DefenderFoDatabasesAwsOfferingRds `json:"rds,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderFoDatabasesAwsOffering the Defender for Databases AWS offering

func (DefenderFoDatabasesAwsOffering) AsBasicCloudOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsCloudOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsCspmMonitorAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsCspmMonitorGcpOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsCspmMonitorGithubOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderCspmAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderCspmGcpOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderFoDatabasesAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForContainersAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForContainersGcpOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForDatabasesGcpOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForDevOpsGithubOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForServersAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsDefenderForServersGcpOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) AsInformationProtectionAwsOffering

func (dfdao DefenderFoDatabasesAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderFoDatabasesAwsOffering.

func (DefenderFoDatabasesAwsOffering) MarshalJSON

func (dfdao DefenderFoDatabasesAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderFoDatabasesAwsOffering.

type DefenderFoDatabasesAwsOfferingArcAutoProvisioning

type DefenderFoDatabasesAwsOfferingArcAutoProvisioning struct {
	// Enabled - Is arc auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderFoDatabasesAwsOfferingArcAutoProvisioning the ARC autoprovisioning configuration

type DefenderFoDatabasesAwsOfferingRds

type DefenderFoDatabasesAwsOfferingRds struct {
	// Enabled - Is RDS protection enabled
	Enabled *bool `json:"enabled,omitempty"`
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderFoDatabasesAwsOfferingRds the RDS configuration

type DefenderForContainersAwsOffering

type DefenderForContainersAwsOffering struct {
	// KubernetesService - The kubernetes service connection configuration
	KubernetesService *DefenderForContainersAwsOfferingKubernetesService `json:"kubernetesService,omitempty"`
	// KubernetesScubaReader - The kubernetes to scuba connection configuration
	KubernetesScubaReader *DefenderForContainersAwsOfferingKubernetesScubaReader `json:"kubernetesScubaReader,omitempty"`
	// CloudWatchToKinesis - The cloudwatch to kinesis connection configuration
	CloudWatchToKinesis *DefenderForContainersAwsOfferingCloudWatchToKinesis `json:"cloudWatchToKinesis,omitempty"`
	// KinesisToS3 - The kinesis to s3 connection configuration
	KinesisToS3 *DefenderForContainersAwsOfferingKinesisToS3 `json:"kinesisToS3,omitempty"`
	// ContainerVulnerabilityAssessment - The container vulnerability assessment configuration
	ContainerVulnerabilityAssessment *DefenderForContainersAwsOfferingContainerVulnerabilityAssessment `json:"containerVulnerabilityAssessment,omitempty"`
	// ContainerVulnerabilityAssessmentTask - The container vulnerability assessment task configuration
	ContainerVulnerabilityAssessmentTask *DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask `json:"containerVulnerabilityAssessmentTask,omitempty"`
	// EnableContainerVulnerabilityAssessment - Enable container vulnerability assessment feature
	EnableContainerVulnerabilityAssessment *bool `json:"enableContainerVulnerabilityAssessment,omitempty"`
	// AutoProvisioning - Is audit logs pipeline auto provisioning enabled
	AutoProvisioning *bool `json:"autoProvisioning,omitempty"`
	// KubeAuditRetentionTime - The retention time in days of kube audit logs set on the CloudWatch log group
	KubeAuditRetentionTime *int64 `json:"kubeAuditRetentionTime,omitempty"`
	// ScubaExternalID - The externalId used by the data reader to prevent the confused deputy attack
	ScubaExternalID *string `json:"scubaExternalId,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForContainersAwsOffering the Defender for Containers AWS offering

func (DefenderForContainersAwsOffering) AsBasicCloudOffering

func (dfcao DefenderForContainersAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsCloudOffering

func (dfcao DefenderForContainersAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsCspmMonitorAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (dfcao DefenderForContainersAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsCspmMonitorGcpOffering

func (dfcao DefenderForContainersAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsCspmMonitorGithubOffering

func (dfcao DefenderForContainersAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderCspmAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderCspmGcpOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderFoDatabasesAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForContainersAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForContainersGcpOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForDatabasesGcpOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForDevOpsGithubOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForServersAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsDefenderForServersGcpOffering

func (dfcao DefenderForContainersAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) AsInformationProtectionAwsOffering

func (dfcao DefenderForContainersAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForContainersAwsOffering.

func (DefenderForContainersAwsOffering) MarshalJSON

func (dfcao DefenderForContainersAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForContainersAwsOffering.

type DefenderForContainersAwsOfferingCloudWatchToKinesis

type DefenderForContainersAwsOfferingCloudWatchToKinesis struct {
	// CloudRoleArn - The cloud role ARN in AWS used by CloudWatch to transfer data into Kinesis
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingCloudWatchToKinesis the cloudwatch to kinesis connection configuration

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessment

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessment struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingContainerVulnerabilityAssessment the container vulnerability assessment configuration

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask the container vulnerability assessment task configuration

type DefenderForContainersAwsOfferingKinesisToS3

type DefenderForContainersAwsOfferingKinesisToS3 struct {
	// CloudRoleArn - The cloud role ARN in AWS used by Kinesis to transfer data into S3
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingKinesisToS3 the kinesis to s3 connection configuration

type DefenderForContainersAwsOfferingKubernetesScubaReader

type DefenderForContainersAwsOfferingKubernetesScubaReader struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature used for reading data
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingKubernetesScubaReader the kubernetes to scuba connection configuration

type DefenderForContainersAwsOfferingKubernetesService

type DefenderForContainersAwsOfferingKubernetesService struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature used for provisioning resources
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForContainersAwsOfferingKubernetesService the kubernetes service connection configuration

type DefenderForContainersGcpOffering

type DefenderForContainersGcpOffering struct {
	// NativeCloudConnection - The native cloud connection configuration
	NativeCloudConnection *DefenderForContainersGcpOfferingNativeCloudConnection `json:"nativeCloudConnection,omitempty"`
	// DataPipelineNativeCloudConnection - The native cloud connection configuration
	DataPipelineNativeCloudConnection *DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection `json:"dataPipelineNativeCloudConnection,omitempty"`
	// AuditLogsAutoProvisioningFlag - Is audit logs data collection enabled
	AuditLogsAutoProvisioningFlag *bool `json:"auditLogsAutoProvisioningFlag,omitempty"`
	// DefenderAgentAutoProvisioningFlag - Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled
	DefenderAgentAutoProvisioningFlag *bool `json:"defenderAgentAutoProvisioningFlag,omitempty"`
	// PolicyAgentAutoProvisioningFlag - Is Policy Kubernetes agent auto provisioning enabled
	PolicyAgentAutoProvisioningFlag *bool `json:"policyAgentAutoProvisioningFlag,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForContainersGcpOffering the containers GCP offering

func (DefenderForContainersGcpOffering) AsBasicCloudOffering

func (dfcgo DefenderForContainersGcpOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsCloudOffering

func (dfcgo DefenderForContainersGcpOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsCspmMonitorAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsCspmMonitorAzureDevOpsOffering

func (dfcgo DefenderForContainersGcpOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsCspmMonitorGcpOffering

func (dfcgo DefenderForContainersGcpOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsCspmMonitorGithubOffering

func (dfcgo DefenderForContainersGcpOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderCspmAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderCspmGcpOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderFoDatabasesAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForContainersAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForContainersGcpOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForDatabasesGcpOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForDevOpsGithubOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForServersAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsDefenderForServersGcpOffering

func (dfcgo DefenderForContainersGcpOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) AsInformationProtectionAwsOffering

func (dfcgo DefenderForContainersGcpOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForContainersGcpOffering.

func (DefenderForContainersGcpOffering) MarshalJSON

func (dfcgo DefenderForContainersGcpOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForContainersGcpOffering.

type DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection

type DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection struct {
	// ServiceAccountEmailAddress - The data collection service account email address in GCP for this offering
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	// WorkloadIdentityProviderID - The data collection GCP workload identity provider id for this offering
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
}

DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection the native cloud connection configuration

type DefenderForContainersGcpOfferingNativeCloudConnection

type DefenderForContainersGcpOfferingNativeCloudConnection struct {
	// ServiceAccountEmailAddress - The service account email address in GCP for this offering
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	// WorkloadIdentityProviderID - The GCP workload identity provider id for this offering
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
}

DefenderForContainersGcpOfferingNativeCloudConnection the native cloud connection configuration

type DefenderForDatabasesGcpOffering

type DefenderForDatabasesGcpOffering struct {
	// ArcAutoProvisioning - The ARC autoprovisioning configuration
	ArcAutoProvisioning *DefenderForDatabasesGcpOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	// DefenderForDatabasesArcAutoProvisioning - The native cloud connection configuration
	DefenderForDatabasesArcAutoProvisioning *DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning `json:"defenderForDatabasesArcAutoProvisioning,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForDatabasesGcpOffering the Defender for Databases GCP offering configurations

func (DefenderForDatabasesGcpOffering) AsBasicCloudOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsCloudOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsCspmMonitorAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsCspmMonitorAzureDevOpsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsCspmMonitorGcpOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsCspmMonitorGithubOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderCspmAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderCspmGcpOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderFoDatabasesAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForContainersAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForContainersGcpOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForDatabasesGcpOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForDevOpsGithubOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForServersAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsDefenderForServersGcpOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) AsInformationProtectionAwsOffering

func (dfdgo DefenderForDatabasesGcpOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForDatabasesGcpOffering.

func (DefenderForDatabasesGcpOffering) MarshalJSON

func (dfdgo DefenderForDatabasesGcpOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForDatabasesGcpOffering.

type DefenderForDatabasesGcpOfferingArcAutoProvisioning

type DefenderForDatabasesGcpOfferingArcAutoProvisioning struct {
	// Enabled - Is arc auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
}

DefenderForDatabasesGcpOfferingArcAutoProvisioning the ARC autoprovisioning configuration

type DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning

type DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning struct {
	// ServiceAccountEmailAddress - The service account email address in GCP for this offering
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	// WorkloadIdentityProviderID - The GCP workload identity provider id for this offering
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
}

DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning the native cloud connection configuration

type DefenderForDevOpsAzureDevOpsOffering

type DefenderForDevOpsAzureDevOpsOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForDevOpsAzureDevOpsOffering the Defender for DevOps for Azure DevOps offering

func (DefenderForDevOpsAzureDevOpsOffering) AsBasicCloudOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsCloudOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorAzureDevOpsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorGcpOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorGithubOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderCspmAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderCspmGcpOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderFoDatabasesAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForContainersAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForContainersGcpOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDatabasesGcpOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDevOpsGithubOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForServersAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsDefenderForServersGcpOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) AsInformationProtectionAwsOffering

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsAzureDevOpsOffering.

func (DefenderForDevOpsAzureDevOpsOffering) MarshalJSON

func (dfdoadoo DefenderForDevOpsAzureDevOpsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForDevOpsAzureDevOpsOffering.

type DefenderForDevOpsGithubOffering

type DefenderForDevOpsGithubOffering struct {
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForDevOpsGithubOffering the Defender for DevOps for Github offering

func (DefenderForDevOpsGithubOffering) AsBasicCloudOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsCloudOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsCspmMonitorAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsCspmMonitorAzureDevOpsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsCspmMonitorGcpOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsCspmMonitorGithubOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderCspmAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderCspmGcpOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderFoDatabasesAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForContainersAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForContainersGcpOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForDatabasesGcpOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForDevOpsGithubOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForServersAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsDefenderForServersGcpOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) AsInformationProtectionAwsOffering

func (dfdogo DefenderForDevOpsGithubOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForDevOpsGithubOffering.

func (DefenderForDevOpsGithubOffering) MarshalJSON

func (dfdogo DefenderForDevOpsGithubOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForDevOpsGithubOffering.

type DefenderForServersAwsOffering

type DefenderForServersAwsOffering struct {
	// DefenderForServers - The Defender for servers connection configuration
	DefenderForServers *DefenderForServersAwsOfferingDefenderForServers `json:"defenderForServers,omitempty"`
	// ArcAutoProvisioning - The ARC autoprovisioning configuration
	ArcAutoProvisioning *DefenderForServersAwsOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	// VaAutoProvisioning - The Vulnerability Assessment autoprovisioning configuration
	VaAutoProvisioning *DefenderForServersAwsOfferingVaAutoProvisioning `json:"vaAutoProvisioning,omitempty"`
	// MdeAutoProvisioning - The Microsoft Defender for Endpoint autoprovisioning configuration
	MdeAutoProvisioning *DefenderForServersAwsOfferingMdeAutoProvisioning `json:"mdeAutoProvisioning,omitempty"`
	// SubPlan - configuration for the servers offering subPlan
	SubPlan *DefenderForServersAwsOfferingSubPlan `json:"subPlan,omitempty"`
	// VMScanners - The Microsoft Defender for Server VM scanning configuration
	VMScanners *DefenderForServersAwsOfferingVMScanners `json:"vmScanners,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForServersAwsOffering the Defender for Servers AWS offering

func (DefenderForServersAwsOffering) AsBasicCloudOffering

func (dfsao DefenderForServersAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsCloudOffering

func (dfsao DefenderForServersAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsCspmMonitorAwsOffering

func (dfsao DefenderForServersAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (dfsao DefenderForServersAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsCspmMonitorGcpOffering

func (dfsao DefenderForServersAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsCspmMonitorGithubOffering

func (dfsao DefenderForServersAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderCspmAwsOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderCspmGcpOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderFoDatabasesAwsOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForContainersAwsOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForContainersGcpOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForDatabasesGcpOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForDevOpsGithubOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForServersAwsOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsDefenderForServersGcpOffering

func (dfsao DefenderForServersAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) AsInformationProtectionAwsOffering

func (dfsao DefenderForServersAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForServersAwsOffering.

func (DefenderForServersAwsOffering) MarshalJSON

func (dfsao DefenderForServersAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForServersAwsOffering.

type DefenderForServersAwsOfferingArcAutoProvisioning

type DefenderForServersAwsOfferingArcAutoProvisioning struct {
	// Enabled - Is arc auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForServersAwsOfferingArcAutoProvisioning the ARC autoprovisioning configuration

type DefenderForServersAwsOfferingDefenderForServers

type DefenderForServersAwsOfferingDefenderForServers struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

DefenderForServersAwsOfferingDefenderForServers the Defender for servers connection configuration

type DefenderForServersAwsOfferingMdeAutoProvisioning

type DefenderForServersAwsOfferingMdeAutoProvisioning struct {
	// Enabled - Is Microsoft Defender for Endpoint auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Microsoft Defender for Endpoint autoprovisioning
	Configuration interface{} `json:"configuration,omitempty"`
}

DefenderForServersAwsOfferingMdeAutoProvisioning the Microsoft Defender for Endpoint autoprovisioning configuration

type DefenderForServersAwsOfferingSubPlan

type DefenderForServersAwsOfferingSubPlan struct {
	// Type - The available sub plans. Possible values include: 'P1', 'P2'
	Type SubPlan `json:"type,omitempty"`
}

DefenderForServersAwsOfferingSubPlan configuration for the servers offering subPlan

type DefenderForServersAwsOfferingVMScanners

type DefenderForServersAwsOfferingVMScanners struct {
	// Enabled - Is Microsoft Defender for Server VM scanning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Microsoft Defender for Server VM scanning
	Configuration *DefenderForServersAwsOfferingVMScannersConfiguration `json:"configuration,omitempty"`
}

DefenderForServersAwsOfferingVMScanners the Microsoft Defender for Server VM scanning configuration

type DefenderForServersAwsOfferingVMScannersConfiguration

type DefenderForServersAwsOfferingVMScannersConfiguration struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	// ScanningMode - The scanning mode for the vm scan. Possible values include: 'Default'
	ScanningMode ScanningMode `json:"scanningMode,omitempty"`
	// ExclusionTags - VM tags that indicates that VM should not be scanned
	ExclusionTags map[string]*string `json:"exclusionTags"`
}

DefenderForServersAwsOfferingVMScannersConfiguration configuration for Microsoft Defender for Server VM scanning

func (DefenderForServersAwsOfferingVMScannersConfiguration) MarshalJSON

MarshalJSON is the custom marshaler for DefenderForServersAwsOfferingVMScannersConfiguration.

type DefenderForServersAwsOfferingVaAutoProvisioning

type DefenderForServersAwsOfferingVaAutoProvisioning struct {
	// Enabled - Is Vulnerability Assessment auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Vulnerability Assessment autoprovisioning
	Configuration *DefenderForServersAwsOfferingVaAutoProvisioningConfiguration `json:"configuration,omitempty"`
}

DefenderForServersAwsOfferingVaAutoProvisioning the Vulnerability Assessment autoprovisioning configuration

type DefenderForServersAwsOfferingVaAutoProvisioningConfiguration

type DefenderForServersAwsOfferingVaAutoProvisioningConfiguration struct {
	// Type - The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'. Possible values include: 'Qualys', 'TVM'
	Type Type `json:"type,omitempty"`
}

DefenderForServersAwsOfferingVaAutoProvisioningConfiguration configuration for Vulnerability Assessment autoprovisioning

type DefenderForServersGcpOffering

type DefenderForServersGcpOffering struct {
	// DefenderForServers - The Defender for servers connection configuration
	DefenderForServers *DefenderForServersGcpOfferingDefenderForServers `json:"defenderForServers,omitempty"`
	// ArcAutoProvisioning - The ARC autoprovisioning configuration
	ArcAutoProvisioning *DefenderForServersGcpOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	// VaAutoProvisioning - The Vulnerability Assessment autoprovisioning configuration
	VaAutoProvisioning *DefenderForServersGcpOfferingVaAutoProvisioning `json:"vaAutoProvisioning,omitempty"`
	// MdeAutoProvisioning - The Microsoft Defender for Endpoint autoprovisioning configuration
	MdeAutoProvisioning *DefenderForServersGcpOfferingMdeAutoProvisioning `json:"mdeAutoProvisioning,omitempty"`
	// SubPlan - configuration for the servers offering subPlan
	SubPlan *DefenderForServersGcpOfferingSubPlan `json:"subPlan,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

DefenderForServersGcpOffering the Defender for Servers GCP offering configurations

func (DefenderForServersGcpOffering) AsBasicCloudOffering

func (dfsgo DefenderForServersGcpOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsCloudOffering

func (dfsgo DefenderForServersGcpOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsCspmMonitorAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsCspmMonitorAzureDevOpsOffering

func (dfsgo DefenderForServersGcpOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsCspmMonitorGcpOffering

func (dfsgo DefenderForServersGcpOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsCspmMonitorGithubOffering

func (dfsgo DefenderForServersGcpOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderCspmAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderCspmGcpOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderFoDatabasesAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForContainersAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForContainersGcpOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForDatabasesGcpOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForDevOpsGithubOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForServersAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsDefenderForServersGcpOffering

func (dfsgo DefenderForServersGcpOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) AsInformationProtectionAwsOffering

func (dfsgo DefenderForServersGcpOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for DefenderForServersGcpOffering.

func (DefenderForServersGcpOffering) MarshalJSON

func (dfsgo DefenderForServersGcpOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefenderForServersGcpOffering.

type DefenderForServersGcpOfferingArcAutoProvisioning

type DefenderForServersGcpOfferingArcAutoProvisioning struct {
	// Enabled - Is arc auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
}

DefenderForServersGcpOfferingArcAutoProvisioning the ARC autoprovisioning configuration

type DefenderForServersGcpOfferingDefenderForServers

type DefenderForServersGcpOfferingDefenderForServers struct {
	// WorkloadIdentityProviderID - The workload identity provider id in GCP for this feature
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
	// ServiceAccountEmailAddress - The service account email address in GCP for this feature
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
}

DefenderForServersGcpOfferingDefenderForServers the Defender for servers connection configuration

type DefenderForServersGcpOfferingMdeAutoProvisioning

type DefenderForServersGcpOfferingMdeAutoProvisioning struct {
	// Enabled - Is Microsoft Defender for Endpoint auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Microsoft Defender for Endpoint autoprovisioning
	Configuration interface{} `json:"configuration,omitempty"`
}

DefenderForServersGcpOfferingMdeAutoProvisioning the Microsoft Defender for Endpoint autoprovisioning configuration

type DefenderForServersGcpOfferingSubPlan

type DefenderForServersGcpOfferingSubPlan struct {
	// Type - The available sub plans. Possible values include: 'P1', 'P2'
	Type SubPlan `json:"type,omitempty"`
}

DefenderForServersGcpOfferingSubPlan configuration for the servers offering subPlan

type DefenderForServersGcpOfferingVaAutoProvisioning

type DefenderForServersGcpOfferingVaAutoProvisioning struct {
	// Enabled - Is Vulnerability Assessment auto provisioning enabled
	Enabled *bool `json:"enabled,omitempty"`
	// Configuration - configuration for Vulnerability Assessment autoprovisioning
	Configuration *DefenderForServersGcpOfferingVaAutoProvisioningConfiguration `json:"configuration,omitempty"`
}

DefenderForServersGcpOfferingVaAutoProvisioning the Vulnerability Assessment autoprovisioning configuration

type DefenderForServersGcpOfferingVaAutoProvisioningConfiguration

type DefenderForServersGcpOfferingVaAutoProvisioningConfiguration struct {
	// Type - The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'. Possible values include: 'Qualys', 'TVM'
	Type Type `json:"type,omitempty"`
}

DefenderForServersGcpOfferingVaAutoProvisioningConfiguration configuration for Vulnerability Assessment autoprovisioning

type DenylistCustomAlertRule

type DenylistCustomAlertRule struct {
	// DenylistValues - The values to deny. The format of the values depends on the rule type.
	DenylistValues *[]string `json:"denylistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

DenylistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is denied.

func (DenylistCustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsAllowlistCustomAlertRule

func (dcar DenylistCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsBasicAllowlistCustomAlertRule

func (dcar DenylistCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsBasicCustomAlertRule

func (dcar DenylistCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsBasicListCustomAlertRule

func (dcar DenylistCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsBasicThresholdCustomAlertRule

func (dcar DenylistCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (dcar DenylistCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsConnectionFromIPNotAllowed

func (dcar DenylistCustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsConnectionToIPNotAllowed

func (dcar DenylistCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsCustomAlertRule

func (dcar DenylistCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsDenylistCustomAlertRule

func (dcar DenylistCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsFileUploadsNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsListCustomAlertRule

func (dcar DenylistCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsLocalUserNotAllowed

func (dcar DenylistCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsProcessNotAllowed

func (dcar DenylistCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsQueuePurgesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsThresholdCustomAlertRule

func (dcar DenylistCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsTimeWindowCustomAlertRule

func (dcar DenylistCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (dcar DenylistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for DenylistCustomAlertRule.

func (DenylistCustomAlertRule) MarshalJSON

func (dcar DenylistCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DenylistCustomAlertRule.

type DeviceSecurityGroup

type DeviceSecurityGroup struct {
	autorest.Response `json:"-"`
	// DeviceSecurityGroupProperties - Device Security group data
	*DeviceSecurityGroupProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

DeviceSecurityGroup the device security group resource

func (DeviceSecurityGroup) MarshalJSON

func (dsg DeviceSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceSecurityGroup.

func (*DeviceSecurityGroup) UnmarshalJSON

func (dsg *DeviceSecurityGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeviceSecurityGroup struct.

type DeviceSecurityGroupList

type DeviceSecurityGroupList struct {
	autorest.Response `json:"-"`
	// Value - List of device security group objects
	Value *[]DeviceSecurityGroup `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

DeviceSecurityGroupList list of device security groups

func (DeviceSecurityGroupList) IsEmpty

func (dsgl DeviceSecurityGroupList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DeviceSecurityGroupList) MarshalJSON

func (dsgl DeviceSecurityGroupList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceSecurityGroupList.

type DeviceSecurityGroupListIterator

type DeviceSecurityGroupListIterator struct {
	// contains filtered or unexported fields
}

DeviceSecurityGroupListIterator provides access to a complete listing of DeviceSecurityGroup values.

func NewDeviceSecurityGroupListIterator

func NewDeviceSecurityGroupListIterator(page DeviceSecurityGroupListPage) DeviceSecurityGroupListIterator

Creates a new instance of the DeviceSecurityGroupListIterator type.

func (*DeviceSecurityGroupListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceSecurityGroupListIterator) NextWithContext

func (iter *DeviceSecurityGroupListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DeviceSecurityGroupListIterator) NotDone

func (iter DeviceSecurityGroupListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DeviceSecurityGroupListIterator) Response

Response returns the raw server response from the last page request.

func (DeviceSecurityGroupListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DeviceSecurityGroupListPage

type DeviceSecurityGroupListPage struct {
	// contains filtered or unexported fields
}

DeviceSecurityGroupListPage contains a page of DeviceSecurityGroup values.

func NewDeviceSecurityGroupListPage

Creates a new instance of the DeviceSecurityGroupListPage type.

func (*DeviceSecurityGroupListPage) Next

func (page *DeviceSecurityGroupListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceSecurityGroupListPage) NextWithContext

func (page *DeviceSecurityGroupListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DeviceSecurityGroupListPage) NotDone

func (page DeviceSecurityGroupListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DeviceSecurityGroupListPage) Response

Response returns the raw server response from the last page request.

func (DeviceSecurityGroupListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DeviceSecurityGroupProperties

type DeviceSecurityGroupProperties struct {
	// ThresholdRules - The list of custom alert threshold rules.
	ThresholdRules *[]BasicThresholdCustomAlertRule `json:"thresholdRules,omitempty"`
	// TimeWindowRules - The list of custom alert time-window rules.
	TimeWindowRules *[]BasicTimeWindowCustomAlertRule `json:"timeWindowRules,omitempty"`
	// AllowlistRules - The allow-list custom alert rules.
	AllowlistRules *[]BasicAllowlistCustomAlertRule `json:"allowlistRules,omitempty"`
	// DenylistRules - The deny-list custom alert rules.
	DenylistRules *[]DenylistCustomAlertRule `json:"denylistRules,omitempty"`
}

DeviceSecurityGroupProperties describes properties of a security group.

func (*DeviceSecurityGroupProperties) UnmarshalJSON

func (dsgp *DeviceSecurityGroupProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeviceSecurityGroupProperties struct.

type DeviceSecurityGroupsClient

type DeviceSecurityGroupsClient struct {
	BaseClient
}

DeviceSecurityGroupsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewDeviceSecurityGroupsClient

func NewDeviceSecurityGroupsClient(subscriptionID string) DeviceSecurityGroupsClient

NewDeviceSecurityGroupsClient creates an instance of the DeviceSecurityGroupsClient client.

func NewDeviceSecurityGroupsClientWithBaseURI

func NewDeviceSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) DeviceSecurityGroupsClient

NewDeviceSecurityGroupsClientWithBaseURI creates an instance of the DeviceSecurityGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DeviceSecurityGroupsClient) CreateOrUpdate

func (client DeviceSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceID string, deviceSecurityGroupName string, deviceSecurityGroup DeviceSecurityGroup) (result DeviceSecurityGroup, err error)

CreateOrUpdate use this method to creates or updates the device security group on a specified IoT Hub resource. Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the device security group. Note that the name of the device security group is case insensitive. deviceSecurityGroup - security group object.

func (DeviceSecurityGroupsClient) CreateOrUpdatePreparer

func (client DeviceSecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string, deviceSecurityGroup DeviceSecurityGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DeviceSecurityGroupsClient) CreateOrUpdateResponder

func (client DeviceSecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DeviceSecurityGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DeviceSecurityGroupsClient) CreateOrUpdateSender

func (client DeviceSecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DeviceSecurityGroupsClient) Delete

func (client DeviceSecurityGroupsClient) Delete(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result autorest.Response, err error)

Delete user this method to deletes the device security group. Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the device security group. Note that the name of the device security group is case insensitive.

func (DeviceSecurityGroupsClient) DeletePreparer

func (client DeviceSecurityGroupsClient) DeletePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DeviceSecurityGroupsClient) DeleteResponder

func (client DeviceSecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DeviceSecurityGroupsClient) DeleteSender

func (client DeviceSecurityGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DeviceSecurityGroupsClient) Get

func (client DeviceSecurityGroupsClient) Get(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result DeviceSecurityGroup, err error)

Get use this method to get the device security group for the specified IoT Hub resource. Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the device security group. Note that the name of the device security group is case insensitive.

func (DeviceSecurityGroupsClient) GetPreparer

func (client DeviceSecurityGroupsClient) GetPreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeviceSecurityGroupsClient) GetResponder

func (client DeviceSecurityGroupsClient) GetResponder(resp *http.Response) (result DeviceSecurityGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeviceSecurityGroupsClient) GetSender

func (client DeviceSecurityGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DeviceSecurityGroupsClient) List

func (client DeviceSecurityGroupsClient) List(ctx context.Context, resourceID string) (result DeviceSecurityGroupListPage, err error)

List use this method get the list of device security groups for the specified IoT Hub resource. Parameters: resourceID - the identifier of the resource.

func (DeviceSecurityGroupsClient) ListComplete

func (client DeviceSecurityGroupsClient) ListComplete(ctx context.Context, resourceID string) (result DeviceSecurityGroupListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DeviceSecurityGroupsClient) ListPreparer

func (client DeviceSecurityGroupsClient) ListPreparer(ctx context.Context, resourceID string) (*http.Request, error)

ListPreparer prepares the List request.

func (DeviceSecurityGroupsClient) ListResponder

func (client DeviceSecurityGroupsClient) ListResponder(resp *http.Response) (result DeviceSecurityGroupList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DeviceSecurityGroupsClient) ListSender

func (client DeviceSecurityGroupsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DirectMethodInvokesNotInAllowedRange

type DirectMethodInvokesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

DirectMethodInvokesNotInAllowedRange number of direct method invokes is not in allowed range.

func (DirectMethodInvokesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsAllowlistCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsBasicCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsBasicListCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (dminiar DirectMethodInvokesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsConnectionToIPNotAllowed

func (dminiar DirectMethodInvokesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsDenylistCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsListCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsLocalUserNotAllowed

func (dminiar DirectMethodInvokesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsProcessNotAllowed

func (dminiar DirectMethodInvokesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsThresholdCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (dminiar DirectMethodInvokesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (dminiar DirectMethodInvokesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for DirectMethodInvokesNotInAllowedRange.

func (DirectMethodInvokesNotInAllowedRange) MarshalJSON

func (dminiar DirectMethodInvokesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DirectMethodInvokesNotInAllowedRange.

type Direction

type Direction string

Direction enumerates the values for direction.

const (
	// Inbound ...
	Inbound Direction = "Inbound"
	// Outbound ...
	Outbound Direction = "Outbound"
)

func PossibleDirectionValues

func PossibleDirectionValues() []Direction

PossibleDirectionValues returns an array of possible values for the Direction const type.

type DiscoveredSecuritySolution

type DiscoveredSecuritySolution struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location                              *string `json:"location,omitempty"`
	*DiscoveredSecuritySolutionProperties `json:"properties,omitempty"`
}

DiscoveredSecuritySolution ...

func (DiscoveredSecuritySolution) MarshalJSON

func (dss DiscoveredSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiscoveredSecuritySolution.

func (*DiscoveredSecuritySolution) UnmarshalJSON

func (dss *DiscoveredSecuritySolution) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiscoveredSecuritySolution struct.

type DiscoveredSecuritySolutionList

type DiscoveredSecuritySolutionList struct {
	autorest.Response `json:"-"`
	Value             *[]DiscoveredSecuritySolution `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

DiscoveredSecuritySolutionList ...

func (DiscoveredSecuritySolutionList) IsEmpty

func (dssl DiscoveredSecuritySolutionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DiscoveredSecuritySolutionList) MarshalJSON

func (dssl DiscoveredSecuritySolutionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiscoveredSecuritySolutionList.

type DiscoveredSecuritySolutionListIterator

type DiscoveredSecuritySolutionListIterator struct {
	// contains filtered or unexported fields
}

DiscoveredSecuritySolutionListIterator provides access to a complete listing of DiscoveredSecuritySolution values.

func NewDiscoveredSecuritySolutionListIterator

func NewDiscoveredSecuritySolutionListIterator(page DiscoveredSecuritySolutionListPage) DiscoveredSecuritySolutionListIterator

Creates a new instance of the DiscoveredSecuritySolutionListIterator type.

func (*DiscoveredSecuritySolutionListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiscoveredSecuritySolutionListIterator) NextWithContext

func (iter *DiscoveredSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiscoveredSecuritySolutionListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiscoveredSecuritySolutionListIterator) Response

Response returns the raw server response from the last page request.

func (DiscoveredSecuritySolutionListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiscoveredSecuritySolutionListPage

type DiscoveredSecuritySolutionListPage struct {
	// contains filtered or unexported fields
}

DiscoveredSecuritySolutionListPage contains a page of DiscoveredSecuritySolution values.

func NewDiscoveredSecuritySolutionListPage

Creates a new instance of the DiscoveredSecuritySolutionListPage type.

func (*DiscoveredSecuritySolutionListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiscoveredSecuritySolutionListPage) NextWithContext

func (page *DiscoveredSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiscoveredSecuritySolutionListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiscoveredSecuritySolutionListPage) Response

Response returns the raw server response from the last page request.

func (DiscoveredSecuritySolutionListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DiscoveredSecuritySolutionProperties

type DiscoveredSecuritySolutionProperties struct {
	// SecurityFamily - The security family of the discovered solution. Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va'
	SecurityFamily Family `json:"securityFamily,omitempty"`
	// Offer - The security solutions' image offer
	Offer *string `json:"offer,omitempty"`
	// Publisher - The security solutions' image publisher
	Publisher *string `json:"publisher,omitempty"`
	// Sku - The security solutions' image sku
	Sku *string `json:"sku,omitempty"`
}

DiscoveredSecuritySolutionProperties ...

type DiscoveredSecuritySolutionsClient

type DiscoveredSecuritySolutionsClient struct {
	BaseClient
}

DiscoveredSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewDiscoveredSecuritySolutionsClient

func NewDiscoveredSecuritySolutionsClient(subscriptionID string) DiscoveredSecuritySolutionsClient

NewDiscoveredSecuritySolutionsClient creates an instance of the DiscoveredSecuritySolutionsClient client.

func NewDiscoveredSecuritySolutionsClientWithBaseURI

func NewDiscoveredSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string) DiscoveredSecuritySolutionsClient

NewDiscoveredSecuritySolutionsClientWithBaseURI creates an instance of the DiscoveredSecuritySolutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiscoveredSecuritySolutionsClient) Get

func (client DiscoveredSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, discoveredSecuritySolutionName string) (result DiscoveredSecuritySolution, err error)

Get gets a specific discovered Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations discoveredSecuritySolutionName - name of a discovered security solution.

func (DiscoveredSecuritySolutionsClient) GetPreparer

func (client DiscoveredSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, discoveredSecuritySolutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiscoveredSecuritySolutionsClient) GetResponder

func (client DiscoveredSecuritySolutionsClient) GetResponder(resp *http.Response) (result DiscoveredSecuritySolution, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) GetSender

func (client DiscoveredSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiscoveredSecuritySolutionsClient) List

List gets a list of discovered Security Solutions for the subscription.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegion

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegion(ctx context.Context, ascLocation string) (result DiscoveredSecuritySolutionListPage, err error)

ListByHomeRegion gets a list of discovered Security Solutions for the subscription and location. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context, ascLocation string) (result DiscoveredSecuritySolutionListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionSender

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (DiscoveredSecuritySolutionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DiscoveredSecuritySolutionsClient) ListPreparer

func (client DiscoveredSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DiscoveredSecuritySolutionsClient) ListResponder

func (client DiscoveredSecuritySolutionsClient) ListResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) ListSender

func (client DiscoveredSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ETag

type ETag struct {
	// Etag - Entity tag is used for comparing two or more entities from the same requested resource.
	Etag *string `json:"etag,omitempty"`
}

ETag entity tag is used for comparing two or more entities from the same requested resource.

type EffectiveNetworkSecurityGroups

type EffectiveNetworkSecurityGroups struct {
	// NetworkInterface - The Azure resource ID of the network interface
	NetworkInterface *string `json:"networkInterface,omitempty"`
	// NetworkSecurityGroups - The Network Security Groups effective on the network interface
	NetworkSecurityGroups *[]string `json:"networkSecurityGroups,omitempty"`
}

EffectiveNetworkSecurityGroups describes the Network Security Groups effective on a network interface

type EndOfSupportStatus

type EndOfSupportStatus string

EndOfSupportStatus enumerates the values for end of support status.

const (
	// NoLongerSupported ...
	NoLongerSupported EndOfSupportStatus = "noLongerSupported"
	// None ...
	None EndOfSupportStatus = "None"
	// UpcomingNoLongerSupported ...
	UpcomingNoLongerSupported EndOfSupportStatus = "upcomingNoLongerSupported"
	// UpcomingVersionNoLongerSupported ...
	UpcomingVersionNoLongerSupported EndOfSupportStatus = "upcomingVersionNoLongerSupported"
	// VersionNoLongerSupported ...
	VersionNoLongerSupported EndOfSupportStatus = "versionNoLongerSupported"
)

func PossibleEndOfSupportStatusValues

func PossibleEndOfSupportStatusValues() []EndOfSupportStatus

PossibleEndOfSupportStatusValues returns an array of possible values for the EndOfSupportStatus const type.

type EnforcementMode

type EnforcementMode string

EnforcementMode enumerates the values for enforcement mode.

const (
	// EnforcementModeAudit ...
	EnforcementModeAudit EnforcementMode = "Audit"
	// EnforcementModeEnforce ...
	EnforcementModeEnforce EnforcementMode = "Enforce"
	// EnforcementModeNone ...
	EnforcementModeNone EnforcementMode = "None"
)

func PossibleEnforcementModeValues

func PossibleEnforcementModeValues() []EnforcementMode

PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type.

type EnforcementSupport

type EnforcementSupport string

EnforcementSupport enumerates the values for enforcement support.

const (
	// NotSupported ...
	NotSupported EnforcementSupport = "NotSupported"
	// Supported ...
	Supported EnforcementSupport = "Supported"
	// Unknown ...
	Unknown EnforcementSupport = "Unknown"
)

func PossibleEnforcementSupportValues

func PossibleEnforcementSupportValues() []EnforcementSupport

PossibleEnforcementSupportValues returns an array of possible values for the EnforcementSupport const type.

type EnvironmentData

type EnvironmentData struct {
	// EnvironmentType - Possible values include: 'EnvironmentTypeEnvironmentData', 'EnvironmentTypeAwsAccount', 'EnvironmentTypeGcpProject', 'EnvironmentTypeGithubScope', 'EnvironmentTypeAzureDevOpsScope'
	EnvironmentType EnvironmentType `json:"environmentType,omitempty"`
}

EnvironmentData the security connector environment data.

func (EnvironmentData) AsAwsEnvironmentData

func (ed EnvironmentData) AsAwsEnvironmentData() (*AwsEnvironmentData, bool)

AsAwsEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) AsAzureDevOpsScopeEnvironmentData

func (ed EnvironmentData) AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)

AsAzureDevOpsScopeEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) AsBasicEnvironmentData

func (ed EnvironmentData) AsBasicEnvironmentData() (BasicEnvironmentData, bool)

AsBasicEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) AsEnvironmentData

func (ed EnvironmentData) AsEnvironmentData() (*EnvironmentData, bool)

AsEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) AsGcpProjectEnvironmentData

func (ed EnvironmentData) AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)

AsGcpProjectEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) AsGithubScopeEnvironmentData

func (ed EnvironmentData) AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)

AsGithubScopeEnvironmentData is the BasicEnvironmentData implementation for EnvironmentData.

func (EnvironmentData) MarshalJSON

func (ed EnvironmentData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentData.

type EnvironmentType

type EnvironmentType string

EnvironmentType enumerates the values for environment type.

const (
	// EnvironmentTypeAwsAccount ...
	EnvironmentTypeAwsAccount EnvironmentType = "AwsAccount"
	// EnvironmentTypeAzureDevOpsScope ...
	EnvironmentTypeAzureDevOpsScope EnvironmentType = "AzureDevOpsScope"
	// EnvironmentTypeEnvironmentData ...
	EnvironmentTypeEnvironmentData EnvironmentType = "EnvironmentData"
	// EnvironmentTypeGcpProject ...
	EnvironmentTypeGcpProject EnvironmentType = "GcpProject"
	// EnvironmentTypeGithubScope ...
	EnvironmentTypeGithubScope EnvironmentType = "GithubScope"
)

func PossibleEnvironmentTypeValues

func PossibleEnvironmentTypeValues() []EnvironmentType

PossibleEnvironmentTypeValues returns an array of possible values for the EnvironmentType const type.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type EventSource

type EventSource string

EventSource enumerates the values for event source.

const (
	// EventSourceAlerts ...
	EventSourceAlerts EventSource = "Alerts"
	// EventSourceAssessments ...
	EventSourceAssessments EventSource = "Assessments"
	// EventSourceAssessmentsSnapshot ...
	EventSourceAssessmentsSnapshot EventSource = "AssessmentsSnapshot"
	// EventSourceRegulatoryComplianceAssessment ...
	EventSourceRegulatoryComplianceAssessment EventSource = "RegulatoryComplianceAssessment"
	// EventSourceRegulatoryComplianceAssessmentSnapshot ...
	EventSourceRegulatoryComplianceAssessmentSnapshot EventSource = "RegulatoryComplianceAssessmentSnapshot"
	// EventSourceSecureScoreControls ...
	EventSourceSecureScoreControls EventSource = "SecureScoreControls"
	// EventSourceSecureScoreControlsSnapshot ...
	EventSourceSecureScoreControlsSnapshot EventSource = "SecureScoreControlsSnapshot"
	// EventSourceSecureScores ...
	EventSourceSecureScores EventSource = "SecureScores"
	// EventSourceSecureScoresSnapshot ...
	EventSourceSecureScoresSnapshot EventSource = "SecureScoresSnapshot"
	// EventSourceSubAssessments ...
	EventSourceSubAssessments EventSource = "SubAssessments"
	// EventSourceSubAssessmentsSnapshot ...
	EventSourceSubAssessmentsSnapshot EventSource = "SubAssessmentsSnapshot"
)

func PossibleEventSourceValues

func PossibleEventSourceValues() []EventSource

PossibleEventSourceValues returns an array of possible values for the EventSource const type.

type Exe

type Exe string

Exe enumerates the values for exe.

const (
	// ExeAudit ...
	ExeAudit Exe = "Audit"
	// ExeEnforce ...
	ExeEnforce Exe = "Enforce"
	// ExeNone ...
	ExeNone Exe = "None"
)

func PossibleExeValues

func PossibleExeValues() []Exe

PossibleExeValues returns an array of possible values for the Exe const type.

type Executable

type Executable string

Executable enumerates the values for executable.

const (
	// ExecutableAudit ...
	ExecutableAudit Executable = "Audit"
	// ExecutableEnforce ...
	ExecutableEnforce Executable = "Enforce"
	// ExecutableNone ...
	ExecutableNone Executable = "None"
)

func PossibleExecutableValues

func PossibleExecutableValues() []Executable

PossibleExecutableValues returns an array of possible values for the Executable const type.

type ExecuteGovernanceRuleParams

type ExecuteGovernanceRuleParams struct {
	// Override - Describe if governance rule should be override
	Override *bool `json:"override,omitempty"`
}

ExecuteGovernanceRuleParams governance rule execution parameters

type ExecuteRuleStatus

type ExecuteRuleStatus struct {
	autorest.Response `json:"-"`
	// OperationID - READ-ONLY; Unique key for the execution of GovernanceRule
	OperationID *string `json:"operationId,omitempty"`
}

ExecuteRuleStatus execute status of Security GovernanceRule over a given scope

func (ExecuteRuleStatus) MarshalJSON

func (ers ExecuteRuleStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExecuteRuleStatus.

type ExpandControlsEnum

type ExpandControlsEnum string

ExpandControlsEnum enumerates the values for expand controls enum.

const (
	// Definition Add definition object for each control
	Definition ExpandControlsEnum = "definition"
)

func PossibleExpandControlsEnumValues

func PossibleExpandControlsEnumValues() []ExpandControlsEnum

PossibleExpandControlsEnumValues returns an array of possible values for the ExpandControlsEnum const type.

type ExpandEnum

type ExpandEnum string

ExpandEnum enumerates the values for expand enum.

const (
	// Links All links associated with an assessment
	Links ExpandEnum = "links"
	// Metadata Assessment metadata
	Metadata ExpandEnum = "metadata"
)

func PossibleExpandEnumValues

func PossibleExpandEnumValues() []ExpandEnum

PossibleExpandEnumValues returns an array of possible values for the ExpandEnum const type.

type ExportData

type ExportData string

ExportData enumerates the values for export data.

const (
	// ExportDataRawEvents Agent raw events
	ExportDataRawEvents ExportData = "RawEvents"
)

func PossibleExportDataValues

func PossibleExportDataValues() []ExportData

PossibleExportDataValues returns an array of possible values for the ExportData const type.

type ExternalSecuritySolution

type ExternalSecuritySolution struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
	Kind KindEnum `json:"kind,omitempty"`
}

ExternalSecuritySolution represents a security solution external to Microsoft Defender for Cloud which sends information to an OMS workspace and whose data is displayed by Microsoft Defender for Cloud.

func (ExternalSecuritySolution) AsAadExternalSecuritySolution

func (ess ExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsAtaExternalSecuritySolution

func (ess ExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsBasicExternalSecuritySolution

func (ess ExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsCefExternalSecuritySolution

func (ess ExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsExternalSecuritySolution

func (ess ExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) MarshalJSON

func (ess ExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExternalSecuritySolution.

type ExternalSecuritySolutionKind

type ExternalSecuritySolutionKind string

ExternalSecuritySolutionKind enumerates the values for external security solution kind.

const (
	// AAD ...
	AAD ExternalSecuritySolutionKind = "AAD"
	// ATA ...
	ATA ExternalSecuritySolutionKind = "ATA"
	// CEF ...
	CEF ExternalSecuritySolutionKind = "CEF"
)

func PossibleExternalSecuritySolutionKindValues

func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind

PossibleExternalSecuritySolutionKindValues returns an array of possible values for the ExternalSecuritySolutionKind const type.

type ExternalSecuritySolutionKind1

type ExternalSecuritySolutionKind1 struct {
	// Kind - The kind of the external solution. Possible values include: 'CEF', 'ATA', 'AAD'
	Kind ExternalSecuritySolutionKind `json:"kind,omitempty"`
}

ExternalSecuritySolutionKind1 describes an Azure resource with kind

type ExternalSecuritySolutionList

type ExternalSecuritySolutionList struct {
	autorest.Response `json:"-"`
	Value             *[]BasicExternalSecuritySolution `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ExternalSecuritySolutionList ...

func (ExternalSecuritySolutionList) IsEmpty

func (essl ExternalSecuritySolutionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExternalSecuritySolutionList) MarshalJSON

func (essl ExternalSecuritySolutionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExternalSecuritySolutionList.

func (*ExternalSecuritySolutionList) UnmarshalJSON

func (essl *ExternalSecuritySolutionList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionList struct.

type ExternalSecuritySolutionListIterator

type ExternalSecuritySolutionListIterator struct {
	// contains filtered or unexported fields
}

ExternalSecuritySolutionListIterator provides access to a complete listing of ExternalSecuritySolution values.

func NewExternalSecuritySolutionListIterator

func NewExternalSecuritySolutionListIterator(page ExternalSecuritySolutionListPage) ExternalSecuritySolutionListIterator

Creates a new instance of the ExternalSecuritySolutionListIterator type.

func (*ExternalSecuritySolutionListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExternalSecuritySolutionListIterator) NextWithContext

func (iter *ExternalSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExternalSecuritySolutionListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExternalSecuritySolutionListIterator) Response

Response returns the raw server response from the last page request.

func (ExternalSecuritySolutionListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExternalSecuritySolutionListPage

type ExternalSecuritySolutionListPage struct {
	// contains filtered or unexported fields
}

ExternalSecuritySolutionListPage contains a page of BasicExternalSecuritySolution values.

func NewExternalSecuritySolutionListPage

Creates a new instance of the ExternalSecuritySolutionListPage type.

func (*ExternalSecuritySolutionListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExternalSecuritySolutionListPage) NextWithContext

func (page *ExternalSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExternalSecuritySolutionListPage) NotDone

func (page ExternalSecuritySolutionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExternalSecuritySolutionListPage) Response

Response returns the raw server response from the last page request.

func (ExternalSecuritySolutionListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExternalSecuritySolutionModel

type ExternalSecuritySolutionModel struct {
	autorest.Response `json:"-"`
	Value             BasicExternalSecuritySolution `json:"value,omitempty"`
}

ExternalSecuritySolutionModel ...

func (*ExternalSecuritySolutionModel) UnmarshalJSON

func (essm *ExternalSecuritySolutionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionModel struct.

type ExternalSecuritySolutionProperties

type ExternalSecuritySolutionProperties struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	DeviceVendor         *string                `json:"deviceVendor,omitempty"`
	DeviceType           *string                `json:"deviceType,omitempty"`
	Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

ExternalSecuritySolutionProperties the solution properties (correspond to the solution kind)

func (ExternalSecuritySolutionProperties) MarshalJSON

func (essp ExternalSecuritySolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExternalSecuritySolutionProperties.

func (*ExternalSecuritySolutionProperties) UnmarshalJSON

func (essp *ExternalSecuritySolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionProperties struct.

type ExternalSecuritySolutionsClient

type ExternalSecuritySolutionsClient struct {
	BaseClient
}

ExternalSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewExternalSecuritySolutionsClient

func NewExternalSecuritySolutionsClient(subscriptionID string) ExternalSecuritySolutionsClient

NewExternalSecuritySolutionsClient creates an instance of the ExternalSecuritySolutionsClient client.

func NewExternalSecuritySolutionsClientWithBaseURI

func NewExternalSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string) ExternalSecuritySolutionsClient

NewExternalSecuritySolutionsClientWithBaseURI creates an instance of the ExternalSecuritySolutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExternalSecuritySolutionsClient) Get

func (client ExternalSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, externalSecuritySolutionsName string) (result ExternalSecuritySolutionModel, err error)

Get gets a specific external Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations externalSecuritySolutionsName - name of an external security solution.

func (ExternalSecuritySolutionsClient) GetPreparer

func (client ExternalSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, externalSecuritySolutionsName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExternalSecuritySolutionsClient) GetResponder

func (client ExternalSecuritySolutionsClient) GetResponder(resp *http.Response) (result ExternalSecuritySolutionModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) GetSender

func (client ExternalSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExternalSecuritySolutionsClient) List

List gets a list of external security solutions for the subscription.

func (ExternalSecuritySolutionsClient) ListByHomeRegion

func (client ExternalSecuritySolutionsClient) ListByHomeRegion(ctx context.Context, ascLocation string) (result ExternalSecuritySolutionListPage, err error)

ListByHomeRegion gets a list of external Security Solutions for the subscription and location. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (ExternalSecuritySolutionsClient) ListByHomeRegionComplete

func (client ExternalSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context, ascLocation string) (result ExternalSecuritySolutionListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (ExternalSecuritySolutionsClient) ListByHomeRegionPreparer

func (client ExternalSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (ExternalSecuritySolutionsClient) ListByHomeRegionResponder

func (client ExternalSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) ListByHomeRegionSender

func (client ExternalSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (ExternalSecuritySolutionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExternalSecuritySolutionsClient) ListPreparer

func (client ExternalSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ExternalSecuritySolutionsClient) ListResponder

func (client ExternalSecuritySolutionsClient) ListResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) ListSender

func (client ExternalSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type FailedLocalLoginsNotInAllowedRange

type FailedLocalLoginsNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

FailedLocalLoginsNotInAllowedRange number of failed local logins is not in allowed range.

func (FailedLocalLoginsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsAllowlistCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsBasicCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsBasicListCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsConnectionFromIPNotAllowed

func (fllniar FailedLocalLoginsNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsConnectionToIPNotAllowed

func (fllniar FailedLocalLoginsNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsDenylistCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsListCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsLocalUserNotAllowed

func (fllniar FailedLocalLoginsNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsProcessNotAllowed

func (fllniar FailedLocalLoginsNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsThresholdCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsTimeWindowCustomAlertRule

func (fllniar FailedLocalLoginsNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (fllniar FailedLocalLoginsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for FailedLocalLoginsNotInAllowedRange.

func (FailedLocalLoginsNotInAllowedRange) MarshalJSON

func (fllniar FailedLocalLoginsNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FailedLocalLoginsNotInAllowedRange.

type Family

type Family string

Family enumerates the values for family.

const (
	// Ngfw ...
	Ngfw Family = "Ngfw"
	// SaasWaf ...
	SaasWaf Family = "SaasWaf"
	// Va ...
	Va Family = "Va"
	// Waf ...
	Waf Family = "Waf"
)

func PossibleFamilyValues

func PossibleFamilyValues() []Family

PossibleFamilyValues returns an array of possible values for the Family const type.

type FileType

type FileType string

FileType enumerates the values for file type.

const (
	// FileTypeDll ...
	FileTypeDll FileType = "Dll"
	// FileTypeExe ...
	FileTypeExe FileType = "Exe"
	// FileTypeExecutable ...
	FileTypeExecutable FileType = "Executable"
	// FileTypeMsi ...
	FileTypeMsi FileType = "Msi"
	// FileTypeScript ...
	FileTypeScript FileType = "Script"
	// FileTypeUnknown ...
	FileTypeUnknown FileType = "Unknown"
)

func PossibleFileTypeValues

func PossibleFileTypeValues() []FileType

PossibleFileTypeValues returns an array of possible values for the FileType const type.

type FileUploadsNotInAllowedRange

type FileUploadsNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

FileUploadsNotInAllowedRange number of file uploads is not in allowed range.

func (FileUploadsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsAllowlistCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsBasicCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsBasicListCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsConnectionFromIPNotAllowed

func (funiar FileUploadsNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsConnectionToIPNotAllowed

func (funiar FileUploadsNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsDenylistCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsListCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsLocalUserNotAllowed

func (funiar FileUploadsNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsProcessNotAllowed

func (funiar FileUploadsNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsThresholdCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsTimeWindowCustomAlertRule

func (funiar FileUploadsNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (funiar FileUploadsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for FileUploadsNotInAllowedRange.

func (FileUploadsNotInAllowedRange) MarshalJSON

func (funiar FileUploadsNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileUploadsNotInAllowedRange.

type GcpCredentialsDetailsProperties

type GcpCredentialsDetailsProperties struct {
	// OrganizationID - The organization ID of the GCP cloud account
	OrganizationID *string `json:"organizationId,omitempty"`
	// Type - Type field of the API key (write only)
	Type *string `json:"type,omitempty"`
	// ProjectID - Project ID field of the API key (write only)
	ProjectID *string `json:"projectId,omitempty"`
	// PrivateKeyID - Private key ID field of the API key (write only)
	PrivateKeyID *string `json:"privateKeyId,omitempty"`
	// PrivateKey - Private key field of the API key (write only)
	PrivateKey *string `json:"privateKey,omitempty"`
	// ClientEmail - Client email field of the API key (write only)
	ClientEmail *string `json:"clientEmail,omitempty"`
	// ClientID - Client ID field of the API key (write only)
	ClientID *string `json:"clientId,omitempty"`
	// AuthURI - Auth URI field of the API key (write only)
	AuthURI *string `json:"authUri,omitempty"`
	// TokenURI - Token URI field of the API key (write only)
	TokenURI *string `json:"tokenUri,omitempty"`
	// AuthProviderX509CertURL - Auth provider x509 certificate URL field of the API key (write only)
	AuthProviderX509CertURL *string `json:"authProviderX509CertUrl,omitempty"`
	// ClientX509CertURL - Client x509 certificate URL field of the API key (write only)
	ClientX509CertURL *string `json:"clientX509CertUrl,omitempty"`
	// AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy'
	AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"`
	// GrantedPermissions - READ-ONLY; The permissions detected in the cloud account.
	GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"`
	// AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials'
	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
}

GcpCredentialsDetailsProperties GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only)

func (GcpCredentialsDetailsProperties) AsAuthenticationDetailsProperties

func (gcdp GcpCredentialsDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)

AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.

func (GcpCredentialsDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties

func (gcdp GcpCredentialsDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)

AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.

func (GcpCredentialsDetailsProperties) AsAwsCredsAuthenticationDetailsProperties

func (gcdp GcpCredentialsDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)

AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.

func (GcpCredentialsDetailsProperties) AsBasicAuthenticationDetailsProperties

func (gcdp GcpCredentialsDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)

AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.

func (GcpCredentialsDetailsProperties) AsGcpCredentialsDetailsProperties

func (gcdp GcpCredentialsDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)

AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.

func (GcpCredentialsDetailsProperties) MarshalJSON

func (gcdp GcpCredentialsDetailsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpCredentialsDetailsProperties.

type GcpOrganizationalData

type GcpOrganizationalData struct {
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeGcpOrganizationalData', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipTypeBasicGcpOrganizationalData `json:"organizationMembershipType,omitempty"`
}

GcpOrganizationalData the gcpOrganization data

func (GcpOrganizationalData) AsBasicGcpOrganizationalData

func (god GcpOrganizationalData) AsBasicGcpOrganizationalData() (BasicGcpOrganizationalData, bool)

AsBasicGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalData.

func (GcpOrganizationalData) AsGcpOrganizationalData

func (god GcpOrganizationalData) AsGcpOrganizationalData() (*GcpOrganizationalData, bool)

AsGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalData.

func (GcpOrganizationalData) AsGcpOrganizationalDataMember

func (god GcpOrganizationalData) AsGcpOrganizationalDataMember() (*GcpOrganizationalDataMember, bool)

AsGcpOrganizationalDataMember is the BasicGcpOrganizationalData implementation for GcpOrganizationalData.

func (GcpOrganizationalData) AsGcpOrganizationalDataOrganization

func (god GcpOrganizationalData) AsGcpOrganizationalDataOrganization() (*GcpOrganizationalDataOrganization, bool)

AsGcpOrganizationalDataOrganization is the BasicGcpOrganizationalData implementation for GcpOrganizationalData.

func (GcpOrganizationalData) MarshalJSON

func (god GcpOrganizationalData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpOrganizationalData.

type GcpOrganizationalDataMember

type GcpOrganizationalDataMember struct {
	// ParentHierarchyID - If the multi cloud account is not of membership type organization, this will be the ID of the project's parent
	ParentHierarchyID *string `json:"parentHierarchyId,omitempty"`
	// ManagementProjectNumber - The GCP management project number from organizational onboarding
	ManagementProjectNumber *string `json:"managementProjectNumber,omitempty"`
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeGcpOrganizationalData', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipTypeBasicGcpOrganizationalData `json:"organizationMembershipType,omitempty"`
}

GcpOrganizationalDataMember the gcpOrganization data for the member account

func (GcpOrganizationalDataMember) AsBasicGcpOrganizationalData

func (godm GcpOrganizationalDataMember) AsBasicGcpOrganizationalData() (BasicGcpOrganizationalData, bool)

AsBasicGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataMember.

func (GcpOrganizationalDataMember) AsGcpOrganizationalData

func (godm GcpOrganizationalDataMember) AsGcpOrganizationalData() (*GcpOrganizationalData, bool)

AsGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataMember.

func (GcpOrganizationalDataMember) AsGcpOrganizationalDataMember

func (godm GcpOrganizationalDataMember) AsGcpOrganizationalDataMember() (*GcpOrganizationalDataMember, bool)

AsGcpOrganizationalDataMember is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataMember.

func (GcpOrganizationalDataMember) AsGcpOrganizationalDataOrganization

func (godm GcpOrganizationalDataMember) AsGcpOrganizationalDataOrganization() (*GcpOrganizationalDataOrganization, bool)

AsGcpOrganizationalDataOrganization is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataMember.

func (GcpOrganizationalDataMember) MarshalJSON

func (godm GcpOrganizationalDataMember) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpOrganizationalDataMember.

type GcpOrganizationalDataOrganization

type GcpOrganizationalDataOrganization struct {
	// ExcludedProjectNumbers - If the multi cloud account is of membership type organization, list of accounts excluded from offering
	ExcludedProjectNumbers *[]string `json:"excludedProjectNumbers,omitempty"`
	// ServiceAccountEmailAddress - The service account email address which represents the organization level permissions container.
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	// WorkloadIdentityProviderID - The GCP workload identity provider id which represents the permissions required to auto provision security connectors
	WorkloadIdentityProviderID *string `json:"workloadIdentityProviderId,omitempty"`
	// OrganizationMembershipType - Possible values include: 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeGcpOrganizationalData', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeOrganization', 'OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeMember'
	OrganizationMembershipType OrganizationMembershipTypeBasicGcpOrganizationalData `json:"organizationMembershipType,omitempty"`
}

GcpOrganizationalDataOrganization the gcpOrganization data for the parent account

func (GcpOrganizationalDataOrganization) AsBasicGcpOrganizationalData

func (godo GcpOrganizationalDataOrganization) AsBasicGcpOrganizationalData() (BasicGcpOrganizationalData, bool)

AsBasicGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataOrganization.

func (GcpOrganizationalDataOrganization) AsGcpOrganizationalData

func (godo GcpOrganizationalDataOrganization) AsGcpOrganizationalData() (*GcpOrganizationalData, bool)

AsGcpOrganizationalData is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataOrganization.

func (GcpOrganizationalDataOrganization) AsGcpOrganizationalDataMember

func (godo GcpOrganizationalDataOrganization) AsGcpOrganizationalDataMember() (*GcpOrganizationalDataMember, bool)

AsGcpOrganizationalDataMember is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataOrganization.

func (GcpOrganizationalDataOrganization) AsGcpOrganizationalDataOrganization

func (godo GcpOrganizationalDataOrganization) AsGcpOrganizationalDataOrganization() (*GcpOrganizationalDataOrganization, bool)

AsGcpOrganizationalDataOrganization is the BasicGcpOrganizationalData implementation for GcpOrganizationalDataOrganization.

func (GcpOrganizationalDataOrganization) MarshalJSON

func (godo GcpOrganizationalDataOrganization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpOrganizationalDataOrganization.

type GcpProjectDetails

type GcpProjectDetails struct {
	// ProjectNumber - The unique GCP Project number
	ProjectNumber *string `json:"projectNumber,omitempty"`
	// ProjectID - The GCP Project id
	ProjectID *string `json:"projectId,omitempty"`
	// WorkloadIdentityPoolID - READ-ONLY; The GCP workload identity federation pool id
	WorkloadIdentityPoolID *string `json:"workloadIdentityPoolId,omitempty"`
}

GcpProjectDetails the details about the project represented by the security connector

func (GcpProjectDetails) MarshalJSON

func (gpd GcpProjectDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpProjectDetails.

type GcpProjectEnvironmentData

type GcpProjectEnvironmentData struct {
	// OrganizationalData - The Gcp project's organizational data
	OrganizationalData BasicGcpOrganizationalData `json:"organizationalData,omitempty"`
	// ProjectDetails - The Gcp project's details
	ProjectDetails *GcpProjectDetails `json:"projectDetails,omitempty"`
	// EnvironmentType - Possible values include: 'EnvironmentTypeEnvironmentData', 'EnvironmentTypeAwsAccount', 'EnvironmentTypeGcpProject', 'EnvironmentTypeGithubScope', 'EnvironmentTypeAzureDevOpsScope'
	EnvironmentType EnvironmentType `json:"environmentType,omitempty"`
}

GcpProjectEnvironmentData the GCP project connector environment data

func (GcpProjectEnvironmentData) AsAwsEnvironmentData

func (gped GcpProjectEnvironmentData) AsAwsEnvironmentData() (*AwsEnvironmentData, bool)

AsAwsEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) AsAzureDevOpsScopeEnvironmentData

func (gped GcpProjectEnvironmentData) AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)

AsAzureDevOpsScopeEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) AsBasicEnvironmentData

func (gped GcpProjectEnvironmentData) AsBasicEnvironmentData() (BasicEnvironmentData, bool)

AsBasicEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) AsEnvironmentData

func (gped GcpProjectEnvironmentData) AsEnvironmentData() (*EnvironmentData, bool)

AsEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) AsGcpProjectEnvironmentData

func (gped GcpProjectEnvironmentData) AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)

AsGcpProjectEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) AsGithubScopeEnvironmentData

func (gped GcpProjectEnvironmentData) AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)

AsGithubScopeEnvironmentData is the BasicEnvironmentData implementation for GcpProjectEnvironmentData.

func (GcpProjectEnvironmentData) MarshalJSON

func (gped GcpProjectEnvironmentData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GcpProjectEnvironmentData.

func (*GcpProjectEnvironmentData) UnmarshalJSON

func (gped *GcpProjectEnvironmentData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GcpProjectEnvironmentData struct.

type GithubScopeEnvironmentData

type GithubScopeEnvironmentData struct {
	// EnvironmentType - Possible values include: 'EnvironmentTypeEnvironmentData', 'EnvironmentTypeAwsAccount', 'EnvironmentTypeGcpProject', 'EnvironmentTypeGithubScope', 'EnvironmentTypeAzureDevOpsScope'
	EnvironmentType EnvironmentType `json:"environmentType,omitempty"`
}

GithubScopeEnvironmentData the github scope connector's environment data

func (GithubScopeEnvironmentData) AsAwsEnvironmentData

func (gsed GithubScopeEnvironmentData) AsAwsEnvironmentData() (*AwsEnvironmentData, bool)

AsAwsEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) AsAzureDevOpsScopeEnvironmentData

func (gsed GithubScopeEnvironmentData) AsAzureDevOpsScopeEnvironmentData() (*AzureDevOpsScopeEnvironmentData, bool)

AsAzureDevOpsScopeEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) AsBasicEnvironmentData

func (gsed GithubScopeEnvironmentData) AsBasicEnvironmentData() (BasicEnvironmentData, bool)

AsBasicEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) AsEnvironmentData

func (gsed GithubScopeEnvironmentData) AsEnvironmentData() (*EnvironmentData, bool)

AsEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) AsGcpProjectEnvironmentData

func (gsed GithubScopeEnvironmentData) AsGcpProjectEnvironmentData() (*GcpProjectEnvironmentData, bool)

AsGcpProjectEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) AsGithubScopeEnvironmentData

func (gsed GithubScopeEnvironmentData) AsGithubScopeEnvironmentData() (*GithubScopeEnvironmentData, bool)

AsGithubScopeEnvironmentData is the BasicEnvironmentData implementation for GithubScopeEnvironmentData.

func (GithubScopeEnvironmentData) MarshalJSON

func (gsed GithubScopeEnvironmentData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GithubScopeEnvironmentData.

type GovernanceAssignment

type GovernanceAssignment struct {
	autorest.Response `json:"-"`
	// GovernanceAssignmentProperties - Properties of a security governanceAssignment
	*GovernanceAssignmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

GovernanceAssignment security GovernanceAssignment over a given scope

func (GovernanceAssignment) MarshalJSON

func (ga GovernanceAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GovernanceAssignment.

func (*GovernanceAssignment) UnmarshalJSON

func (ga *GovernanceAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GovernanceAssignment struct.

type GovernanceAssignmentAdditionalData

type GovernanceAssignmentAdditionalData struct {
	// TicketNumber - Ticket number associated with this GovernanceAssignment
	TicketNumber *int32 `json:"ticketNumber,omitempty"`
	// TicketLink - Ticket link associated with this GovernanceAssignment - for example: https://snow.com
	TicketLink *string `json:"ticketLink,omitempty"`
	// TicketStatus - The ticket status associated with this GovernanceAssignment - for example: Active
	TicketStatus *string `json:"ticketStatus,omitempty"`
}

GovernanceAssignmentAdditionalData describe the additional data of GovernanceAssignment - optional

type GovernanceAssignmentProperties

type GovernanceAssignmentProperties struct {
	// Owner - The Owner for the governance assignment - e.g. user@contoso.com - see example
	Owner *string `json:"owner,omitempty"`
	// RemediationDueDate - The remediation due-date - after this date Secure Score will be affected (in case of  active grace-period)
	RemediationDueDate *date.Time `json:"remediationDueDate,omitempty"`
	// RemediationEta - The ETA (estimated time of arrival) for remediation (optional), see example
	RemediationEta *RemediationEta `json:"remediationEta,omitempty"`
	// IsGracePeriod - Defines whether there is a grace period on the governance assignment
	IsGracePeriod *bool `json:"isGracePeriod,omitempty"`
	// GovernanceEmailNotification - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
	GovernanceEmailNotification *GovernanceEmailNotification `json:"governanceEmailNotification,omitempty"`
	// AdditionalData - The additional data for the governance assignment - e.g. links to ticket (optional), see example
	AdditionalData *GovernanceAssignmentAdditionalData `json:"additionalData,omitempty"`
}

GovernanceAssignmentProperties describes properties of an governance assignment

type GovernanceAssignmentsClient

type GovernanceAssignmentsClient struct {
	BaseClient
}

GovernanceAssignmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewGovernanceAssignmentsClient

func NewGovernanceAssignmentsClient(subscriptionID string) GovernanceAssignmentsClient

NewGovernanceAssignmentsClient creates an instance of the GovernanceAssignmentsClient client.

func NewGovernanceAssignmentsClientWithBaseURI

func NewGovernanceAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) GovernanceAssignmentsClient

NewGovernanceAssignmentsClientWithBaseURI creates an instance of the GovernanceAssignmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GovernanceAssignmentsClient) CreateOrUpdate

func (client GovernanceAssignmentsClient) CreateOrUpdate(ctx context.Context, scope string, assessmentName string, assignmentKey string, governanceAssignment GovernanceAssignment) (result GovernanceAssignment, err error)

CreateOrUpdate creates or update a security GovernanceAssignment on the given subscription. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type assignmentKey - the security governance assignment key - the assessment key of the required governance assignment governanceAssignment - governanceAssignment over a subscription scope

func (GovernanceAssignmentsClient) CreateOrUpdatePreparer

func (client GovernanceAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, assessmentName string, assignmentKey string, governanceAssignment GovernanceAssignment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GovernanceAssignmentsClient) CreateOrUpdateResponder

func (client GovernanceAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result GovernanceAssignment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GovernanceAssignmentsClient) CreateOrUpdateSender

func (client GovernanceAssignmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GovernanceAssignmentsClient) Delete

func (client GovernanceAssignmentsClient) Delete(ctx context.Context, scope string, assessmentName string, assignmentKey string) (result autorest.Response, err error)

Delete delete a GovernanceAssignment over a given scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type assignmentKey - the security governance assignment key - the assessment key of the required governance assignment

func (GovernanceAssignmentsClient) DeletePreparer

func (client GovernanceAssignmentsClient) DeletePreparer(ctx context.Context, scope string, assessmentName string, assignmentKey string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GovernanceAssignmentsClient) DeleteResponder

func (client GovernanceAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GovernanceAssignmentsClient) DeleteSender

func (client GovernanceAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GovernanceAssignmentsClient) Get

func (client GovernanceAssignmentsClient) Get(ctx context.Context, scope string, assessmentName string, assignmentKey string) (result GovernanceAssignment, err error)

Get get a specific governanceAssignment for the requested scope by AssignmentKey Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type assignmentKey - the security governance assignment key - the assessment key of the required governance assignment

func (GovernanceAssignmentsClient) GetPreparer

func (client GovernanceAssignmentsClient) GetPreparer(ctx context.Context, scope string, assessmentName string, assignmentKey string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GovernanceAssignmentsClient) GetResponder

func (client GovernanceAssignmentsClient) GetResponder(resp *http.Response) (result GovernanceAssignment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GovernanceAssignmentsClient) GetSender

func (client GovernanceAssignmentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GovernanceAssignmentsClient) List

func (client GovernanceAssignmentsClient) List(ctx context.Context, scope string, assessmentName string) (result GovernanceAssignmentsListPage, err error)

List get security governanceAssignments on all your resources inside a scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type

func (GovernanceAssignmentsClient) ListComplete

func (client GovernanceAssignmentsClient) ListComplete(ctx context.Context, scope string, assessmentName string) (result GovernanceAssignmentsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GovernanceAssignmentsClient) ListPreparer

func (client GovernanceAssignmentsClient) ListPreparer(ctx context.Context, scope string, assessmentName string) (*http.Request, error)

ListPreparer prepares the List request.

func (GovernanceAssignmentsClient) ListResponder

func (client GovernanceAssignmentsClient) ListResponder(resp *http.Response) (result GovernanceAssignmentsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GovernanceAssignmentsClient) ListSender

func (client GovernanceAssignmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type GovernanceAssignmentsList

type GovernanceAssignmentsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of governance assignments in this page
	Value *[]GovernanceAssignment `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page
	NextLink *string `json:"nextLink,omitempty"`
}

GovernanceAssignmentsList page of a security governance assignments list

func (GovernanceAssignmentsList) IsEmpty

func (gal GovernanceAssignmentsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (GovernanceAssignmentsList) MarshalJSON

func (gal GovernanceAssignmentsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GovernanceAssignmentsList.

type GovernanceAssignmentsListIterator

type GovernanceAssignmentsListIterator struct {
	// contains filtered or unexported fields
}

GovernanceAssignmentsListIterator provides access to a complete listing of GovernanceAssignment values.

func NewGovernanceAssignmentsListIterator

func NewGovernanceAssignmentsListIterator(page GovernanceAssignmentsListPage) GovernanceAssignmentsListIterator

Creates a new instance of the GovernanceAssignmentsListIterator type.

func (*GovernanceAssignmentsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GovernanceAssignmentsListIterator) NextWithContext

func (iter *GovernanceAssignmentsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GovernanceAssignmentsListIterator) NotDone

func (iter GovernanceAssignmentsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GovernanceAssignmentsListIterator) Response

Response returns the raw server response from the last page request.

func (GovernanceAssignmentsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GovernanceAssignmentsListPage

type GovernanceAssignmentsListPage struct {
	// contains filtered or unexported fields
}

GovernanceAssignmentsListPage contains a page of GovernanceAssignment values.

func NewGovernanceAssignmentsListPage

Creates a new instance of the GovernanceAssignmentsListPage type.

func (*GovernanceAssignmentsListPage) Next

func (page *GovernanceAssignmentsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GovernanceAssignmentsListPage) NextWithContext

func (page *GovernanceAssignmentsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GovernanceAssignmentsListPage) NotDone

func (page GovernanceAssignmentsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GovernanceAssignmentsListPage) Response

Response returns the raw server response from the last page request.

func (GovernanceAssignmentsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type GovernanceEmailNotification

type GovernanceEmailNotification struct {
	// DisableManagerEmailNotification - Exclude manager from weekly email notification.
	DisableManagerEmailNotification *bool `json:"disableManagerEmailNotification,omitempty"`
	// DisableOwnerEmailNotification - Exclude  owner from weekly email notification.
	DisableOwnerEmailNotification *bool `json:"disableOwnerEmailNotification,omitempty"`
}

GovernanceEmailNotification the governance email weekly notification configuration.

type GovernanceRule

type GovernanceRule struct {
	autorest.Response `json:"-"`
	// GovernanceRuleProperties - Properties of a security governanceRule
	*GovernanceRuleProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

GovernanceRule security GovernanceRule over a given scope

func (GovernanceRule) MarshalJSON

func (gr GovernanceRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GovernanceRule.

func (*GovernanceRule) UnmarshalJSON

func (gr *GovernanceRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GovernanceRule struct.

type GovernanceRuleClient

type GovernanceRuleClient struct {
	BaseClient
}

GovernanceRuleClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewGovernanceRuleClient

func NewGovernanceRuleClient(subscriptionID string) GovernanceRuleClient

NewGovernanceRuleClient creates an instance of the GovernanceRuleClient client.

func NewGovernanceRuleClientWithBaseURI

func NewGovernanceRuleClientWithBaseURI(baseURI string, subscriptionID string) GovernanceRuleClient

NewGovernanceRuleClientWithBaseURI creates an instance of the GovernanceRuleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GovernanceRuleClient) List

func (client GovernanceRuleClient) List(ctx context.Context) (result GovernanceRuleListPage, err error)

List get a list of all relevant governanceRules over a subscription level scope

func (GovernanceRuleClient) ListComplete

func (client GovernanceRuleClient) ListComplete(ctx context.Context) (result GovernanceRuleListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GovernanceRuleClient) ListPreparer

func (client GovernanceRuleClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (GovernanceRuleClient) ListResponder

func (client GovernanceRuleClient) ListResponder(resp *http.Response) (result GovernanceRuleList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GovernanceRuleClient) ListSender

func (client GovernanceRuleClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type GovernanceRuleConditionOperator

type GovernanceRuleConditionOperator string

GovernanceRuleConditionOperator enumerates the values for governance rule condition operator.

const (
	// GovernanceRuleConditionOperatorEquals Checks that the string value of the data defined in Property
	// equals the given value - exact fit
	GovernanceRuleConditionOperatorEquals GovernanceRuleConditionOperator = "Equals"
	// GovernanceRuleConditionOperatorIn Checks that the string value of the data defined in Property equals
	// any of the given values (exact fit)
	GovernanceRuleConditionOperatorIn GovernanceRuleConditionOperator = "In"
)

func PossibleGovernanceRuleConditionOperatorValues

func PossibleGovernanceRuleConditionOperatorValues() []GovernanceRuleConditionOperator

PossibleGovernanceRuleConditionOperatorValues returns an array of possible values for the GovernanceRuleConditionOperator const type.

type GovernanceRuleEmailNotification

type GovernanceRuleEmailNotification struct {
	// DisableManagerEmailNotification - Defines whether manager email notifications are disabled.
	DisableManagerEmailNotification *bool `json:"disableManagerEmailNotification,omitempty"`
	// DisableOwnerEmailNotification - Defines whether owner email notifications are disabled.
	DisableOwnerEmailNotification *bool `json:"disableOwnerEmailNotification,omitempty"`
}

GovernanceRuleEmailNotification the governance email weekly notification configuration.

type GovernanceRuleList

type GovernanceRuleList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of governanceRules in this page
	Value *[]GovernanceRule `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page
	NextLink *string `json:"nextLink,omitempty"`
}

GovernanceRuleList page of a security governanceRules list

func (GovernanceRuleList) IsEmpty

func (grl GovernanceRuleList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (GovernanceRuleList) MarshalJSON

func (grl GovernanceRuleList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GovernanceRuleList.

type GovernanceRuleListIterator

type GovernanceRuleListIterator struct {
	// contains filtered or unexported fields
}

GovernanceRuleListIterator provides access to a complete listing of GovernanceRule values.

func NewGovernanceRuleListIterator

func NewGovernanceRuleListIterator(page GovernanceRuleListPage) GovernanceRuleListIterator

Creates a new instance of the GovernanceRuleListIterator type.

func (*GovernanceRuleListIterator) Next

func (iter *GovernanceRuleListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GovernanceRuleListIterator) NextWithContext

func (iter *GovernanceRuleListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GovernanceRuleListIterator) NotDone

func (iter GovernanceRuleListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GovernanceRuleListIterator) Response

Response returns the raw server response from the last page request.

func (GovernanceRuleListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GovernanceRuleListPage

type GovernanceRuleListPage struct {
	// contains filtered or unexported fields
}

GovernanceRuleListPage contains a page of GovernanceRule values.

func NewGovernanceRuleListPage

func NewGovernanceRuleListPage(cur GovernanceRuleList, getNextPage func(context.Context, GovernanceRuleList) (GovernanceRuleList, error)) GovernanceRuleListPage

Creates a new instance of the GovernanceRuleListPage type.

func (*GovernanceRuleListPage) Next

func (page *GovernanceRuleListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GovernanceRuleListPage) NextWithContext

func (page *GovernanceRuleListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GovernanceRuleListPage) NotDone

func (page GovernanceRuleListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GovernanceRuleListPage) Response

Response returns the raw server response from the last page request.

func (GovernanceRuleListPage) Values

func (page GovernanceRuleListPage) Values() []GovernanceRule

Values returns the slice of values for the current page or nil if there are no values.

type GovernanceRuleOwnerSource

type GovernanceRuleOwnerSource struct {
	// Type - The owner type for the governance rule owner source. Possible values include: 'ByTag', 'Manually'
	Type GovernanceRuleOwnerSourceType `json:"type,omitempty"`
	// Value - The source value e.g. tag key like owner name or email address
	Value *string `json:"value,omitempty"`
}

GovernanceRuleOwnerSource describe the owner source of governance rule

type GovernanceRuleOwnerSourceType

type GovernanceRuleOwnerSourceType string

GovernanceRuleOwnerSourceType enumerates the values for governance rule owner source type.

const (
	// ByTag The rule source type defined using resource tag
	ByTag GovernanceRuleOwnerSourceType = "ByTag"
	// Manually The rule source type defined manually
	Manually GovernanceRuleOwnerSourceType = "Manually"
)

func PossibleGovernanceRuleOwnerSourceTypeValues

func PossibleGovernanceRuleOwnerSourceTypeValues() []GovernanceRuleOwnerSourceType

PossibleGovernanceRuleOwnerSourceTypeValues returns an array of possible values for the GovernanceRuleOwnerSourceType const type.

type GovernanceRuleProperties

type GovernanceRuleProperties struct {
	// DisplayName - display name of the governanceRule
	DisplayName *string `json:"displayName,omitempty"`
	// Description - description of the governanceRule
	Description *string `json:"description,omitempty"`
	// RemediationTimeframe - Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days
	RemediationTimeframe *string `json:"remediationTimeframe,omitempty"`
	// IsGracePeriod - Defines whether there is a grace period on the governance rule
	IsGracePeriod *bool `json:"isGracePeriod,omitempty"`
	// RulePriority - The governance rule priority, priority to the lower number. Rules with the same priority on the same subscription will not be allowed
	RulePriority *int32 `json:"rulePriority,omitempty"`
	// IsDisabled - Defines whether the rule is active/inactive
	IsDisabled *bool `json:"isDisabled,omitempty"`
	// RuleType - The rule type of the governance rule, defines the source of the rule e.g. Integrated. Possible values include: 'Integrated', 'ServiceNow'
	RuleType GovernanceRuleType `json:"ruleType,omitempty"`
	// SourceResourceType - The governance rule source, what the rule affects, e.g. Assessments
	SourceResourceType *string `json:"sourceResourceType,omitempty"`
	// ConditionSets - The governance rule conditionSets - see examples
	ConditionSets *[]interface{} `json:"conditionSets,omitempty"`
	// OwnerSource - The Owner source for the governance rule - e.g. Manually by user@contoso.com - see example
	OwnerSource *GovernanceRuleOwnerSource `json:"ownerSource,omitempty"`
	// GovernanceEmailNotification - The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners
	GovernanceEmailNotification *GovernanceRuleEmailNotification `json:"governanceEmailNotification,omitempty"`
}

GovernanceRuleProperties describes properties of an governanceRule

type GovernanceRuleType

type GovernanceRuleType string

GovernanceRuleType enumerates the values for governance rule type.

const (
	// Integrated The source of the rule type definition is integrated
	Integrated GovernanceRuleType = "Integrated"
	// ServiceNow The source of the rule type definition is ServiceNow
	ServiceNow GovernanceRuleType = "ServiceNow"
)

func PossibleGovernanceRuleTypeValues

func PossibleGovernanceRuleTypeValues() []GovernanceRuleType

PossibleGovernanceRuleTypeValues returns an array of possible values for the GovernanceRuleType const type.

type GovernanceRulesClient

type GovernanceRulesClient struct {
	BaseClient
}

GovernanceRulesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewGovernanceRulesClient

func NewGovernanceRulesClient(subscriptionID string) GovernanceRulesClient

NewGovernanceRulesClient creates an instance of the GovernanceRulesClient client.

func NewGovernanceRulesClientWithBaseURI

func NewGovernanceRulesClientWithBaseURI(baseURI string, subscriptionID string) GovernanceRulesClient

NewGovernanceRulesClientWithBaseURI creates an instance of the GovernanceRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GovernanceRulesClient) CreateOrUpdate

func (client GovernanceRulesClient) CreateOrUpdate(ctx context.Context, ruleID string, governanceRule GovernanceRule) (result GovernanceRule, err error)

CreateOrUpdate creates or update a security GovernanceRule on the given subscription. Parameters: ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule governanceRule - governanceRule over a subscription scope

func (GovernanceRulesClient) CreateOrUpdatePreparer

func (client GovernanceRulesClient) CreateOrUpdatePreparer(ctx context.Context, ruleID string, governanceRule GovernanceRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GovernanceRulesClient) CreateOrUpdateResponder

func (client GovernanceRulesClient) CreateOrUpdateResponder(resp *http.Response) (result GovernanceRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GovernanceRulesClient) CreateOrUpdateSender

func (client GovernanceRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GovernanceRulesClient) Delete

func (client GovernanceRulesClient) Delete(ctx context.Context, ruleID string) (result autorest.Response, err error)

Delete delete a GovernanceRule over a given scope Parameters: ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule

func (GovernanceRulesClient) DeletePreparer

func (client GovernanceRulesClient) DeletePreparer(ctx context.Context, ruleID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GovernanceRulesClient) DeleteResponder

func (client GovernanceRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GovernanceRulesClient) DeleteSender

func (client GovernanceRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GovernanceRulesClient) Get

func (client GovernanceRulesClient) Get(ctx context.Context, ruleID string) (result GovernanceRule, err error)

Get get a specific governanceRule for the requested scope by ruleId Parameters: ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule

func (GovernanceRulesClient) GetPreparer

func (client GovernanceRulesClient) GetPreparer(ctx context.Context, ruleID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GovernanceRulesClient) GetResponder

func (client GovernanceRulesClient) GetResponder(resp *http.Response) (result GovernanceRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GovernanceRulesClient) GetSender

func (client GovernanceRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GovernanceRulesClient) RuleIDExecuteSingleSecurityConnector

func (client GovernanceRulesClient) RuleIDExecuteSingleSecurityConnector(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, executeGovernanceRuleParams *ExecuteGovernanceRuleParams) (result GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture, err error)

RuleIDExecuteSingleSecurityConnector execute a security GovernanceRule on the given security connector. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. securityConnectorName - the security connector name. ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule executeGovernanceRuleParams - governanceRule over a subscription scope

func (GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorPreparer

func (client GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorPreparer(ctx context.Context, resourceGroupName string, securityConnectorName string, ruleID string, executeGovernanceRuleParams *ExecuteGovernanceRuleParams) (*http.Request, error)

RuleIDExecuteSingleSecurityConnectorPreparer prepares the RuleIDExecuteSingleSecurityConnector request.

func (GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorResponder

func (client GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorResponder(resp *http.Response) (result autorest.Response, err error)

RuleIDExecuteSingleSecurityConnectorResponder handles the response to the RuleIDExecuteSingleSecurityConnector request. The method always closes the http.Response Body.

func (GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorSender

func (client GovernanceRulesClient) RuleIDExecuteSingleSecurityConnectorSender(req *http.Request) (future GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture, err error)

RuleIDExecuteSingleSecurityConnectorSender sends the RuleIDExecuteSingleSecurityConnector request. The method will close the http.Response Body if it receives an error.

func (GovernanceRulesClient) RuleIDExecuteSingleSubscription

func (client GovernanceRulesClient) RuleIDExecuteSingleSubscription(ctx context.Context, ruleID string, executeGovernanceRuleParams *ExecuteGovernanceRuleParams) (result GovernanceRulesRuleIDExecuteSingleSubscriptionFuture, err error)

RuleIDExecuteSingleSubscription execute a security GovernanceRule on the given subscription. Parameters: ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule executeGovernanceRuleParams - governanceRule over a subscription scope

func (GovernanceRulesClient) RuleIDExecuteSingleSubscriptionPreparer

func (client GovernanceRulesClient) RuleIDExecuteSingleSubscriptionPreparer(ctx context.Context, ruleID string, executeGovernanceRuleParams *ExecuteGovernanceRuleParams) (*http.Request, error)

RuleIDExecuteSingleSubscriptionPreparer prepares the RuleIDExecuteSingleSubscription request.

func (GovernanceRulesClient) RuleIDExecuteSingleSubscriptionResponder

func (client GovernanceRulesClient) RuleIDExecuteSingleSubscriptionResponder(resp *http.Response) (result autorest.Response, err error)

RuleIDExecuteSingleSubscriptionResponder handles the response to the RuleIDExecuteSingleSubscription request. The method always closes the http.Response Body.

func (GovernanceRulesClient) RuleIDExecuteSingleSubscriptionSender

func (client GovernanceRulesClient) RuleIDExecuteSingleSubscriptionSender(req *http.Request) (future GovernanceRulesRuleIDExecuteSingleSubscriptionFuture, err error)

RuleIDExecuteSingleSubscriptionSender sends the RuleIDExecuteSingleSubscription request. The method will close the http.Response Body if it receives an error.

type GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture

type GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GovernanceRulesClient) (autorest.Response, error)
}

GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GovernanceRulesRuleIDExecuteSingleSecurityConnectorFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GovernanceRulesRuleIDExecuteSingleSubscriptionFuture

type GovernanceRulesRuleIDExecuteSingleSubscriptionFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(GovernanceRulesClient) (autorest.Response, error)
}

GovernanceRulesRuleIDExecuteSingleSubscriptionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GovernanceRulesRuleIDExecuteSingleSubscriptionFuture) UnmarshalJSON

func (future *GovernanceRulesRuleIDExecuteSingleSubscriptionFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type HTTPC2DMessagesNotInAllowedRange

type HTTPC2DMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

HTTPC2DMessagesNotInAllowedRange number of cloud to device messages (HTTP protocol) is not in allowed range.

func (HTTPC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsListCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsProcessNotAllowed

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (hcmniar HTTPC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DMessagesNotInAllowedRange.

func (HTTPC2DMessagesNotInAllowedRange) MarshalJSON

func (hcmniar HTTPC2DMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HTTPC2DMessagesNotInAllowedRange.

type HTTPC2DRejectedMessagesNotInAllowedRange

type HTTPC2DRejectedMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

HTTPC2DRejectedMessagesNotInAllowedRange number of rejected cloud to device messages (HTTP protocol) is not in allowed range.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPC2DRejectedMessagesNotInAllowedRange.

func (HTTPC2DRejectedMessagesNotInAllowedRange) MarshalJSON

func (hcrmniar HTTPC2DRejectedMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HTTPC2DRejectedMessagesNotInAllowedRange.

type HTTPD2CMessagesNotInAllowedRange

type HTTPD2CMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

HTTPD2CMessagesNotInAllowedRange number of device to cloud messages (HTTP protocol) is not in allowed range.

func (HTTPD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsListCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsProcessNotAllowed

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (hdmniar HTTPD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for HTTPD2CMessagesNotInAllowedRange.

func (HTTPD2CMessagesNotInAllowedRange) MarshalJSON

func (hdmniar HTTPD2CMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HTTPD2CMessagesNotInAllowedRange.

type HybridComputeProvisioningState

type HybridComputeProvisioningState string

HybridComputeProvisioningState enumerates the values for hybrid compute provisioning state.

const (
	// HybridComputeProvisioningStateExpired the service principal details are expired
	HybridComputeProvisioningStateExpired HybridComputeProvisioningState = "Expired"
	// HybridComputeProvisioningStateInvalid Invalid service principal details.
	HybridComputeProvisioningStateInvalid HybridComputeProvisioningState = "Invalid"
	// HybridComputeProvisioningStateValid Valid service principal details.
	HybridComputeProvisioningStateValid HybridComputeProvisioningState = "Valid"
)

func PossibleHybridComputeProvisioningStateValues

func PossibleHybridComputeProvisioningStateValues() []HybridComputeProvisioningState

PossibleHybridComputeProvisioningStateValues returns an array of possible values for the HybridComputeProvisioningState const type.

type HybridComputeSettingsProperties

type HybridComputeSettingsProperties struct {
	// HybridComputeProvisioningState - READ-ONLY; State of the service principal and its secret. Possible values include: 'HybridComputeProvisioningStateValid', 'HybridComputeProvisioningStateInvalid', 'HybridComputeProvisioningStateExpired'
	HybridComputeProvisioningState HybridComputeProvisioningState `json:"hybridComputeProvisioningState,omitempty"`
	// AutoProvision - Whether or not to automatically install Azure Arc (hybrid compute) agents on machines. Possible values include: 'On', 'Off'
	AutoProvision AutoProvision `json:"autoProvision,omitempty"`
	// ResourceGroupName - The name of the resource group where Arc (Hybrid Compute) connectors are connected.
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// Region - The location where the metadata of machines will be stored
	Region *string `json:"region,omitempty"`
	// ProxyServer - For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.
	ProxyServer *ProxyServerProperties `json:"proxyServer,omitempty"`
	// ServicePrincipal - An object to access resources that are secured by an Azure AD tenant.
	ServicePrincipal *ServicePrincipalProperties `json:"servicePrincipal,omitempty"`
}

HybridComputeSettingsProperties settings for hybrid compute management

func (HybridComputeSettingsProperties) MarshalJSON

func (hcsp HybridComputeSettingsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HybridComputeSettingsProperties.

type ImplementationEffort

type ImplementationEffort string

ImplementationEffort enumerates the values for implementation effort.

const (
	// ImplementationEffortHigh ...
	ImplementationEffortHigh ImplementationEffort = "High"
	// ImplementationEffortLow ...
	ImplementationEffortLow ImplementationEffort = "Low"
	// ImplementationEffortModerate ...
	ImplementationEffortModerate ImplementationEffort = "Moderate"
)

func PossibleImplementationEffortValues

func PossibleImplementationEffortValues() []ImplementationEffort

PossibleImplementationEffortValues returns an array of possible values for the ImplementationEffort const type.

type InformationProtectionAwsOffering

type InformationProtectionAwsOffering struct {
	// InformationProtection - The native cloud connection configuration
	InformationProtection *InformationProtectionAwsOfferingInformationProtection `json:"informationProtection,omitempty"`
	// Description - READ-ONLY; The offering description.
	Description *string `json:"description,omitempty"`
	// OfferingType - Possible values include: 'OfferingTypeCloudOffering', 'OfferingTypeCspmMonitorAws', 'OfferingTypeDefenderForContainersAws', 'OfferingTypeDefenderForServersAws', 'OfferingTypeDefenderForDatabasesAws', 'OfferingTypeInformationProtectionAws', 'OfferingTypeCspmMonitorGcp', 'OfferingTypeDefenderForServersGcp', 'OfferingTypeDefenderForDatabasesGcp', 'OfferingTypeDefenderForContainersGcp', 'OfferingTypeCspmMonitorGithub', 'OfferingTypeCspmMonitorAzureDevOps', 'OfferingTypeDefenderCspmAws', 'OfferingTypeDefenderCspmGcp', 'OfferingTypeDefenderForDevOpsGithub', 'OfferingTypeDefenderForDevOpsAzureDevOps'
	OfferingType OfferingType `json:"offeringType,omitempty"`
}

InformationProtectionAwsOffering the information protection for AWS offering

func (InformationProtectionAwsOffering) AsBasicCloudOffering

func (ipao InformationProtectionAwsOffering) AsBasicCloudOffering() (BasicCloudOffering, bool)

AsBasicCloudOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsCloudOffering

func (ipao InformationProtectionAwsOffering) AsCloudOffering() (*CloudOffering, bool)

AsCloudOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsCspmMonitorAwsOffering

func (ipao InformationProtectionAwsOffering) AsCspmMonitorAwsOffering() (*CspmMonitorAwsOffering, bool)

AsCspmMonitorAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsCspmMonitorAzureDevOpsOffering

func (ipao InformationProtectionAwsOffering) AsCspmMonitorAzureDevOpsOffering() (*CspmMonitorAzureDevOpsOffering, bool)

AsCspmMonitorAzureDevOpsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsCspmMonitorGcpOffering

func (ipao InformationProtectionAwsOffering) AsCspmMonitorGcpOffering() (*CspmMonitorGcpOffering, bool)

AsCspmMonitorGcpOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsCspmMonitorGithubOffering

func (ipao InformationProtectionAwsOffering) AsCspmMonitorGithubOffering() (*CspmMonitorGithubOffering, bool)

AsCspmMonitorGithubOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderCspmAwsOffering

func (ipao InformationProtectionAwsOffering) AsDefenderCspmAwsOffering() (*DefenderCspmAwsOffering, bool)

AsDefenderCspmAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderCspmGcpOffering

func (ipao InformationProtectionAwsOffering) AsDefenderCspmGcpOffering() (*DefenderCspmGcpOffering, bool)

AsDefenderCspmGcpOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderFoDatabasesAwsOffering

func (ipao InformationProtectionAwsOffering) AsDefenderFoDatabasesAwsOffering() (*DefenderFoDatabasesAwsOffering, bool)

AsDefenderFoDatabasesAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForContainersAwsOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForContainersAwsOffering() (*DefenderForContainersAwsOffering, bool)

AsDefenderForContainersAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForContainersGcpOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForContainersGcpOffering() (*DefenderForContainersGcpOffering, bool)

AsDefenderForContainersGcpOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForDatabasesGcpOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForDatabasesGcpOffering() (*DefenderForDatabasesGcpOffering, bool)

AsDefenderForDatabasesGcpOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForDevOpsAzureDevOpsOffering() (*DefenderForDevOpsAzureDevOpsOffering, bool)

AsDefenderForDevOpsAzureDevOpsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForDevOpsGithubOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForDevOpsGithubOffering() (*DefenderForDevOpsGithubOffering, bool)

AsDefenderForDevOpsGithubOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForServersAwsOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForServersAwsOffering() (*DefenderForServersAwsOffering, bool)

AsDefenderForServersAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsDefenderForServersGcpOffering

func (ipao InformationProtectionAwsOffering) AsDefenderForServersGcpOffering() (*DefenderForServersGcpOffering, bool)

AsDefenderForServersGcpOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) AsInformationProtectionAwsOffering

func (ipao InformationProtectionAwsOffering) AsInformationProtectionAwsOffering() (*InformationProtectionAwsOffering, bool)

AsInformationProtectionAwsOffering is the BasicCloudOffering implementation for InformationProtectionAwsOffering.

func (InformationProtectionAwsOffering) MarshalJSON

func (ipao InformationProtectionAwsOffering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionAwsOffering.

type InformationProtectionAwsOfferingInformationProtection

type InformationProtectionAwsOfferingInformationProtection struct {
	// CloudRoleArn - The cloud role ARN in AWS for this feature
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

InformationProtectionAwsOfferingInformationProtection the native cloud connection configuration

type InformationProtectionKeyword

type InformationProtectionKeyword struct {
	// Pattern - The keyword pattern.
	Pattern *string `json:"pattern,omitempty"`
	// Custom - Indicates whether the keyword is custom or not.
	Custom *bool `json:"custom,omitempty"`
	// CanBeNumeric - Indicates whether the keyword can be applied on numeric types or not.
	CanBeNumeric *bool `json:"canBeNumeric,omitempty"`
	// Excluded - Indicates whether the keyword is excluded or not.
	Excluded *bool `json:"excluded,omitempty"`
}

InformationProtectionKeyword the information type keyword.

type InformationProtectionPoliciesClient

type InformationProtectionPoliciesClient struct {
	BaseClient
}

InformationProtectionPoliciesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewInformationProtectionPoliciesClient

func NewInformationProtectionPoliciesClient(subscriptionID string) InformationProtectionPoliciesClient

NewInformationProtectionPoliciesClient creates an instance of the InformationProtectionPoliciesClient client.

func NewInformationProtectionPoliciesClientWithBaseURI

func NewInformationProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) InformationProtectionPoliciesClient

NewInformationProtectionPoliciesClientWithBaseURI creates an instance of the InformationProtectionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InformationProtectionPoliciesClient) CreateOrUpdate

func (client InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, scope string, informationProtectionPolicyName InformationProtectionPolicyName, informationProtectionPolicy InformationProtectionPolicy) (result InformationProtectionPolicy, err error)

CreateOrUpdate details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy. informationProtectionPolicy - information protection policy.

func (InformationProtectionPoliciesClient) CreateOrUpdatePreparer

func (client InformationProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, scope string, informationProtectionPolicyName InformationProtectionPolicyName, informationProtectionPolicy InformationProtectionPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InformationProtectionPoliciesClient) CreateOrUpdateResponder

func (client InformationProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result InformationProtectionPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) CreateOrUpdateSender

func (client InformationProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (InformationProtectionPoliciesClient) Get

func (client InformationProtectionPoliciesClient) Get(ctx context.Context, scope string, informationProtectionPolicyName InformationProtectionPolicyName) (result InformationProtectionPolicy, err error)

Get details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy.

func (InformationProtectionPoliciesClient) GetPreparer

func (client InformationProtectionPoliciesClient) GetPreparer(ctx context.Context, scope string, informationProtectionPolicyName InformationProtectionPolicyName) (*http.Request, error)

GetPreparer prepares the Get request.

func (InformationProtectionPoliciesClient) GetResponder

func (client InformationProtectionPoliciesClient) GetResponder(resp *http.Response) (result InformationProtectionPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InformationProtectionPoliciesClient) List

List information protection policies of a specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (InformationProtectionPoliciesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InformationProtectionPoliciesClient) ListPreparer

func (client InformationProtectionPoliciesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (InformationProtectionPoliciesClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) ListSender

func (client InformationProtectionPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InformationProtectionPolicy

type InformationProtectionPolicy struct {
	autorest.Response `json:"-"`
	// InformationProtectionPolicyProperties - Information protection policy data
	*InformationProtectionPolicyProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

InformationProtectionPolicy information protection policy.

func (InformationProtectionPolicy) MarshalJSON

func (ipp InformationProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionPolicy.

func (*InformationProtectionPolicy) UnmarshalJSON

func (ipp *InformationProtectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InformationProtectionPolicy struct.

type InformationProtectionPolicyList

type InformationProtectionPolicyList struct {
	autorest.Response `json:"-"`
	// Value - List of information protection policies.
	Value *[]InformationProtectionPolicy `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

InformationProtectionPolicyList information protection policies response.

func (InformationProtectionPolicyList) IsEmpty

func (ippl InformationProtectionPolicyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (InformationProtectionPolicyList) MarshalJSON

func (ippl InformationProtectionPolicyList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionPolicyList.

type InformationProtectionPolicyListIterator

type InformationProtectionPolicyListIterator struct {
	// contains filtered or unexported fields
}

InformationProtectionPolicyListIterator provides access to a complete listing of InformationProtectionPolicy values.

func NewInformationProtectionPolicyListIterator

func NewInformationProtectionPolicyListIterator(page InformationProtectionPolicyListPage) InformationProtectionPolicyListIterator

Creates a new instance of the InformationProtectionPolicyListIterator type.

func (*InformationProtectionPolicyListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InformationProtectionPolicyListIterator) NextWithContext

func (iter *InformationProtectionPolicyListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InformationProtectionPolicyListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (InformationProtectionPolicyListIterator) Response

Response returns the raw server response from the last page request.

func (InformationProtectionPolicyListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InformationProtectionPolicyListPage

type InformationProtectionPolicyListPage struct {
	// contains filtered or unexported fields
}

InformationProtectionPolicyListPage contains a page of InformationProtectionPolicy values.

func NewInformationProtectionPolicyListPage

Creates a new instance of the InformationProtectionPolicyListPage type.

func (*InformationProtectionPolicyListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InformationProtectionPolicyListPage) NextWithContext

func (page *InformationProtectionPolicyListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InformationProtectionPolicyListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InformationProtectionPolicyListPage) Response

Response returns the raw server response from the last page request.

func (InformationProtectionPolicyListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InformationProtectionPolicyName

type InformationProtectionPolicyName string

InformationProtectionPolicyName enumerates the values for information protection policy name.

const (
	// Custom ...
	Custom InformationProtectionPolicyName = "custom"
	// Effective ...
	Effective InformationProtectionPolicyName = "effective"
)

func PossibleInformationProtectionPolicyNameValues

func PossibleInformationProtectionPolicyNameValues() []InformationProtectionPolicyName

PossibleInformationProtectionPolicyNameValues returns an array of possible values for the InformationProtectionPolicyName const type.

type InformationProtectionPolicyProperties

type InformationProtectionPolicyProperties struct {
	// LastModifiedUtc - READ-ONLY; Describes the last UTC time the policy was modified.
	LastModifiedUtc *date.Time `json:"lastModifiedUtc,omitempty"`
	// Version - READ-ONLY; Describes the version of the policy.
	Version *string `json:"version,omitempty"`
	// Labels - Dictionary of sensitivity labels.
	Labels map[string]*SensitivityLabel `json:"labels"`
	// InformationTypes - The sensitivity information types.
	InformationTypes map[string]*InformationType `json:"informationTypes"`
}

InformationProtectionPolicyProperties describes properties of an information protection policy.

func (InformationProtectionPolicyProperties) MarshalJSON

func (ippp InformationProtectionPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionPolicyProperties.

type InformationType

type InformationType struct {
	// DisplayName - The name of the information type.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description of the information type.
	Description *string `json:"description,omitempty"`
	// Order - The order of the information type.
	Order *int32 `json:"order,omitempty"`
	// RecommendedLabelID - The recommended label id to be associated with this information type.
	RecommendedLabelID *uuid.UUID `json:"recommendedLabelId,omitempty"`
	// Enabled - Indicates whether the information type is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`
	// Custom - Indicates whether the information type is custom or not.
	Custom *bool `json:"custom,omitempty"`
	// Keywords - The information type keywords.
	Keywords *[]InformationProtectionKeyword `json:"keywords,omitempty"`
}

InformationType the information type.

type IngestionConnectionString

type IngestionConnectionString struct {
	// Location - READ-ONLY; The region where ingested logs and data resides
	Location *string `json:"location,omitempty"`
	// Value - READ-ONLY; Connection string value
	Value *string `json:"value,omitempty"`
}

IngestionConnectionString connection string for ingesting security data and logs

func (IngestionConnectionString) MarshalJSON

func (ics IngestionConnectionString) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IngestionConnectionString.

type IngestionSetting

type IngestionSetting struct {
	autorest.Response `json:"-"`
	// Properties - Ingestion setting data
	Properties interface{} `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

IngestionSetting configures how to correlate scan data and logs with resources associated with the subscription.

func (IngestionSetting) MarshalJSON

func (is IngestionSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IngestionSetting.

type IngestionSettingList

type IngestionSettingList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of ingestion settings
	Value *[]IngestionSetting `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IngestionSettingList list of ingestion settings

func (IngestionSettingList) IsEmpty

func (isl IngestionSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (IngestionSettingList) MarshalJSON

func (isl IngestionSettingList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IngestionSettingList.

type IngestionSettingListIterator

type IngestionSettingListIterator struct {
	// contains filtered or unexported fields
}

IngestionSettingListIterator provides access to a complete listing of IngestionSetting values.

func NewIngestionSettingListIterator

func NewIngestionSettingListIterator(page IngestionSettingListPage) IngestionSettingListIterator

Creates a new instance of the IngestionSettingListIterator type.

func (*IngestionSettingListIterator) Next

func (iter *IngestionSettingListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IngestionSettingListIterator) NextWithContext

func (iter *IngestionSettingListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IngestionSettingListIterator) NotDone

func (iter IngestionSettingListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IngestionSettingListIterator) Response

Response returns the raw server response from the last page request.

func (IngestionSettingListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IngestionSettingListPage

type IngestionSettingListPage struct {
	// contains filtered or unexported fields
}

IngestionSettingListPage contains a page of IngestionSetting values.

func NewIngestionSettingListPage

func NewIngestionSettingListPage(cur IngestionSettingList, getNextPage func(context.Context, IngestionSettingList) (IngestionSettingList, error)) IngestionSettingListPage

Creates a new instance of the IngestionSettingListPage type.

func (*IngestionSettingListPage) Next

func (page *IngestionSettingListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IngestionSettingListPage) NextWithContext

func (page *IngestionSettingListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IngestionSettingListPage) NotDone

func (page IngestionSettingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IngestionSettingListPage) Response

Response returns the raw server response from the last page request.

func (IngestionSettingListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type IngestionSettingToken

type IngestionSettingToken struct {
	autorest.Response `json:"-"`
	// Token - READ-ONLY; The token is used for correlating security data and logs with the resources in the subscription.
	Token *string `json:"token,omitempty"`
}

IngestionSettingToken configures how to correlate scan data and logs with resources associated with the subscription.

func (IngestionSettingToken) MarshalJSON

func (ist IngestionSettingToken) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IngestionSettingToken.

type IngestionSettingsClient

type IngestionSettingsClient struct {
	BaseClient
}

IngestionSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIngestionSettingsClient

func NewIngestionSettingsClient(subscriptionID string) IngestionSettingsClient

NewIngestionSettingsClient creates an instance of the IngestionSettingsClient client.

func NewIngestionSettingsClientWithBaseURI

func NewIngestionSettingsClientWithBaseURI(baseURI string, subscriptionID string) IngestionSettingsClient

NewIngestionSettingsClientWithBaseURI creates an instance of the IngestionSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (IngestionSettingsClient) Create

func (client IngestionSettingsClient) Create(ctx context.Context, ingestionSettingName string, ingestionSetting IngestionSetting) (result IngestionSetting, err error)

Create create setting for ingesting security data and logs to correlate with resources associated with the subscription. Parameters: ingestionSettingName - name of the ingestion setting ingestionSetting - ingestion setting object

func (IngestionSettingsClient) CreatePreparer

func (client IngestionSettingsClient) CreatePreparer(ctx context.Context, ingestionSettingName string, ingestionSetting IngestionSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (IngestionSettingsClient) CreateResponder

func (client IngestionSettingsClient) CreateResponder(resp *http.Response) (result IngestionSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (IngestionSettingsClient) CreateSender

func (client IngestionSettingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (IngestionSettingsClient) Delete

func (client IngestionSettingsClient) Delete(ctx context.Context, ingestionSettingName string) (result autorest.Response, err error)

Delete deletes the ingestion settings for this subscription. Parameters: ingestionSettingName - name of the ingestion setting

func (IngestionSettingsClient) DeletePreparer

func (client IngestionSettingsClient) DeletePreparer(ctx context.Context, ingestionSettingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IngestionSettingsClient) DeleteResponder

func (client IngestionSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (IngestionSettingsClient) DeleteSender

func (client IngestionSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (IngestionSettingsClient) Get

func (client IngestionSettingsClient) Get(ctx context.Context, ingestionSettingName string) (result IngestionSetting, err error)

Get settings for ingesting security data and logs to correlate with resources associated with the subscription. Parameters: ingestionSettingName - name of the ingestion setting

func (IngestionSettingsClient) GetPreparer

func (client IngestionSettingsClient) GetPreparer(ctx context.Context, ingestionSettingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IngestionSettingsClient) GetResponder

func (client IngestionSettingsClient) GetResponder(resp *http.Response) (result IngestionSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IngestionSettingsClient) GetSender

func (client IngestionSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IngestionSettingsClient) List

func (client IngestionSettingsClient) List(ctx context.Context) (result IngestionSettingListPage, err error)

List settings for ingesting security data and logs to correlate with resources associated with the subscription.

func (IngestionSettingsClient) ListComplete

func (client IngestionSettingsClient) ListComplete(ctx context.Context) (result IngestionSettingListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IngestionSettingsClient) ListConnectionStrings

func (client IngestionSettingsClient) ListConnectionStrings(ctx context.Context, ingestionSettingName string) (result ConnectionStrings, err error)

ListConnectionStrings connection strings for ingesting security scan logs and data. Parameters: ingestionSettingName - name of the ingestion setting

func (IngestionSettingsClient) ListConnectionStringsPreparer

func (client IngestionSettingsClient) ListConnectionStringsPreparer(ctx context.Context, ingestionSettingName string) (*http.Request, error)

ListConnectionStringsPreparer prepares the ListConnectionStrings request.

func (IngestionSettingsClient) ListConnectionStringsResponder

func (client IngestionSettingsClient) ListConnectionStringsResponder(resp *http.Response) (result ConnectionStrings, err error)

ListConnectionStringsResponder handles the response to the ListConnectionStrings request. The method always closes the http.Response Body.

func (IngestionSettingsClient) ListConnectionStringsSender

func (client IngestionSettingsClient) ListConnectionStringsSender(req *http.Request) (*http.Response, error)

ListConnectionStringsSender sends the ListConnectionStrings request. The method will close the http.Response Body if it receives an error.

func (IngestionSettingsClient) ListPreparer

func (client IngestionSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (IngestionSettingsClient) ListResponder

func (client IngestionSettingsClient) ListResponder(resp *http.Response) (result IngestionSettingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IngestionSettingsClient) ListSender

func (client IngestionSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (IngestionSettingsClient) ListTokens

func (client IngestionSettingsClient) ListTokens(ctx context.Context, ingestionSettingName string) (result IngestionSettingToken, err error)

ListTokens returns the token that is used for correlating ingested telemetry with the resources in the subscription. Parameters: ingestionSettingName - name of the ingestion setting

func (IngestionSettingsClient) ListTokensPreparer

func (client IngestionSettingsClient) ListTokensPreparer(ctx context.Context, ingestionSettingName string) (*http.Request, error)

ListTokensPreparer prepares the ListTokens request.

func (IngestionSettingsClient) ListTokensResponder

func (client IngestionSettingsClient) ListTokensResponder(resp *http.Response) (result IngestionSettingToken, err error)

ListTokensResponder handles the response to the ListTokens request. The method always closes the http.Response Body.

func (IngestionSettingsClient) ListTokensSender

func (client IngestionSettingsClient) ListTokensSender(req *http.Request) (*http.Response, error)

ListTokensSender sends the ListTokens request. The method will close the http.Response Body if it receives an error.

type Intent

type Intent string

Intent enumerates the values for intent.

const (
	// IntentCollection Collection consists of techniques used to identify and gather information, such as
	// sensitive files, from a target network prior to exfiltration.
	IntentCollection Intent = "Collection"
	// IntentCommandAndControl The command and control tactic represents how adversaries communicate with
	// systems under their control within a target network.
	IntentCommandAndControl Intent = "CommandAndControl"
	// IntentCredentialAccess Credential access represents techniques resulting in access to or control over
	// system, domain, or service credentials that are used within an enterprise environment.
	IntentCredentialAccess Intent = "CredentialAccess"
	// IntentDefenseEvasion Defense evasion consists of techniques an adversary may use to evade detection or
	// avoid other defenses.
	IntentDefenseEvasion Intent = "DefenseEvasion"
	// IntentDiscovery Discovery consists of techniques that allow the adversary to gain knowledge about the
	// system and internal network.
	IntentDiscovery Intent = "Discovery"
	// IntentExecution The execution tactic represents techniques that result in execution of
	// adversary-controlled code on a local or remote system.
	IntentExecution Intent = "Execution"
	// IntentExfiltration Exfiltration refers to techniques and attributes that result or aid in the adversary
	// removing files and information from a target network.
	IntentExfiltration Intent = "Exfiltration"
	// IntentExploitation Exploitation is the stage where an attacker manages to get a foothold on the attacked
	// resource. This stage is relevant for compute hosts and resources such as user accounts, certificates
	// etc.
	IntentExploitation Intent = "Exploitation"
	// IntentImpact Impact events primarily try to directly reduce the availability or integrity of a system,
	// service, or network; including manipulation of data to impact a business or operational process.
	IntentImpact Intent = "Impact"
	// IntentInitialAccess InitialAccess is the stage where an attacker manages to get foothold on the attacked
	// resource.
	IntentInitialAccess Intent = "InitialAccess"
	// IntentLateralMovement Lateral movement consists of techniques that enable an adversary to access and
	// control remote systems on a network and could, but does not necessarily, include execution of tools on
	// remote systems.
	IntentLateralMovement Intent = "LateralMovement"
	// IntentPersistence Persistence is any access, action, or configuration change to a system that gives a
	// threat actor a persistent presence on that system.
	IntentPersistence Intent = "Persistence"
	// IntentPreAttack PreAttack could be either an attempt to access a certain resource regardless of a
	// malicious intent, or a failed attempt to gain access to a target system to gather information prior to
	// exploitation. This step is usually detected as an attempt, originating from outside the network, to scan
	// the target system and find a way in.  Further details on the PreAttack stage can be read in [MITRE
	// Pre-Att&ck matrix](https://attack.mitre.org/matrices/pre/).
	IntentPreAttack Intent = "PreAttack"
	// IntentPrivilegeEscalation Privilege escalation is the result of actions that allow an adversary to
	// obtain a higher level of permissions on a system or network.
	IntentPrivilegeEscalation Intent = "PrivilegeEscalation"
	// IntentProbing Probing could be either an attempt to access a certain resource regardless of a malicious
	// intent, or a failed attempt to gain access to a target system to gather information prior to
	// exploitation.
	IntentProbing Intent = "Probing"
	// IntentUnknown Unknown
	IntentUnknown Intent = "Unknown"
)

func PossibleIntentValues

func PossibleIntentValues() []Intent

PossibleIntentValues returns an array of possible values for the Intent const type.

type IoTSecurityAggregatedAlert

type IoTSecurityAggregatedAlert struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// IoTSecurityAggregatedAlertProperties - IoT Security solution aggregated alert details.
	*IoTSecurityAggregatedAlertProperties `json:"properties,omitempty"`
}

IoTSecurityAggregatedAlert security Solution Aggregated Alert information

func (IoTSecurityAggregatedAlert) MarshalJSON

func (itsaa IoTSecurityAggregatedAlert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlert.

func (*IoTSecurityAggregatedAlert) UnmarshalJSON

func (itsaa *IoTSecurityAggregatedAlert) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedAlert struct.

type IoTSecurityAggregatedAlertList

type IoTSecurityAggregatedAlertList struct {
	autorest.Response `json:"-"`
	// Value - List of aggregated alerts data.
	Value *[]IoTSecurityAggregatedAlert `json:"value,omitempty"`
	// NextLink - READ-ONLY; When there is too much alert data for one page, use this URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IoTSecurityAggregatedAlertList list of IoT Security solution aggregated alert data.

func (IoTSecurityAggregatedAlertList) IsEmpty

func (itsaal IoTSecurityAggregatedAlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (IoTSecurityAggregatedAlertList) MarshalJSON

func (itsaal IoTSecurityAggregatedAlertList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlertList.

type IoTSecurityAggregatedAlertListIterator

type IoTSecurityAggregatedAlertListIterator struct {
	// contains filtered or unexported fields
}

IoTSecurityAggregatedAlertListIterator provides access to a complete listing of IoTSecurityAggregatedAlert values.

func NewIoTSecurityAggregatedAlertListIterator

func NewIoTSecurityAggregatedAlertListIterator(page IoTSecurityAggregatedAlertListPage) IoTSecurityAggregatedAlertListIterator

Creates a new instance of the IoTSecurityAggregatedAlertListIterator type.

func (*IoTSecurityAggregatedAlertListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedAlertListIterator) NextWithContext

func (iter *IoTSecurityAggregatedAlertListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecurityAggregatedAlertListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedAlertListIterator) Response

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedAlertListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecurityAggregatedAlertListPage

type IoTSecurityAggregatedAlertListPage struct {
	// contains filtered or unexported fields
}

IoTSecurityAggregatedAlertListPage contains a page of IoTSecurityAggregatedAlert values.

func NewIoTSecurityAggregatedAlertListPage

Creates a new instance of the IoTSecurityAggregatedAlertListPage type.

func (*IoTSecurityAggregatedAlertListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedAlertListPage) NextWithContext

func (page *IoTSecurityAggregatedAlertListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecurityAggregatedAlertListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedAlertListPage) Response

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedAlertListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type IoTSecurityAggregatedAlertProperties

type IoTSecurityAggregatedAlertProperties struct {
	// AlertType - READ-ONLY; Name of the alert type.
	AlertType *string `json:"alertType,omitempty"`
	// AlertDisplayName - READ-ONLY; Display name of the alert type.
	AlertDisplayName *string `json:"alertDisplayName,omitempty"`
	// AggregatedDateUtc - READ-ONLY; Date of detection.
	AggregatedDateUtc *date.Date `json:"aggregatedDateUtc,omitempty"`
	// VendorName - READ-ONLY; Name of the organization that raised the alert.
	VendorName *string `json:"vendorName,omitempty"`
	// ReportedSeverity - READ-ONLY; Assessed alert severity. Possible values include: 'ReportedSeverityInformational', 'ReportedSeverityLow', 'ReportedSeverityMedium', 'ReportedSeverityHigh'
	ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
	// RemediationSteps - READ-ONLY; Recommended steps for remediation.
	RemediationSteps *string `json:"remediationSteps,omitempty"`
	// Description - READ-ONLY; Description of the suspected vulnerability and meaning.
	Description *string `json:"description,omitempty"`
	// Count - READ-ONLY; Number of alerts occurrences within the aggregated time window.
	Count *int64 `json:"count,omitempty"`
	// EffectedResourceType - READ-ONLY; Azure resource ID of the resource that received the alerts.
	EffectedResourceType *string `json:"effectedResourceType,omitempty"`
	// SystemSource - READ-ONLY; The type of the alerted resource (Azure, Non-Azure).
	SystemSource *string `json:"systemSource,omitempty"`
	// ActionTaken - READ-ONLY; IoT Security solution alert response.
	ActionTaken *string `json:"actionTaken,omitempty"`
	// LogAnalyticsQuery - READ-ONLY; Log analytics query for getting the list of affected devices/alerts.
	LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"`
	// TopDevicesList - READ-ONLY; 10 devices with the highest number of occurrences of this alert type, on this day.
	TopDevicesList *[]IoTSecurityAggregatedAlertPropertiesTopDevicesListItem `json:"topDevicesList,omitempty"`
}

IoTSecurityAggregatedAlertProperties ioT Security solution aggregated alert details.

func (IoTSecurityAggregatedAlertProperties) MarshalJSON

func (itsaap IoTSecurityAggregatedAlertProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlertProperties.

type IoTSecurityAggregatedAlertPropertiesTopDevicesListItem

type IoTSecurityAggregatedAlertPropertiesTopDevicesListItem struct {
	// DeviceID - READ-ONLY; Name of the device.
	DeviceID *string `json:"deviceId,omitempty"`
	// AlertsCount - READ-ONLY; Number of alerts raised for this device.
	AlertsCount *int64 `json:"alertsCount,omitempty"`
	// LastOccurrence - READ-ONLY; Most recent time this alert was raised for this device, on this day.
	LastOccurrence *string `json:"lastOccurrence,omitempty"`
}

IoTSecurityAggregatedAlertPropertiesTopDevicesListItem ...

func (IoTSecurityAggregatedAlertPropertiesTopDevicesListItem) MarshalJSON

MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlertPropertiesTopDevicesListItem.

type IoTSecurityAggregatedRecommendation

type IoTSecurityAggregatedRecommendation struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// IoTSecurityAggregatedRecommendationProperties - Security Solution data
	*IoTSecurityAggregatedRecommendationProperties `json:"properties,omitempty"`
}

IoTSecurityAggregatedRecommendation ioT Security solution recommendation information.

func (IoTSecurityAggregatedRecommendation) MarshalJSON

func (itsar IoTSecurityAggregatedRecommendation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendation.

func (*IoTSecurityAggregatedRecommendation) UnmarshalJSON

func (itsar *IoTSecurityAggregatedRecommendation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedRecommendation struct.

type IoTSecurityAggregatedRecommendationList

type IoTSecurityAggregatedRecommendationList struct {
	autorest.Response `json:"-"`
	// Value - List of aggregated recommendations data.
	Value *[]IoTSecurityAggregatedRecommendation `json:"value,omitempty"`
	// NextLink - READ-ONLY; When there is too much alert data for one page, use this URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IoTSecurityAggregatedRecommendationList list of IoT Security solution aggregated recommendations.

func (IoTSecurityAggregatedRecommendationList) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (IoTSecurityAggregatedRecommendationList) MarshalJSON

func (itsarl IoTSecurityAggregatedRecommendationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendationList.

type IoTSecurityAggregatedRecommendationListIterator

type IoTSecurityAggregatedRecommendationListIterator struct {
	// contains filtered or unexported fields
}

IoTSecurityAggregatedRecommendationListIterator provides access to a complete listing of IoTSecurityAggregatedRecommendation values.

func NewIoTSecurityAggregatedRecommendationListIterator

func NewIoTSecurityAggregatedRecommendationListIterator(page IoTSecurityAggregatedRecommendationListPage) IoTSecurityAggregatedRecommendationListIterator

Creates a new instance of the IoTSecurityAggregatedRecommendationListIterator type.

func (*IoTSecurityAggregatedRecommendationListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedRecommendationListIterator) NextWithContext

func (iter *IoTSecurityAggregatedRecommendationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecurityAggregatedRecommendationListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedRecommendationListIterator) Response

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedRecommendationListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecurityAggregatedRecommendationListPage

type IoTSecurityAggregatedRecommendationListPage struct {
	// contains filtered or unexported fields
}

IoTSecurityAggregatedRecommendationListPage contains a page of IoTSecurityAggregatedRecommendation values.

func NewIoTSecurityAggregatedRecommendationListPage

Creates a new instance of the IoTSecurityAggregatedRecommendationListPage type.

func (*IoTSecurityAggregatedRecommendationListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedRecommendationListPage) NextWithContext

func (page *IoTSecurityAggregatedRecommendationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecurityAggregatedRecommendationListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedRecommendationListPage) Response

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedRecommendationListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type IoTSecurityAggregatedRecommendationProperties

type IoTSecurityAggregatedRecommendationProperties struct {
	// RecommendationName - Name of the recommendation.
	RecommendationName *string `json:"recommendationName,omitempty"`
	// RecommendationDisplayName - READ-ONLY; Display name of the recommendation type.
	RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"`
	// Description - READ-ONLY; Description of the suspected vulnerability and meaning.
	Description *string `json:"description,omitempty"`
	// RecommendationTypeID - READ-ONLY; Recommendation-type GUID.
	RecommendationTypeID *string `json:"recommendationTypeId,omitempty"`
	// DetectedBy - READ-ONLY; Name of the organization that made the recommendation.
	DetectedBy *string `json:"detectedBy,omitempty"`
	// RemediationSteps - READ-ONLY; Recommended steps for remediation
	RemediationSteps *string `json:"remediationSteps,omitempty"`
	// ReportedSeverity - READ-ONLY; Assessed recommendation severity. Possible values include: 'ReportedSeverityInformational', 'ReportedSeverityLow', 'ReportedSeverityMedium', 'ReportedSeverityHigh'
	ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
	// HealthyDevices - READ-ONLY; Number of healthy devices within the IoT Security solution.
	HealthyDevices *int64 `json:"healthyDevices,omitempty"`
	// UnhealthyDeviceCount - READ-ONLY; Number of unhealthy devices within the IoT Security solution.
	UnhealthyDeviceCount *int64 `json:"unhealthyDeviceCount,omitempty"`
	// LogAnalyticsQuery - READ-ONLY; Log analytics query for getting the list of affected devices/alerts.
	LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"`
}

IoTSecurityAggregatedRecommendationProperties ioT Security solution aggregated recommendation information

func (IoTSecurityAggregatedRecommendationProperties) MarshalJSON

func (itsarp IoTSecurityAggregatedRecommendationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendationProperties.

type IoTSecurityAlertedDevice

type IoTSecurityAlertedDevice struct {
	// DeviceID - READ-ONLY; Device identifier.
	DeviceID *string `json:"deviceId,omitempty"`
	// AlertsCount - READ-ONLY; Number of alerts raised for this device.
	AlertsCount *int64 `json:"alertsCount,omitempty"`
}

IoTSecurityAlertedDevice statistical information about the number of alerts per device during last set number of days.

func (IoTSecurityAlertedDevice) MarshalJSON

func (itsad IoTSecurityAlertedDevice) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAlertedDevice.

type IoTSecurityDeviceAlert

type IoTSecurityDeviceAlert struct {
	// AlertDisplayName - READ-ONLY; Display name of the alert
	AlertDisplayName *string `json:"alertDisplayName,omitempty"`
	// ReportedSeverity - READ-ONLY; Assessed Alert severity. Possible values include: 'ReportedSeverityInformational', 'ReportedSeverityLow', 'ReportedSeverityMedium', 'ReportedSeverityHigh'
	ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
	// AlertsCount - READ-ONLY; Number of alerts raised for this alert type.
	AlertsCount *int64 `json:"alertsCount,omitempty"`
}

IoTSecurityDeviceAlert statistical information about the number of alerts per alert type during last set number of days

func (IoTSecurityDeviceAlert) MarshalJSON

func (itsda IoTSecurityDeviceAlert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityDeviceAlert.

type IoTSecurityDeviceRecommendation

type IoTSecurityDeviceRecommendation struct {
	// RecommendationDisplayName - READ-ONLY; Display name of the recommendation.
	RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"`
	// ReportedSeverity - READ-ONLY; Assessed recommendation severity. Possible values include: 'ReportedSeverityInformational', 'ReportedSeverityLow', 'ReportedSeverityMedium', 'ReportedSeverityHigh'
	ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
	// DevicesCount - READ-ONLY; Number of devices with this recommendation.
	DevicesCount *int64 `json:"devicesCount,omitempty"`
}

IoTSecurityDeviceRecommendation statistical information about the number of recommendations per device, per recommendation type.

func (IoTSecurityDeviceRecommendation) MarshalJSON

func (itsdr IoTSecurityDeviceRecommendation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityDeviceRecommendation.

type IoTSecuritySolutionAnalyticsModel

type IoTSecuritySolutionAnalyticsModel struct {
	autorest.Response `json:"-"`
	// IoTSecuritySolutionAnalyticsModelProperties - Security Solution  Aggregated Alert data
	*IoTSecuritySolutionAnalyticsModelProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

IoTSecuritySolutionAnalyticsModel security analytics of your IoT Security solution

func (IoTSecuritySolutionAnalyticsModel) MarshalJSON

func (itssam IoTSecuritySolutionAnalyticsModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModel.

func (*IoTSecuritySolutionAnalyticsModel) UnmarshalJSON

func (itssam *IoTSecuritySolutionAnalyticsModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionAnalyticsModel struct.

type IoTSecuritySolutionAnalyticsModelList

type IoTSecuritySolutionAnalyticsModelList struct {
	autorest.Response `json:"-"`
	// Value - List of Security analytics of your IoT Security solution
	Value *[]IoTSecuritySolutionAnalyticsModel `json:"value,omitempty"`
	// NextLink - READ-ONLY; When there is too much alert data for one page, use this URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IoTSecuritySolutionAnalyticsModelList list of Security analytics of your IoT Security solution

func (IoTSecuritySolutionAnalyticsModelList) MarshalJSON

func (itssaml IoTSecuritySolutionAnalyticsModelList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModelList.

type IoTSecuritySolutionAnalyticsModelProperties

type IoTSecuritySolutionAnalyticsModelProperties struct {
	// Metrics - READ-ONLY; Security analytics of your IoT Security solution.
	Metrics *IoTSeverityMetrics `json:"metrics,omitempty"`
	// UnhealthyDeviceCount - READ-ONLY; Number of unhealthy devices within your IoT Security solution.
	UnhealthyDeviceCount *int64 `json:"unhealthyDeviceCount,omitempty"`
	// DevicesMetrics - READ-ONLY; List of device metrics by the aggregation date.
	DevicesMetrics *[]IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem `json:"devicesMetrics,omitempty"`
	// TopAlertedDevices - List of the 3 devices with the most alerts.
	TopAlertedDevices *[]IoTSecurityAlertedDevice `json:"topAlertedDevices,omitempty"`
	// MostPrevalentDeviceAlerts - List of the 3 most prevalent device alerts.
	MostPrevalentDeviceAlerts *[]IoTSecurityDeviceAlert `json:"mostPrevalentDeviceAlerts,omitempty"`
	// MostPrevalentDeviceRecommendations - List of the 3 most prevalent device recommendations.
	MostPrevalentDeviceRecommendations *[]IoTSecurityDeviceRecommendation `json:"mostPrevalentDeviceRecommendations,omitempty"`
}

IoTSecuritySolutionAnalyticsModelProperties security analytics properties of your IoT Security solution

func (IoTSecuritySolutionAnalyticsModelProperties) MarshalJSON

func (itssamp IoTSecuritySolutionAnalyticsModelProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModelProperties.

type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem

type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem struct {
	// Date - Aggregation of IoT Security solution device alert metrics by date.
	Date *date.Time `json:"date,omitempty"`
	// DevicesMetrics - Device alert count by severity.
	DevicesMetrics *IoTSeverityMetrics `json:"devicesMetrics,omitempty"`
}

IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem ...

type IoTSecuritySolutionModel

type IoTSecuritySolutionModel struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// IoTSecuritySolutionProperties - Security Solution data
	*IoTSecuritySolutionProperties `json:"properties,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

IoTSecuritySolutionModel ioT Security solution configuration and resource information.

func (IoTSecuritySolutionModel) MarshalJSON

func (itssm IoTSecuritySolutionModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionModel.

func (*IoTSecuritySolutionModel) UnmarshalJSON

func (itssm *IoTSecuritySolutionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionModel struct.

type IoTSecuritySolutionProperties

type IoTSecuritySolutionProperties struct {
	// Workspace - Workspace resource ID
	Workspace *string `json:"workspace,omitempty"`
	// DisplayName - Resource display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Status - Status of the IoT Security solution. Possible values include: 'SolutionStatusEnabled', 'SolutionStatusDisabled'
	Status SolutionStatus `json:"status,omitempty"`
	// Export - List of additional options for exporting to workspace data.
	Export *[]ExportData `json:"export,omitempty"`
	// DisabledDataSources - Disabled data sources. Disabling these data sources compromises the system.
	DisabledDataSources *[]DataSource `json:"disabledDataSources,omitempty"`
	// IotHubs - IoT Hub resource IDs
	IotHubs              *[]string                       `json:"iotHubs,omitempty"`
	UserDefinedResources *UserDefinedResourcesProperties `json:"userDefinedResources,omitempty"`
	// AutoDiscoveredResources - READ-ONLY; List of resources that were automatically discovered as relevant to the security solution.
	AutoDiscoveredResources      *[]string                                `json:"autoDiscoveredResources,omitempty"`
	RecommendationsConfiguration *[]RecommendationConfigurationProperties `json:"recommendationsConfiguration,omitempty"`
	// UnmaskedIPLoggingStatus - Unmasked IP address logging status. Possible values include: 'UnmaskedIPLoggingStatusDisabled', 'UnmaskedIPLoggingStatusEnabled'
	UnmaskedIPLoggingStatus UnmaskedIPLoggingStatus `json:"unmaskedIpLoggingStatus,omitempty"`
	// AdditionalWorkspaces - List of additional workspaces
	AdditionalWorkspaces *[]AdditionalWorkspacesProperties `json:"additionalWorkspaces,omitempty"`
}

IoTSecuritySolutionProperties security Solution setting data

func (IoTSecuritySolutionProperties) MarshalJSON

func (itssp IoTSecuritySolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionProperties.

type IoTSecuritySolutionsList

type IoTSecuritySolutionsList struct {
	autorest.Response `json:"-"`
	// Value - List of IoT Security solutions
	Value *[]IoTSecuritySolutionModel `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IoTSecuritySolutionsList list of IoT Security solutions.

func (IoTSecuritySolutionsList) IsEmpty

func (itssl IoTSecuritySolutionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (IoTSecuritySolutionsList) MarshalJSON

func (itssl IoTSecuritySolutionsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionsList.

type IoTSecuritySolutionsListIterator

type IoTSecuritySolutionsListIterator struct {
	// contains filtered or unexported fields
}

IoTSecuritySolutionsListIterator provides access to a complete listing of IoTSecuritySolutionModel values.

func NewIoTSecuritySolutionsListIterator

func NewIoTSecuritySolutionsListIterator(page IoTSecuritySolutionsListPage) IoTSecuritySolutionsListIterator

Creates a new instance of the IoTSecuritySolutionsListIterator type.

func (*IoTSecuritySolutionsListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecuritySolutionsListIterator) NextWithContext

func (iter *IoTSecuritySolutionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecuritySolutionsListIterator) NotDone

func (iter IoTSecuritySolutionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecuritySolutionsListIterator) Response

Response returns the raw server response from the last page request.

func (IoTSecuritySolutionsListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecuritySolutionsListPage

type IoTSecuritySolutionsListPage struct {
	// contains filtered or unexported fields
}

IoTSecuritySolutionsListPage contains a page of IoTSecuritySolutionModel values.

func NewIoTSecuritySolutionsListPage

Creates a new instance of the IoTSecuritySolutionsListPage type.

func (*IoTSecuritySolutionsListPage) Next

func (page *IoTSecuritySolutionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecuritySolutionsListPage) NextWithContext

func (page *IoTSecuritySolutionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecuritySolutionsListPage) NotDone

func (page IoTSecuritySolutionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecuritySolutionsListPage) Response

Response returns the raw server response from the last page request.

func (IoTSecuritySolutionsListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type IoTSeverityMetrics

type IoTSeverityMetrics struct {
	// High - Count of high severity alerts/recommendations.
	High *int64 `json:"high,omitempty"`
	// Medium - Count of medium severity alerts/recommendations.
	Medium *int64 `json:"medium,omitempty"`
	// Low - Count of low severity alerts/recommendations.
	Low *int64 `json:"low,omitempty"`
}

IoTSeverityMetrics ioT Security solution analytics severity metrics.

type IotSecuritySolutionAnalyticsClient

type IotSecuritySolutionAnalyticsClient struct {
	BaseClient
}

IotSecuritySolutionAnalyticsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIotSecuritySolutionAnalyticsClient

func NewIotSecuritySolutionAnalyticsClient(subscriptionID string) IotSecuritySolutionAnalyticsClient

NewIotSecuritySolutionAnalyticsClient creates an instance of the IotSecuritySolutionAnalyticsClient client.

func NewIotSecuritySolutionAnalyticsClientWithBaseURI

func NewIotSecuritySolutionAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) IotSecuritySolutionAnalyticsClient

NewIotSecuritySolutionAnalyticsClientWithBaseURI creates an instance of the IotSecuritySolutionAnalyticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (IotSecuritySolutionAnalyticsClient) Get

func (client IotSecuritySolutionAnalyticsClient) Get(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModel, err error)

Get use this method to get IoT Security Analytics metrics. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution.

func (IotSecuritySolutionAnalyticsClient) GetPreparer

func (client IotSecuritySolutionAnalyticsClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotSecuritySolutionAnalyticsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IotSecuritySolutionAnalyticsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionAnalyticsClient) List

func (client IotSecuritySolutionAnalyticsClient) List(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModelList, err error)

List use this method to get IoT security Analytics metrics in an array. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution.

func (IotSecuritySolutionAnalyticsClient) ListPreparer

func (client IotSecuritySolutionAnalyticsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

ListPreparer prepares the List request.

func (IotSecuritySolutionAnalyticsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IotSecuritySolutionAnalyticsClient) ListSender

func (client IotSecuritySolutionAnalyticsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IotSecuritySolutionClient

type IotSecuritySolutionClient struct {
	BaseClient
}

IotSecuritySolutionClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIotSecuritySolutionClient

func NewIotSecuritySolutionClient(subscriptionID string) IotSecuritySolutionClient

NewIotSecuritySolutionClient creates an instance of the IotSecuritySolutionClient client.

func NewIotSecuritySolutionClientWithBaseURI

func NewIotSecuritySolutionClientWithBaseURI(baseURI string, subscriptionID string) IotSecuritySolutionClient

NewIotSecuritySolutionClientWithBaseURI creates an instance of the IotSecuritySolutionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (IotSecuritySolutionClient) CreateOrUpdate

func (client IotSecuritySolutionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, solutionName string, iotSecuritySolutionData IoTSecuritySolutionModel) (result IoTSecuritySolutionModel, err error)

CreateOrUpdate use this method to create or update yours IoT Security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. iotSecuritySolutionData - the security solution data

func (IotSecuritySolutionClient) CreateOrUpdatePreparer

func (client IotSecuritySolutionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, iotSecuritySolutionData IoTSecuritySolutionModel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IotSecuritySolutionClient) CreateOrUpdateResponder

func (client IotSecuritySolutionClient) CreateOrUpdateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) CreateOrUpdateSender

func (client IotSecuritySolutionClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionClient) Delete

func (client IotSecuritySolutionClient) Delete(ctx context.Context, resourceGroupName string, solutionName string) (result autorest.Response, err error)

Delete use this method to delete yours IoT Security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution.

func (IotSecuritySolutionClient) DeletePreparer

func (client IotSecuritySolutionClient) DeletePreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IotSecuritySolutionClient) DeleteResponder

func (client IotSecuritySolutionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) DeleteSender

func (client IotSecuritySolutionClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionClient) Get

func (client IotSecuritySolutionClient) Get(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionModel, err error)

Get user this method to get details of a specific IoT Security solution based on solution name Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution.

func (IotSecuritySolutionClient) GetPreparer

func (client IotSecuritySolutionClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotSecuritySolutionClient) GetResponder

func (client IotSecuritySolutionClient) GetResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) GetSender

func (client IotSecuritySolutionClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionClient) ListByResourceGroup

func (client IotSecuritySolutionClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListPage, err error)

ListByResourceGroup use this method to get the list IoT Security solutions organized by resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.

func (IotSecuritySolutionClient) ListByResourceGroupComplete

func (client IotSecuritySolutionClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (IotSecuritySolutionClient) ListByResourceGroupPreparer

func (client IotSecuritySolutionClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (IotSecuritySolutionClient) ListByResourceGroupResponder

func (client IotSecuritySolutionClient) ListByResourceGroupResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) ListByResourceGroupSender

func (client IotSecuritySolutionClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionClient) ListBySubscription

func (client IotSecuritySolutionClient) ListBySubscription(ctx context.Context, filter string) (result IoTSecuritySolutionsListPage, err error)

ListBySubscription use this method to get the list of IoT Security solutions by subscription. Parameters: filter - filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.

func (IotSecuritySolutionClient) ListBySubscriptionComplete

func (client IotSecuritySolutionClient) ListBySubscriptionComplete(ctx context.Context, filter string) (result IoTSecuritySolutionsListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (IotSecuritySolutionClient) ListBySubscriptionPreparer

func (client IotSecuritySolutionClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (IotSecuritySolutionClient) ListBySubscriptionResponder

func (client IotSecuritySolutionClient) ListBySubscriptionResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) ListBySubscriptionSender

func (client IotSecuritySolutionClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionClient) Update

func (client IotSecuritySolutionClient) Update(ctx context.Context, resourceGroupName string, solutionName string, updateIotSecuritySolutionData UpdateIotSecuritySolutionData) (result IoTSecuritySolutionModel, err error)

Update use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. updateIotSecuritySolutionData - the security solution data

func (IotSecuritySolutionClient) UpdatePreparer

func (client IotSecuritySolutionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, updateIotSecuritySolutionData UpdateIotSecuritySolutionData) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (IotSecuritySolutionClient) UpdateResponder

func (client IotSecuritySolutionClient) UpdateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (IotSecuritySolutionClient) UpdateSender

func (client IotSecuritySolutionClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type IotSecuritySolutionsAnalyticsAggregatedAlertClient

type IotSecuritySolutionsAnalyticsAggregatedAlertClient struct {
	BaseClient
}

IotSecuritySolutionsAnalyticsAggregatedAlertClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIotSecuritySolutionsAnalyticsAggregatedAlertClient

func NewIotSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID string) IotSecuritySolutionsAnalyticsAggregatedAlertClient

NewIotSecuritySolutionsAnalyticsAggregatedAlertClient creates an instance of the IotSecuritySolutionsAnalyticsAggregatedAlertClient client.

func NewIotSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI

func NewIotSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI string, subscriptionID string) IotSecuritySolutionsAnalyticsAggregatedAlertClient

NewIotSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI creates an instance of the IotSecuritySolutionsAnalyticsAggregatedAlertClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result autorest.Response, err error)

Dismiss use this method to dismiss an aggregated IoT Security Solution Alert. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. aggregatedAlertName - identifier of the aggregated alert.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)

DismissPreparer prepares the Dismiss request.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder(resp *http.Response) (result autorest.Response, err error)

DismissResponder handles the response to the Dismiss request. The method always closes the http.Response Body.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender

DismissSender sends the Dismiss request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) Get

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result IoTSecurityAggregatedAlert, err error)

Get use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is performed by alert name. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. aggregatedAlertName - identifier of the aggregated alert.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) List

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListPage, err error)

List use this method to get the aggregated alert list of yours IoT Security solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. top - number of results to retrieve.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListComplete

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListPreparer

func (client IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IotSecuritySolutionsAnalyticsAggregatedAlertClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IotSecuritySolutionsAnalyticsRecommendationClient

type IotSecuritySolutionsAnalyticsRecommendationClient struct {
	BaseClient
}

IotSecuritySolutionsAnalyticsRecommendationClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIotSecuritySolutionsAnalyticsRecommendationClient

func NewIotSecuritySolutionsAnalyticsRecommendationClient(subscriptionID string) IotSecuritySolutionsAnalyticsRecommendationClient

NewIotSecuritySolutionsAnalyticsRecommendationClient creates an instance of the IotSecuritySolutionsAnalyticsRecommendationClient client.

func NewIotSecuritySolutionsAnalyticsRecommendationClientWithBaseURI

func NewIotSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI string, subscriptionID string) IotSecuritySolutionsAnalyticsRecommendationClient

NewIotSecuritySolutionsAnalyticsRecommendationClientWithBaseURI creates an instance of the IotSecuritySolutionsAnalyticsRecommendationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (IotSecuritySolutionsAnalyticsRecommendationClient) Get

func (client IotSecuritySolutionsAnalyticsRecommendationClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (result IoTSecurityAggregatedRecommendation, err error)

Get use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This aggregation is performed by recommendation name. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. aggregatedRecommendationName - name of the recommendation aggregated for this query.

func (IotSecuritySolutionsAnalyticsRecommendationClient) GetPreparer

func (client IotSecuritySolutionsAnalyticsRecommendationClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotSecuritySolutionsAnalyticsRecommendationClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IotSecuritySolutionsAnalyticsRecommendationClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IotSecuritySolutionsAnalyticsRecommendationClient) List

func (client IotSecuritySolutionsAnalyticsRecommendationClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListPage, err error)

List use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the name of the IoT Security solution. top - number of results to retrieve.

func (IotSecuritySolutionsAnalyticsRecommendationClient) ListComplete

func (client IotSecuritySolutionsAnalyticsRecommendationClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IotSecuritySolutionsAnalyticsRecommendationClient) ListPreparer

func (client IotSecuritySolutionsAnalyticsRecommendationClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (IotSecuritySolutionsAnalyticsRecommendationClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IotSecuritySolutionsAnalyticsRecommendationClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Issue

type Issue string

Issue enumerates the values for issue.

const (
	// ExecutableViolationsAudited ...
	ExecutableViolationsAudited Issue = "ExecutableViolationsAudited"
	// MsiAndScriptViolationsAudited ...
	MsiAndScriptViolationsAudited Issue = "MsiAndScriptViolationsAudited"
	// MsiAndScriptViolationsBlocked ...
	MsiAndScriptViolationsBlocked Issue = "MsiAndScriptViolationsBlocked"
	// RulesViolatedManually ...
	RulesViolatedManually Issue = "RulesViolatedManually"
	// ViolationsAudited ...
	ViolationsAudited Issue = "ViolationsAudited"
	// ViolationsBlocked ...
	ViolationsBlocked Issue = "ViolationsBlocked"
)

func PossibleIssueValues

func PossibleIssueValues() []Issue

PossibleIssueValues returns an array of possible values for the Issue const type.

type JitNetworkAccessPoliciesClient

type JitNetworkAccessPoliciesClient struct {
	BaseClient
}

JitNetworkAccessPoliciesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewJitNetworkAccessPoliciesClient

func NewJitNetworkAccessPoliciesClient(subscriptionID string) JitNetworkAccessPoliciesClient

NewJitNetworkAccessPoliciesClient creates an instance of the JitNetworkAccessPoliciesClient client.

func NewJitNetworkAccessPoliciesClientWithBaseURI

func NewJitNetworkAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string) JitNetworkAccessPoliciesClient

NewJitNetworkAccessPoliciesClientWithBaseURI creates an instance of the JitNetworkAccessPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JitNetworkAccessPoliciesClient) CreateOrUpdate

func (client JitNetworkAccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicy) (result JitNetworkAccessPolicy, err error)

CreateOrUpdate create a policy for protecting resources using Just-in-Time access control Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.

func (JitNetworkAccessPoliciesClient) CreateOrUpdatePreparer

func (client JitNetworkAccessPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (JitNetworkAccessPoliciesClient) CreateOrUpdateResponder

func (client JitNetworkAccessPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) CreateOrUpdateSender

func (client JitNetworkAccessPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) Delete

func (client JitNetworkAccessPoliciesClient) Delete(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string) (result autorest.Response, err error)

Delete delete a Just-in-Time access control policy. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.

func (JitNetworkAccessPoliciesClient) DeletePreparer

func (client JitNetworkAccessPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JitNetworkAccessPoliciesClient) DeleteResponder

func (client JitNetworkAccessPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) DeleteSender

func (client JitNetworkAccessPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) Get

func (client JitNetworkAccessPoliciesClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string) (result JitNetworkAccessPolicy, err error)

Get policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.

func (JitNetworkAccessPoliciesClient) GetPreparer

func (client JitNetworkAccessPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JitNetworkAccessPoliciesClient) GetResponder

func (client JitNetworkAccessPoliciesClient) GetResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) GetSender

func (client JitNetworkAccessPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) Initiate

func (client JitNetworkAccessPoliciesClient) Initiate(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicyInitiateRequest) (result JitNetworkAccessRequest, err error)

Initiate initiate a JIT access from a specific Just-in-Time policy configuration. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.

func (JitNetworkAccessPoliciesClient) InitiatePreparer

func (client JitNetworkAccessPoliciesClient) InitiatePreparer(ctx context.Context, resourceGroupName string, ascLocation string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicyInitiateRequest) (*http.Request, error)

InitiatePreparer prepares the Initiate request.

func (JitNetworkAccessPoliciesClient) InitiateResponder

func (client JitNetworkAccessPoliciesClient) InitiateResponder(resp *http.Response) (result JitNetworkAccessRequest, err error)

InitiateResponder handles the response to the Initiate request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) InitiateSender

func (client JitNetworkAccessPoliciesClient) InitiateSender(req *http.Request) (*http.Response, error)

InitiateSender sends the Initiate request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) List

List policies for protecting resources using Just-in-Time access control.

func (JitNetworkAccessPoliciesClient) ListByRegion

func (client JitNetworkAccessPoliciesClient) ListByRegion(ctx context.Context, ascLocation string) (result JitNetworkAccessPoliciesListPage, err error)

ListByRegion policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (JitNetworkAccessPoliciesClient) ListByRegionComplete

func (client JitNetworkAccessPoliciesClient) ListByRegionComplete(ctx context.Context, ascLocation string) (result JitNetworkAccessPoliciesListIterator, err error)

ListByRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (JitNetworkAccessPoliciesClient) ListByRegionPreparer

func (client JitNetworkAccessPoliciesClient) ListByRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByRegionPreparer prepares the ListByRegion request.

func (JitNetworkAccessPoliciesClient) ListByRegionResponder

func (client JitNetworkAccessPoliciesClient) ListByRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)

ListByRegionResponder handles the response to the ListByRegion request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) ListByRegionSender

func (client JitNetworkAccessPoliciesClient) ListByRegionSender(req *http.Request) (*http.Response, error)

ListByRegionSender sends the ListByRegion request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) ListByResourceGroup

func (client JitNetworkAccessPoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListPage, err error)

ListByResourceGroup policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegion

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegion(ctx context.Context, resourceGroupName string, ascLocation string) (result JitNetworkAccessPoliciesListPage, err error)

ListByResourceGroupAndRegion policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionComplete

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionComplete(ctx context.Context, resourceGroupName string, ascLocation string) (result JitNetworkAccessPoliciesListIterator, err error)

ListByResourceGroupAndRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionPreparer

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionPreparer(ctx context.Context, resourceGroupName string, ascLocation string) (*http.Request, error)

ListByResourceGroupAndRegionPreparer prepares the ListByResourceGroupAndRegion request.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionResponder

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)

ListByResourceGroupAndRegionResponder handles the response to the ListByResourceGroupAndRegion request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionSender

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionSender(req *http.Request) (*http.Response, error)

ListByResourceGroupAndRegionSender sends the ListByResourceGroupAndRegion request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupComplete

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupPreparer

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupResponder

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) ListByResourceGroupSender

func (client JitNetworkAccessPoliciesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (JitNetworkAccessPoliciesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (JitNetworkAccessPoliciesClient) ListPreparer

func (client JitNetworkAccessPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (JitNetworkAccessPoliciesClient) ListResponder

func (client JitNetworkAccessPoliciesClient) ListResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (JitNetworkAccessPoliciesClient) ListSender

func (client JitNetworkAccessPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type JitNetworkAccessPoliciesList

type JitNetworkAccessPoliciesList struct {
	autorest.Response `json:"-"`
	Value             *[]JitNetworkAccessPolicy `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

JitNetworkAccessPoliciesList ...

func (JitNetworkAccessPoliciesList) IsEmpty

func (jnapl JitNetworkAccessPoliciesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (JitNetworkAccessPoliciesList) MarshalJSON

func (jnapl JitNetworkAccessPoliciesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitNetworkAccessPoliciesList.

type JitNetworkAccessPoliciesListIterator

type JitNetworkAccessPoliciesListIterator struct {
	// contains filtered or unexported fields
}

JitNetworkAccessPoliciesListIterator provides access to a complete listing of JitNetworkAccessPolicy values.

func NewJitNetworkAccessPoliciesListIterator

func NewJitNetworkAccessPoliciesListIterator(page JitNetworkAccessPoliciesListPage) JitNetworkAccessPoliciesListIterator

Creates a new instance of the JitNetworkAccessPoliciesListIterator type.

func (*JitNetworkAccessPoliciesListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JitNetworkAccessPoliciesListIterator) NextWithContext

func (iter *JitNetworkAccessPoliciesListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JitNetworkAccessPoliciesListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (JitNetworkAccessPoliciesListIterator) Response

Response returns the raw server response from the last page request.

func (JitNetworkAccessPoliciesListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JitNetworkAccessPoliciesListPage

type JitNetworkAccessPoliciesListPage struct {
	// contains filtered or unexported fields
}

JitNetworkAccessPoliciesListPage contains a page of JitNetworkAccessPolicy values.

func NewJitNetworkAccessPoliciesListPage

Creates a new instance of the JitNetworkAccessPoliciesListPage type.

func (*JitNetworkAccessPoliciesListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JitNetworkAccessPoliciesListPage) NextWithContext

func (page *JitNetworkAccessPoliciesListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JitNetworkAccessPoliciesListPage) NotDone

func (page JitNetworkAccessPoliciesListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JitNetworkAccessPoliciesListPage) Response

Response returns the raw server response from the last page request.

func (JitNetworkAccessPoliciesListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type JitNetworkAccessPolicy

type JitNetworkAccessPolicy struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Kind - Kind of the resource
	Kind *string `json:"kind,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location                          *string `json:"location,omitempty"`
	*JitNetworkAccessPolicyProperties `json:"properties,omitempty"`
}

JitNetworkAccessPolicy ...

func (JitNetworkAccessPolicy) MarshalJSON

func (jnap JitNetworkAccessPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitNetworkAccessPolicy.

func (*JitNetworkAccessPolicy) UnmarshalJSON

func (jnap *JitNetworkAccessPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JitNetworkAccessPolicy struct.

type JitNetworkAccessPolicyInitiatePort

type JitNetworkAccessPolicyInitiatePort struct {
	Number *int32 `json:"number,omitempty"`
	// AllowedSourceAddressPrefix - Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.
	AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"`
	// EndTimeUtc - The time to close the request in UTC
	EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"`
}

JitNetworkAccessPolicyInitiatePort ...

type JitNetworkAccessPolicyInitiateRequest

type JitNetworkAccessPolicyInitiateRequest struct {
	// VirtualMachines - A list of virtual machines & ports to open access for
	VirtualMachines *[]JitNetworkAccessPolicyInitiateVirtualMachine `json:"virtualMachines,omitempty"`
	// Justification - The justification for making the initiate request
	Justification *string `json:"justification,omitempty"`
}

JitNetworkAccessPolicyInitiateRequest ...

type JitNetworkAccessPolicyInitiateVirtualMachine

type JitNetworkAccessPolicyInitiateVirtualMachine struct {
	// ID - Resource ID of the virtual machine that is linked to this policy
	ID *string `json:"id,omitempty"`
	// Ports - The ports to open for the resource with the `id`
	Ports *[]JitNetworkAccessPolicyInitiatePort `json:"ports,omitempty"`
}

JitNetworkAccessPolicyInitiateVirtualMachine ...

type JitNetworkAccessPolicyProperties

type JitNetworkAccessPolicyProperties struct {
	// VirtualMachines - Configurations for Microsoft.Compute/virtualMachines resource type.
	VirtualMachines *[]JitNetworkAccessPolicyVirtualMachine `json:"virtualMachines,omitempty"`
	Requests        *[]JitNetworkAccessRequest              `json:"requests,omitempty"`
	// ProvisioningState - READ-ONLY; Gets the provisioning state of the Just-in-Time policy.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

JitNetworkAccessPolicyProperties ...

func (JitNetworkAccessPolicyProperties) MarshalJSON

func (jnapp JitNetworkAccessPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitNetworkAccessPolicyProperties.

type JitNetworkAccessPolicyVirtualMachine

type JitNetworkAccessPolicyVirtualMachine struct {
	// ID - Resource ID of the virtual machine that is linked to this policy
	ID *string `json:"id,omitempty"`
	// Ports - Port configurations for the virtual machine
	Ports *[]JitNetworkAccessPortRule `json:"ports,omitempty"`
	// PublicIPAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
	PublicIPAddress *string `json:"publicIpAddress,omitempty"`
}

JitNetworkAccessPolicyVirtualMachine ...

type JitNetworkAccessPortRule

type JitNetworkAccessPortRule struct {
	Number *int32 `json:"number,omitempty"`
	// Protocol - Possible values include: 'TCP', 'UDP', 'All'
	Protocol Protocol `json:"protocol,omitempty"`
	// AllowedSourceAddressPrefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
	AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"`
	// AllowedSourceAddressPrefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
	AllowedSourceAddressPrefixes *[]string `json:"allowedSourceAddressPrefixes,omitempty"`
	// MaxRequestAccessDuration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
	MaxRequestAccessDuration *string `json:"maxRequestAccessDuration,omitempty"`
}

JitNetworkAccessPortRule ...

type JitNetworkAccessRequest

type JitNetworkAccessRequest struct {
	autorest.Response `json:"-"`
	VirtualMachines   *[]JitNetworkAccessRequestVirtualMachine `json:"virtualMachines,omitempty"`
	// StartTimeUtc - The start time of the request in UTC
	StartTimeUtc *date.Time `json:"startTimeUtc,omitempty"`
	// Requestor - The identity of the person who made the request
	Requestor *string `json:"requestor,omitempty"`
	// Justification - The justification for making the initiate request
	Justification *string `json:"justification,omitempty"`
}

JitNetworkAccessRequest ...

type JitNetworkAccessRequestPort

type JitNetworkAccessRequestPort struct {
	Number *int32 `json:"number,omitempty"`
	// AllowedSourceAddressPrefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
	AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"`
	// AllowedSourceAddressPrefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
	AllowedSourceAddressPrefixes *[]string `json:"allowedSourceAddressPrefixes,omitempty"`
	// EndTimeUtc - The date & time at which the request ends in UTC
	EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"`
	// Status - The status of the port. Possible values include: 'Revoked', 'Initiated'
	Status Status `json:"status,omitempty"`
	// StatusReason - A description of why the `status` has its value. Possible values include: 'StatusReasonExpired', 'StatusReasonUserRequested', 'StatusReasonNewerRequestInitiated'
	StatusReason StatusReason `json:"statusReason,omitempty"`
	// MappedPort - The port which is mapped to this port's `number` in the Azure Firewall, if applicable
	MappedPort *int32 `json:"mappedPort,omitempty"`
}

JitNetworkAccessRequestPort ...

type JitNetworkAccessRequestVirtualMachine

type JitNetworkAccessRequestVirtualMachine struct {
	// ID - Resource ID of the virtual machine that is linked to this policy
	ID *string `json:"id,omitempty"`
	// Ports - The ports that were opened for the virtual machine
	Ports *[]JitNetworkAccessRequestPort `json:"ports,omitempty"`
}

JitNetworkAccessRequestVirtualMachine ...

type Kind

type Kind struct {
	// Kind - Kind of the resource
	Kind *string `json:"kind,omitempty"`
}

Kind describes an Azure resource with kind

type KindEnum

type KindEnum string

KindEnum enumerates the values for kind enum.

const (
	// KindAAD ...
	KindAAD KindEnum = "AAD"
	// KindATA ...
	KindATA KindEnum = "ATA"
	// KindCEF ...
	KindCEF KindEnum = "CEF"
	// KindExternalSecuritySolution ...
	KindExternalSecuritySolution KindEnum = "ExternalSecuritySolution"
)

func PossibleKindEnumValues

func PossibleKindEnumValues() []KindEnum

PossibleKindEnumValues returns an array of possible values for the KindEnum const type.

type KindEnum1

type KindEnum1 string

KindEnum1 enumerates the values for kind enum 1.

const (
	// KindAlertSimulatorRequestProperties ...
	KindAlertSimulatorRequestProperties KindEnum1 = "AlertSimulatorRequestProperties"
	// KindBundles ...
	KindBundles KindEnum1 = "Bundles"
)

func PossibleKindEnum1Values

func PossibleKindEnum1Values() []KindEnum1

PossibleKindEnum1Values returns an array of possible values for the KindEnum1 const type.

type KindEnum2

type KindEnum2 string

KindEnum2 enumerates the values for kind enum 2.

const (
	// KindAlertSyncSettings ...
	KindAlertSyncSettings KindEnum2 = "AlertSyncSettings"
	// KindDataExportSettings ...
	KindDataExportSettings KindEnum2 = "DataExportSettings"
	// KindSetting ...
	KindSetting KindEnum2 = "Setting"
)

func PossibleKindEnum2Values

func PossibleKindEnum2Values() []KindEnum2

PossibleKindEnum2Values returns an array of possible values for the KindEnum2 const type.

type ListCustomAlertRule

type ListCustomAlertRule struct {
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ListCustomAlertRule a List custom alert rule.

func (ListCustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (lcar ListCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsAllowlistCustomAlertRule

func (lcar ListCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsBasicAllowlistCustomAlertRule

func (lcar ListCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsBasicCustomAlertRule

func (lcar ListCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsBasicListCustomAlertRule

func (lcar ListCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsBasicThresholdCustomAlertRule

func (lcar ListCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (lcar ListCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsConnectionFromIPNotAllowed

func (lcar ListCustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsConnectionToIPNotAllowed

func (lcar ListCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsCustomAlertRule

func (lcar ListCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsDenylistCustomAlertRule

func (lcar ListCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (lcar ListCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (lcar ListCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsFileUploadsNotInAllowedRange

func (lcar ListCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsListCustomAlertRule

func (lcar ListCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsLocalUserNotAllowed

func (lcar ListCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (lcar ListCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsProcessNotAllowed

func (lcar ListCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsQueuePurgesNotInAllowedRange

func (lcar ListCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsThresholdCustomAlertRule

func (lcar ListCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsTimeWindowCustomAlertRule

func (lcar ListCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (lcar ListCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (lcar ListCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ListCustomAlertRule.

func (ListCustomAlertRule) MarshalJSON

func (lcar ListCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ListCustomAlertRule.

type LocalUserNotAllowed

type LocalUserNotAllowed struct {
	// AllowlistValues - The values to allow. The format of the values depends on the rule type.
	AllowlistValues *[]string `json:"allowlistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

LocalUserNotAllowed login by a local user that isn't allowed. Allow list consists of login names to allow.

func (LocalUserNotAllowed) AsActiveConnectionsNotInAllowedRange

func (luna LocalUserNotAllowed) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsAllowlistCustomAlertRule

func (luna LocalUserNotAllowed) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsAmqpC2DMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsAmqpD2CMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsBasicAllowlistCustomAlertRule

func (luna LocalUserNotAllowed) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsBasicCustomAlertRule

func (luna LocalUserNotAllowed) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsBasicListCustomAlertRule

func (luna LocalUserNotAllowed) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsBasicThresholdCustomAlertRule

func (luna LocalUserNotAllowed) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsBasicTimeWindowCustomAlertRule

func (luna LocalUserNotAllowed) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsConnectionFromIPNotAllowed

func (luna LocalUserNotAllowed) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsConnectionToIPNotAllowed

func (luna LocalUserNotAllowed) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsCustomAlertRule

func (luna LocalUserNotAllowed) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsDenylistCustomAlertRule

func (luna LocalUserNotAllowed) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsDirectMethodInvokesNotInAllowedRange

func (luna LocalUserNotAllowed) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsFailedLocalLoginsNotInAllowedRange

func (luna LocalUserNotAllowed) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsFileUploadsNotInAllowedRange

func (luna LocalUserNotAllowed) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsHTTPC2DMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsHTTPD2CMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsListCustomAlertRule

func (luna LocalUserNotAllowed) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsLocalUserNotAllowed

func (luna LocalUserNotAllowed) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsMqttC2DMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsMqttD2CMessagesNotInAllowedRange

func (luna LocalUserNotAllowed) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsProcessNotAllowed

func (luna LocalUserNotAllowed) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsQueuePurgesNotInAllowedRange

func (luna LocalUserNotAllowed) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsThresholdCustomAlertRule

func (luna LocalUserNotAllowed) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsTimeWindowCustomAlertRule

func (luna LocalUserNotAllowed) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsTwinUpdatesNotInAllowedRange

func (luna LocalUserNotAllowed) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) AsUnauthorizedOperationsNotInAllowedRange

func (luna LocalUserNotAllowed) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for LocalUserNotAllowed.

func (LocalUserNotAllowed) MarshalJSON

func (luna LocalUserNotAllowed) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalUserNotAllowed.

type Location

type Location struct {
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
}

Location describes an Azure resource with location

func (Location) MarshalJSON

func (l Location) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Location.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

LocationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationsClient) Get

func (client LocationsClient) Get(ctx context.Context, ascLocation string) (result AscLocation, err error)

Get details of a specific location Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (LocationsClient) GetPreparer

func (client LocationsClient) GetPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LocationsClient) GetResponder

func (client LocationsClient) GetResponder(resp *http.Response) (result AscLocation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LocationsClient) GetSender

func (client LocationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LocationsClient) List

func (client LocationsClient) List(ctx context.Context) (result AscLocationListPage, err error)

List the location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

func (LocationsClient) ListComplete

func (client LocationsClient) ListComplete(ctx context.Context) (result AscLocationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LocationsClient) ListPreparer

func (client LocationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (LocationsClient) ListResponder

func (client LocationsClient) ListResponder(resp *http.Response) (result AscLocationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LocationsClient) ListSender

func (client LocationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LogAnalyticsIdentifier

type LogAnalyticsIdentifier struct {
	// WorkspaceID - READ-ONLY; The LogAnalytics workspace id that stores this alert.
	WorkspaceID *string `json:"workspaceId,omitempty"`
	// WorkspaceSubscriptionID - READ-ONLY; The azure subscription id for the LogAnalytics workspace storing this alert.
	WorkspaceSubscriptionID *string `json:"workspaceSubscriptionId,omitempty"`
	// WorkspaceResourceGroup - READ-ONLY; The azure resource group for the LogAnalytics workspace storing this alert
	WorkspaceResourceGroup *string `json:"workspaceResourceGroup,omitempty"`
	// AgentID - READ-ONLY; (optional) The LogAnalytics agent id reporting the event that this alert is based on.
	AgentID *string `json:"agentId,omitempty"`
	// Type - Possible values include: 'TypeResourceIdentifier', 'TypeAzureResource', 'TypeLogAnalytics'
	Type TypeBasicResourceIdentifier `json:"type,omitempty"`
}

LogAnalyticsIdentifier represents a Log Analytics workspace scope identifier.

func (LogAnalyticsIdentifier) AsAzureResourceIdentifier

func (lai LogAnalyticsIdentifier) AsAzureResourceIdentifier() (*AzureResourceIdentifier, bool)

AsAzureResourceIdentifier is the BasicResourceIdentifier implementation for LogAnalyticsIdentifier.

func (LogAnalyticsIdentifier) AsBasicResourceIdentifier

func (lai LogAnalyticsIdentifier) AsBasicResourceIdentifier() (BasicResourceIdentifier, bool)

AsBasicResourceIdentifier is the BasicResourceIdentifier implementation for LogAnalyticsIdentifier.

func (LogAnalyticsIdentifier) AsLogAnalyticsIdentifier

func (lai LogAnalyticsIdentifier) AsLogAnalyticsIdentifier() (*LogAnalyticsIdentifier, bool)

AsLogAnalyticsIdentifier is the BasicResourceIdentifier implementation for LogAnalyticsIdentifier.

func (LogAnalyticsIdentifier) AsResourceIdentifier

func (lai LogAnalyticsIdentifier) AsResourceIdentifier() (*ResourceIdentifier, bool)

AsResourceIdentifier is the BasicResourceIdentifier implementation for LogAnalyticsIdentifier.

func (LogAnalyticsIdentifier) MarshalJSON

func (lai LogAnalyticsIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogAnalyticsIdentifier.

type MdeOnboardingData

type MdeOnboardingData struct {
	autorest.Response            `json:"-"`
	*MdeOnboardingDataProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

MdeOnboardingData the resource of the configuration or data needed to onboard the machine to MDE

func (MdeOnboardingData) MarshalJSON

func (mod MdeOnboardingData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MdeOnboardingData.

func (*MdeOnboardingData) UnmarshalJSON

func (mod *MdeOnboardingData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MdeOnboardingData struct.

type MdeOnboardingDataList

type MdeOnboardingDataList struct {
	autorest.Response `json:"-"`
	// Value - List of the resources of the configuration or data needed to onboard the machine to MDE
	Value *[]MdeOnboardingData `json:"value,omitempty"`
}

MdeOnboardingDataList list of all MDE onboarding data resources

type MdeOnboardingDataProperties

type MdeOnboardingDataProperties struct {
	// OnboardingPackageWindows - The onboarding package used to onboard Windows machines to MDE, coded in base64. This can also be used for onboarding using the dedicated VM Extension
	OnboardingPackageWindows *[]byte `json:"onboardingPackageWindows,omitempty"`
	// OnboardingPackageLinux - The onboarding package used to onboard Linux machines to MDE, coded in base64. This can also be used for onboarding using the dedicated VM Extension
	OnboardingPackageLinux *[]byte `json:"onboardingPackageLinux,omitempty"`
}

MdeOnboardingDataProperties properties of the MDE configuration or data parameter needed to onboard the machine to MDE

type MdeOnboardingsClient

type MdeOnboardingsClient struct {
	BaseClient
}

MdeOnboardingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewMdeOnboardingsClient

func NewMdeOnboardingsClient(subscriptionID string) MdeOnboardingsClient

NewMdeOnboardingsClient creates an instance of the MdeOnboardingsClient client.

func NewMdeOnboardingsClientWithBaseURI

func NewMdeOnboardingsClientWithBaseURI(baseURI string, subscriptionID string) MdeOnboardingsClient

NewMdeOnboardingsClientWithBaseURI creates an instance of the MdeOnboardingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MdeOnboardingsClient) Get

func (client MdeOnboardingsClient) Get(ctx context.Context) (result MdeOnboardingData, err error)

Get the default configuration or data needed to onboard the machine to MDE

func (MdeOnboardingsClient) GetPreparer

func (client MdeOnboardingsClient) GetPreparer(ctx context.Context) (*http.Request, error)

GetPreparer prepares the Get request.

func (MdeOnboardingsClient) GetResponder

func (client MdeOnboardingsClient) GetResponder(resp *http.Response) (result MdeOnboardingData, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MdeOnboardingsClient) GetSender

func (client MdeOnboardingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MdeOnboardingsClient) List

func (client MdeOnboardingsClient) List(ctx context.Context) (result MdeOnboardingDataList, err error)

List the configuration or data needed to onboard the machine to MDE

func (MdeOnboardingsClient) ListPreparer

func (client MdeOnboardingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MdeOnboardingsClient) ListResponder

func (client MdeOnboardingsClient) ListResponder(resp *http.Response) (result MdeOnboardingDataList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MdeOnboardingsClient) ListSender

func (client MdeOnboardingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MinimalSeverity

type MinimalSeverity string

MinimalSeverity enumerates the values for minimal severity.

const (
	// MinimalSeverityHigh Get notifications on new alerts with High severity
	MinimalSeverityHigh MinimalSeverity = "High"
	// MinimalSeverityLow Don't get notifications on new alerts with low, medium or high severity
	MinimalSeverityLow MinimalSeverity = "Low"
	// MinimalSeverityMedium Get notifications on new alerts with medium or high severity
	MinimalSeverityMedium MinimalSeverity = "Medium"
)

func PossibleMinimalSeverityValues

func PossibleMinimalSeverityValues() []MinimalSeverity

PossibleMinimalSeverityValues returns an array of possible values for the MinimalSeverity const type.

type MqttC2DMessagesNotInAllowedRange

type MqttC2DMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

MqttC2DMessagesNotInAllowedRange number of cloud to device messages (MQTT protocol) is not in allowed range.

func (MqttC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsListCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsProcessNotAllowed

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (mcmniar MqttC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DMessagesNotInAllowedRange.

func (MqttC2DMessagesNotInAllowedRange) MarshalJSON

func (mcmniar MqttC2DMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MqttC2DMessagesNotInAllowedRange.

type MqttC2DRejectedMessagesNotInAllowedRange

type MqttC2DRejectedMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

MqttC2DRejectedMessagesNotInAllowedRange number of rejected cloud to device messages (MQTT protocol) is not in allowed range.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttC2DRejectedMessagesNotInAllowedRange.

func (MqttC2DRejectedMessagesNotInAllowedRange) MarshalJSON

func (mcrmniar MqttC2DRejectedMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MqttC2DRejectedMessagesNotInAllowedRange.

type MqttD2CMessagesNotInAllowedRange

type MqttD2CMessagesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

MqttD2CMessagesNotInAllowedRange number of device to cloud messages (MQTT protocol) is not in allowed range.

func (MqttD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsListCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsProcessNotAllowed

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (mdmniar MqttD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for MqttD2CMessagesNotInAllowedRange.

func (MqttD2CMessagesNotInAllowedRange) MarshalJSON

func (mdmniar MqttD2CMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MqttD2CMessagesNotInAllowedRange.

type Msi

type Msi string

Msi enumerates the values for msi.

const (
	// MsiAudit ...
	MsiAudit Msi = "Audit"
	// MsiEnforce ...
	MsiEnforce Msi = "Enforce"
	// MsiNone ...
	MsiNone Msi = "None"
)

func PossibleMsiValues

func PossibleMsiValues() []Msi

PossibleMsiValues returns an array of possible values for the Msi const type.

type OfferingType

type OfferingType string

OfferingType enumerates the values for offering type.

const (
	// OfferingTypeCloudOffering ...
	OfferingTypeCloudOffering OfferingType = "cloudOffering"
	// OfferingTypeCspmMonitorAws ...
	OfferingTypeCspmMonitorAws OfferingType = "CspmMonitorAws"
	// OfferingTypeCspmMonitorAzureDevOps ...
	OfferingTypeCspmMonitorAzureDevOps OfferingType = "CspmMonitorAzureDevOps"
	// OfferingTypeCspmMonitorGcp ...
	OfferingTypeCspmMonitorGcp OfferingType = "CspmMonitorGcp"
	// OfferingTypeCspmMonitorGithub ...
	OfferingTypeCspmMonitorGithub OfferingType = "CspmMonitorGithub"
	// OfferingTypeDefenderCspmAws ...
	OfferingTypeDefenderCspmAws OfferingType = "DefenderCspmAws"
	// OfferingTypeDefenderCspmGcp ...
	OfferingTypeDefenderCspmGcp OfferingType = "DefenderCspmGcp"
	// OfferingTypeDefenderForContainersAws ...
	OfferingTypeDefenderForContainersAws OfferingType = "DefenderForContainersAws"
	// OfferingTypeDefenderForContainersGcp ...
	OfferingTypeDefenderForContainersGcp OfferingType = "DefenderForContainersGcp"
	// OfferingTypeDefenderForDatabasesAws ...
	OfferingTypeDefenderForDatabasesAws OfferingType = "DefenderForDatabasesAws"
	// OfferingTypeDefenderForDatabasesGcp ...
	OfferingTypeDefenderForDatabasesGcp OfferingType = "DefenderForDatabasesGcp"
	// OfferingTypeDefenderForDevOpsAzureDevOps ...
	OfferingTypeDefenderForDevOpsAzureDevOps OfferingType = "DefenderForDevOpsAzureDevOps"
	// OfferingTypeDefenderForDevOpsGithub ...
	OfferingTypeDefenderForDevOpsGithub OfferingType = "DefenderForDevOpsGithub"
	// OfferingTypeDefenderForServersAws ...
	OfferingTypeDefenderForServersAws OfferingType = "DefenderForServersAws"
	// OfferingTypeDefenderForServersGcp ...
	OfferingTypeDefenderForServersGcp OfferingType = "DefenderForServersGcp"
	// OfferingTypeInformationProtectionAws ...
	OfferingTypeInformationProtectionAws OfferingType = "InformationProtectionAws"
)

func PossibleOfferingTypeValues

func PossibleOfferingTypeValues() []OfferingType

PossibleOfferingTypeValues returns an array of possible values for the OfferingType const type.

type OnPremiseResourceDetails

type OnPremiseResourceDetails struct {
	// WorkspaceID - Azure resource Id of the workspace the machine is attached to
	WorkspaceID *string `json:"workspaceId,omitempty"`
	// Vmuuid - The unique Id of the machine
	Vmuuid *string `json:"vmuuid,omitempty"`
	// SourceComputerID - The oms agent Id installed on the machine
	SourceComputerID *string `json:"sourceComputerId,omitempty"`
	// MachineName - The name of the machine
	MachineName *string `json:"machineName,omitempty"`
	// Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure'
	Source Source `json:"source,omitempty"`
}

OnPremiseResourceDetails details of the On Premise resource that was assessed

func (OnPremiseResourceDetails) AsAzureResourceDetails

func (oprd OnPremiseResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)

AsAzureResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) AsBasicOnPremiseResourceDetails

func (oprd OnPremiseResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)

AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) AsBasicResourceDetails

func (oprd OnPremiseResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)

AsBasicResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) AsOnPremiseResourceDetails

func (oprd OnPremiseResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)

AsOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) AsOnPremiseSQLResourceDetails

func (oprd OnPremiseResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)

AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) AsResourceDetails

func (oprd OnPremiseResourceDetails) AsResourceDetails() (*ResourceDetails, bool)

AsResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.

func (OnPremiseResourceDetails) MarshalJSON

func (oprd OnPremiseResourceDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OnPremiseResourceDetails.

type OnPremiseSQLResourceDetails

type OnPremiseSQLResourceDetails struct {
	// ServerName - The Sql server name installed on the machine
	ServerName *string `json:"serverName,omitempty"`
	// DatabaseName - The Sql database name installed on the machine
	DatabaseName *string `json:"databaseName,omitempty"`
	// WorkspaceID - Azure resource Id of the workspace the machine is attached to
	WorkspaceID *string `json:"workspaceId,omitempty"`
	// Vmuuid - The unique Id of the machine
	Vmuuid *string `json:"vmuuid,omitempty"`
	// SourceComputerID - The oms agent Id installed on the machine
	SourceComputerID *string `json:"sourceComputerId,omitempty"`
	// MachineName - The name of the machine
	MachineName *string `json:"machineName,omitempty"`
	// Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure'
	Source Source `json:"source,omitempty"`
}

OnPremiseSQLResourceDetails details of the On Premise Sql resource that was assessed

func (OnPremiseSQLResourceDetails) AsAzureResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)

AsAzureResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) AsBasicOnPremiseResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)

AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) AsBasicResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)

AsBasicResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) AsOnPremiseResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)

AsOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) AsOnPremiseSQLResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)

AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) AsResourceDetails

func (opsrd OnPremiseSQLResourceDetails) AsResourceDetails() (*ResourceDetails, bool)

AsResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.

func (OnPremiseSQLResourceDetails) MarshalJSON

func (opsrd OnPremiseSQLResourceDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OnPremiseSQLResourceDetails.

type Operation

type Operation struct {
	// Name - READ-ONLY; Name of the operation
	Name *string `json:"name,omitempty"`
	// Origin - READ-ONLY; Where the operation is originated
	Origin  *string           `json:"origin,omitempty"`
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation possible operation in the REST API of Microsoft.Security

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; The resource provider for the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; The display name of the resource the operation applies to.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; The display name of the security operation.
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; The description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay security operation display

func (OperationDisplay) MarshalJSON

func (od OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationList

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - List of Security operations
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationList list of possible operations for Microsoft.Security resource provider

func (OperationList) IsEmpty

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationList) MarshalJSON

func (ol OperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationList.

type OperationListIterator

type OperationListIterator struct {
	// contains filtered or unexported fields
}

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next

func (iter *OperationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListIterator) NextWithContext

func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListIterator) NotDone

func (iter OperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListIterator) Response

func (iter OperationListIterator) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListIterator) Value

func (iter OperationListIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListPage

type OperationListPage struct {
	// contains filtered or unexported fields
}

OperationListPage contains a page of Operation values.

func NewOperationListPage

func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next

func (page *OperationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListPage) NextWithContext

func (page *OperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListPage) NotDone

func (page OperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListPage) Response

func (page OperationListPage) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListPage) Values

func (page OperationListPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)

List exposes all available operations for discovery purposes.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Operator

type Operator string

Operator enumerates the values for operator.

const (
	// OperatorContains Applies only for non-decimal operands
	OperatorContains Operator = "Contains"
	// OperatorEndsWith Applies only for non-decimal operands
	OperatorEndsWith Operator = "EndsWith"
	// OperatorEquals Applies for decimal and non-decimal operands
	OperatorEquals Operator = "Equals"
	// OperatorGreaterThan Applies only for decimal operands
	OperatorGreaterThan Operator = "GreaterThan"
	// OperatorGreaterThanOrEqualTo Applies only for decimal operands
	OperatorGreaterThanOrEqualTo Operator = "GreaterThanOrEqualTo"
	// OperatorLesserThan Applies only for decimal operands
	OperatorLesserThan Operator = "LesserThan"
	// OperatorLesserThanOrEqualTo Applies only for decimal operands
	OperatorLesserThanOrEqualTo Operator = "LesserThanOrEqualTo"
	// OperatorNotEquals Applies  for decimal and non-decimal operands
	OperatorNotEquals Operator = "NotEquals"
	// OperatorStartsWith Applies only for non-decimal operands
	OperatorStartsWith Operator = "StartsWith"
)

func PossibleOperatorValues

func PossibleOperatorValues() []Operator

PossibleOperatorValues returns an array of possible values for the Operator const type.

type OrganizationMembershipType

type OrganizationMembershipType string

OrganizationMembershipType enumerates the values for organization membership type.

const (
	// OrganizationMembershipTypeAwsOrganizationalData ...
	OrganizationMembershipTypeAwsOrganizationalData OrganizationMembershipType = "AwsOrganizationalData"
	// OrganizationMembershipTypeMember ...
	OrganizationMembershipTypeMember OrganizationMembershipType = "Member"
	// OrganizationMembershipTypeOrganization ...
	OrganizationMembershipTypeOrganization OrganizationMembershipType = "Organization"
)

func PossibleOrganizationMembershipTypeValues

func PossibleOrganizationMembershipTypeValues() []OrganizationMembershipType

PossibleOrganizationMembershipTypeValues returns an array of possible values for the OrganizationMembershipType const type.

type OrganizationMembershipTypeBasicGcpOrganizationalData

type OrganizationMembershipTypeBasicGcpOrganizationalData string

OrganizationMembershipTypeBasicGcpOrganizationalData enumerates the values for organization membership type basic gcp organizational data.

const (
	// OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeGcpOrganizationalData ...
	OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeGcpOrganizationalData OrganizationMembershipTypeBasicGcpOrganizationalData = "GcpOrganizationalData"
	// OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeMember ...
	OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeMember OrganizationMembershipTypeBasicGcpOrganizationalData = "Member"
	// OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeOrganization ...
	OrganizationMembershipTypeBasicGcpOrganizationalDataOrganizationMembershipTypeOrganization OrganizationMembershipTypeBasicGcpOrganizationalData = "Organization"
)

func PossibleOrganizationMembershipTypeBasicGcpOrganizationalDataValues

func PossibleOrganizationMembershipTypeBasicGcpOrganizationalDataValues() []OrganizationMembershipTypeBasicGcpOrganizationalData

PossibleOrganizationMembershipTypeBasicGcpOrganizationalDataValues returns an array of possible values for the OrganizationMembershipTypeBasicGcpOrganizationalData const type.

type PathRecommendation

type PathRecommendation struct {
	// Path - The full path of the file, or an identifier of the application
	Path *string `json:"path,omitempty"`
	// Action - Possible values include: 'Recommended', 'Add', 'Remove'
	Action Action `json:"action,omitempty"`
	// Type - Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', 'BinarySignature', 'VersionAndAboveSignature'
	Type          Type1          `json:"type,omitempty"`
	PublisherInfo *PublisherInfo `json:"publisherInfo,omitempty"`
	// Common - Whether the application is commonly run on the machine
	Common    *bool                 `json:"common,omitempty"`
	UserSids  *[]string             `json:"userSids,omitempty"`
	Usernames *[]UserRecommendation `json:"usernames,omitempty"`
	// FileType - Possible values include: 'FileTypeExe', 'FileTypeDll', 'FileTypeMsi', 'FileTypeScript', 'FileTypeExecutable', 'FileTypeUnknown'
	FileType FileType `json:"fileType,omitempty"`
	// ConfigurationStatus - Possible values include: 'ConfigurationStatus1Configured', 'ConfigurationStatus1NotConfigured', 'ConfigurationStatus1InProgress', 'ConfigurationStatus1Failed', 'ConfigurationStatus1NoStatus'
	ConfigurationStatus ConfigurationStatus1 `json:"configurationStatus,omitempty"`
}

PathRecommendation represents a path that is recommended to be allowed and its properties

type PermissionProperty

type PermissionProperty string

PermissionProperty enumerates the values for permission property.

const (
	// AWSAmazonSSMAutomationRole The permission provides for EC2 Automation service to execute activities
	// defined within Automation documents.
	AWSAmazonSSMAutomationRole PermissionProperty = "AWS::AmazonSSMAutomationRole"
	// AWSAWSSecurityHubReadOnlyAccess This permission provides read only access to AWS Security Hub resources.
	AWSAWSSecurityHubReadOnlyAccess PermissionProperty = "AWS::AWSSecurityHubReadOnlyAccess"
	// AWSSecurityAudit This permission grants access to read security configuration metadata.
	AWSSecurityAudit PermissionProperty = "AWS::SecurityAudit"
	// GCPSecurityCenterAdminViewer This permission provides read only access to GCP Security Command Center.
	GCPSecurityCenterAdminViewer PermissionProperty = "GCP::Security Center Admin Viewer"
)

func PossiblePermissionPropertyValues

func PossiblePermissionPropertyValues() []PermissionProperty

PossiblePermissionPropertyValues returns an array of possible values for the PermissionProperty const type.

type Pricing

type Pricing struct {
	autorest.Response `json:"-"`
	// PricingProperties - Pricing data
	*PricingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Pricing microsoft Defender for Cloud is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.

func (Pricing) MarshalJSON

func (p Pricing) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Pricing.

func (*Pricing) UnmarshalJSON

func (p *Pricing) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Pricing struct.

type PricingList

type PricingList struct {
	autorest.Response `json:"-"`
	// Value - List of pricing configurations
	Value *[]Pricing `json:"value,omitempty"`
}

PricingList list of pricing configurations response.

type PricingProperties

type PricingProperties struct {
	// PricingTier - The pricing tier value. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. Possible values include: 'Free', 'Standard'
	PricingTier PricingTier `json:"pricingTier,omitempty"`
	// SubPlan - The sub-plan selected for a Standard pricing configuration, when more than one sub-plan is available. Each sub-plan enables a set of security features. When not specified, full plan is applied.
	SubPlan *string `json:"subPlan,omitempty"`
	// FreeTrialRemainingTime - READ-ONLY; The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S).
	FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"`
	// Deprecated - READ-ONLY; Optional. True if the plan is deprecated. If there are replacing plans they will appear in `replacedBy` property
	Deprecated *bool `json:"deprecated,omitempty"`
	// ReplacedBy - READ-ONLY; Optional. List of plans that replace this plan. This property exists only if this plan is deprecated.
	ReplacedBy *[]string `json:"replacedBy,omitempty"`
}

PricingProperties pricing properties for the relevant scope

func (PricingProperties) MarshalJSON

func (pp PricingProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PricingProperties.

type PricingTier

type PricingTier string

PricingTier enumerates the values for pricing tier.

const (
	// Free Get free Microsoft Defender for Cloud experience with basic security features
	Free PricingTier = "Free"
	// Standard Get the standard Microsoft Defender for Cloud experience with advanced security features
	Standard PricingTier = "Standard"
)

func PossiblePricingTierValues

func PossiblePricingTierValues() []PricingTier

PossiblePricingTierValues returns an array of possible values for the PricingTier const type.

type PricingsClient

type PricingsClient struct {
	BaseClient
}

PricingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewPricingsClient

func NewPricingsClient(subscriptionID string) PricingsClient

NewPricingsClient creates an instance of the PricingsClient client.

func NewPricingsClientWithBaseURI

func NewPricingsClientWithBaseURI(baseURI string, subscriptionID string) PricingsClient

NewPricingsClientWithBaseURI creates an instance of the PricingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PricingsClient) Get

func (client PricingsClient) Get(ctx context.Context, pricingName string) (result Pricing, err error)

Get gets a provided Microsoft Defender for Cloud pricing configuration in the subscription. Parameters: pricingName - name of the pricing configuration

func (PricingsClient) GetPreparer

func (client PricingsClient) GetPreparer(ctx context.Context, pricingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PricingsClient) GetResponder

func (client PricingsClient) GetResponder(resp *http.Response) (result Pricing, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PricingsClient) GetSender

func (client PricingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PricingsClient) List

func (client PricingsClient) List(ctx context.Context) (result PricingList, err error)

List lists Microsoft Defender for Cloud pricing configurations in the subscription.

func (PricingsClient) ListPreparer

func (client PricingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (PricingsClient) ListResponder

func (client PricingsClient) ListResponder(resp *http.Response) (result PricingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PricingsClient) ListSender

func (client PricingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PricingsClient) Update

func (client PricingsClient) Update(ctx context.Context, pricingName string, pricing Pricing) (result Pricing, err error)

Update updates a provided Microsoft Defender for Cloud pricing configuration in the subscription. Parameters: pricingName - name of the pricing configuration pricing - pricing object

func (PricingsClient) UpdatePreparer

func (client PricingsClient) UpdatePreparer(ctx context.Context, pricingName string, pricing Pricing) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PricingsClient) UpdateResponder

func (client PricingsClient) UpdateResponder(resp *http.Response) (result Pricing, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PricingsClient) UpdateSender

func (client PricingsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ProcessNotAllowed

type ProcessNotAllowed struct {
	// AllowlistValues - The values to allow. The format of the values depends on the rule type.
	AllowlistValues *[]string `json:"allowlistValues,omitempty"`
	// ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
	ValueType ValueType `json:"valueType,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ProcessNotAllowed execution of a process that isn't allowed. Allow list consists of process names to allow.

func (ProcessNotAllowed) AsActiveConnectionsNotInAllowedRange

func (pna ProcessNotAllowed) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsAllowlistCustomAlertRule

func (pna ProcessNotAllowed) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsAmqpC2DMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsAmqpD2CMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsBasicAllowlistCustomAlertRule

func (pna ProcessNotAllowed) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsBasicCustomAlertRule

func (pna ProcessNotAllowed) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsBasicListCustomAlertRule

func (pna ProcessNotAllowed) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsBasicThresholdCustomAlertRule

func (pna ProcessNotAllowed) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsBasicTimeWindowCustomAlertRule

func (pna ProcessNotAllowed) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsConnectionFromIPNotAllowed

func (pna ProcessNotAllowed) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsConnectionToIPNotAllowed

func (pna ProcessNotAllowed) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsCustomAlertRule

func (pna ProcessNotAllowed) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsDenylistCustomAlertRule

func (pna ProcessNotAllowed) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsDirectMethodInvokesNotInAllowedRange

func (pna ProcessNotAllowed) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsFailedLocalLoginsNotInAllowedRange

func (pna ProcessNotAllowed) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsFileUploadsNotInAllowedRange

func (pna ProcessNotAllowed) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsHTTPC2DMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsHTTPD2CMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsListCustomAlertRule

func (pna ProcessNotAllowed) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsLocalUserNotAllowed

func (pna ProcessNotAllowed) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsMqttC2DMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsMqttD2CMessagesNotInAllowedRange

func (pna ProcessNotAllowed) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsProcessNotAllowed

func (pna ProcessNotAllowed) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsQueuePurgesNotInAllowedRange

func (pna ProcessNotAllowed) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsThresholdCustomAlertRule

func (pna ProcessNotAllowed) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsTimeWindowCustomAlertRule

func (pna ProcessNotAllowed) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsTwinUpdatesNotInAllowedRange

func (pna ProcessNotAllowed) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) AsUnauthorizedOperationsNotInAllowedRange

func (pna ProcessNotAllowed) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ProcessNotAllowed.

func (ProcessNotAllowed) MarshalJSON

func (pna ProcessNotAllowed) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProcessNotAllowed.

type PropertyType

type PropertyType string

PropertyType enumerates the values for property type.

const (
	// Boolean ...
	Boolean PropertyType = "Boolean"
	// Integer ...
	Integer PropertyType = "Integer"
	// Number ...
	Number PropertyType = "Number"
	// String ...
	String PropertyType = "String"
)

func PossiblePropertyTypeValues

func PossiblePropertyTypeValues() []PropertyType

PossiblePropertyTypeValues returns an array of possible values for the PropertyType const type.

type ProtectionMode

type ProtectionMode struct {
	// Exe - Possible values include: 'ExeAudit', 'ExeEnforce', 'ExeNone'
	Exe Exe `json:"exe,omitempty"`
	// Msi - Possible values include: 'MsiAudit', 'MsiEnforce', 'MsiNone'
	Msi Msi `json:"msi,omitempty"`
	// Script - Possible values include: 'ScriptAudit', 'ScriptEnforce', 'ScriptNone'
	Script Script `json:"script,omitempty"`
	// Executable - Possible values include: 'ExecutableAudit', 'ExecutableEnforce', 'ExecutableNone'
	Executable Executable `json:"executable,omitempty"`
}

ProtectionMode the protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.

type Protocol

type Protocol string

Protocol enumerates the values for protocol.

const (
	// All ...
	All Protocol = "*"
	// TCP ...
	TCP Protocol = "TCP"
	// UDP ...
	UDP Protocol = "UDP"
)

func PossibleProtocolValues

func PossibleProtocolValues() []Protocol

PossibleProtocolValues returns an array of possible values for the Protocol const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProvisioningState1

type ProvisioningState1 string

ProvisioningState1 enumerates the values for provisioning state 1.

const (
	// ProvisioningState1Canceled ...
	ProvisioningState1Canceled ProvisioningState1 = "Canceled"
	// ProvisioningState1Deprovisioning ...
	ProvisioningState1Deprovisioning ProvisioningState1 = "Deprovisioning"
	// ProvisioningState1Failed ...
	ProvisioningState1Failed ProvisioningState1 = "Failed"
	// ProvisioningState1Provisioning ...
	ProvisioningState1Provisioning ProvisioningState1 = "Provisioning"
	// ProvisioningState1Succeeded ...
	ProvisioningState1Succeeded ProvisioningState1 = "Succeeded"
)

func PossibleProvisioningState1Values

func PossibleProvisioningState1Values() []ProvisioningState1

PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type.

type ProxyServerProperties

type ProxyServerProperties struct {
	// IP - Proxy server IP
	IP *string `json:"ip,omitempty"`
	// Port - Proxy server port
	Port *string `json:"port,omitempty"`
}

ProxyServerProperties for a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.

type PublisherInfo

type PublisherInfo struct {
	// PublisherName - The Subject field of the x.509 certificate used to sign the code, using the following fields -  O = Organization, L = Locality, S = State or Province, and C = Country
	PublisherName *string `json:"publisherName,omitempty"`
	// ProductName - The product name taken from the file's version resource
	ProductName *string `json:"productName,omitempty"`
	// BinaryName - The "OriginalName" field taken from the file's version resource
	BinaryName *string `json:"binaryName,omitempty"`
	// Version - The binary file version taken from the file's version resource
	Version *string `json:"version,omitempty"`
}

PublisherInfo represents the publisher information of a process/rule

type QueryCheck

type QueryCheck struct {
	// Query - The rule query.
	Query *string `json:"query,omitempty"`
	// ExpectedResult - Expected result.
	ExpectedResult *[][]string `json:"expectedResult,omitempty"`
	// ColumnNames - Column names of expected result.
	ColumnNames *[]string `json:"columnNames,omitempty"`
}

QueryCheck the rule query details.

type QueuePurgesNotInAllowedRange

type QueuePurgesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

QueuePurgesNotInAllowedRange number of device queue purges is not in allowed range.

func (QueuePurgesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsAllowlistCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsBasicCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsBasicListCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (qpniar QueuePurgesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsConnectionToIPNotAllowed

func (qpniar QueuePurgesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsDenylistCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsListCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsLocalUserNotAllowed

func (qpniar QueuePurgesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsProcessNotAllowed

func (qpniar QueuePurgesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsThresholdCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (qpniar QueuePurgesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (qpniar QueuePurgesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for QueuePurgesNotInAllowedRange.

func (QueuePurgesNotInAllowedRange) MarshalJSON

func (qpniar QueuePurgesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for QueuePurgesNotInAllowedRange.

type Rank

type Rank string

Rank enumerates the values for rank.

const (
	// RankCritical ...
	RankCritical Rank = "Critical"
	// RankHigh ...
	RankHigh Rank = "High"
	// RankLow ...
	RankLow Rank = "Low"
	// RankMedium ...
	RankMedium Rank = "Medium"
	// RankNone ...
	RankNone Rank = "None"
)

func PossibleRankValues

func PossibleRankValues() []Rank

PossibleRankValues returns an array of possible values for the Rank const type.

type RecommendationAction

type RecommendationAction string

RecommendationAction enumerates the values for recommendation action.

const (
	// RecommendationActionAdd ...
	RecommendationActionAdd RecommendationAction = "Add"
	// RecommendationActionRecommended ...
	RecommendationActionRecommended RecommendationAction = "Recommended"
	// RecommendationActionRemove ...
	RecommendationActionRemove RecommendationAction = "Remove"
)

func PossibleRecommendationActionValues

func PossibleRecommendationActionValues() []RecommendationAction

PossibleRecommendationActionValues returns an array of possible values for the RecommendationAction const type.

type RecommendationAction1

type RecommendationAction1 string

RecommendationAction1 enumerates the values for recommendation action 1.

const (
	// RecommendationAction1Add ...
	RecommendationAction1Add RecommendationAction1 = "Add"
	// RecommendationAction1Recommended ...
	RecommendationAction1Recommended RecommendationAction1 = "Recommended"
	// RecommendationAction1Remove ...
	RecommendationAction1Remove RecommendationAction1 = "Remove"
)

func PossibleRecommendationAction1Values

func PossibleRecommendationAction1Values() []RecommendationAction1

PossibleRecommendationAction1Values returns an array of possible values for the RecommendationAction1 const type.

type RecommendationConfigStatus

type RecommendationConfigStatus string

RecommendationConfigStatus enumerates the values for recommendation config status.

const (
	// Disabled ...
	Disabled RecommendationConfigStatus = "Disabled"
	// Enabled ...
	Enabled RecommendationConfigStatus = "Enabled"
)

func PossibleRecommendationConfigStatusValues

func PossibleRecommendationConfigStatusValues() []RecommendationConfigStatus

PossibleRecommendationConfigStatusValues returns an array of possible values for the RecommendationConfigStatus const type.

type RecommendationConfigurationProperties

type RecommendationConfigurationProperties struct {
	// RecommendationType - The type of IoT Security recommendation. Possible values include: 'IoTACRAuthentication', 'IoTAgentSendsUnutilizedMessages', 'IoTBaseline', 'IoTEdgeHubMemOptimize', 'IoTEdgeLoggingOptions', 'IoTInconsistentModuleSettings', 'IoTInstallAgent', 'IoTIPFilterDenyAll', 'IoTIPFilterPermissiveRule', 'IoTOpenPorts', 'IoTPermissiveFirewallPolicy', 'IoTPermissiveInputFirewallRules', 'IoTPermissiveOutputFirewallRules', 'IoTPrivilegedDockerOptions', 'IoTSharedCredentials', 'IoTVulnerableTLSCipherSuite'
	RecommendationType RecommendationType `json:"recommendationType,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
	// Status - Recommendation status. When the recommendation status is disabled recommendations are not generated. Possible values include: 'Disabled', 'Enabled'
	Status RecommendationConfigStatus `json:"status,omitempty"`
}

RecommendationConfigurationProperties the type of IoT Security recommendation.

func (RecommendationConfigurationProperties) MarshalJSON

func (rcp RecommendationConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecommendationConfigurationProperties.

type RecommendationStatus

type RecommendationStatus string

RecommendationStatus enumerates the values for recommendation status.

const (
	// RecommendationStatusNoStatus ...
	RecommendationStatusNoStatus RecommendationStatus = "NoStatus"
	// RecommendationStatusNotAvailable ...
	RecommendationStatusNotAvailable RecommendationStatus = "NotAvailable"
	// RecommendationStatusNotRecommended ...
	RecommendationStatusNotRecommended RecommendationStatus = "NotRecommended"
	// RecommendationStatusRecommended ...
	RecommendationStatusRecommended RecommendationStatus = "Recommended"
)

func PossibleRecommendationStatusValues

func PossibleRecommendationStatusValues() []RecommendationStatus

PossibleRecommendationStatusValues returns an array of possible values for the RecommendationStatus const type.

type RecommendationType

type RecommendationType string

RecommendationType enumerates the values for recommendation type.

const (
	// IoTACRAuthentication Authentication schema used for pull an edge module from an ACR repository does not
	// use Service Principal Authentication.
	IoTACRAuthentication RecommendationType = "IoT_ACRAuthentication"
	// IoTAgentSendsUnutilizedMessages IoT agent message size capacity is currently underutilized, causing an
	// increase in the number of sent messages. Adjust message intervals for better utilization.
	IoTAgentSendsUnutilizedMessages RecommendationType = "IoT_AgentSendsUnutilizedMessages"
	// IoTBaseline Identified security related system configuration issues.
	IoTBaseline RecommendationType = "IoT_Baseline"
	// IoTEdgeHubMemOptimize You can optimize Edge Hub memory usage by turning off protocol heads for any
	// protocols not used by Edge modules in your solution.
	IoTEdgeHubMemOptimize RecommendationType = "IoT_EdgeHubMemOptimize"
	// IoTEdgeLoggingOptions Logging is disabled for this edge module.
	IoTEdgeLoggingOptions RecommendationType = "IoT_EdgeLoggingOptions"
	// IoTInconsistentModuleSettings A minority within a device security group has inconsistent Edge Module
	// settings with the rest of their group.
	IoTInconsistentModuleSettings RecommendationType = "IoT_InconsistentModuleSettings"
	// IoTInstallAgent Install the Azure Security of Things Agent.
	IoTInstallAgent RecommendationType = "IoT_InstallAgent"
	// IoTIPFilterDenyAll IP Filter Configuration should have rules defined for allowed traffic and should deny
	// all other traffic by default.
	IoTIPFilterDenyAll RecommendationType = "IoT_IPFilter_DenyAll"
	// IoTIPFilterPermissiveRule An Allow IP Filter rules source IP range is too large. Overly permissive rules
	// might expose your IoT hub to malicious intenders.
	IoTIPFilterPermissiveRule RecommendationType = "IoT_IPFilter_PermissiveRule"
	// IoTOpenPorts A listening endpoint was found on the device.
	IoTOpenPorts RecommendationType = "IoT_OpenPorts"
	// IoTPermissiveFirewallPolicy An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny
	// all traffic by default and define rules to allow necessary communication to/from the device.
	IoTPermissiveFirewallPolicy RecommendationType = "IoT_PermissiveFirewallPolicy"
	// IoTPermissiveInputFirewallRules A rule in the firewall has been found that contains a permissive pattern
	// for a wide range of IP addresses or Ports.
	IoTPermissiveInputFirewallRules RecommendationType = "IoT_PermissiveInputFirewallRules"
	// IoTPermissiveOutputFirewallRules A rule in the firewall has been found that contains a permissive
	// pattern for a wide range of IP addresses or Ports.
	IoTPermissiveOutputFirewallRules RecommendationType = "IoT_PermissiveOutputFirewallRules"
	// IoTPrivilegedDockerOptions Edge module is configured to run in privileged mode, with extensive Linux
	// capabilities or with host-level network access (send/receive data to host machine).
	IoTPrivilegedDockerOptions RecommendationType = "IoT_PrivilegedDockerOptions"
	// IoTSharedCredentials Same authentication credentials to the IoT Hub used by multiple devices. This could
	// indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device
	// impersonation by an attacker.
	IoTSharedCredentials RecommendationType = "IoT_SharedCredentials"
	// IoTVulnerableTLSCipherSuite Insecure TLS configurations detected. Immediate upgrade recommended.
	IoTVulnerableTLSCipherSuite RecommendationType = "IoT_VulnerableTLSCipherSuite"
)

func PossibleRecommendationTypeValues

func PossibleRecommendationTypeValues() []RecommendationType

PossibleRecommendationTypeValues returns an array of possible values for the RecommendationType const type.

type RegulatoryComplianceAssessment

type RegulatoryComplianceAssessment struct {
	autorest.Response `json:"-"`
	// RegulatoryComplianceAssessmentProperties - Regulatory compliance assessment data
	*RegulatoryComplianceAssessmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

RegulatoryComplianceAssessment regulatory compliance assessment details and state

func (RegulatoryComplianceAssessment) MarshalJSON

func (rca RegulatoryComplianceAssessment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceAssessment.

func (*RegulatoryComplianceAssessment) UnmarshalJSON

func (rca *RegulatoryComplianceAssessment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceAssessment struct.

type RegulatoryComplianceAssessmentList

type RegulatoryComplianceAssessmentList struct {
	autorest.Response `json:"-"`
	Value             *[]RegulatoryComplianceAssessment `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

RegulatoryComplianceAssessmentList list of regulatory compliance assessment response

func (RegulatoryComplianceAssessmentList) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (RegulatoryComplianceAssessmentList) MarshalJSON

func (rcal RegulatoryComplianceAssessmentList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceAssessmentList.

type RegulatoryComplianceAssessmentListIterator

type RegulatoryComplianceAssessmentListIterator struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceAssessmentListIterator provides access to a complete listing of RegulatoryComplianceAssessment values.

func NewRegulatoryComplianceAssessmentListIterator

func NewRegulatoryComplianceAssessmentListIterator(page RegulatoryComplianceAssessmentListPage) RegulatoryComplianceAssessmentListIterator

Creates a new instance of the RegulatoryComplianceAssessmentListIterator type.

func (*RegulatoryComplianceAssessmentListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceAssessmentListIterator) NextWithContext

func (iter *RegulatoryComplianceAssessmentListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RegulatoryComplianceAssessmentListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (RegulatoryComplianceAssessmentListIterator) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceAssessmentListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RegulatoryComplianceAssessmentListPage

type RegulatoryComplianceAssessmentListPage struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceAssessmentListPage contains a page of RegulatoryComplianceAssessment values.

func NewRegulatoryComplianceAssessmentListPage

Creates a new instance of the RegulatoryComplianceAssessmentListPage type.

func (*RegulatoryComplianceAssessmentListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceAssessmentListPage) NextWithContext

func (page *RegulatoryComplianceAssessmentListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RegulatoryComplianceAssessmentListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RegulatoryComplianceAssessmentListPage) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceAssessmentListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type RegulatoryComplianceAssessmentProperties

type RegulatoryComplianceAssessmentProperties struct {
	// Description - READ-ONLY; The description of the regulatory compliance assessment
	Description *string `json:"description,omitempty"`
	// AssessmentType - READ-ONLY; The expected type of assessment contained in the AssessmentDetailsLink
	AssessmentType *string `json:"assessmentType,omitempty"`
	// AssessmentDetailsLink - READ-ONLY; Link to more detailed assessment results data. The response type will be according to the assessmentType field
	AssessmentDetailsLink *string `json:"assessmentDetailsLink,omitempty"`
	// State - Aggregative state based on the assessment's scanned resources states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported'
	State State `json:"state,omitempty"`
	// PassedResources - READ-ONLY; The given assessment's related resources count with passed state.
	PassedResources *int32 `json:"passedResources,omitempty"`
	// FailedResources - READ-ONLY; The given assessment's related resources count with failed state.
	FailedResources *int32 `json:"failedResources,omitempty"`
	// SkippedResources - READ-ONLY; The given assessment's related resources count with skipped state.
	SkippedResources *int32 `json:"skippedResources,omitempty"`
	// UnsupportedResources - READ-ONLY; The given assessment's related resources count with unsupported state.
	UnsupportedResources *int32 `json:"unsupportedResources,omitempty"`
}

RegulatoryComplianceAssessmentProperties regulatory compliance assessment data

func (RegulatoryComplianceAssessmentProperties) MarshalJSON

func (rcap RegulatoryComplianceAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceAssessmentProperties.

type RegulatoryComplianceAssessmentsClient

type RegulatoryComplianceAssessmentsClient struct {
	BaseClient
}

RegulatoryComplianceAssessmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewRegulatoryComplianceAssessmentsClient

func NewRegulatoryComplianceAssessmentsClient(subscriptionID string) RegulatoryComplianceAssessmentsClient

NewRegulatoryComplianceAssessmentsClient creates an instance of the RegulatoryComplianceAssessmentsClient client.

func NewRegulatoryComplianceAssessmentsClientWithBaseURI

func NewRegulatoryComplianceAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) RegulatoryComplianceAssessmentsClient

NewRegulatoryComplianceAssessmentsClientWithBaseURI creates an instance of the RegulatoryComplianceAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RegulatoryComplianceAssessmentsClient) Get

func (client RegulatoryComplianceAssessmentsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, regulatoryComplianceAssessmentName string) (result RegulatoryComplianceAssessment, err error)

Get supported regulatory compliance details and state for selected assessment Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object regulatoryComplianceAssessmentName - name of the regulatory compliance assessment object

func (RegulatoryComplianceAssessmentsClient) GetPreparer

func (client RegulatoryComplianceAssessmentsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, regulatoryComplianceAssessmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegulatoryComplianceAssessmentsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RegulatoryComplianceAssessmentsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RegulatoryComplianceAssessmentsClient) List

func (client RegulatoryComplianceAssessmentsClient) List(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (result RegulatoryComplianceAssessmentListPage, err error)

List details and state of assessments mapped to selected regulatory compliance control Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object filter - oData filter. Optional.

func (RegulatoryComplianceAssessmentsClient) ListComplete

func (client RegulatoryComplianceAssessmentsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (result RegulatoryComplianceAssessmentListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RegulatoryComplianceAssessmentsClient) ListPreparer

func (client RegulatoryComplianceAssessmentsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (RegulatoryComplianceAssessmentsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RegulatoryComplianceAssessmentsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type RegulatoryComplianceControl

type RegulatoryComplianceControl struct {
	autorest.Response `json:"-"`
	// RegulatoryComplianceControlProperties - Regulatory compliance control data
	*RegulatoryComplianceControlProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

RegulatoryComplianceControl regulatory compliance control details and state

func (RegulatoryComplianceControl) MarshalJSON

func (rcc RegulatoryComplianceControl) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceControl.

func (*RegulatoryComplianceControl) UnmarshalJSON

func (rcc *RegulatoryComplianceControl) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceControl struct.

type RegulatoryComplianceControlList

type RegulatoryComplianceControlList struct {
	autorest.Response `json:"-"`
	// Value - List of regulatory compliance controls
	Value *[]RegulatoryComplianceControl `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

RegulatoryComplianceControlList list of regulatory compliance controls response

func (RegulatoryComplianceControlList) IsEmpty

func (rccl RegulatoryComplianceControlList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RegulatoryComplianceControlList) MarshalJSON

func (rccl RegulatoryComplianceControlList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceControlList.

type RegulatoryComplianceControlListIterator

type RegulatoryComplianceControlListIterator struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceControlListIterator provides access to a complete listing of RegulatoryComplianceControl values.

func NewRegulatoryComplianceControlListIterator

func NewRegulatoryComplianceControlListIterator(page RegulatoryComplianceControlListPage) RegulatoryComplianceControlListIterator

Creates a new instance of the RegulatoryComplianceControlListIterator type.

func (*RegulatoryComplianceControlListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceControlListIterator) NextWithContext

func (iter *RegulatoryComplianceControlListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RegulatoryComplianceControlListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (RegulatoryComplianceControlListIterator) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceControlListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RegulatoryComplianceControlListPage

type RegulatoryComplianceControlListPage struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceControlListPage contains a page of RegulatoryComplianceControl values.

func NewRegulatoryComplianceControlListPage

Creates a new instance of the RegulatoryComplianceControlListPage type.

func (*RegulatoryComplianceControlListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceControlListPage) NextWithContext

func (page *RegulatoryComplianceControlListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RegulatoryComplianceControlListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RegulatoryComplianceControlListPage) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceControlListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type RegulatoryComplianceControlProperties

type RegulatoryComplianceControlProperties struct {
	// Description - READ-ONLY; The description of the regulatory compliance control
	Description *string `json:"description,omitempty"`
	// State - Aggregative state based on the control's supported assessments states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported'
	State State `json:"state,omitempty"`
	// PassedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a passed state
	PassedAssessments *int32 `json:"passedAssessments,omitempty"`
	// FailedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a failed state
	FailedAssessments *int32 `json:"failedAssessments,omitempty"`
	// SkippedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a skipped state
	SkippedAssessments *int32 `json:"skippedAssessments,omitempty"`
}

RegulatoryComplianceControlProperties regulatory compliance control data

func (RegulatoryComplianceControlProperties) MarshalJSON

func (rccp RegulatoryComplianceControlProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceControlProperties.

type RegulatoryComplianceControlsClient

type RegulatoryComplianceControlsClient struct {
	BaseClient
}

RegulatoryComplianceControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewRegulatoryComplianceControlsClient

func NewRegulatoryComplianceControlsClient(subscriptionID string) RegulatoryComplianceControlsClient

NewRegulatoryComplianceControlsClient creates an instance of the RegulatoryComplianceControlsClient client.

func NewRegulatoryComplianceControlsClientWithBaseURI

func NewRegulatoryComplianceControlsClientWithBaseURI(baseURI string, subscriptionID string) RegulatoryComplianceControlsClient

NewRegulatoryComplianceControlsClientWithBaseURI creates an instance of the RegulatoryComplianceControlsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RegulatoryComplianceControlsClient) Get

func (client RegulatoryComplianceControlsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string) (result RegulatoryComplianceControl, err error)

Get selected regulatory compliance control details and state Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object

func (RegulatoryComplianceControlsClient) GetPreparer

func (client RegulatoryComplianceControlsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegulatoryComplianceControlsClient) GetResponder

func (client RegulatoryComplianceControlsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceControl, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RegulatoryComplianceControlsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RegulatoryComplianceControlsClient) List

func (client RegulatoryComplianceControlsClient) List(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListPage, err error)

List all supported regulatory compliance controls details and state for selected standard Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object filter - oData filter. Optional.

func (RegulatoryComplianceControlsClient) ListComplete

func (client RegulatoryComplianceControlsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RegulatoryComplianceControlsClient) ListPreparer

func (client RegulatoryComplianceControlsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (RegulatoryComplianceControlsClient) ListResponder

func (client RegulatoryComplianceControlsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceControlList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RegulatoryComplianceControlsClient) ListSender

func (client RegulatoryComplianceControlsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type RegulatoryComplianceStandard

type RegulatoryComplianceStandard struct {
	autorest.Response `json:"-"`
	// RegulatoryComplianceStandardProperties - Regulatory compliance standard data
	*RegulatoryComplianceStandardProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

RegulatoryComplianceStandard regulatory compliance standard details and state

func (RegulatoryComplianceStandard) MarshalJSON

func (rcs RegulatoryComplianceStandard) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceStandard.

func (*RegulatoryComplianceStandard) UnmarshalJSON

func (rcs *RegulatoryComplianceStandard) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceStandard struct.

type RegulatoryComplianceStandardList

type RegulatoryComplianceStandardList struct {
	autorest.Response `json:"-"`
	Value             *[]RegulatoryComplianceStandard `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

RegulatoryComplianceStandardList list of regulatory compliance standards response

func (RegulatoryComplianceStandardList) IsEmpty

func (rcsl RegulatoryComplianceStandardList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RegulatoryComplianceStandardList) MarshalJSON

func (rcsl RegulatoryComplianceStandardList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceStandardList.

type RegulatoryComplianceStandardListIterator

type RegulatoryComplianceStandardListIterator struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceStandardListIterator provides access to a complete listing of RegulatoryComplianceStandard values.

func NewRegulatoryComplianceStandardListIterator

func NewRegulatoryComplianceStandardListIterator(page RegulatoryComplianceStandardListPage) RegulatoryComplianceStandardListIterator

Creates a new instance of the RegulatoryComplianceStandardListIterator type.

func (*RegulatoryComplianceStandardListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceStandardListIterator) NextWithContext

func (iter *RegulatoryComplianceStandardListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RegulatoryComplianceStandardListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (RegulatoryComplianceStandardListIterator) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceStandardListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RegulatoryComplianceStandardListPage

type RegulatoryComplianceStandardListPage struct {
	// contains filtered or unexported fields
}

RegulatoryComplianceStandardListPage contains a page of RegulatoryComplianceStandard values.

func NewRegulatoryComplianceStandardListPage

Creates a new instance of the RegulatoryComplianceStandardListPage type.

func (*RegulatoryComplianceStandardListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegulatoryComplianceStandardListPage) NextWithContext

func (page *RegulatoryComplianceStandardListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RegulatoryComplianceStandardListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RegulatoryComplianceStandardListPage) Response

Response returns the raw server response from the last page request.

func (RegulatoryComplianceStandardListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type RegulatoryComplianceStandardProperties

type RegulatoryComplianceStandardProperties struct {
	// State - Aggregative state based on the standard's supported controls states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported'
	State State `json:"state,omitempty"`
	// PassedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a passed state
	PassedControls *int32 `json:"passedControls,omitempty"`
	// FailedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a failed state
	FailedControls *int32 `json:"failedControls,omitempty"`
	// SkippedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a skipped state
	SkippedControls *int32 `json:"skippedControls,omitempty"`
	// UnsupportedControls - READ-ONLY; The number of regulatory compliance controls of the given standard which are unsupported by automated assessments
	UnsupportedControls *int32 `json:"unsupportedControls,omitempty"`
}

RegulatoryComplianceStandardProperties regulatory compliance standard data

func (RegulatoryComplianceStandardProperties) MarshalJSON

func (rcsp RegulatoryComplianceStandardProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegulatoryComplianceStandardProperties.

type RegulatoryComplianceStandardsClient

type RegulatoryComplianceStandardsClient struct {
	BaseClient
}

RegulatoryComplianceStandardsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewRegulatoryComplianceStandardsClient

func NewRegulatoryComplianceStandardsClient(subscriptionID string) RegulatoryComplianceStandardsClient

NewRegulatoryComplianceStandardsClient creates an instance of the RegulatoryComplianceStandardsClient client.

func NewRegulatoryComplianceStandardsClientWithBaseURI

func NewRegulatoryComplianceStandardsClientWithBaseURI(baseURI string, subscriptionID string) RegulatoryComplianceStandardsClient

NewRegulatoryComplianceStandardsClientWithBaseURI creates an instance of the RegulatoryComplianceStandardsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RegulatoryComplianceStandardsClient) Get

func (client RegulatoryComplianceStandardsClient) Get(ctx context.Context, regulatoryComplianceStandardName string) (result RegulatoryComplianceStandard, err error)

Get supported regulatory compliance details state for selected standard Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object

func (RegulatoryComplianceStandardsClient) GetPreparer

func (client RegulatoryComplianceStandardsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegulatoryComplianceStandardsClient) GetResponder

func (client RegulatoryComplianceStandardsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceStandard, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RegulatoryComplianceStandardsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RegulatoryComplianceStandardsClient) List

List supported regulatory compliance standards details and state Parameters: filter - oData filter. Optional.

func (RegulatoryComplianceStandardsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RegulatoryComplianceStandardsClient) ListPreparer

func (client RegulatoryComplianceStandardsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (RegulatoryComplianceStandardsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RegulatoryComplianceStandardsClient) ListSender

func (client RegulatoryComplianceStandardsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Remediation

type Remediation struct {
	// Description - Remediation description.
	Description *string `json:"description,omitempty"`
	// Scripts - Remediation script.
	Scripts *[]string `json:"scripts,omitempty"`
	// Automated - Is remediation automated.
	Automated *bool `json:"automated,omitempty"`
	// PortalLink - Optional link to remediate in Azure Portal.
	PortalLink *string `json:"portalLink,omitempty"`
}

Remediation remediation details.

type RemediationEta

type RemediationEta struct {
	// Eta - ETA for remediation.
	Eta *date.Time `json:"eta,omitempty"`
	// Justification - Justification for change of Eta.
	Justification *string `json:"justification,omitempty"`
}

RemediationEta the ETA (estimated time of arrival) for remediation

type ReportedSeverity

type ReportedSeverity string

ReportedSeverity enumerates the values for reported severity.

const (
	// ReportedSeverityHigh ...
	ReportedSeverityHigh ReportedSeverity = "High"
	// ReportedSeverityInformational ...
	ReportedSeverityInformational ReportedSeverity = "Informational"
	// ReportedSeverityLow ...
	ReportedSeverityLow ReportedSeverity = "Low"
	// ReportedSeverityMedium ...
	ReportedSeverityMedium ReportedSeverity = "Medium"
)

func PossibleReportedSeverityValues

func PossibleReportedSeverityValues() []ReportedSeverity

PossibleReportedSeverityValues returns an array of possible values for the ReportedSeverity const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Resource describes an Azure resource.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceDetails

type ResourceDetails struct {
	// Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure'
	Source Source `json:"source,omitempty"`
}

ResourceDetails details of the resource that was assessed

func (ResourceDetails) AsAzureResourceDetails

func (rd ResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)

AsAzureResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) AsBasicOnPremiseResourceDetails

func (rd ResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)

AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) AsBasicResourceDetails

func (rd ResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)

AsBasicResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) AsOnPremiseResourceDetails

func (rd ResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)

AsOnPremiseResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) AsOnPremiseSQLResourceDetails

func (rd ResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)

AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) AsResourceDetails

func (rd ResourceDetails) AsResourceDetails() (*ResourceDetails, bool)

AsResourceDetails is the BasicResourceDetails implementation for ResourceDetails.

func (ResourceDetails) MarshalJSON

func (rd ResourceDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceDetails.

type ResourceIdentifier

type ResourceIdentifier struct {
	// Type - Possible values include: 'TypeResourceIdentifier', 'TypeAzureResource', 'TypeLogAnalytics'
	Type TypeBasicResourceIdentifier `json:"type,omitempty"`
}

ResourceIdentifier a resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.).

func (ResourceIdentifier) AsAzureResourceIdentifier

func (ri ResourceIdentifier) AsAzureResourceIdentifier() (*AzureResourceIdentifier, bool)

AsAzureResourceIdentifier is the BasicResourceIdentifier implementation for ResourceIdentifier.

func (ResourceIdentifier) AsBasicResourceIdentifier

func (ri ResourceIdentifier) AsBasicResourceIdentifier() (BasicResourceIdentifier, bool)

AsBasicResourceIdentifier is the BasicResourceIdentifier implementation for ResourceIdentifier.

func (ResourceIdentifier) AsLogAnalyticsIdentifier

func (ri ResourceIdentifier) AsLogAnalyticsIdentifier() (*LogAnalyticsIdentifier, bool)

AsLogAnalyticsIdentifier is the BasicResourceIdentifier implementation for ResourceIdentifier.

func (ResourceIdentifier) AsResourceIdentifier

func (ri ResourceIdentifier) AsResourceIdentifier() (*ResourceIdentifier, bool)

AsResourceIdentifier is the BasicResourceIdentifier implementation for ResourceIdentifier.

func (ResourceIdentifier) MarshalJSON

func (ri ResourceIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceIdentifier.

type ResourceStatus

type ResourceStatus string

ResourceStatus enumerates the values for resource status.

const (
	// ResourceStatusHealthy This assessment on the resource is healthy
	ResourceStatusHealthy ResourceStatus = "Healthy"
	// ResourceStatusNotApplicable This assessment is not applicable to this resource
	ResourceStatusNotApplicable ResourceStatus = "NotApplicable"
	// ResourceStatusNotHealthy This assessment on the resource is not healthy
	ResourceStatusNotHealthy ResourceStatus = "NotHealthy"
	// ResourceStatusOffByPolicy This assessment is turned off by policy on this subscription
	ResourceStatusOffByPolicy ResourceStatus = "OffByPolicy"
)

func PossibleResourceStatusValues

func PossibleResourceStatusValues() []ResourceStatus

PossibleResourceStatusValues returns an array of possible values for the ResourceStatus const type.

type Roles

type Roles string

Roles enumerates the values for roles.

const (
	// AccountAdmin If enabled, send notification on new alerts to the account admins
	AccountAdmin Roles = "AccountAdmin"
	// Contributor If enabled, send notification on new alerts to the subscription contributors
	Contributor Roles = "Contributor"
	// Owner If enabled, send notification on new alerts to the subscription owners
	Owner Roles = "Owner"
	// ServiceAdmin If enabled, send notification on new alerts to the service admins
	ServiceAdmin Roles = "ServiceAdmin"
)

func PossibleRolesValues

func PossibleRolesValues() []Roles

PossibleRolesValues returns an array of possible values for the Roles const type.

type Rule

type Rule struct {
	// Name - The name of the rule
	Name *string `json:"name,omitempty"`
	// Direction - The rule's direction. Possible values include: 'Inbound', 'Outbound'
	Direction Direction `json:"direction,omitempty"`
	// DestinationPort - The rule's destination port
	DestinationPort *int32 `json:"destinationPort,omitempty"`
	// Protocols - The rule's transport protocols
	Protocols *[]TransportProtocol `json:"protocols,omitempty"`
	// IPAddresses - The remote IP addresses that should be able to communicate with the Azure resource on the rule's destination port and protocol
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
}

Rule describes remote addresses that is recommended to communicate with the Azure resource on some (Protocol, Port, Direction). All other remote addresses are recommended to be blocked

type RuleResults

type RuleResults struct {
	autorest.Response `json:"-"`
	Properties        *RuleResultsProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

RuleResults rule results.

func (RuleResults) MarshalJSON

func (rr RuleResults) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleResults.

type RuleResultsInput

type RuleResultsInput struct {
	// LatestScan - Take results from latest scan.
	LatestScan *bool `json:"latestScan,omitempty"`
	// Results - Expected results to be inserted into the baseline.
	// Leave this field empty it LatestScan == true.
	Results *[][]string `json:"results,omitempty"`
}

RuleResultsInput rule results input.

type RuleResultsProperties

type RuleResultsProperties struct {
	// Results - Expected results in the baseline.
	Results *[][]string `json:"results,omitempty"`
}

RuleResultsProperties rule results properties.

type RuleSeverity

type RuleSeverity string

RuleSeverity enumerates the values for rule severity.

const (
	// RuleSeverityHigh High
	RuleSeverityHigh RuleSeverity = "High"
	// RuleSeverityInformational Informational
	RuleSeverityInformational RuleSeverity = "Informational"
	// RuleSeverityLow Low
	RuleSeverityLow RuleSeverity = "Low"
	// RuleSeverityMedium Medium
	RuleSeverityMedium RuleSeverity = "Medium"
	// RuleSeverityObsolete Obsolete
	RuleSeverityObsolete RuleSeverity = "Obsolete"
)

func PossibleRuleSeverityValues

func PossibleRuleSeverityValues() []RuleSeverity

PossibleRuleSeverityValues returns an array of possible values for the RuleSeverity const type.

type RuleState

type RuleState string

RuleState enumerates the values for rule state.

const (
	// RuleStateDisabled ...
	RuleStateDisabled RuleState = "Disabled"
	// RuleStateEnabled ...
	RuleStateEnabled RuleState = "Enabled"
	// RuleStateExpired ...
	RuleStateExpired RuleState = "Expired"
)

func PossibleRuleStateValues

func PossibleRuleStateValues() []RuleState

PossibleRuleStateValues returns an array of possible values for the RuleState const type.

type RuleStatus

type RuleStatus string

RuleStatus enumerates the values for rule status.

const (
	// Finding Finding
	Finding RuleStatus = "Finding"
	// InternalError InternalError
	InternalError RuleStatus = "InternalError"
	// NonFinding NonFinding
	NonFinding RuleStatus = "NonFinding"
)

func PossibleRuleStatusValues

func PossibleRuleStatusValues() []RuleStatus

PossibleRuleStatusValues returns an array of possible values for the RuleStatus const type.

type RuleType

type RuleType string

RuleType enumerates the values for rule type.

const (
	// BaselineExpected BaselineExpected
	BaselineExpected RuleType = "BaselineExpected"
	// Binary Binary
	Binary RuleType = "Binary"
	// NegativeList NegativeList
	NegativeList RuleType = "NegativeList"
	// PositiveList PositiveList
	PositiveList RuleType = "PositiveList"
)

func PossibleRuleTypeValues

func PossibleRuleTypeValues() []RuleType

PossibleRuleTypeValues returns an array of possible values for the RuleType const type.

type RuleTypeBasicCustomAlertRule

type RuleTypeBasicCustomAlertRule string

RuleTypeBasicCustomAlertRule enumerates the values for rule type basic custom alert rule.

const (
	// RuleTypeActiveConnectionsNotInAllowedRange ...
	RuleTypeActiveConnectionsNotInAllowedRange RuleTypeBasicCustomAlertRule = "ActiveConnectionsNotInAllowedRange"
	// RuleTypeAllowlistCustomAlertRule ...
	RuleTypeAllowlistCustomAlertRule RuleTypeBasicCustomAlertRule = "AllowlistCustomAlertRule"
	// RuleTypeAmqpC2DMessagesNotInAllowedRange ...
	RuleTypeAmqpC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpC2DMessagesNotInAllowedRange"
	// RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange ...
	RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpC2DRejectedMessagesNotInAllowedRange"
	// RuleTypeAmqpD2CMessagesNotInAllowedRange ...
	RuleTypeAmqpD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "AmqpD2CMessagesNotInAllowedRange"
	// RuleTypeConnectionFromIPNotAllowed ...
	RuleTypeConnectionFromIPNotAllowed RuleTypeBasicCustomAlertRule = "ConnectionFromIpNotAllowed"
	// RuleTypeConnectionToIPNotAllowed ...
	RuleTypeConnectionToIPNotAllowed RuleTypeBasicCustomAlertRule = "ConnectionToIpNotAllowed"
	// RuleTypeCustomAlertRule ...
	RuleTypeCustomAlertRule RuleTypeBasicCustomAlertRule = "CustomAlertRule"
	// RuleTypeDenylistCustomAlertRule ...
	RuleTypeDenylistCustomAlertRule RuleTypeBasicCustomAlertRule = "DenylistCustomAlertRule"
	// RuleTypeDirectMethodInvokesNotInAllowedRange ...
	RuleTypeDirectMethodInvokesNotInAllowedRange RuleTypeBasicCustomAlertRule = "DirectMethodInvokesNotInAllowedRange"
	// RuleTypeFailedLocalLoginsNotInAllowedRange ...
	RuleTypeFailedLocalLoginsNotInAllowedRange RuleTypeBasicCustomAlertRule = "FailedLocalLoginsNotInAllowedRange"
	// RuleTypeFileUploadsNotInAllowedRange ...
	RuleTypeFileUploadsNotInAllowedRange RuleTypeBasicCustomAlertRule = "FileUploadsNotInAllowedRange"
	// RuleTypeHTTPC2DMessagesNotInAllowedRange ...
	RuleTypeHTTPC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpC2DMessagesNotInAllowedRange"
	// RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange ...
	RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpC2DRejectedMessagesNotInAllowedRange"
	// RuleTypeHTTPD2CMessagesNotInAllowedRange ...
	RuleTypeHTTPD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "HttpD2CMessagesNotInAllowedRange"
	// RuleTypeListCustomAlertRule ...
	RuleTypeListCustomAlertRule RuleTypeBasicCustomAlertRule = "ListCustomAlertRule"
	// RuleTypeLocalUserNotAllowed ...
	RuleTypeLocalUserNotAllowed RuleTypeBasicCustomAlertRule = "LocalUserNotAllowed"
	// RuleTypeMqttC2DMessagesNotInAllowedRange ...
	RuleTypeMqttC2DMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttC2DMessagesNotInAllowedRange"
	// RuleTypeMqttC2DRejectedMessagesNotInAllowedRange ...
	RuleTypeMqttC2DRejectedMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttC2DRejectedMessagesNotInAllowedRange"
	// RuleTypeMqttD2CMessagesNotInAllowedRange ...
	RuleTypeMqttD2CMessagesNotInAllowedRange RuleTypeBasicCustomAlertRule = "MqttD2CMessagesNotInAllowedRange"
	// RuleTypeProcessNotAllowed ...
	RuleTypeProcessNotAllowed RuleTypeBasicCustomAlertRule = "ProcessNotAllowed"
	// RuleTypeQueuePurgesNotInAllowedRange ...
	RuleTypeQueuePurgesNotInAllowedRange RuleTypeBasicCustomAlertRule = "QueuePurgesNotInAllowedRange"
	// RuleTypeThresholdCustomAlertRule ...
	RuleTypeThresholdCustomAlertRule RuleTypeBasicCustomAlertRule = "ThresholdCustomAlertRule"
	// RuleTypeTimeWindowCustomAlertRule ...
	RuleTypeTimeWindowCustomAlertRule RuleTypeBasicCustomAlertRule = "TimeWindowCustomAlertRule"
	// RuleTypeTwinUpdatesNotInAllowedRange ...
	RuleTypeTwinUpdatesNotInAllowedRange RuleTypeBasicCustomAlertRule = "TwinUpdatesNotInAllowedRange"
	// RuleTypeUnauthorizedOperationsNotInAllowedRange ...
	RuleTypeUnauthorizedOperationsNotInAllowedRange RuleTypeBasicCustomAlertRule = "UnauthorizedOperationsNotInAllowedRange"
)

func PossibleRuleTypeBasicCustomAlertRuleValues

func PossibleRuleTypeBasicCustomAlertRuleValues() []RuleTypeBasicCustomAlertRule

PossibleRuleTypeBasicCustomAlertRuleValues returns an array of possible values for the RuleTypeBasicCustomAlertRule const type.

type RulesResults

type RulesResults struct {
	autorest.Response `json:"-"`
	// Value - List of rule results.
	Value *[]RuleResults `json:"value,omitempty"`
}

RulesResults a list of rules results.

type RulesResultsInput

type RulesResultsInput struct {
	// LatestScan - Take results from latest scan.
	LatestScan *bool `json:"latestScan,omitempty"`
	// Results - Expected results to be inserted into the baseline.
	// Leave this field empty it LatestScan == true.
	Results map[string][][]string `json:"results"`
}

RulesResultsInput rules results input.

func (RulesResultsInput) MarshalJSON

func (rri RulesResultsInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RulesResultsInput.

type SQLServerVulnerabilityProperties

type SQLServerVulnerabilityProperties struct {
	// Type - READ-ONLY; The resource type the sub assessment refers to in its resource details
	Type *string `json:"type,omitempty"`
	// Query - READ-ONLY; The T-SQL query that runs on your SQL database to perform the particular check
	Query *string `json:"query,omitempty"`
	// AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment'
	AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"`
}

SQLServerVulnerabilityProperties details of the resource that was assessed

func (SQLServerVulnerabilityProperties) AsAdditionalData

func (ssvp SQLServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)

AsAdditionalData is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.

func (SQLServerVulnerabilityProperties) AsBasicAdditionalData

func (ssvp SQLServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)

AsBasicAdditionalData is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.

func (SQLServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties

func (ssvp SQLServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)

AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.

func (SQLServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties

func (ssvp SQLServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)

AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.

func (SQLServerVulnerabilityProperties) AsServerVulnerabilityProperties

func (ssvp SQLServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)

AsServerVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.

func (SQLServerVulnerabilityProperties) MarshalJSON

func (ssvp SQLServerVulnerabilityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerVulnerabilityProperties.

type SQLVulnerabilityAssessmentBaselineRulesClient

type SQLVulnerabilityAssessmentBaselineRulesClient struct {
	BaseClient
}

SQLVulnerabilityAssessmentBaselineRulesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSQLVulnerabilityAssessmentBaselineRulesClient

func NewSQLVulnerabilityAssessmentBaselineRulesClient(subscriptionID string) SQLVulnerabilityAssessmentBaselineRulesClient

NewSQLVulnerabilityAssessmentBaselineRulesClient creates an instance of the SQLVulnerabilityAssessmentBaselineRulesClient client.

func NewSQLVulnerabilityAssessmentBaselineRulesClientWithBaseURI

func NewSQLVulnerabilityAssessmentBaselineRulesClientWithBaseURI(baseURI string, subscriptionID string) SQLVulnerabilityAssessmentBaselineRulesClient

NewSQLVulnerabilityAssessmentBaselineRulesClientWithBaseURI creates an instance of the SQLVulnerabilityAssessmentBaselineRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLVulnerabilityAssessmentBaselineRulesClient) Add

func (client SQLVulnerabilityAssessmentBaselineRulesClient) Add(ctx context.Context, workspaceID string, APIVersion string, resourceID string, body *RulesResultsInput) (result RulesResults, err error)

Add sends the add request. Parameters: workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource. body - the baseline rules.

func (SQLVulnerabilityAssessmentBaselineRulesClient) AddPreparer

func (client SQLVulnerabilityAssessmentBaselineRulesClient) AddPreparer(ctx context.Context, workspaceID string, APIVersion string, resourceID string, body *RulesResultsInput) (*http.Request, error)

AddPreparer prepares the Add request.

func (SQLVulnerabilityAssessmentBaselineRulesClient) AddResponder

func (client SQLVulnerabilityAssessmentBaselineRulesClient) AddResponder(resp *http.Response) (result RulesResults, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentBaselineRulesClient) AddSender

AddSender sends the Add request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdate

func (client SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdate(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string, body *RuleResultsInput) (result RuleResults, err error)

CreateOrUpdate sends the create or update request. Parameters: ruleID - the rule Id. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource. body - the baseline results for this rule.

func (SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdatePreparer

func (client SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdatePreparer(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string, body *RuleResultsInput) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdateResponder

func (client SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdateResponder(resp *http.Response) (result RuleResults, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdateSender

func (client SQLVulnerabilityAssessmentBaselineRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentBaselineRulesClient) Delete

func (client SQLVulnerabilityAssessmentBaselineRulesClient) Delete(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: ruleID - the rule Id. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentBaselineRulesClient) DeletePreparer

func (client SQLVulnerabilityAssessmentBaselineRulesClient) DeletePreparer(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLVulnerabilityAssessmentBaselineRulesClient) DeleteResponder

func (client SQLVulnerabilityAssessmentBaselineRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentBaselineRulesClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentBaselineRulesClient) Get

func (client SQLVulnerabilityAssessmentBaselineRulesClient) Get(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string) (result RuleResults, err error)

Get sends the get request. Parameters: ruleID - the rule Id. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentBaselineRulesClient) GetPreparer

func (client SQLVulnerabilityAssessmentBaselineRulesClient) GetPreparer(ctx context.Context, ruleID string, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLVulnerabilityAssessmentBaselineRulesClient) GetResponder

func (client SQLVulnerabilityAssessmentBaselineRulesClient) GetResponder(resp *http.Response) (result RuleResults, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentBaselineRulesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentBaselineRulesClient) List

func (client SQLVulnerabilityAssessmentBaselineRulesClient) List(ctx context.Context, workspaceID string, APIVersion string, resourceID string) (result RulesResults, err error)

List sends the list request. Parameters: workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentBaselineRulesClient) ListPreparer

func (client SQLVulnerabilityAssessmentBaselineRulesClient) ListPreparer(ctx context.Context, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLVulnerabilityAssessmentBaselineRulesClient) ListResponder

func (client SQLVulnerabilityAssessmentBaselineRulesClient) ListResponder(resp *http.Response) (result RulesResults, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentBaselineRulesClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLVulnerabilityAssessmentScanResultsClient

type SQLVulnerabilityAssessmentScanResultsClient struct {
	BaseClient
}

SQLVulnerabilityAssessmentScanResultsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSQLVulnerabilityAssessmentScanResultsClient

func NewSQLVulnerabilityAssessmentScanResultsClient(subscriptionID string) SQLVulnerabilityAssessmentScanResultsClient

NewSQLVulnerabilityAssessmentScanResultsClient creates an instance of the SQLVulnerabilityAssessmentScanResultsClient client.

func NewSQLVulnerabilityAssessmentScanResultsClientWithBaseURI

func NewSQLVulnerabilityAssessmentScanResultsClientWithBaseURI(baseURI string, subscriptionID string) SQLVulnerabilityAssessmentScanResultsClient

NewSQLVulnerabilityAssessmentScanResultsClientWithBaseURI creates an instance of the SQLVulnerabilityAssessmentScanResultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLVulnerabilityAssessmentScanResultsClient) Get

func (client SQLVulnerabilityAssessmentScanResultsClient) Get(ctx context.Context, scanID string, scanResultID string, workspaceID string, APIVersion string, resourceID string) (result ScanResult, err error)

Get sends the get request. Parameters: scanID - the scan Id. Type 'latest' to get the scan results for the latest scan. scanResultID - the rule Id of the results. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentScanResultsClient) GetPreparer

func (client SQLVulnerabilityAssessmentScanResultsClient) GetPreparer(ctx context.Context, scanID string, scanResultID string, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLVulnerabilityAssessmentScanResultsClient) GetResponder

func (client SQLVulnerabilityAssessmentScanResultsClient) GetResponder(resp *http.Response) (result ScanResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentScanResultsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentScanResultsClient) List

func (client SQLVulnerabilityAssessmentScanResultsClient) List(ctx context.Context, scanID string, workspaceID string, APIVersion string, resourceID string) (result ScanResults, err error)

List sends the list request. Parameters: scanID - the scan Id. Type 'latest' to get the scan results for the latest scan. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentScanResultsClient) ListPreparer

func (client SQLVulnerabilityAssessmentScanResultsClient) ListPreparer(ctx context.Context, scanID string, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLVulnerabilityAssessmentScanResultsClient) ListResponder

func (client SQLVulnerabilityAssessmentScanResultsClient) ListResponder(resp *http.Response) (result ScanResults, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentScanResultsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLVulnerabilityAssessmentScansClient

type SQLVulnerabilityAssessmentScansClient struct {
	BaseClient
}

SQLVulnerabilityAssessmentScansClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSQLVulnerabilityAssessmentScansClient

func NewSQLVulnerabilityAssessmentScansClient(subscriptionID string) SQLVulnerabilityAssessmentScansClient

NewSQLVulnerabilityAssessmentScansClient creates an instance of the SQLVulnerabilityAssessmentScansClient client.

func NewSQLVulnerabilityAssessmentScansClientWithBaseURI

func NewSQLVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) SQLVulnerabilityAssessmentScansClient

NewSQLVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the SQLVulnerabilityAssessmentScansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLVulnerabilityAssessmentScansClient) Get

func (client SQLVulnerabilityAssessmentScansClient) Get(ctx context.Context, scanID string, workspaceID string, APIVersion string, resourceID string) (result Scan, err error)

Get sends the get request. Parameters: scanID - the scan Id. Type 'latest' to get the scan record for the latest scan. workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentScansClient) GetPreparer

func (client SQLVulnerabilityAssessmentScansClient) GetPreparer(ctx context.Context, scanID string, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLVulnerabilityAssessmentScansClient) GetResponder

func (client SQLVulnerabilityAssessmentScansClient) GetResponder(resp *http.Response) (result Scan, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentScansClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLVulnerabilityAssessmentScansClient) List

func (client SQLVulnerabilityAssessmentScansClient) List(ctx context.Context, workspaceID string, APIVersion string, resourceID string) (result Scans, err error)

List sends the list request. Parameters: workspaceID - the workspace Id. APIVersion - the api version. resourceID - the identifier of the resource.

func (SQLVulnerabilityAssessmentScansClient) ListPreparer

func (client SQLVulnerabilityAssessmentScansClient) ListPreparer(ctx context.Context, workspaceID string, APIVersion string, resourceID string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLVulnerabilityAssessmentScansClient) ListResponder

func (client SQLVulnerabilityAssessmentScansClient) ListResponder(resp *http.Response) (result Scans, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLVulnerabilityAssessmentScansClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Scan

type Scan struct {
	autorest.Response `json:"-"`
	Properties        *ScanProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Scan a vulnerability assessment scan record.

func (Scan) MarshalJSON

func (s Scan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Scan.

type ScanProperties

type ScanProperties struct {
	// TriggerType - Possible values include: 'OnDemand', 'Recurring'
	TriggerType ScanTriggerType `json:"triggerType,omitempty"`
	// State - Possible values include: 'ScanStateFailed', 'ScanStateFailedToRun', 'ScanStateInProgress', 'ScanStatePassed'
	State ScanState `json:"state,omitempty"`
	// Server - The server name.
	Server *string `json:"server,omitempty"`
	// Database - The database name.
	Database *string `json:"database,omitempty"`
	// SQLVersion - The SQL version.
	SQLVersion *string `json:"sqlVersion,omitempty"`
	// StartTime - The scan start time (UTC).
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Scan results are valid until end time (UTC).
	EndTime *date.Time `json:"endTime,omitempty"`
	// HighSeverityFailedRulesCount - The number of failed rules with high severity.
	HighSeverityFailedRulesCount *int32 `json:"highSeverityFailedRulesCount,omitempty"`
	// MediumSeverityFailedRulesCount - The number of failed rules with medium severity.
	MediumSeverityFailedRulesCount *int32 `json:"mediumSeverityFailedRulesCount,omitempty"`
	// LowSeverityFailedRulesCount - The number of failed rules with low severity.
	LowSeverityFailedRulesCount *int32 `json:"lowSeverityFailedRulesCount,omitempty"`
	// TotalPassedRulesCount - The number of total passed rules.
	TotalPassedRulesCount *int32 `json:"totalPassedRulesCount,omitempty"`
	// TotalFailedRulesCount - The number of total failed rules.
	TotalFailedRulesCount *int32 `json:"totalFailedRulesCount,omitempty"`
	// TotalRulesCount - The number of total rules assessed.
	TotalRulesCount *int32 `json:"totalRulesCount,omitempty"`
	// IsBaselineApplied - Baseline created for this database, and has one or more rules.
	IsBaselineApplied *bool `json:"isBaselineApplied,omitempty"`
}

ScanProperties a vulnerability assessment scan record properties.

type ScanResult

type ScanResult struct {
	autorest.Response `json:"-"`
	Properties        *ScanResultProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ScanResult a vulnerability assessment scan result for a single rule.

func (ScanResult) MarshalJSON

func (sr ScanResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScanResult.

type ScanResultProperties

type ScanResultProperties struct {
	// RuleID - The rule Id.
	RuleID *string `json:"ruleId,omitempty"`
	// Status - Possible values include: 'NonFinding', 'Finding', 'InternalError'
	Status RuleStatus `json:"status,omitempty"`
	// IsTrimmed - Indicated whether the results specified here are trimmed.
	IsTrimmed *bool `json:"isTrimmed,omitempty"`
	// QueryResults - The results of the query that was run.
	QueryResults           *[][]string             `json:"queryResults,omitempty"`
	Remediation            *Remediation            `json:"remediation,omitempty"`
	BaselineAdjustedResult *BaselineAdjustedResult `json:"baselineAdjustedResult,omitempty"`
	RuleMetadata           *VaRule                 `json:"ruleMetadata,omitempty"`
}

ScanResultProperties a vulnerability assessment scan result properties for a single rule.

type ScanResults

type ScanResults struct {
	autorest.Response `json:"-"`
	// Value - List of vulnerability assessment scan results.
	Value *[]ScanResult `json:"value,omitempty"`
}

ScanResults a list of vulnerability assessment scan results.

type ScanState

type ScanState string

ScanState enumerates the values for scan state.

const (
	// ScanStateFailed Failed
	ScanStateFailed ScanState = "Failed"
	// ScanStateFailedToRun FailedToRun
	ScanStateFailedToRun ScanState = "FailedToRun"
	// ScanStateInProgress InProgress
	ScanStateInProgress ScanState = "InProgress"
	// ScanStatePassed Passed
	ScanStatePassed ScanState = "Passed"
)

func PossibleScanStateValues

func PossibleScanStateValues() []ScanState

PossibleScanStateValues returns an array of possible values for the ScanState const type.

type ScanTriggerType

type ScanTriggerType string

ScanTriggerType enumerates the values for scan trigger type.

const (
	// OnDemand OnDemand
	OnDemand ScanTriggerType = "OnDemand"
	// Recurring Recurring
	Recurring ScanTriggerType = "Recurring"
)

func PossibleScanTriggerTypeValues

func PossibleScanTriggerTypeValues() []ScanTriggerType

PossibleScanTriggerTypeValues returns an array of possible values for the ScanTriggerType const type.

type ScanningMode

type ScanningMode string

ScanningMode enumerates the values for scanning mode.

const (
	// Default ...
	Default ScanningMode = "Default"
)

func PossibleScanningModeValues

func PossibleScanningModeValues() []ScanningMode

PossibleScanningModeValues returns an array of possible values for the ScanningMode const type.

type Scans

type Scans struct {
	autorest.Response `json:"-"`
	// Value - List of vulnerability assessment scan records.
	Value *[]Scan `json:"value,omitempty"`
}

Scans a list of vulnerability assessment scan records.

type ScopeElement

type ScopeElement struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Field - The alert entity type to suppress by.
	Field *string `json:"field,omitempty"`
}

ScopeElement a more specific scope used to identify the alerts to suppress.

func (ScopeElement) MarshalJSON

func (se ScopeElement) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScopeElement.

func (*ScopeElement) UnmarshalJSON

func (se *ScopeElement) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScopeElement struct.

type ScoreDetails

type ScoreDetails struct {
	// Max - READ-ONLY; Maximum score available
	Max *int32 `json:"max,omitempty"`
	// Current - READ-ONLY; Current score
	Current *float64 `json:"current,omitempty"`
	// Percentage - READ-ONLY; Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point
	Percentage *float64 `json:"percentage,omitempty"`
}

ScoreDetails calculation result data

func (ScoreDetails) MarshalJSON

func (sd ScoreDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScoreDetails.

type Script

type Script string

Script enumerates the values for script.

const (
	// ScriptAudit ...
	ScriptAudit Script = "Audit"
	// ScriptEnforce ...
	ScriptEnforce Script = "Enforce"
	// ScriptNone ...
	ScriptNone Script = "None"
)

func PossibleScriptValues

func PossibleScriptValues() []Script

PossibleScriptValues returns an array of possible values for the Script const type.

type SecureScoreControlDefinitionItem

type SecureScoreControlDefinitionItem struct {
	*SecureScoreControlDefinitionItemProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SecureScoreControlDefinitionItem information about the security control.

func (SecureScoreControlDefinitionItem) MarshalJSON

func (sscdi SecureScoreControlDefinitionItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlDefinitionItem.

func (*SecureScoreControlDefinitionItem) UnmarshalJSON

func (sscdi *SecureScoreControlDefinitionItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecureScoreControlDefinitionItem struct.

type SecureScoreControlDefinitionItemProperties

type SecureScoreControlDefinitionItemProperties struct {
	// DisplayName - READ-ONLY; User friendly display name of the control
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; User friendly description of the control
	Description *string `json:"description,omitempty"`
	// MaxScore - READ-ONLY; Maximum control score (0..10)
	MaxScore *int32 `json:"maxScore,omitempty"`
	// Source - READ-ONLY; Source object from which the control was created
	Source *SecureScoreControlDefinitionSource `json:"source,omitempty"`
	// AssessmentDefinitions - READ-ONLY; Array of assessments metadata IDs that are included in this security control
	AssessmentDefinitions *[]AzureResourceLink `json:"assessmentDefinitions,omitempty"`
}

SecureScoreControlDefinitionItemProperties security Control Definition Properties.

func (SecureScoreControlDefinitionItemProperties) MarshalJSON

func (sscdip SecureScoreControlDefinitionItemProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlDefinitionItemProperties.

type SecureScoreControlDefinitionList

type SecureScoreControlDefinitionList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of security controls definition in this page
	Value *[]SecureScoreControlDefinitionItem `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SecureScoreControlDefinitionList list of security controls definition

func (SecureScoreControlDefinitionList) IsEmpty

func (sscdl SecureScoreControlDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecureScoreControlDefinitionList) MarshalJSON

func (sscdl SecureScoreControlDefinitionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlDefinitionList.

type SecureScoreControlDefinitionListIterator

type SecureScoreControlDefinitionListIterator struct {
	// contains filtered or unexported fields
}

SecureScoreControlDefinitionListIterator provides access to a complete listing of SecureScoreControlDefinitionItem values.

func NewSecureScoreControlDefinitionListIterator

func NewSecureScoreControlDefinitionListIterator(page SecureScoreControlDefinitionListPage) SecureScoreControlDefinitionListIterator

Creates a new instance of the SecureScoreControlDefinitionListIterator type.

func (*SecureScoreControlDefinitionListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoreControlDefinitionListIterator) NextWithContext

func (iter *SecureScoreControlDefinitionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SecureScoreControlDefinitionListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecureScoreControlDefinitionListIterator) Response

Response returns the raw server response from the last page request.

func (SecureScoreControlDefinitionListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecureScoreControlDefinitionListPage

type SecureScoreControlDefinitionListPage struct {
	// contains filtered or unexported fields
}

SecureScoreControlDefinitionListPage contains a page of SecureScoreControlDefinitionItem values.

func NewSecureScoreControlDefinitionListPage

Creates a new instance of the SecureScoreControlDefinitionListPage type.

func (*SecureScoreControlDefinitionListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoreControlDefinitionListPage) NextWithContext

func (page *SecureScoreControlDefinitionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SecureScoreControlDefinitionListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecureScoreControlDefinitionListPage) Response

Response returns the raw server response from the last page request.

func (SecureScoreControlDefinitionListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SecureScoreControlDefinitionSource

type SecureScoreControlDefinitionSource struct {
	// SourceType - The type of security control (for example, BuiltIn). Possible values include: 'ControlTypeBuiltIn', 'ControlTypeCustom'
	SourceType ControlType `json:"sourceType,omitempty"`
}

SecureScoreControlDefinitionSource the type of the security control (For example, BuiltIn)

type SecureScoreControlDefinitionsClient

type SecureScoreControlDefinitionsClient struct {
	BaseClient
}

SecureScoreControlDefinitionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSecureScoreControlDefinitionsClient

func NewSecureScoreControlDefinitionsClient(subscriptionID string) SecureScoreControlDefinitionsClient

NewSecureScoreControlDefinitionsClient creates an instance of the SecureScoreControlDefinitionsClient client.

func NewSecureScoreControlDefinitionsClientWithBaseURI

func NewSecureScoreControlDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) SecureScoreControlDefinitionsClient

NewSecureScoreControlDefinitionsClientWithBaseURI creates an instance of the SecureScoreControlDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecureScoreControlDefinitionsClient) List

List list the available security controls, their assessments, and the max score

func (SecureScoreControlDefinitionsClient) ListBySubscription

ListBySubscription for a specified subscription, list the available security controls, their assessments, and the max score

func (SecureScoreControlDefinitionsClient) ListBySubscriptionComplete

func (client SecureScoreControlDefinitionsClient) ListBySubscriptionComplete(ctx context.Context) (result SecureScoreControlDefinitionListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (SecureScoreControlDefinitionsClient) ListBySubscriptionPreparer

func (client SecureScoreControlDefinitionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SecureScoreControlDefinitionsClient) ListBySubscriptionResponder

func (client SecureScoreControlDefinitionsClient) ListBySubscriptionResponder(resp *http.Response) (result SecureScoreControlDefinitionList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (SecureScoreControlDefinitionsClient) ListBySubscriptionSender

func (client SecureScoreControlDefinitionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (SecureScoreControlDefinitionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecureScoreControlDefinitionsClient) ListPreparer

ListPreparer prepares the List request.

func (SecureScoreControlDefinitionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecureScoreControlDefinitionsClient) ListSender

func (client SecureScoreControlDefinitionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecureScoreControlDetails

type SecureScoreControlDetails struct {
	*SecureScoreControlScoreDetails `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SecureScoreControlDetails details of the security control, its score, and the health status of the relevant resources.

func (SecureScoreControlDetails) MarshalJSON

func (sscd SecureScoreControlDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlDetails.

func (*SecureScoreControlDetails) UnmarshalJSON

func (sscd *SecureScoreControlDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecureScoreControlDetails struct.

type SecureScoreControlList

type SecureScoreControlList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of security controls in this page
	Value *[]SecureScoreControlDetails `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SecureScoreControlList list of security controls

func (SecureScoreControlList) IsEmpty

func (sscl SecureScoreControlList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecureScoreControlList) MarshalJSON

func (sscl SecureScoreControlList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlList.

type SecureScoreControlListIterator

type SecureScoreControlListIterator struct {
	// contains filtered or unexported fields
}

SecureScoreControlListIterator provides access to a complete listing of SecureScoreControlDetails values.

func NewSecureScoreControlListIterator

func NewSecureScoreControlListIterator(page SecureScoreControlListPage) SecureScoreControlListIterator

Creates a new instance of the SecureScoreControlListIterator type.

func (*SecureScoreControlListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoreControlListIterator) NextWithContext

func (iter *SecureScoreControlListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SecureScoreControlListIterator) NotDone

func (iter SecureScoreControlListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecureScoreControlListIterator) Response

Response returns the raw server response from the last page request.

func (SecureScoreControlListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecureScoreControlListPage

type SecureScoreControlListPage struct {
	// contains filtered or unexported fields
}

SecureScoreControlListPage contains a page of SecureScoreControlDetails values.

func NewSecureScoreControlListPage

Creates a new instance of the SecureScoreControlListPage type.

func (*SecureScoreControlListPage) Next

func (page *SecureScoreControlListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoreControlListPage) NextWithContext

func (page *SecureScoreControlListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SecureScoreControlListPage) NotDone

func (page SecureScoreControlListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecureScoreControlListPage) Response

Response returns the raw server response from the last page request.

func (SecureScoreControlListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SecureScoreControlScore

type SecureScoreControlScore struct {
	// Max - READ-ONLY; Maximum control score (0..10)
	Max *int32 `json:"max,omitempty"`
	// Current - READ-ONLY; Actual score for the control = (achieved points / total points) * max score. if total points is zeroed, the return number is 0.00
	Current *float64 `json:"current,omitempty"`
	// Percentage - READ-ONLY; Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point
	Percentage *float64 `json:"percentage,omitempty"`
}

SecureScoreControlScore calculation result data

func (SecureScoreControlScore) MarshalJSON

func (sscs SecureScoreControlScore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlScore.

type SecureScoreControlScoreDetails

type SecureScoreControlScoreDetails struct {
	// DisplayName - READ-ONLY; User friendly display name of the control
	DisplayName *string `json:"displayName,omitempty"`
	// ScoreDetails - Actual score object for the control
	*ScoreDetails `json:"score,omitempty"`
	// HealthyResourceCount - READ-ONLY; Number of healthy resources in the control
	HealthyResourceCount *int32 `json:"healthyResourceCount,omitempty"`
	// UnhealthyResourceCount - READ-ONLY; Number of unhealthy resources in the control
	UnhealthyResourceCount *int32 `json:"unhealthyResourceCount,omitempty"`
	// NotApplicableResourceCount - READ-ONLY; Number of not applicable resources in the control
	NotApplicableResourceCount *int32 `json:"notApplicableResourceCount,omitempty"`
	// Weight - READ-ONLY; The relative weight for this specific control in each of your subscriptions. Used when calculating an aggregated score for this control across all of your subscriptions.
	Weight     *int64                            `json:"weight,omitempty"`
	Definition *SecureScoreControlDefinitionItem `json:"definition,omitempty"`
}

SecureScoreControlScoreDetails calculation result data in control level

func (SecureScoreControlScoreDetails) MarshalJSON

func (sscsd SecureScoreControlScoreDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreControlScoreDetails.

func (*SecureScoreControlScoreDetails) UnmarshalJSON

func (sscsd *SecureScoreControlScoreDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecureScoreControlScoreDetails struct.

type SecureScoreControlsClient

type SecureScoreControlsClient struct {
	BaseClient
}

SecureScoreControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSecureScoreControlsClient

func NewSecureScoreControlsClient(subscriptionID string) SecureScoreControlsClient

NewSecureScoreControlsClient creates an instance of the SecureScoreControlsClient client.

func NewSecureScoreControlsClientWithBaseURI

func NewSecureScoreControlsClientWithBaseURI(baseURI string, subscriptionID string) SecureScoreControlsClient

NewSecureScoreControlsClientWithBaseURI creates an instance of the SecureScoreControlsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecureScoreControlsClient) List

List get all security controls within a scope Parameters: expand - oData expand. Optional.

func (SecureScoreControlsClient) ListBySecureScore

func (client SecureScoreControlsClient) ListBySecureScore(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListPage, err error)

ListBySecureScore get all security controls for a specific initiative within a scope Parameters: secureScoreName - the initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below. expand - oData expand. Optional.

func (SecureScoreControlsClient) ListBySecureScoreComplete

func (client SecureScoreControlsClient) ListBySecureScoreComplete(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListIterator, err error)

ListBySecureScoreComplete enumerates all values, automatically crossing page boundaries as required.

func (SecureScoreControlsClient) ListBySecureScorePreparer

func (client SecureScoreControlsClient) ListBySecureScorePreparer(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (*http.Request, error)

ListBySecureScorePreparer prepares the ListBySecureScore request.

func (SecureScoreControlsClient) ListBySecureScoreResponder

func (client SecureScoreControlsClient) ListBySecureScoreResponder(resp *http.Response) (result SecureScoreControlList, err error)

ListBySecureScoreResponder handles the response to the ListBySecureScore request. The method always closes the http.Response Body.

func (SecureScoreControlsClient) ListBySecureScoreSender

func (client SecureScoreControlsClient) ListBySecureScoreSender(req *http.Request) (*http.Response, error)

ListBySecureScoreSender sends the ListBySecureScore request. The method will close the http.Response Body if it receives an error.

func (SecureScoreControlsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecureScoreControlsClient) ListPreparer

func (client SecureScoreControlsClient) ListPreparer(ctx context.Context, expand ExpandControlsEnum) (*http.Request, error)

ListPreparer prepares the List request.

func (SecureScoreControlsClient) ListResponder

func (client SecureScoreControlsClient) ListResponder(resp *http.Response) (result SecureScoreControlList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecureScoreControlsClient) ListSender

func (client SecureScoreControlsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecureScoreItem

type SecureScoreItem struct {
	autorest.Response `json:"-"`
	// SecureScoreItemProperties - READ-ONLY; Secure score item
	*SecureScoreItemProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SecureScoreItem secure score item data model

func (SecureScoreItem) MarshalJSON

func (ssi SecureScoreItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreItem.

func (*SecureScoreItem) UnmarshalJSON

func (ssi *SecureScoreItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecureScoreItem struct.

type SecureScoreItemProperties

type SecureScoreItemProperties struct {
	// DisplayName - READ-ONLY; The initiative’s name
	DisplayName *string `json:"displayName,omitempty"`
	// ScoreDetails - READ-ONLY; score object
	*ScoreDetails `json:"score,omitempty"`
	// Weight - READ-ONLY; The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.
	Weight *int64 `json:"weight,omitempty"`
}

SecureScoreItemProperties describes properties of a calculated secure score.

func (SecureScoreItemProperties) MarshalJSON

func (ssip SecureScoreItemProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoreItemProperties.

func (*SecureScoreItemProperties) UnmarshalJSON

func (ssip *SecureScoreItemProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecureScoreItemProperties struct.

type SecureScoresClient

type SecureScoresClient struct {
	BaseClient
}

SecureScoresClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSecureScoresClient

func NewSecureScoresClient(subscriptionID string) SecureScoresClient

NewSecureScoresClient creates an instance of the SecureScoresClient client.

func NewSecureScoresClientWithBaseURI

func NewSecureScoresClientWithBaseURI(baseURI string, subscriptionID string) SecureScoresClient

NewSecureScoresClientWithBaseURI creates an instance of the SecureScoresClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecureScoresClient) Get

func (client SecureScoresClient) Get(ctx context.Context, secureScoreName string) (result SecureScoreItem, err error)

Get get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'. Parameters: secureScoreName - the initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.

func (SecureScoresClient) GetPreparer

func (client SecureScoresClient) GetPreparer(ctx context.Context, secureScoreName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecureScoresClient) GetResponder

func (client SecureScoresClient) GetResponder(resp *http.Response) (result SecureScoreItem, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SecureScoresClient) GetSender

func (client SecureScoresClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SecureScoresClient) List

func (client SecureScoresClient) List(ctx context.Context) (result SecureScoresListPage, err error)

List list secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

func (SecureScoresClient) ListComplete

func (client SecureScoresClient) ListComplete(ctx context.Context) (result SecureScoresListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecureScoresClient) ListPreparer

func (client SecureScoresClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SecureScoresClient) ListResponder

func (client SecureScoresClient) ListResponder(resp *http.Response) (result SecureScoresList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecureScoresClient) ListSender

func (client SecureScoresClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecureScoresList

type SecureScoresList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of secure scores in this page
	Value *[]SecureScoreItem `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SecureScoresList list of secure scores

func (SecureScoresList) IsEmpty

func (ssl SecureScoresList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecureScoresList) MarshalJSON

func (ssl SecureScoresList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureScoresList.

type SecureScoresListIterator

type SecureScoresListIterator struct {
	// contains filtered or unexported fields
}

SecureScoresListIterator provides access to a complete listing of SecureScoreItem values.

func NewSecureScoresListIterator

func NewSecureScoresListIterator(page SecureScoresListPage) SecureScoresListIterator

Creates a new instance of the SecureScoresListIterator type.

func (*SecureScoresListIterator) Next

func (iter *SecureScoresListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoresListIterator) NextWithContext

func (iter *SecureScoresListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SecureScoresListIterator) NotDone

func (iter SecureScoresListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecureScoresListIterator) Response

Response returns the raw server response from the last page request.

func (SecureScoresListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecureScoresListPage

type SecureScoresListPage struct {
	// contains filtered or unexported fields
}

SecureScoresListPage contains a page of SecureScoreItem values.

func NewSecureScoresListPage

func NewSecureScoresListPage(cur SecureScoresList, getNextPage func(context.Context, SecureScoresList) (SecureScoresList, error)) SecureScoresListPage

Creates a new instance of the SecureScoresListPage type.

func (*SecureScoresListPage) Next

func (page *SecureScoresListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecureScoresListPage) NextWithContext

func (page *SecureScoresListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SecureScoresListPage) NotDone

func (page SecureScoresListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecureScoresListPage) Response

func (page SecureScoresListPage) Response() SecureScoresList

Response returns the raw server response from the last page request.

func (SecureScoresListPage) Values

func (page SecureScoresListPage) Values() []SecureScoreItem

Values returns the slice of values for the current page or nil if there are no values.

type SensitivityLabel

type SensitivityLabel struct {
	// DisplayName - The name of the sensitivity label.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description of the sensitivity label.
	Description *string `json:"description,omitempty"`
	// Rank - The rank of the sensitivity label. Possible values include: 'RankNone', 'RankLow', 'RankMedium', 'RankHigh', 'RankCritical'
	Rank Rank `json:"rank,omitempty"`
	// Order - The order of the sensitivity label.
	Order *int32 `json:"order,omitempty"`
	// Enabled - Indicates whether the label is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`
}

SensitivityLabel the sensitivity label.

type ServerVulnerabilityAssessment

type ServerVulnerabilityAssessment struct {
	autorest.Response                        `json:"-"`
	*ServerVulnerabilityAssessmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

ServerVulnerabilityAssessment describes the server vulnerability assessment details on a resource

func (ServerVulnerabilityAssessment) MarshalJSON

func (sva ServerVulnerabilityAssessment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerVulnerabilityAssessment.

func (*ServerVulnerabilityAssessment) UnmarshalJSON

func (sva *ServerVulnerabilityAssessment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServerVulnerabilityAssessment struct.

type ServerVulnerabilityAssessmentClient

type ServerVulnerabilityAssessmentClient struct {
	BaseClient
}

ServerVulnerabilityAssessmentClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewServerVulnerabilityAssessmentClient

func NewServerVulnerabilityAssessmentClient(subscriptionID string) ServerVulnerabilityAssessmentClient

NewServerVulnerabilityAssessmentClient creates an instance of the ServerVulnerabilityAssessmentClient client.

func NewServerVulnerabilityAssessmentClientWithBaseURI

func NewServerVulnerabilityAssessmentClientWithBaseURI(baseURI string, subscriptionID string) ServerVulnerabilityAssessmentClient

NewServerVulnerabilityAssessmentClientWithBaseURI creates an instance of the ServerVulnerabilityAssessmentClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServerVulnerabilityAssessmentClient) CreateOrUpdate

func (client ServerVulnerabilityAssessmentClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result ServerVulnerabilityAssessment, err error)

CreateOrUpdate creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (ServerVulnerabilityAssessmentClient) CreateOrUpdatePreparer

func (client ServerVulnerabilityAssessmentClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServerVulnerabilityAssessmentClient) CreateOrUpdateResponder

func (client ServerVulnerabilityAssessmentClient) CreateOrUpdateResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ServerVulnerabilityAssessmentClient) CreateOrUpdateSender

func (client ServerVulnerabilityAssessmentClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ServerVulnerabilityAssessmentClient) Delete

func (client ServerVulnerabilityAssessmentClient) Delete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result ServerVulnerabilityAssessmentDeleteFuture, err error)

Delete removing server vulnerability assessment from a resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (ServerVulnerabilityAssessmentClient) DeletePreparer

func (client ServerVulnerabilityAssessmentClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServerVulnerabilityAssessmentClient) DeleteResponder

func (client ServerVulnerabilityAssessmentClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServerVulnerabilityAssessmentClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ServerVulnerabilityAssessmentClient) Get

func (client ServerVulnerabilityAssessmentClient) Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result ServerVulnerabilityAssessment, err error)

Get gets a server vulnerability assessment onboarding statuses on a given resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (ServerVulnerabilityAssessmentClient) GetPreparer

func (client ServerVulnerabilityAssessmentClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServerVulnerabilityAssessmentClient) GetResponder

func (client ServerVulnerabilityAssessmentClient) GetResponder(resp *http.Response) (result ServerVulnerabilityAssessment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServerVulnerabilityAssessmentClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServerVulnerabilityAssessmentClient) ListByExtendedResource

func (client ServerVulnerabilityAssessmentClient) ListByExtendedResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result ServerVulnerabilityAssessmentsList, err error)

ListByExtendedResource gets a list of server vulnerability assessment onboarding statuses on a given resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (ServerVulnerabilityAssessmentClient) ListByExtendedResourcePreparer

func (client ServerVulnerabilityAssessmentClient) ListByExtendedResourcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

ListByExtendedResourcePreparer prepares the ListByExtendedResource request.

func (ServerVulnerabilityAssessmentClient) ListByExtendedResourceResponder

func (client ServerVulnerabilityAssessmentClient) ListByExtendedResourceResponder(resp *http.Response) (result ServerVulnerabilityAssessmentsList, err error)

ListByExtendedResourceResponder handles the response to the ListByExtendedResource request. The method always closes the http.Response Body.

func (ServerVulnerabilityAssessmentClient) ListByExtendedResourceSender

func (client ServerVulnerabilityAssessmentClient) ListByExtendedResourceSender(req *http.Request) (*http.Response, error)

ListByExtendedResourceSender sends the ListByExtendedResource request. The method will close the http.Response Body if it receives an error.

type ServerVulnerabilityAssessmentDeleteFuture

type ServerVulnerabilityAssessmentDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServerVulnerabilityAssessmentClient) (autorest.Response, error)
}

ServerVulnerabilityAssessmentDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServerVulnerabilityAssessmentDeleteFuture) UnmarshalJSON

func (future *ServerVulnerabilityAssessmentDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServerVulnerabilityAssessmentProperties

type ServerVulnerabilityAssessmentProperties struct {
	// ProvisioningState - READ-ONLY; The provisioningState of the vulnerability assessment capability on the VM. Possible values include: 'ProvisioningState1Succeeded', 'ProvisioningState1Failed', 'ProvisioningState1Canceled', 'ProvisioningState1Provisioning', 'ProvisioningState1Deprovisioning'
	ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"`
}

ServerVulnerabilityAssessmentProperties describes ServerVulnerabilityAssessment properties.

func (ServerVulnerabilityAssessmentProperties) MarshalJSON

func (svap ServerVulnerabilityAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerVulnerabilityAssessmentProperties.

type ServerVulnerabilityAssessmentsList

type ServerVulnerabilityAssessmentsList struct {
	autorest.Response `json:"-"`
	Value             *[]ServerVulnerabilityAssessment `json:"value,omitempty"`
}

ServerVulnerabilityAssessmentsList list of server vulnerability assessments

type ServerVulnerabilityProperties

type ServerVulnerabilityProperties struct {
	// Type - READ-ONLY; Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered
	Type *string `json:"type,omitempty"`
	// Cvss - READ-ONLY; Dictionary from cvss version to cvss details object
	Cvss map[string]*CVSS `json:"cvss"`
	// Patchable - READ-ONLY; Indicates whether a patch is available or not
	Patchable *bool `json:"patchable,omitempty"`
	// Cve - READ-ONLY; List of CVEs
	Cve *[]CVE `json:"cve,omitempty"`
	// Threat - READ-ONLY; Threat name
	Threat *string `json:"threat,omitempty"`
	// PublishedTime - READ-ONLY; Published time
	PublishedTime *date.Time `json:"publishedTime,omitempty"`
	// VendorReferences - READ-ONLY
	VendorReferences *[]VendorReference `json:"vendorReferences,omitempty"`
	// AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment'
	AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"`
}

ServerVulnerabilityProperties additional context fields for server vulnerability assessment

func (ServerVulnerabilityProperties) AsAdditionalData

func (svp ServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)

AsAdditionalData is the BasicAdditionalData implementation for ServerVulnerabilityProperties.

func (ServerVulnerabilityProperties) AsBasicAdditionalData

func (svp ServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)

AsBasicAdditionalData is the BasicAdditionalData implementation for ServerVulnerabilityProperties.

func (ServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties

func (svp ServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)

AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.

func (ServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties

func (svp ServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)

AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.

func (ServerVulnerabilityProperties) AsServerVulnerabilityProperties

func (svp ServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)

AsServerVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.

func (ServerVulnerabilityProperties) MarshalJSON

func (svp ServerVulnerabilityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerVulnerabilityProperties.

type ServicePrincipalProperties

type ServicePrincipalProperties struct {
	// ApplicationID - Application ID of service principal.
	ApplicationID *string `json:"applicationId,omitempty"`
	// Secret - A secret string that the application uses to prove its identity, also can be referred to as application password (write only).
	Secret *string `json:"secret,omitempty"`
}

ServicePrincipalProperties details of the service principal.

type Setting

type Setting struct {
	autorest.Response `json:"-"`
	// Kind - Possible values include: 'KindSetting', 'KindDataExportSettings', 'KindAlertSyncSettings'
	Kind KindEnum2 `json:"kind,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Setting the kind of the security setting

func (Setting) AsAlertSyncSettings

func (s Setting) AsAlertSyncSettings() (*AlertSyncSettings, bool)

AsAlertSyncSettings is the BasicSetting implementation for Setting.

func (Setting) AsBasicSetting

func (s Setting) AsBasicSetting() (BasicSetting, bool)

AsBasicSetting is the BasicSetting implementation for Setting.

func (Setting) AsDataExportSettings

func (s Setting) AsDataExportSettings() (*DataExportSettings, bool)

AsDataExportSettings is the BasicSetting implementation for Setting.

func (Setting) AsSetting

func (s Setting) AsSetting() (*Setting, bool)

AsSetting is the BasicSetting implementation for Setting.

func (Setting) MarshalJSON

func (s Setting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Setting.

type SettingModel

type SettingModel struct {
	autorest.Response `json:"-"`
	Value             BasicSetting `json:"value,omitempty"`
}

SettingModel ...

func (*SettingModel) UnmarshalJSON

func (sm *SettingModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SettingModel struct.

type SettingName2

type SettingName2 string

SettingName2 enumerates the values for setting name 2.

const (
	// SettingName2MCAS ...
	SettingName2MCAS SettingName2 = "MCAS"
	// SettingName2Sentinel ...
	SettingName2Sentinel SettingName2 = "Sentinel"
	// SettingName2WDATP ...
	SettingName2WDATP SettingName2 = "WDATP"
	// SettingName2WDATPEXCLUDELINUXPUBLICPREVIEW ...
	SettingName2WDATPEXCLUDELINUXPUBLICPREVIEW SettingName2 = "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW"
	// SettingName2WDATPUNIFIEDSOLUTION ...
	SettingName2WDATPUNIFIEDSOLUTION SettingName2 = "WDATP_UNIFIED_SOLUTION"
)

func PossibleSettingName2Values

func PossibleSettingName2Values() []SettingName2

PossibleSettingName2Values returns an array of possible values for the SettingName2 const type.

type SettingName4

type SettingName4 string

SettingName4 enumerates the values for setting name 4.

const (
	// SettingName4MCAS ...
	SettingName4MCAS SettingName4 = "MCAS"
	// SettingName4Sentinel ...
	SettingName4Sentinel SettingName4 = "Sentinel"
	// SettingName4WDATP ...
	SettingName4WDATP SettingName4 = "WDATP"
	// SettingName4WDATPEXCLUDELINUXPUBLICPREVIEW ...
	SettingName4WDATPEXCLUDELINUXPUBLICPREVIEW SettingName4 = "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW"
	// SettingName4WDATPUNIFIEDSOLUTION ...
	SettingName4WDATPUNIFIEDSOLUTION SettingName4 = "WDATP_UNIFIED_SOLUTION"
)

func PossibleSettingName4Values

func PossibleSettingName4Values() []SettingName4

PossibleSettingName4Values returns an array of possible values for the SettingName4 const type.

type SettingName5

type SettingName5 string

SettingName5 enumerates the values for setting name 5.

const (
	// SettingName5MCAS ...
	SettingName5MCAS SettingName5 = "MCAS"
	// SettingName5Sentinel ...
	SettingName5Sentinel SettingName5 = "Sentinel"
	// SettingName5WDATP ...
	SettingName5WDATP SettingName5 = "WDATP"
	// SettingName5WDATPEXCLUDELINUXPUBLICPREVIEW ...
	SettingName5WDATPEXCLUDELINUXPUBLICPREVIEW SettingName5 = "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW"
	// SettingName5WDATPUNIFIEDSOLUTION ...
	SettingName5WDATPUNIFIEDSOLUTION SettingName5 = "WDATP_UNIFIED_SOLUTION"
)

func PossibleSettingName5Values

func PossibleSettingName5Values() []SettingName5

PossibleSettingName5Values returns an array of possible values for the SettingName5 const type.

type SettingsClient

type SettingsClient struct {
	BaseClient
}

SettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSettingsClient

func NewSettingsClient(subscriptionID string) SettingsClient

NewSettingsClient creates an instance of the SettingsClient client.

func NewSettingsClientWithBaseURI

func NewSettingsClientWithBaseURI(baseURI string, subscriptionID string) SettingsClient

NewSettingsClientWithBaseURI creates an instance of the SettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SettingsClient) Get

func (client SettingsClient) Get(ctx context.Context, settingName SettingName4) (result SettingModel, err error)

Get settings of different configurations in Microsoft Defender for Cloud Parameters: settingName - the name of the setting

func (SettingsClient) GetPreparer

func (client SettingsClient) GetPreparer(ctx context.Context, settingName SettingName4) (*http.Request, error)

GetPreparer prepares the Get request.

func (SettingsClient) GetResponder

func (client SettingsClient) GetResponder(resp *http.Response) (result SettingModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SettingsClient) GetSender

func (client SettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SettingsClient) List

func (client SettingsClient) List(ctx context.Context) (result SettingsListPage, err error)

List settings about different configurations in Microsoft Defender for Cloud

func (SettingsClient) ListComplete

func (client SettingsClient) ListComplete(ctx context.Context) (result SettingsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SettingsClient) ListPreparer

func (client SettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SettingsClient) ListResponder

func (client SettingsClient) ListResponder(resp *http.Response) (result SettingsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SettingsClient) ListSender

func (client SettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SettingsClient) Update

func (client SettingsClient) Update(ctx context.Context, settingName SettingName5, setting BasicSetting) (result SettingModel, err error)

Update updating settings about different configurations in Microsoft Defender for Cloud Parameters: settingName - the name of the setting setting - setting object

func (SettingsClient) UpdatePreparer

func (client SettingsClient) UpdatePreparer(ctx context.Context, settingName SettingName5, setting BasicSetting) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SettingsClient) UpdateResponder

func (client SettingsClient) UpdateResponder(resp *http.Response) (result SettingModel, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SettingsClient) UpdateSender

func (client SettingsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SettingsList

type SettingsList struct {
	autorest.Response `json:"-"`
	// Value - The settings list.
	Value *[]BasicSetting `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SettingsList subscription settings list.

func (SettingsList) IsEmpty

func (sl SettingsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SettingsList) MarshalJSON

func (sl SettingsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SettingsList.

func (*SettingsList) UnmarshalJSON

func (sl *SettingsList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SettingsList struct.

type SettingsListIterator

type SettingsListIterator struct {
	// contains filtered or unexported fields
}

SettingsListIterator provides access to a complete listing of Setting values.

func NewSettingsListIterator

func NewSettingsListIterator(page SettingsListPage) SettingsListIterator

Creates a new instance of the SettingsListIterator type.

func (*SettingsListIterator) Next

func (iter *SettingsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SettingsListIterator) NextWithContext

func (iter *SettingsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SettingsListIterator) NotDone

func (iter SettingsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SettingsListIterator) Response

func (iter SettingsListIterator) Response() SettingsList

Response returns the raw server response from the last page request.

func (SettingsListIterator) Value

func (iter SettingsListIterator) Value() BasicSetting

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SettingsListPage

type SettingsListPage struct {
	// contains filtered or unexported fields
}

SettingsListPage contains a page of BasicSetting values.

func NewSettingsListPage

func NewSettingsListPage(cur SettingsList, getNextPage func(context.Context, SettingsList) (SettingsList, error)) SettingsListPage

Creates a new instance of the SettingsListPage type.

func (*SettingsListPage) Next

func (page *SettingsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SettingsListPage) NextWithContext

func (page *SettingsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SettingsListPage) NotDone

func (page SettingsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SettingsListPage) Response

func (page SettingsListPage) Response() SettingsList

Response returns the raw server response from the last page request.

func (SettingsListPage) Values

func (page SettingsListPage) Values() []BasicSetting

Values returns the slice of values for the current page or nil if there are no values.

type Severity

type Severity string

Severity enumerates the values for severity.

const (
	// SeverityHigh ...
	SeverityHigh Severity = "High"
	// SeverityLow ...
	SeverityLow Severity = "Low"
	// SeverityMedium ...
	SeverityMedium Severity = "Medium"
)

func PossibleSeverityValues

func PossibleSeverityValues() []Severity

PossibleSeverityValues returns an array of possible values for the Severity const type.

type SeverityEnum

type SeverityEnum string

SeverityEnum enumerates the values for severity enum.

const (
	// SeverityEnumHigh ...
	SeverityEnumHigh SeverityEnum = "High"
	// SeverityEnumLow ...
	SeverityEnumLow SeverityEnum = "Low"
	// SeverityEnumMedium ...
	SeverityEnumMedium SeverityEnum = "Medium"
)

func PossibleSeverityEnumValues

func PossibleSeverityEnumValues() []SeverityEnum

PossibleSeverityEnumValues returns an array of possible values for the SeverityEnum const type.

type Software

type Software struct {
	autorest.Response `json:"-"`
	// SoftwareProperties - Properties of the Software Inventory resource
	*SoftwareProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Software represents a software data

func (Software) MarshalJSON

func (s Software) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Software.

func (*Software) UnmarshalJSON

func (s *Software) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Software struct.

type SoftwareInventoriesClient

type SoftwareInventoriesClient struct {
	BaseClient
}

SoftwareInventoriesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSoftwareInventoriesClient

func NewSoftwareInventoriesClient(subscriptionID string) SoftwareInventoriesClient

NewSoftwareInventoriesClient creates an instance of the SoftwareInventoriesClient client.

func NewSoftwareInventoriesClientWithBaseURI

func NewSoftwareInventoriesClientWithBaseURI(baseURI string, subscriptionID string) SoftwareInventoriesClient

NewSoftwareInventoriesClientWithBaseURI creates an instance of the SoftwareInventoriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SoftwareInventoriesClient) Get

func (client SoftwareInventoriesClient) Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, softwareName string) (result Software, err error)

Get gets a single software data of the virtual machine. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource. softwareName - name of the installed software.

func (SoftwareInventoriesClient) GetPreparer

func (client SoftwareInventoriesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, softwareName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SoftwareInventoriesClient) GetResponder

func (client SoftwareInventoriesClient) GetResponder(resp *http.Response) (result Software, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SoftwareInventoriesClient) GetSender

func (client SoftwareInventoriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SoftwareInventoriesClient) ListByExtendedResource

func (client SoftwareInventoriesClient) ListByExtendedResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result SoftwaresListPage, err error)

ListByExtendedResource gets the software inventory of the virtual machine. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (SoftwareInventoriesClient) ListByExtendedResourceComplete

func (client SoftwareInventoriesClient) ListByExtendedResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result SoftwaresListIterator, err error)

ListByExtendedResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (SoftwareInventoriesClient) ListByExtendedResourcePreparer

func (client SoftwareInventoriesClient) ListByExtendedResourcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

ListByExtendedResourcePreparer prepares the ListByExtendedResource request.

func (SoftwareInventoriesClient) ListByExtendedResourceResponder

func (client SoftwareInventoriesClient) ListByExtendedResourceResponder(resp *http.Response) (result SoftwaresList, err error)

ListByExtendedResourceResponder handles the response to the ListByExtendedResource request. The method always closes the http.Response Body.

func (SoftwareInventoriesClient) ListByExtendedResourceSender

func (client SoftwareInventoriesClient) ListByExtendedResourceSender(req *http.Request) (*http.Response, error)

ListByExtendedResourceSender sends the ListByExtendedResource request. The method will close the http.Response Body if it receives an error.

func (SoftwareInventoriesClient) ListBySubscription

func (client SoftwareInventoriesClient) ListBySubscription(ctx context.Context) (result SoftwaresListPage, err error)

ListBySubscription gets the software inventory of all virtual machines in the subscriptions.

func (SoftwareInventoriesClient) ListBySubscriptionComplete

func (client SoftwareInventoriesClient) ListBySubscriptionComplete(ctx context.Context) (result SoftwaresListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (SoftwareInventoriesClient) ListBySubscriptionPreparer

func (client SoftwareInventoriesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SoftwareInventoriesClient) ListBySubscriptionResponder

func (client SoftwareInventoriesClient) ListBySubscriptionResponder(resp *http.Response) (result SoftwaresList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (SoftwareInventoriesClient) ListBySubscriptionSender

func (client SoftwareInventoriesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

type SoftwareProperties

type SoftwareProperties struct {
	// DeviceID - Unique identifier for the virtual machine in the service.
	DeviceID *string `json:"deviceId,omitempty"`
	// OsPlatform - Platform of the operating system running on the device.
	OsPlatform *string `json:"osPlatform,omitempty"`
	// Vendor - Name of the software vendor.
	Vendor *string `json:"vendor,omitempty"`
	// SoftwareName - Name of the software product.
	SoftwareName *string `json:"softwareName,omitempty"`
	// Version - Version number of the software product.
	Version *string `json:"version,omitempty"`
	// EndOfSupportStatus - End of support status. Possible values include: 'None', 'NoLongerSupported', 'VersionNoLongerSupported', 'UpcomingNoLongerSupported', 'UpcomingVersionNoLongerSupported'
	EndOfSupportStatus EndOfSupportStatus `json:"endOfSupportStatus,omitempty"`
	// EndOfSupportDate - The end of support date in case the product is upcoming end of support.
	EndOfSupportDate *string `json:"endOfSupportDate,omitempty"`
	// NumberOfKnownVulnerabilities - Number of weaknesses.
	NumberOfKnownVulnerabilities *int32 `json:"numberOfKnownVulnerabilities,omitempty"`
	// FirstSeenAt - First time that the software was seen in the device.
	FirstSeenAt *string `json:"firstSeenAt,omitempty"`
}

SoftwareProperties software Inventory resource properties

type SoftwaresList

type SoftwaresList struct {
	autorest.Response `json:"-"`
	Value             *[]Software `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SoftwaresList represents the software inventory of the virtual machine.

func (SoftwaresList) IsEmpty

func (sl SoftwaresList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SoftwaresList) MarshalJSON

func (sl SoftwaresList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwaresList.

type SoftwaresListIterator

type SoftwaresListIterator struct {
	// contains filtered or unexported fields
}

SoftwaresListIterator provides access to a complete listing of Software values.

func NewSoftwaresListIterator

func NewSoftwaresListIterator(page SoftwaresListPage) SoftwaresListIterator

Creates a new instance of the SoftwaresListIterator type.

func (*SoftwaresListIterator) Next

func (iter *SoftwaresListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SoftwaresListIterator) NextWithContext

func (iter *SoftwaresListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SoftwaresListIterator) NotDone

func (iter SoftwaresListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SoftwaresListIterator) Response

func (iter SoftwaresListIterator) Response() SoftwaresList

Response returns the raw server response from the last page request.

func (SoftwaresListIterator) Value

func (iter SoftwaresListIterator) Value() Software

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SoftwaresListPage

type SoftwaresListPage struct {
	// contains filtered or unexported fields
}

SoftwaresListPage contains a page of Software values.

func NewSoftwaresListPage

func NewSoftwaresListPage(cur SoftwaresList, getNextPage func(context.Context, SoftwaresList) (SoftwaresList, error)) SoftwaresListPage

Creates a new instance of the SoftwaresListPage type.

func (*SoftwaresListPage) Next

func (page *SoftwaresListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SoftwaresListPage) NextWithContext

func (page *SoftwaresListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SoftwaresListPage) NotDone

func (page SoftwaresListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SoftwaresListPage) Response

func (page SoftwaresListPage) Response() SoftwaresList

Response returns the raw server response from the last page request.

func (SoftwaresListPage) Values

func (page SoftwaresListPage) Values() []Software

Values returns the slice of values for the current page or nil if there are no values.

type Solution

type Solution struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location            *string `json:"location,omitempty"`
	*SolutionProperties `json:"properties,omitempty"`
}

Solution ...

func (Solution) MarshalJSON

func (s Solution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Solution.

func (*Solution) UnmarshalJSON

func (s *Solution) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Solution struct.

type SolutionList

type SolutionList struct {
	autorest.Response `json:"-"`
	Value             *[]Solution `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SolutionList ...

func (SolutionList) IsEmpty

func (sl SolutionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SolutionList) MarshalJSON

func (sl SolutionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SolutionList.

type SolutionListIterator

type SolutionListIterator struct {
	// contains filtered or unexported fields
}

SolutionListIterator provides access to a complete listing of Solution values.

func NewSolutionListIterator

func NewSolutionListIterator(page SolutionListPage) SolutionListIterator

Creates a new instance of the SolutionListIterator type.

func (*SolutionListIterator) Next

func (iter *SolutionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SolutionListIterator) NextWithContext

func (iter *SolutionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SolutionListIterator) NotDone

func (iter SolutionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SolutionListIterator) Response

func (iter SolutionListIterator) Response() SolutionList

Response returns the raw server response from the last page request.

func (SolutionListIterator) Value

func (iter SolutionListIterator) Value() Solution

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SolutionListPage

type SolutionListPage struct {
	// contains filtered or unexported fields
}

SolutionListPage contains a page of Solution values.

func NewSolutionListPage

func NewSolutionListPage(cur SolutionList, getNextPage func(context.Context, SolutionList) (SolutionList, error)) SolutionListPage

Creates a new instance of the SolutionListPage type.

func (*SolutionListPage) Next

func (page *SolutionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SolutionListPage) NextWithContext

func (page *SolutionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SolutionListPage) NotDone

func (page SolutionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SolutionListPage) Response

func (page SolutionListPage) Response() SolutionList

Response returns the raw server response from the last page request.

func (SolutionListPage) Values

func (page SolutionListPage) Values() []Solution

Values returns the slice of values for the current page or nil if there are no values.

type SolutionProperties

type SolutionProperties struct {
	// SecurityFamily - The security family of the security solution. Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va'
	SecurityFamily Family `json:"securityFamily,omitempty"`
	// ProvisioningState - The security family provisioning State. Possible values include: 'Succeeded', 'Failed', 'Updating'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Template - The security solutions' template
	Template *string `json:"template,omitempty"`
	// ProtectionStatus - The security solutions' status
	ProtectionStatus *string `json:"protectionStatus,omitempty"`
}

SolutionProperties ...

type SolutionStatus

type SolutionStatus string

SolutionStatus enumerates the values for solution status.

const (
	// SolutionStatusDisabled ...
	SolutionStatusDisabled SolutionStatus = "Disabled"
	// SolutionStatusEnabled ...
	SolutionStatusEnabled SolutionStatus = "Enabled"
)

func PossibleSolutionStatusValues

func PossibleSolutionStatusValues() []SolutionStatus

PossibleSolutionStatusValues returns an array of possible values for the SolutionStatus const type.

type SolutionsClient

type SolutionsClient struct {
	BaseClient
}

SolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSolutionsClient

func NewSolutionsClient(subscriptionID string) SolutionsClient

NewSolutionsClient creates an instance of the SolutionsClient client.

func NewSolutionsClientWithBaseURI

func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string) SolutionsClient

NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SolutionsClient) Get

func (client SolutionsClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, securitySolutionName string) (result Solution, err error)

Get gets a specific Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations securitySolutionName - name of security solution.

func (SolutionsClient) GetPreparer

func (client SolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, securitySolutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SolutionsClient) GetResponder

func (client SolutionsClient) GetResponder(resp *http.Response) (result Solution, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SolutionsClient) GetSender

func (client SolutionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) List

func (client SolutionsClient) List(ctx context.Context) (result SolutionListPage, err error)

List gets a list of Security Solutions for the subscription.

func (SolutionsClient) ListComplete

func (client SolutionsClient) ListComplete(ctx context.Context) (result SolutionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SolutionsClient) ListPreparer

func (client SolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SolutionsClient) ListResponder

func (client SolutionsClient) ListResponder(resp *http.Response) (result SolutionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SolutionsClient) ListSender

func (client SolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SolutionsReferenceData

type SolutionsReferenceData struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location                          *string `json:"location,omitempty"`
	*SolutionsReferenceDataProperties `json:"properties,omitempty"`
}

SolutionsReferenceData ...

func (SolutionsReferenceData) MarshalJSON

func (srd SolutionsReferenceData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SolutionsReferenceData.

func (*SolutionsReferenceData) UnmarshalJSON

func (srd *SolutionsReferenceData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SolutionsReferenceData struct.

type SolutionsReferenceDataClient

type SolutionsReferenceDataClient struct {
	BaseClient
}

SolutionsReferenceDataClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSolutionsReferenceDataClient

func NewSolutionsReferenceDataClient(subscriptionID string) SolutionsReferenceDataClient

NewSolutionsReferenceDataClient creates an instance of the SolutionsReferenceDataClient client.

func NewSolutionsReferenceDataClientWithBaseURI

func NewSolutionsReferenceDataClientWithBaseURI(baseURI string, subscriptionID string) SolutionsReferenceDataClient

NewSolutionsReferenceDataClientWithBaseURI creates an instance of the SolutionsReferenceDataClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SolutionsReferenceDataClient) List

List gets a list of all supported Security Solutions for the subscription.

func (SolutionsReferenceDataClient) ListByHomeRegion

func (client SolutionsReferenceDataClient) ListByHomeRegion(ctx context.Context, ascLocation string) (result SolutionsReferenceDataList, err error)

ListByHomeRegion gets list of all supported Security Solutions for subscription and location. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (SolutionsReferenceDataClient) ListByHomeRegionPreparer

func (client SolutionsReferenceDataClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (SolutionsReferenceDataClient) ListByHomeRegionResponder

func (client SolutionsReferenceDataClient) ListByHomeRegionResponder(resp *http.Response) (result SolutionsReferenceDataList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (SolutionsReferenceDataClient) ListByHomeRegionSender

func (client SolutionsReferenceDataClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (SolutionsReferenceDataClient) ListPreparer

func (client SolutionsReferenceDataClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SolutionsReferenceDataClient) ListResponder

func (client SolutionsReferenceDataClient) ListResponder(resp *http.Response) (result SolutionsReferenceDataList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SolutionsReferenceDataClient) ListSender

func (client SolutionsReferenceDataClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SolutionsReferenceDataList

type SolutionsReferenceDataList struct {
	autorest.Response `json:"-"`
	Value             *[]SolutionsReferenceData `json:"value,omitempty"`
}

SolutionsReferenceDataList ...

type SolutionsReferenceDataProperties

type SolutionsReferenceDataProperties struct {
	// SecurityFamily - The security family of the security solution. Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va'
	SecurityFamily Family `json:"securityFamily,omitempty"`
	// AlertVendorName - The security solutions' vendor name
	AlertVendorName *string `json:"alertVendorName,omitempty"`
	// PackageInfoURL - The security solutions' package info url
	PackageInfoURL *string `json:"packageInfoUrl,omitempty"`
	// ProductName - The security solutions' product name
	ProductName *string `json:"productName,omitempty"`
	// Publisher - The security solutions' publisher
	Publisher *string `json:"publisher,omitempty"`
	// PublisherDisplayName - The security solutions' publisher display name
	PublisherDisplayName *string `json:"publisherDisplayName,omitempty"`
	// Template - The security solutions' template
	Template *string `json:"template,omitempty"`
}

SolutionsReferenceDataProperties ...

type Source

type Source string

Source enumerates the values for source.

const (
	// SourceAzure ...
	SourceAzure Source = "Azure"
	// SourceOnPremise ...
	SourceOnPremise Source = "OnPremise"
	// SourceOnPremiseSQL ...
	SourceOnPremiseSQL Source = "OnPremiseSql"
	// SourceResourceDetails ...
	SourceResourceDetails Source = "ResourceDetails"
)

func PossibleSourceValues

func PossibleSourceValues() []Source

PossibleSourceValues returns an array of possible values for the Source const type.

type SourceSystem

type SourceSystem string

SourceSystem enumerates the values for source system.

const (
	// SourceSystemAzureAppLocker ...
	SourceSystemAzureAppLocker SourceSystem = "Azure_AppLocker"
	// SourceSystemAzureAuditD ...
	SourceSystemAzureAuditD SourceSystem = "Azure_AuditD"
	// SourceSystemNonAzureAppLocker ...
	SourceSystemNonAzureAppLocker SourceSystem = "NonAzure_AppLocker"
	// SourceSystemNonAzureAuditD ...
	SourceSystemNonAzureAuditD SourceSystem = "NonAzure_AuditD"
	// SourceSystemNone ...
	SourceSystemNone SourceSystem = "None"
)

func PossibleSourceSystemValues

func PossibleSourceSystemValues() []SourceSystem

PossibleSourceSystemValues returns an array of possible values for the SourceSystem const type.

type State

type State string

State enumerates the values for state.

const (
	// StateFailed At least one supported regulatory compliance control in the given standard has a state of
	// failed
	StateFailed State = "Failed"
	// StatePassed All supported regulatory compliance controls in the given standard have a passed state
	StatePassed State = "Passed"
	// StateSkipped All supported regulatory compliance controls in the given standard have a state of skipped
	StateSkipped State = "Skipped"
	// StateUnsupported No supported regulatory compliance data for the given standard
	StateUnsupported State = "Unsupported"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type StateForAlertNotifications

type StateForAlertNotifications string

StateForAlertNotifications enumerates the values for state for alert notifications.

const (
	// StateForAlertNotificationsOff Don't get notifications on new alerts
	StateForAlertNotificationsOff StateForAlertNotifications = "Off"
	// StateForAlertNotificationsOn Get notifications on new alerts
	StateForAlertNotificationsOn StateForAlertNotifications = "On"
)

func PossibleStateForAlertNotificationsValues

func PossibleStateForAlertNotificationsValues() []StateForAlertNotifications

PossibleStateForAlertNotificationsValues returns an array of possible values for the StateForAlertNotifications const type.

type StateForNotificationsByRole

type StateForNotificationsByRole string

StateForNotificationsByRole enumerates the values for state for notifications by role.

const (
	// StateForNotificationsByRoleOff Don't send notification on new alerts to the subscription's admins
	StateForNotificationsByRoleOff StateForNotificationsByRole = "Off"
	// StateForNotificationsByRoleOn Send notification on new alerts to the subscription's admins
	StateForNotificationsByRoleOn StateForNotificationsByRole = "On"
)

func PossibleStateForNotificationsByRoleValues

func PossibleStateForNotificationsByRoleValues() []StateForNotificationsByRole

PossibleStateForNotificationsByRoleValues returns an array of possible values for the StateForNotificationsByRole const type.

type Status

type Status string

Status enumerates the values for status.

const (
	// Initiated ...
	Initiated Status = "Initiated"
	// Revoked ...
	Revoked Status = "Revoked"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type StatusReason

type StatusReason string

StatusReason enumerates the values for status reason.

const (
	// StatusReasonExpired ...
	StatusReasonExpired StatusReason = "Expired"
	// StatusReasonNewerRequestInitiated ...
	StatusReasonNewerRequestInitiated StatusReason = "NewerRequestInitiated"
	// StatusReasonUserRequested ...
	StatusReasonUserRequested StatusReason = "UserRequested"
)

func PossibleStatusReasonValues

func PossibleStatusReasonValues() []StatusReason

PossibleStatusReasonValues returns an array of possible values for the StatusReason const type.

type SubAssessment

type SubAssessment struct {
	autorest.Response        `json:"-"`
	*SubAssessmentProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

SubAssessment security sub-assessment on a resource

func (SubAssessment) MarshalJSON

func (sa SubAssessment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubAssessment.

func (*SubAssessment) UnmarshalJSON

func (sa *SubAssessment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SubAssessment struct.

type SubAssessmentList

type SubAssessmentList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]SubAssessment `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SubAssessmentList list of security sub-assessments

func (SubAssessmentList) IsEmpty

func (sal SubAssessmentList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SubAssessmentList) MarshalJSON

func (sal SubAssessmentList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubAssessmentList.

type SubAssessmentListIterator

type SubAssessmentListIterator struct {
	// contains filtered or unexported fields
}

SubAssessmentListIterator provides access to a complete listing of SubAssessment values.

func NewSubAssessmentListIterator

func NewSubAssessmentListIterator(page SubAssessmentListPage) SubAssessmentListIterator

Creates a new instance of the SubAssessmentListIterator type.

func (*SubAssessmentListIterator) Next

func (iter *SubAssessmentListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SubAssessmentListIterator) NextWithContext

func (iter *SubAssessmentListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SubAssessmentListIterator) NotDone

func (iter SubAssessmentListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SubAssessmentListIterator) Response

Response returns the raw server response from the last page request.

func (SubAssessmentListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SubAssessmentListPage

type SubAssessmentListPage struct {
	// contains filtered or unexported fields
}

SubAssessmentListPage contains a page of SubAssessment values.

func NewSubAssessmentListPage

func NewSubAssessmentListPage(cur SubAssessmentList, getNextPage func(context.Context, SubAssessmentList) (SubAssessmentList, error)) SubAssessmentListPage

Creates a new instance of the SubAssessmentListPage type.

func (*SubAssessmentListPage) Next

func (page *SubAssessmentListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SubAssessmentListPage) NextWithContext

func (page *SubAssessmentListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SubAssessmentListPage) NotDone

func (page SubAssessmentListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SubAssessmentListPage) Response

func (page SubAssessmentListPage) Response() SubAssessmentList

Response returns the raw server response from the last page request.

func (SubAssessmentListPage) Values

func (page SubAssessmentListPage) Values() []SubAssessment

Values returns the slice of values for the current page or nil if there are no values.

type SubAssessmentProperties

type SubAssessmentProperties struct {
	// ID - READ-ONLY; Vulnerability ID
	ID *string `json:"id,omitempty"`
	// DisplayName - READ-ONLY; User friendly display name of the sub-assessment
	DisplayName *string              `json:"displayName,omitempty"`
	Status      *SubAssessmentStatus `json:"status,omitempty"`
	// Remediation - READ-ONLY; Information on how to remediate this sub-assessment
	Remediation *string `json:"remediation,omitempty"`
	// Impact - READ-ONLY; Description of the impact of this sub-assessment
	Impact *string `json:"impact,omitempty"`
	// Category - READ-ONLY; Category of the sub-assessment
	Category *string `json:"category,omitempty"`
	// Description - READ-ONLY; Human readable description of the assessment status
	Description *string `json:"description,omitempty"`
	// TimeGenerated - READ-ONLY; The date and time the sub-assessment was generated
	TimeGenerated   *date.Time           `json:"timeGenerated,omitempty"`
	ResourceDetails BasicResourceDetails `json:"resourceDetails,omitempty"`
	AdditionalData  BasicAdditionalData  `json:"additionalData,omitempty"`
}

SubAssessmentProperties describes properties of an sub-assessment.

func (SubAssessmentProperties) MarshalJSON

func (sap SubAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubAssessmentProperties.

func (*SubAssessmentProperties) UnmarshalJSON

func (sap *SubAssessmentProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SubAssessmentProperties struct.

type SubAssessmentStatus

type SubAssessmentStatus struct {
	// Code - READ-ONLY; Programmatic code for the status of the assessment. Possible values include: 'SubAssessmentStatusCodeHealthy', 'SubAssessmentStatusCodeUnhealthy', 'SubAssessmentStatusCodeNotApplicable'
	Code SubAssessmentStatusCode `json:"code,omitempty"`
	// Cause - READ-ONLY; Programmatic code for the cause of the assessment status
	Cause *string `json:"cause,omitempty"`
	// Description - READ-ONLY; Human readable description of the assessment status
	Description *string `json:"description,omitempty"`
	// Severity - READ-ONLY; The sub-assessment severity level. Possible values include: 'SeverityLow', 'SeverityMedium', 'SeverityHigh'
	Severity Severity `json:"severity,omitempty"`
}

SubAssessmentStatus status of the sub-assessment

func (SubAssessmentStatus) MarshalJSON

func (sas SubAssessmentStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubAssessmentStatus.

type SubAssessmentStatusCode

type SubAssessmentStatusCode string

SubAssessmentStatusCode enumerates the values for sub assessment status code.

const (
	// SubAssessmentStatusCodeHealthy The resource is healthy
	SubAssessmentStatusCodeHealthy SubAssessmentStatusCode = "Healthy"
	// SubAssessmentStatusCodeNotApplicable Assessment for this resource did not happen
	SubAssessmentStatusCodeNotApplicable SubAssessmentStatusCode = "NotApplicable"
	// SubAssessmentStatusCodeUnhealthy The resource has a security issue that needs to be addressed
	SubAssessmentStatusCodeUnhealthy SubAssessmentStatusCode = "Unhealthy"
)

func PossibleSubAssessmentStatusCodeValues

func PossibleSubAssessmentStatusCodeValues() []SubAssessmentStatusCode

PossibleSubAssessmentStatusCodeValues returns an array of possible values for the SubAssessmentStatusCode const type.

type SubAssessmentsClient

type SubAssessmentsClient struct {
	BaseClient
}

SubAssessmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSubAssessmentsClient

func NewSubAssessmentsClient(subscriptionID string) SubAssessmentsClient

NewSubAssessmentsClient creates an instance of the SubAssessmentsClient client.

func NewSubAssessmentsClientWithBaseURI

func NewSubAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) SubAssessmentsClient

NewSubAssessmentsClientWithBaseURI creates an instance of the SubAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SubAssessmentsClient) Get

func (client SubAssessmentsClient) Get(ctx context.Context, scope string, assessmentName string, subAssessmentName string) (result SubAssessment, err error)

Get get a security sub-assessment on your scanned resource Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type subAssessmentName - the Sub-Assessment Key - Unique key for the sub-assessment type

func (SubAssessmentsClient) GetPreparer

func (client SubAssessmentsClient) GetPreparer(ctx context.Context, scope string, assessmentName string, subAssessmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SubAssessmentsClient) GetResponder

func (client SubAssessmentsClient) GetResponder(resp *http.Response) (result SubAssessment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SubAssessmentsClient) GetSender

func (client SubAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SubAssessmentsClient) List

func (client SubAssessmentsClient) List(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListPage, err error)

List get security sub-assessments on all your scanned resources inside a scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type

func (SubAssessmentsClient) ListAll

func (client SubAssessmentsClient) ListAll(ctx context.Context, scope string) (result SubAssessmentListPage, err error)

ListAll get security sub-assessments on all your scanned resources inside a subscription scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (SubAssessmentsClient) ListAllComplete

func (client SubAssessmentsClient) ListAllComplete(ctx context.Context, scope string) (result SubAssessmentListIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (SubAssessmentsClient) ListAllPreparer

func (client SubAssessmentsClient) ListAllPreparer(ctx context.Context, scope string) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (SubAssessmentsClient) ListAllResponder

func (client SubAssessmentsClient) ListAllResponder(resp *http.Response) (result SubAssessmentList, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (SubAssessmentsClient) ListAllSender

func (client SubAssessmentsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (SubAssessmentsClient) ListComplete

func (client SubAssessmentsClient) ListComplete(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SubAssessmentsClient) ListPreparer

func (client SubAssessmentsClient) ListPreparer(ctx context.Context, scope string, assessmentName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SubAssessmentsClient) ListResponder

func (client SubAssessmentsClient) ListResponder(resp *http.Response) (result SubAssessmentList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SubAssessmentsClient) ListSender

func (client SubAssessmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SubPlan

type SubPlan string

SubPlan enumerates the values for sub plan.

const (
	// P1 ...
	P1 SubPlan = "P1"
	// P2 ...
	P2 SubPlan = "P2"
)

func PossibleSubPlanValues

func PossibleSubPlanValues() []SubPlan

PossibleSubPlanValues returns an array of possible values for the SubPlan const type.

type SubscriptionGovernanceRulesExecuteStatusClient

type SubscriptionGovernanceRulesExecuteStatusClient struct {
	BaseClient
}

SubscriptionGovernanceRulesExecuteStatusClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewSubscriptionGovernanceRulesExecuteStatusClient

func NewSubscriptionGovernanceRulesExecuteStatusClient(subscriptionID string) SubscriptionGovernanceRulesExecuteStatusClient

NewSubscriptionGovernanceRulesExecuteStatusClient creates an instance of the SubscriptionGovernanceRulesExecuteStatusClient client.

func NewSubscriptionGovernanceRulesExecuteStatusClientWithBaseURI

func NewSubscriptionGovernanceRulesExecuteStatusClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionGovernanceRulesExecuteStatusClient

NewSubscriptionGovernanceRulesExecuteStatusClientWithBaseURI creates an instance of the SubscriptionGovernanceRulesExecuteStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SubscriptionGovernanceRulesExecuteStatusClient) Get

Get get a specific governanceRule execution status for the requested scope by ruleId and operationId Parameters: ruleID - the security GovernanceRule key - unique key for the standard GovernanceRule operationID - the security GovernanceRule execution key - unique key for the execution of GovernanceRule

func (SubscriptionGovernanceRulesExecuteStatusClient) GetPreparer

func (client SubscriptionGovernanceRulesExecuteStatusClient) GetPreparer(ctx context.Context, ruleID string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SubscriptionGovernanceRulesExecuteStatusClient) GetResponder

func (client SubscriptionGovernanceRulesExecuteStatusClient) GetResponder(resp *http.Response) (result ExecuteRuleStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SubscriptionGovernanceRulesExecuteStatusClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SubscriptionGovernanceRulesExecuteStatusGetFuture

type SubscriptionGovernanceRulesExecuteStatusGetFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SubscriptionGovernanceRulesExecuteStatusClient) (ExecuteRuleStatus, error)
}

SubscriptionGovernanceRulesExecuteStatusGetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SubscriptionGovernanceRulesExecuteStatusGetFuture) UnmarshalJSON

func (future *SubscriptionGovernanceRulesExecuteStatusGetFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SupportedCloudEnum

type SupportedCloudEnum string

SupportedCloudEnum enumerates the values for supported cloud enum.

const (
	// SupportedCloudEnumAWS ...
	SupportedCloudEnumAWS SupportedCloudEnum = "AWS"
	// SupportedCloudEnumGCP ...
	SupportedCloudEnumGCP SupportedCloudEnum = "GCP"
)

func PossibleSupportedCloudEnumValues

func PossibleSupportedCloudEnumValues() []SupportedCloudEnum

PossibleSupportedCloudEnumValues returns an array of possible values for the SupportedCloudEnum const type.

type SuppressionAlertsScope

type SuppressionAlertsScope struct {
	// AllOf - All the conditions inside need to be true in order to suppress the alert
	AllOf *[]ScopeElement `json:"allOf,omitempty"`
}

SuppressionAlertsScope ...

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type Tactics

type Tactics string

Tactics enumerates the values for tactics.

const (
	// Collection ...
	Collection Tactics = "Collection"
	// CommandandControl ...
	CommandandControl Tactics = "Command and Control"
	// CredentialAccess ...
	CredentialAccess Tactics = "Credential Access"
	// DefenseEvasion ...
	DefenseEvasion Tactics = "Defense Evasion"
	// Discovery ...
	Discovery Tactics = "Discovery"
	// Execution ...
	Execution Tactics = "Execution"
	// Exfiltration ...
	Exfiltration Tactics = "Exfiltration"
	// Impact ...
	Impact Tactics = "Impact"
	// InitialAccess ...
	InitialAccess Tactics = "Initial Access"
	// LateralMovement ...
	LateralMovement Tactics = "Lateral Movement"
	// Persistence ...
	Persistence Tactics = "Persistence"
	// PrivilegeEscalation ...
	PrivilegeEscalation Tactics = "Privilege Escalation"
	// Reconnaissance ...
	Reconnaissance Tactics = "Reconnaissance"
	// ResourceDevelopment ...
	ResourceDevelopment Tactics = "Resource Development"
)

func PossibleTacticsValues

func PossibleTacticsValues() []Tactics

PossibleTacticsValues returns an array of possible values for the Tactics const type.

type Tags

type Tags struct {
	// Tags - A list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
}

Tags a list of key value pairs that describe the resource.

func (Tags) MarshalJSON

func (t Tags) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Tags.

type TagsResource

type TagsResource struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

TagsResource a container holding only the Tags for a resource, allowing the user to update the tags.

func (TagsResource) MarshalJSON

func (tr TagsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsResource.

type Task

type Task struct {
	autorest.Response `json:"-"`
	*TaskProperties   `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

Task security task that we recommend to do in order to strengthen security

func (Task) MarshalJSON

func (t Task) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Task.

func (*Task) UnmarshalJSON

func (t *Task) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Task struct.

type TaskList

type TaskList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]Task `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

TaskList list of security task recommendations

func (TaskList) IsEmpty

func (tl TaskList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (TaskList) MarshalJSON

func (tl TaskList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaskList.

type TaskListIterator

type TaskListIterator struct {
	// contains filtered or unexported fields
}

TaskListIterator provides access to a complete listing of Task values.

func NewTaskListIterator

func NewTaskListIterator(page TaskListPage) TaskListIterator

Creates a new instance of the TaskListIterator type.

func (*TaskListIterator) Next

func (iter *TaskListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TaskListIterator) NextWithContext

func (iter *TaskListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TaskListIterator) NotDone

func (iter TaskListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TaskListIterator) Response

func (iter TaskListIterator) Response() TaskList

Response returns the raw server response from the last page request.

func (TaskListIterator) Value

func (iter TaskListIterator) Value() Task

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TaskListPage

type TaskListPage struct {
	// contains filtered or unexported fields
}

TaskListPage contains a page of Task values.

func NewTaskListPage

func NewTaskListPage(cur TaskList, getNextPage func(context.Context, TaskList) (TaskList, error)) TaskListPage

Creates a new instance of the TaskListPage type.

func (*TaskListPage) Next

func (page *TaskListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TaskListPage) NextWithContext

func (page *TaskListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TaskListPage) NotDone

func (page TaskListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TaskListPage) Response

func (page TaskListPage) Response() TaskList

Response returns the raw server response from the last page request.

func (TaskListPage) Values

func (page TaskListPage) Values() []Task

Values returns the slice of values for the current page or nil if there are no values.

type TaskParameters

type TaskParameters struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Name - READ-ONLY; Name of the task type
	Name *string `json:"name,omitempty"`
}

TaskParameters changing set of properties, depending on the task type that is derived from the name field

func (TaskParameters) MarshalJSON

func (tp TaskParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaskParameters.

func (*TaskParameters) UnmarshalJSON

func (tp *TaskParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TaskParameters struct.

type TaskProperties

type TaskProperties struct {
	// State - READ-ONLY; State of the task (Active, Resolved etc.)
	State *string `json:"state,omitempty"`
	// CreationTimeUtc - READ-ONLY; The time this task was discovered in UTC
	CreationTimeUtc        *date.Time      `json:"creationTimeUtc,omitempty"`
	SecurityTaskParameters *TaskParameters `json:"securityTaskParameters,omitempty"`
	// LastStateChangeTimeUtc - READ-ONLY; The time this task's details were last changed in UTC
	LastStateChangeTimeUtc *date.Time `json:"lastStateChangeTimeUtc,omitempty"`
	// SubState - READ-ONLY; Additional data on the state of the task
	SubState *string `json:"subState,omitempty"`
}

TaskProperties describes properties of a task.

func (TaskProperties) MarshalJSON

func (tp TaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaskProperties.

type TaskUpdateActionType

type TaskUpdateActionType string

TaskUpdateActionType enumerates the values for task update action type.

const (
	// Activate ...
	Activate TaskUpdateActionType = "Activate"
	// Close ...
	Close TaskUpdateActionType = "Close"
	// Dismiss ...
	Dismiss TaskUpdateActionType = "Dismiss"
	// Resolve ...
	Resolve TaskUpdateActionType = "Resolve"
	// Start ...
	Start TaskUpdateActionType = "Start"
)

func PossibleTaskUpdateActionTypeValues

func PossibleTaskUpdateActionTypeValues() []TaskUpdateActionType

PossibleTaskUpdateActionTypeValues returns an array of possible values for the TaskUpdateActionType const type.

type TasksClient

type TasksClient struct {
	BaseClient
}

TasksClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewTasksClient

func NewTasksClient(subscriptionID string) TasksClient

NewTasksClient creates an instance of the TasksClient client.

func NewTasksClientWithBaseURI

func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient

NewTasksClientWithBaseURI creates an instance of the TasksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TasksClient) GetResourceGroupLevelTask

func (client TasksClient) GetResourceGroupLevelTask(ctx context.Context, resourceGroupName string, ascLocation string, taskName string) (result Task, err error)

GetResourceGroupLevelTask recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations taskName - name of the task object, will be a GUID

func (TasksClient) GetResourceGroupLevelTaskPreparer

func (client TasksClient) GetResourceGroupLevelTaskPreparer(ctx context.Context, resourceGroupName string, ascLocation string, taskName string) (*http.Request, error)

GetResourceGroupLevelTaskPreparer prepares the GetResourceGroupLevelTask request.

func (TasksClient) GetResourceGroupLevelTaskResponder

func (client TasksClient) GetResourceGroupLevelTaskResponder(resp *http.Response) (result Task, err error)

GetResourceGroupLevelTaskResponder handles the response to the GetResourceGroupLevelTask request. The method always closes the http.Response Body.

func (TasksClient) GetResourceGroupLevelTaskSender

func (client TasksClient) GetResourceGroupLevelTaskSender(req *http.Request) (*http.Response, error)

GetResourceGroupLevelTaskSender sends the GetResourceGroupLevelTask request. The method will close the http.Response Body if it receives an error.

func (TasksClient) GetSubscriptionLevelTask

func (client TasksClient) GetSubscriptionLevelTask(ctx context.Context, ascLocation string, taskName string) (result Task, err error)

GetSubscriptionLevelTask recommended tasks that will help improve the security of the subscription proactively Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations taskName - name of the task object, will be a GUID

func (TasksClient) GetSubscriptionLevelTaskPreparer

func (client TasksClient) GetSubscriptionLevelTaskPreparer(ctx context.Context, ascLocation string, taskName string) (*http.Request, error)

GetSubscriptionLevelTaskPreparer prepares the GetSubscriptionLevelTask request.

func (TasksClient) GetSubscriptionLevelTaskResponder

func (client TasksClient) GetSubscriptionLevelTaskResponder(resp *http.Response) (result Task, err error)

GetSubscriptionLevelTaskResponder handles the response to the GetSubscriptionLevelTask request. The method always closes the http.Response Body.

func (TasksClient) GetSubscriptionLevelTaskSender

func (client TasksClient) GetSubscriptionLevelTaskSender(req *http.Request) (*http.Response, error)

GetSubscriptionLevelTaskSender sends the GetSubscriptionLevelTask request. The method will close the http.Response Body if it receives an error.

func (TasksClient) List

func (client TasksClient) List(ctx context.Context, filter string) (result TaskListPage, err error)

List recommended tasks that will help improve the security of the subscription proactively Parameters: filter - oData filter. Optional.

func (TasksClient) ListByHomeRegion

func (client TasksClient) ListByHomeRegion(ctx context.Context, ascLocation string, filter string) (result TaskListPage, err error)

ListByHomeRegion recommended tasks that will help improve the security of the subscription proactively Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations filter - oData filter. Optional.

func (TasksClient) ListByHomeRegionComplete

func (client TasksClient) ListByHomeRegionComplete(ctx context.Context, ascLocation string, filter string) (result TaskListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (TasksClient) ListByHomeRegionPreparer

func (client TasksClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string, filter string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (TasksClient) ListByHomeRegionResponder

func (client TasksClient) ListByHomeRegionResponder(resp *http.Response) (result TaskList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (TasksClient) ListByHomeRegionSender

func (client TasksClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (TasksClient) ListByResourceGroup

func (client TasksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, ascLocation string, filter string) (result TaskListPage, err error)

ListByResourceGroup recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations filter - oData filter. Optional.

func (TasksClient) ListByResourceGroupComplete

func (client TasksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, ascLocation string, filter string) (result TaskListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (TasksClient) ListByResourceGroupPreparer

func (client TasksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, ascLocation string, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (TasksClient) ListByResourceGroupResponder

func (client TasksClient) ListByResourceGroupResponder(resp *http.Response) (result TaskList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (TasksClient) ListByResourceGroupSender

func (client TasksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (TasksClient) ListComplete

func (client TasksClient) ListComplete(ctx context.Context, filter string) (result TaskListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TasksClient) ListPreparer

func (client TasksClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (TasksClient) ListResponder

func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TasksClient) ListSender

func (client TasksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (TasksClient) UpdateResourceGroupLevelTaskState

func (client TasksClient) UpdateResourceGroupLevelTaskState(ctx context.Context, resourceGroupName string, ascLocation string, taskName string, taskUpdateActionType TaskUpdateActionType) (result autorest.Response, err error)

UpdateResourceGroupLevelTaskState recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations taskName - name of the task object, will be a GUID taskUpdateActionType - type of the action to do on the task

func (TasksClient) UpdateResourceGroupLevelTaskStatePreparer

func (client TasksClient) UpdateResourceGroupLevelTaskStatePreparer(ctx context.Context, resourceGroupName string, ascLocation string, taskName string, taskUpdateActionType TaskUpdateActionType) (*http.Request, error)

UpdateResourceGroupLevelTaskStatePreparer prepares the UpdateResourceGroupLevelTaskState request.

func (TasksClient) UpdateResourceGroupLevelTaskStateResponder

func (client TasksClient) UpdateResourceGroupLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelTaskStateResponder handles the response to the UpdateResourceGroupLevelTaskState request. The method always closes the http.Response Body.

func (TasksClient) UpdateResourceGroupLevelTaskStateSender

func (client TasksClient) UpdateResourceGroupLevelTaskStateSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelTaskStateSender sends the UpdateResourceGroupLevelTaskState request. The method will close the http.Response Body if it receives an error.

func (TasksClient) UpdateSubscriptionLevelTaskState

func (client TasksClient) UpdateSubscriptionLevelTaskState(ctx context.Context, ascLocation string, taskName string, taskUpdateActionType TaskUpdateActionType) (result autorest.Response, err error)

UpdateSubscriptionLevelTaskState recommended tasks that will help improve the security of the subscription proactively Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations taskName - name of the task object, will be a GUID taskUpdateActionType - type of the action to do on the task

func (TasksClient) UpdateSubscriptionLevelTaskStatePreparer

func (client TasksClient) UpdateSubscriptionLevelTaskStatePreparer(ctx context.Context, ascLocation string, taskName string, taskUpdateActionType TaskUpdateActionType) (*http.Request, error)

UpdateSubscriptionLevelTaskStatePreparer prepares the UpdateSubscriptionLevelTaskState request.

func (TasksClient) UpdateSubscriptionLevelTaskStateResponder

func (client TasksClient) UpdateSubscriptionLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelTaskStateResponder handles the response to the UpdateSubscriptionLevelTaskState request. The method always closes the http.Response Body.

func (TasksClient) UpdateSubscriptionLevelTaskStateSender

func (client TasksClient) UpdateSubscriptionLevelTaskStateSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelTaskStateSender sends the UpdateSubscriptionLevelTaskState request. The method will close the http.Response Body if it receives an error.

type Techniques

type Techniques string

Techniques enumerates the values for techniques.

const (
	// AbuseElevationControlMechanism ...
	AbuseElevationControlMechanism Techniques = "Abuse Elevation Control Mechanism"
	// AccessTokenManipulation ...
	AccessTokenManipulation Techniques = "Access Token Manipulation"
	// AccountDiscovery ...
	AccountDiscovery Techniques = "Account Discovery"
	// AccountManipulation ...
	AccountManipulation Techniques = "Account Manipulation"
	// ActiveScanning ...
	ActiveScanning Techniques = "Active Scanning"
	// ApplicationLayerProtocol ...
	ApplicationLayerProtocol Techniques = "Application Layer Protocol"
	// AudioCapture ...
	AudioCapture Techniques = "Audio Capture"
	// BootorLogonAutostartExecution ...
	BootorLogonAutostartExecution Techniques = "Boot or Logon Autostart Execution"
	// BootorLogonInitializationScripts ...
	BootorLogonInitializationScripts Techniques = "Boot or Logon Initialization Scripts"
	// BruteForce ...
	BruteForce Techniques = "Brute Force"
	// CloudInfrastructureDiscovery ...
	CloudInfrastructureDiscovery Techniques = "Cloud Infrastructure Discovery"
	// CloudServiceDashboard ...
	CloudServiceDashboard Techniques = "Cloud Service Dashboard"
	// CloudServiceDiscovery ...
	CloudServiceDiscovery Techniques = "Cloud Service Discovery"
	// CommandandScriptingInterpreter ...
	CommandandScriptingInterpreter Techniques = "Command and Scripting Interpreter"
	// CompromiseClientSoftwareBinary ...
	CompromiseClientSoftwareBinary Techniques = "Compromise Client Software Binary"
	// CompromiseInfrastructure ...
	CompromiseInfrastructure Techniques = "Compromise Infrastructure"
	// ContainerandResourceDiscovery ...
	ContainerandResourceDiscovery Techniques = "Container and Resource Discovery"
	// CreateAccount ...
	CreateAccount Techniques = "Create Account"
	// CreateorModifySystemProcess ...
	CreateorModifySystemProcess Techniques = "Create or Modify System Process"
	// CredentialsfromPasswordStores ...
	CredentialsfromPasswordStores Techniques = "Credentials from Password Stores"
	// DataDestruction ...
	DataDestruction Techniques = "Data Destruction"
	// DataEncryptedforImpact ...
	DataEncryptedforImpact Techniques = "Data Encrypted for Impact"
	// DatafromCloudStorageObject ...
	DatafromCloudStorageObject Techniques = "Data from Cloud Storage Object"
	// DatafromConfigurationRepository ...
	DatafromConfigurationRepository Techniques = "Data from Configuration Repository"
	// DatafromInformationRepositories ...
	DatafromInformationRepositories Techniques = "Data from Information Repositories"
	// DatafromLocalSystem ...
	DatafromLocalSystem Techniques = "Data from Local System"
	// DataManipulation ...
	DataManipulation Techniques = "Data Manipulation"
	// DataStaged ...
	DataStaged Techniques = "Data Staged"
	// Defacement ...
	Defacement Techniques = "Defacement"
	// DeobfuscateDecodeFilesorInformation ...
	DeobfuscateDecodeFilesorInformation Techniques = "Deobfuscate/Decode Files or Information"
	// DiskWipe ...
	DiskWipe Techniques = "Disk Wipe"
	// DomainTrustDiscovery ...
	DomainTrustDiscovery Techniques = "Domain Trust Discovery"
	// DriveByCompromise ...
	DriveByCompromise Techniques = "Drive-by Compromise"
	// DynamicResolution ...
	DynamicResolution Techniques = "Dynamic Resolution"
	// EndpointDenialofService ...
	EndpointDenialofService Techniques = "Endpoint Denial of Service"
	// EventTriggeredExecution ...
	EventTriggeredExecution Techniques = "Event Triggered Execution"
	// ExfiltrationOverAlternativeProtocol ...
	ExfiltrationOverAlternativeProtocol Techniques = "Exfiltration Over Alternative Protocol"
	// ExploitationforClientExecution ...
	ExploitationforClientExecution Techniques = "Exploitation for Client Execution"
	// ExploitationforCredentialAccess ...
	ExploitationforCredentialAccess Techniques = "Exploitation for Credential Access"
	// ExploitationforDefenseEvasion ...
	ExploitationforDefenseEvasion Techniques = "Exploitation for Defense Evasion"
	// ExploitationforPrivilegeEscalation ...
	ExploitationforPrivilegeEscalation Techniques = "Exploitation for Privilege Escalation"
	// ExploitationofRemoteServices ...
	ExploitationofRemoteServices Techniques = "Exploitation of Remote Services"
	// ExploitPublicFacingApplication ...
	ExploitPublicFacingApplication Techniques = "Exploit Public-Facing Application"
	// ExternalRemoteServices ...
	ExternalRemoteServices Techniques = "External Remote Services"
	// FallbackChannels ...
	FallbackChannels Techniques = "Fallback Channels"
	// FileandDirectoryDiscovery ...
	FileandDirectoryDiscovery Techniques = "File and Directory Discovery"
	// FileandDirectoryPermissionsModification ...
	FileandDirectoryPermissionsModification Techniques = "File and Directory Permissions Modification"
	// GatherVictimNetworkInformation ...
	GatherVictimNetworkInformation Techniques = "Gather Victim Network Information"
	// HideArtifacts ...
	HideArtifacts Techniques = "Hide Artifacts"
	// HijackExecutionFlow ...
	HijackExecutionFlow Techniques = "Hijack Execution Flow"
	// ImpairDefenses ...
	ImpairDefenses Techniques = "Impair Defenses"
	// ImplantContainerImage ...
	ImplantContainerImage Techniques = "Implant Container Image"
	// IndicatorRemovalonHost ...
	IndicatorRemovalonHost Techniques = "Indicator Removal on Host"
	// IndirectCommandExecution ...
	IndirectCommandExecution Techniques = "Indirect Command Execution"
	// IngressToolTransfer ...
	IngressToolTransfer Techniques = "Ingress Tool Transfer"
	// InputCapture ...
	InputCapture Techniques = "Input Capture"
	// InterProcessCommunication ...
	InterProcessCommunication Techniques = "Inter-Process Communication"
	// LateralToolTransfer ...
	LateralToolTransfer Techniques = "Lateral Tool Transfer"
	// ManInTheMiddle ...
	ManInTheMiddle Techniques = "Man-in-the-Middle"
	// Masquerading ...
	Masquerading Techniques = "Masquerading"
	// ModifyAuthenticationProcess ...
	ModifyAuthenticationProcess Techniques = "Modify Authentication Process"
	// ModifyRegistry ...
	ModifyRegistry Techniques = "Modify Registry"
	// NetworkDenialofService ...
	NetworkDenialofService Techniques = "Network Denial of Service"
	// NetworkServiceScanning ...
	NetworkServiceScanning Techniques = "Network Service Scanning"
	// NetworkSniffing ...
	NetworkSniffing Techniques = "Network Sniffing"
	// NonApplicationLayerProtocol ...
	NonApplicationLayerProtocol Techniques = "Non-Application Layer Protocol"
	// NonStandardPort ...
	NonStandardPort Techniques = "Non-Standard Port"
	// ObfuscatedFilesorInformation ...
	ObfuscatedFilesorInformation Techniques = "Obfuscated Files or Information"
	// ObtainCapabilities ...
	ObtainCapabilities Techniques = "Obtain Capabilities"
	// OfficeApplicationStartup ...
	OfficeApplicationStartup Techniques = "Office Application Startup"
	// OSCredentialDumping ...
	OSCredentialDumping Techniques = "OS Credential Dumping"
	// PermissionGroupsDiscovery ...
	PermissionGroupsDiscovery Techniques = "Permission Groups Discovery"
	// Phishing ...
	Phishing Techniques = "Phishing"
	// PreOSBoot ...
	PreOSBoot Techniques = "Pre-OS Boot"
	// ProcessDiscovery ...
	ProcessDiscovery Techniques = "Process Discovery"
	// ProcessInjection ...
	ProcessInjection Techniques = "Process Injection"
	// ProtocolTunneling ...
	ProtocolTunneling Techniques = "Protocol Tunneling"
	// Proxy ...
	Proxy Techniques = "Proxy"
	// QueryRegistry ...
	QueryRegistry Techniques = "Query Registry"
	// RemoteAccessSoftware ...
	RemoteAccessSoftware Techniques = "Remote Access Software"
	// RemoteServices ...
	RemoteServices Techniques = "Remote Services"
	// RemoteServiceSessionHijacking ...
	RemoteServiceSessionHijacking Techniques = "Remote Service Session Hijacking"
	// RemoteSystemDiscovery ...
	RemoteSystemDiscovery Techniques = "Remote System Discovery"
	// ResourceHijacking ...
	ResourceHijacking Techniques = "Resource Hijacking"
	// ScheduledTaskJob ...
	ScheduledTaskJob Techniques = "Scheduled Task/Job"
	// ScreenCapture ...
	ScreenCapture Techniques = "Screen Capture"
	// SearchVictimOwnedWebsites ...
	SearchVictimOwnedWebsites Techniques = "Search Victim-Owned Websites"
	// ServerSoftwareComponent ...
	ServerSoftwareComponent Techniques = "Server Software Component"
	// ServiceStop ...
	ServiceStop Techniques = "Service Stop"
	// SignedBinaryProxyExecution ...
	SignedBinaryProxyExecution Techniques = "Signed Binary Proxy Execution"
	// SoftwareDeploymentTools ...
	SoftwareDeploymentTools Techniques = "Software Deployment Tools"
	// SQLStoredProcedures ...
	SQLStoredProcedures Techniques = "SQL Stored Procedures"
	// StealorForgeKerberosTickets ...
	StealorForgeKerberosTickets Techniques = "Steal or Forge Kerberos Tickets"
	// SubvertTrustControls ...
	SubvertTrustControls Techniques = "Subvert Trust Controls"
	// SupplyChainCompromise ...
	SupplyChainCompromise Techniques = "Supply Chain Compromise"
	// SystemInformationDiscovery ...
	SystemInformationDiscovery Techniques = "System Information Discovery"
	// TaintSharedContent ...
	TaintSharedContent Techniques = "Taint Shared Content"
	// TrafficSignaling ...
	TrafficSignaling Techniques = "Traffic Signaling"
	// TransferDatatoCloudAccount ...
	TransferDatatoCloudAccount Techniques = "Transfer Data to Cloud Account"
	// TrustedRelationship ...
	TrustedRelationship Techniques = "Trusted Relationship"
	// UnsecuredCredentials ...
	UnsecuredCredentials Techniques = "Unsecured Credentials"
	// UserExecution ...
	UserExecution Techniques = "User Execution"
	// ValidAccounts ...
	ValidAccounts Techniques = "Valid Accounts"
	// WindowsManagementInstrumentation ...
	WindowsManagementInstrumentation Techniques = "Windows Management Instrumentation"
)

func PossibleTechniquesValues

func PossibleTechniquesValues() []Techniques

PossibleTechniquesValues returns an array of possible values for the Techniques const type.

type Threats

type Threats string

Threats enumerates the values for threats.

const (
	// AccountBreach ...
	AccountBreach Threats = "accountBreach"
	// DataExfiltration ...
	DataExfiltration Threats = "dataExfiltration"
	// DataSpillage ...
	DataSpillage Threats = "dataSpillage"
	// DenialOfService ...
	DenialOfService Threats = "denialOfService"
	// ElevationOfPrivilege ...
	ElevationOfPrivilege Threats = "elevationOfPrivilege"
	// MaliciousInsider ...
	MaliciousInsider Threats = "maliciousInsider"
	// MissingCoverage ...
	MissingCoverage Threats = "missingCoverage"
	// ThreatResistance ...
	ThreatResistance Threats = "threatResistance"
)

func PossibleThreatsValues

func PossibleThreatsValues() []Threats

PossibleThreatsValues returns an array of possible values for the Threats const type.

type ThresholdCustomAlertRule

type ThresholdCustomAlertRule struct {
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

ThresholdCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is within the given range.

func (ThresholdCustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsAllowlistCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsBasicAllowlistCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsBasicCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsBasicListCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsBasicThresholdCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsConnectionFromIPNotAllowed

func (tcar ThresholdCustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsConnectionToIPNotAllowed

func (tcar ThresholdCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsDenylistCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsFileUploadsNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsListCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsLocalUserNotAllowed

func (tcar ThresholdCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsProcessNotAllowed

func (tcar ThresholdCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsQueuePurgesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsThresholdCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsTimeWindowCustomAlertRule

func (tcar ThresholdCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (tcar ThresholdCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ThresholdCustomAlertRule.

func (ThresholdCustomAlertRule) MarshalJSON

func (tcar ThresholdCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ThresholdCustomAlertRule.

type TimeWindowCustomAlertRule

type TimeWindowCustomAlertRule struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

TimeWindowCustomAlertRule a custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.

func (TimeWindowCustomAlertRule) AsActiveConnectionsNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsAllowlistCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsBasicAllowlistCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsBasicCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsBasicListCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsBasicThresholdCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsBasicTimeWindowCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsConnectionFromIPNotAllowed

func (twcar TimeWindowCustomAlertRule) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsConnectionToIPNotAllowed

func (twcar TimeWindowCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsDenylistCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsFileUploadsNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsListCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsLocalUserNotAllowed

func (twcar TimeWindowCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsProcessNotAllowed

func (twcar TimeWindowCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsQueuePurgesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsThresholdCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsTimeWindowCustomAlertRule

func (twcar TimeWindowCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsTwinUpdatesNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange

func (twcar TimeWindowCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for TimeWindowCustomAlertRule.

func (TimeWindowCustomAlertRule) MarshalJSON

func (twcar TimeWindowCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TimeWindowCustomAlertRule.

type TopologyClient

type TopologyClient struct {
	BaseClient
}

TopologyClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewTopologyClient

func NewTopologyClient(subscriptionID string) TopologyClient

NewTopologyClient creates an instance of the TopologyClient client.

func NewTopologyClientWithBaseURI

func NewTopologyClientWithBaseURI(baseURI string, subscriptionID string) TopologyClient

NewTopologyClientWithBaseURI creates an instance of the TopologyClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TopologyClient) Get

func (client TopologyClient) Get(ctx context.Context, resourceGroupName string, ascLocation string, topologyResourceName string) (result TopologyResource, err error)

Get gets a specific topology component. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations topologyResourceName - name of a topology resources collection.

func (TopologyClient) GetPreparer

func (client TopologyClient) GetPreparer(ctx context.Context, resourceGroupName string, ascLocation string, topologyResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TopologyClient) GetResponder

func (client TopologyClient) GetResponder(resp *http.Response) (result TopologyResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TopologyClient) GetSender

func (client TopologyClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TopologyClient) List

func (client TopologyClient) List(ctx context.Context) (result TopologyListPage, err error)

List gets a list that allows to build a topology view of a subscription.

func (TopologyClient) ListByHomeRegion

func (client TopologyClient) ListByHomeRegion(ctx context.Context, ascLocation string) (result TopologyListPage, err error)

ListByHomeRegion gets a list that allows to build a topology view of a subscription and location. Parameters: ascLocation - the location where ASC stores the data of the subscription. can be retrieved from Get locations

func (TopologyClient) ListByHomeRegionComplete

func (client TopologyClient) ListByHomeRegionComplete(ctx context.Context, ascLocation string) (result TopologyListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (TopologyClient) ListByHomeRegionPreparer

func (client TopologyClient) ListByHomeRegionPreparer(ctx context.Context, ascLocation string) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (TopologyClient) ListByHomeRegionResponder

func (client TopologyClient) ListByHomeRegionResponder(resp *http.Response) (result TopologyList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (TopologyClient) ListByHomeRegionSender

func (client TopologyClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (TopologyClient) ListComplete

func (client TopologyClient) ListComplete(ctx context.Context) (result TopologyListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TopologyClient) ListPreparer

func (client TopologyClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (TopologyClient) ListResponder

func (client TopologyClient) ListResponder(resp *http.Response) (result TopologyList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TopologyClient) ListSender

func (client TopologyClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type TopologyList

type TopologyList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]TopologyResource `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

TopologyList ...

func (TopologyList) IsEmpty

func (tl TopologyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (TopologyList) MarshalJSON

func (tl TopologyList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologyList.

type TopologyListIterator

type TopologyListIterator struct {
	// contains filtered or unexported fields
}

TopologyListIterator provides access to a complete listing of TopologyResource values.

func NewTopologyListIterator

func NewTopologyListIterator(page TopologyListPage) TopologyListIterator

Creates a new instance of the TopologyListIterator type.

func (*TopologyListIterator) Next

func (iter *TopologyListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopologyListIterator) NextWithContext

func (iter *TopologyListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (TopologyListIterator) NotDone

func (iter TopologyListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (TopologyListIterator) Response

func (iter TopologyListIterator) Response() TopologyList

Response returns the raw server response from the last page request.

func (TopologyListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type TopologyListPage

type TopologyListPage struct {
	// contains filtered or unexported fields
}

TopologyListPage contains a page of TopologyResource values.

func NewTopologyListPage

func NewTopologyListPage(cur TopologyList, getNextPage func(context.Context, TopologyList) (TopologyList, error)) TopologyListPage

Creates a new instance of the TopologyListPage type.

func (*TopologyListPage) Next

func (page *TopologyListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*TopologyListPage) NextWithContext

func (page *TopologyListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (TopologyListPage) NotDone

func (page TopologyListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (TopologyListPage) Response

func (page TopologyListPage) Response() TopologyList

Response returns the raw server response from the last page request.

func (TopologyListPage) Values

func (page TopologyListPage) Values() []TopologyResource

Values returns the slice of values for the current page or nil if there are no values.

type TopologyResource

type TopologyResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - READ-ONLY; Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// TopologyResourceProperties - READ-ONLY
	*TopologyResourceProperties `json:"properties,omitempty"`
}

TopologyResource ...

func (TopologyResource) MarshalJSON

func (tr TopologyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologyResource.

func (*TopologyResource) UnmarshalJSON

func (tr *TopologyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TopologyResource struct.

type TopologyResourceProperties

type TopologyResourceProperties struct {
	// CalculatedDateTime - READ-ONLY; The UTC time on which the topology was calculated
	CalculatedDateTime *date.Time `json:"calculatedDateTime,omitempty"`
	// TopologyResources - READ-ONLY; Azure resources which are part of this topology resource
	TopologyResources *[]TopologySingleResource `json:"topologyResources,omitempty"`
}

TopologyResourceProperties ...

func (TopologyResourceProperties) MarshalJSON

func (trp TopologyResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologyResourceProperties.

type TopologySingleResource

type TopologySingleResource struct {
	// ResourceID - READ-ONLY; Azure resource id
	ResourceID *string `json:"resourceId,omitempty"`
	// Severity - READ-ONLY; The security severity of the resource
	Severity *string `json:"severity,omitempty"`
	// RecommendationsExist - READ-ONLY; Indicates if the resource has security recommendations
	RecommendationsExist *bool `json:"recommendationsExist,omitempty"`
	// NetworkZones - READ-ONLY; Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.)
	NetworkZones *string `json:"networkZones,omitempty"`
	// TopologyScore - READ-ONLY; Score of the resource based on its security severity
	TopologyScore *int32 `json:"topologyScore,omitempty"`
	// Location - READ-ONLY; The location of this resource
	Location *string `json:"location,omitempty"`
	// Parents - READ-ONLY; Azure resources connected to this resource which are in higher level in the topology view
	Parents *[]TopologySingleResourceParent `json:"parents,omitempty"`
	// Children - READ-ONLY; Azure resources connected to this resource which are in lower level in the topology view
	Children *[]TopologySingleResourceChild `json:"children,omitempty"`
}

TopologySingleResource ...

func (TopologySingleResource) MarshalJSON

func (tsr TopologySingleResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologySingleResource.

type TopologySingleResourceChild

type TopologySingleResourceChild struct {
	// ResourceID - READ-ONLY; Azure resource id which serves as child resource in topology view
	ResourceID *string `json:"resourceId,omitempty"`
}

TopologySingleResourceChild ...

func (TopologySingleResourceChild) MarshalJSON

func (tsrc TopologySingleResourceChild) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologySingleResourceChild.

type TopologySingleResourceParent

type TopologySingleResourceParent struct {
	// ResourceID - READ-ONLY; Azure resource id which serves as parent resource in topology view
	ResourceID *string `json:"resourceId,omitempty"`
}

TopologySingleResourceParent ...

func (TopologySingleResourceParent) MarshalJSON

func (tsrp TopologySingleResourceParent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TopologySingleResourceParent.

type TrackedResource

type TrackedResource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Location where the resource is stored
	Location *string `json:"location,omitempty"`
	// Kind - Kind of the resource
	Kind *string `json:"kind,omitempty"`
	// Etag - Entity tag is used for comparing two or more entities from the same requested resource.
	Etag *string `json:"etag,omitempty"`
	// Tags - A list of key value pairs that describe the resource.
	Tags map[string]*string `json:"tags"`
}

TrackedResource describes an Azure tracked resource.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type TransportProtocol

type TransportProtocol string

TransportProtocol enumerates the values for transport protocol.

const (
	// TransportProtocolTCP ...
	TransportProtocolTCP TransportProtocol = "TCP"
	// TransportProtocolUDP ...
	TransportProtocolUDP TransportProtocol = "UDP"
)

func PossibleTransportProtocolValues

func PossibleTransportProtocolValues() []TransportProtocol

PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.

type TwinUpdatesNotInAllowedRange

type TwinUpdatesNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

TwinUpdatesNotInAllowedRange number of twin updates is not in allowed range.

func (TwinUpdatesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsAllowlistCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsBasicCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsBasicListCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsConnectionFromIPNotAllowed

func (tuniar TwinUpdatesNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsConnectionToIPNotAllowed

func (tuniar TwinUpdatesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsDenylistCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsListCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsLocalUserNotAllowed

func (tuniar TwinUpdatesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsProcessNotAllowed

func (tuniar TwinUpdatesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsThresholdCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsTimeWindowCustomAlertRule

func (tuniar TwinUpdatesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (tuniar TwinUpdatesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for TwinUpdatesNotInAllowedRange.

func (TwinUpdatesNotInAllowedRange) MarshalJSON

func (tuniar TwinUpdatesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TwinUpdatesNotInAllowedRange.

type Type

type Type string

Type enumerates the values for type.

const (
	// Qualys ...
	Qualys Type = "Qualys"
	// TVM ...
	TVM Type = "TVM"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type Type1

type Type1 string

Type1 enumerates the values for type 1.

const (
	// BinarySignature ...
	BinarySignature Type1 = "BinarySignature"
	// File ...
	File Type1 = "File"
	// FileHash ...
	FileHash Type1 = "FileHash"
	// ProductSignature ...
	ProductSignature Type1 = "ProductSignature"
	// PublisherSignature ...
	PublisherSignature Type1 = "PublisherSignature"
	// VersionAndAboveSignature ...
	VersionAndAboveSignature Type1 = "VersionAndAboveSignature"
)

func PossibleType1Values

func PossibleType1Values() []Type1

PossibleType1Values returns an array of possible values for the Type1 const type.

type TypeBasicResourceIdentifier

type TypeBasicResourceIdentifier string

TypeBasicResourceIdentifier enumerates the values for type basic resource identifier.

const (
	// TypeAzureResource ...
	TypeAzureResource TypeBasicResourceIdentifier = "AzureResource"
	// TypeLogAnalytics ...
	TypeLogAnalytics TypeBasicResourceIdentifier = "LogAnalytics"
	// TypeResourceIdentifier ...
	TypeResourceIdentifier TypeBasicResourceIdentifier = "ResourceIdentifier"
)

func PossibleTypeBasicResourceIdentifierValues

func PossibleTypeBasicResourceIdentifierValues() []TypeBasicResourceIdentifier

PossibleTypeBasicResourceIdentifierValues returns an array of possible values for the TypeBasicResourceIdentifier const type.

type UnauthorizedOperationsNotInAllowedRange

type UnauthorizedOperationsNotInAllowedRange struct {
	// TimeWindowSize - The time window size in iso8601 format.
	TimeWindowSize *string `json:"timeWindowSize,omitempty"`
	// MinThreshold - The minimum threshold.
	MinThreshold *int32 `json:"minThreshold,omitempty"`
	// MaxThreshold - The maximum threshold.
	MaxThreshold *int32 `json:"maxThreshold,omitempty"`
	// DisplayName - READ-ONLY; The display name of the custom alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - READ-ONLY; The description of the custom alert.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Status of the custom alert.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeConnectionFromIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
	RuleType RuleTypeBasicCustomAlertRule `json:"ruleType,omitempty"`
}

UnauthorizedOperationsNotInAllowedRange number of unauthorized operations is not in allowed range.

func (UnauthorizedOperationsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsAllowlistCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsBasicAllowlistCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsBasicCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsBasicListCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsBasicThresholdCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsConnectionFromIPNotAllowed

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsConnectionFromIPNotAllowed() (*ConnectionFromIPNotAllowed, bool)

AsConnectionFromIPNotAllowed is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsConnectionToIPNotAllowed

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsDenylistCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsFileUploadsNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsListCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsLocalUserNotAllowed

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsProcessNotAllowed

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsQueuePurgesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsThresholdCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsTimeWindowCustomAlertRule

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange

func (uoniar UnauthorizedOperationsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for UnauthorizedOperationsNotInAllowedRange.

func (UnauthorizedOperationsNotInAllowedRange) MarshalJSON

func (uoniar UnauthorizedOperationsNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UnauthorizedOperationsNotInAllowedRange.

type UnmaskedIPLoggingStatus

type UnmaskedIPLoggingStatus string

UnmaskedIPLoggingStatus enumerates the values for unmasked ip logging status.

const (
	// UnmaskedIPLoggingStatusDisabled Unmasked IP logging is disabled
	UnmaskedIPLoggingStatusDisabled UnmaskedIPLoggingStatus = "Disabled"
	// UnmaskedIPLoggingStatusEnabled Unmasked IP logging is enabled
	UnmaskedIPLoggingStatusEnabled UnmaskedIPLoggingStatus = "Enabled"
)

func PossibleUnmaskedIPLoggingStatusValues

func PossibleUnmaskedIPLoggingStatusValues() []UnmaskedIPLoggingStatus

PossibleUnmaskedIPLoggingStatusValues returns an array of possible values for the UnmaskedIPLoggingStatus const type.

type UpdateIoTSecuritySolutionProperties

type UpdateIoTSecuritySolutionProperties struct {
	UserDefinedResources         *UserDefinedResourcesProperties          `json:"userDefinedResources,omitempty"`
	RecommendationsConfiguration *[]RecommendationConfigurationProperties `json:"recommendationsConfiguration,omitempty"`
}

UpdateIoTSecuritySolutionProperties update Security Solution setting data

type UpdateIotSecuritySolutionData

type UpdateIotSecuritySolutionData struct {
	// UpdateIoTSecuritySolutionProperties - Security Solution data
	*UpdateIoTSecuritySolutionProperties `json:"properties,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

UpdateIotSecuritySolutionData ...

func (UpdateIotSecuritySolutionData) MarshalJSON

func (uissd UpdateIotSecuritySolutionData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateIotSecuritySolutionData.

func (*UpdateIotSecuritySolutionData) UnmarshalJSON

func (uissd *UpdateIotSecuritySolutionData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateIotSecuritySolutionData struct.

type UserDefinedResourcesProperties

type UserDefinedResourcesProperties struct {
	// Query - Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs""
	Query *string `json:"query,omitempty"`
	// QuerySubscriptions - List of Azure subscription ids on which the user defined resources query should be executed.
	QuerySubscriptions *[]string `json:"querySubscriptions,omitempty"`
}

UserDefinedResourcesProperties properties of the IoT Security solution's user defined resources.

type UserImpact

type UserImpact string

UserImpact enumerates the values for user impact.

const (
	// UserImpactHigh ...
	UserImpactHigh UserImpact = "High"
	// UserImpactLow ...
	UserImpactLow UserImpact = "Low"
	// UserImpactModerate ...
	UserImpactModerate UserImpact = "Moderate"
)

func PossibleUserImpactValues

func PossibleUserImpactValues() []UserImpact

PossibleUserImpactValues returns an array of possible values for the UserImpact const type.

type UserRecommendation

type UserRecommendation struct {
	// Username - Represents a user that is recommended to be allowed for a certain rule
	Username *string `json:"username,omitempty"`
	// RecommendationAction - Possible values include: 'RecommendationAction1Recommended', 'RecommendationAction1Add', 'RecommendationAction1Remove'
	RecommendationAction RecommendationAction1 `json:"recommendationAction,omitempty"`
}

UserRecommendation represents a user that is recommended to be allowed for a certain rule

type VMRecommendation

type VMRecommendation struct {
	// ConfigurationStatus - Possible values include: 'ConfigurationStatusConfigured', 'ConfigurationStatusNotConfigured', 'ConfigurationStatusInProgress', 'ConfigurationStatusFailed', 'ConfigurationStatusNoStatus'
	ConfigurationStatus ConfigurationStatus `json:"configurationStatus,omitempty"`
	// RecommendationAction - Possible values include: 'RecommendationActionRecommended', 'RecommendationActionAdd', 'RecommendationActionRemove'
	RecommendationAction RecommendationAction `json:"recommendationAction,omitempty"`
	ResourceID           *string              `json:"resourceId,omitempty"`
	// EnforcementSupport - Possible values include: 'Supported', 'NotSupported', 'Unknown'
	EnforcementSupport EnforcementSupport `json:"enforcementSupport,omitempty"`
}

VMRecommendation represents a machine that is part of a machine group

type VaRule

type VaRule struct {
	// RuleID - The rule Id.
	RuleID *string `json:"ruleId,omitempty"`
	// Severity - Possible values include: 'RuleSeverityHigh', 'RuleSeverityMedium', 'RuleSeverityLow', 'RuleSeverityInformational', 'RuleSeverityObsolete'
	Severity RuleSeverity `json:"severity,omitempty"`
	// Category - The rule category.
	Category *string `json:"category,omitempty"`
	// RuleType - Possible values include: 'Binary', 'BaselineExpected', 'PositiveList', 'NegativeList'
	RuleType RuleType `json:"ruleType,omitempty"`
	// Title - The rule title.
	Title *string `json:"title,omitempty"`
	// Description - The rule description.
	Description *string `json:"description,omitempty"`
	// Rationale - The rule rationale.
	Rationale  *string     `json:"rationale,omitempty"`
	QueryCheck *QueryCheck `json:"queryCheck,omitempty"`
	// BenchmarkReferences - The benchmark references.
	BenchmarkReferences *[]BenchmarkReference `json:"benchmarkReferences,omitempty"`
}

VaRule vulnerability assessment rule metadata details.

type ValueType

type ValueType string

ValueType enumerates the values for value type.

const (
	// ValueTypeIPCidr An IP range in CIDR format (e.g. '192.168.0.1/8').
	ValueTypeIPCidr ValueType = "IpCidr"
	// ValueTypeString Any string value.
	ValueTypeString ValueType = "String"
)

func PossibleValueTypeValues

func PossibleValueTypeValues() []ValueType

PossibleValueTypeValues returns an array of possible values for the ValueType const type.

type VendorReference

type VendorReference struct {
	// Title - READ-ONLY; Link title
	Title *string `json:"title,omitempty"`
	// Link - READ-ONLY; Link url
	Link *string `json:"link,omitempty"`
}

VendorReference vendor reference

func (VendorReference) MarshalJSON

func (vr VendorReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VendorReference.

type WorkspaceSetting

type WorkspaceSetting struct {
	autorest.Response `json:"-"`
	// WorkspaceSettingProperties - Workspace setting data
	*WorkspaceSettingProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
}

WorkspaceSetting configures where to store the OMS agent data for workspaces under a scope

func (WorkspaceSetting) MarshalJSON

func (ws WorkspaceSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceSetting.

func (*WorkspaceSetting) UnmarshalJSON

func (ws *WorkspaceSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspaceSetting struct.

type WorkspaceSettingList

type WorkspaceSettingList struct {
	autorest.Response `json:"-"`
	// Value - List of workspace settings
	Value *[]WorkspaceSetting `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URI to fetch the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkspaceSettingList list of workspace settings response

func (WorkspaceSettingList) IsEmpty

func (wsl WorkspaceSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkspaceSettingList) MarshalJSON

func (wsl WorkspaceSettingList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceSettingList.

type WorkspaceSettingListIterator

type WorkspaceSettingListIterator struct {
	// contains filtered or unexported fields
}

WorkspaceSettingListIterator provides access to a complete listing of WorkspaceSetting values.

func NewWorkspaceSettingListIterator

func NewWorkspaceSettingListIterator(page WorkspaceSettingListPage) WorkspaceSettingListIterator

Creates a new instance of the WorkspaceSettingListIterator type.

func (*WorkspaceSettingListIterator) Next

func (iter *WorkspaceSettingListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkspaceSettingListIterator) NextWithContext

func (iter *WorkspaceSettingListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WorkspaceSettingListIterator) NotDone

func (iter WorkspaceSettingListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WorkspaceSettingListIterator) Response

Response returns the raw server response from the last page request.

func (WorkspaceSettingListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WorkspaceSettingListPage

type WorkspaceSettingListPage struct {
	// contains filtered or unexported fields
}

WorkspaceSettingListPage contains a page of WorkspaceSetting values.

func NewWorkspaceSettingListPage

func NewWorkspaceSettingListPage(cur WorkspaceSettingList, getNextPage func(context.Context, WorkspaceSettingList) (WorkspaceSettingList, error)) WorkspaceSettingListPage

Creates a new instance of the WorkspaceSettingListPage type.

func (*WorkspaceSettingListPage) Next

func (page *WorkspaceSettingListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkspaceSettingListPage) NextWithContext

func (page *WorkspaceSettingListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WorkspaceSettingListPage) NotDone

func (page WorkspaceSettingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WorkspaceSettingListPage) Response

Response returns the raw server response from the last page request.

func (WorkspaceSettingListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type WorkspaceSettingProperties

type WorkspaceSettingProperties struct {
	// WorkspaceID - The full Azure ID of the workspace to save the data in
	WorkspaceID *string `json:"workspaceId,omitempty"`
	// Scope - All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
	Scope *string `json:"scope,omitempty"`
}

WorkspaceSettingProperties workspace setting data

type WorkspaceSettingsClient

type WorkspaceSettingsClient struct {
	BaseClient
}

WorkspaceSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewWorkspaceSettingsClient

func NewWorkspaceSettingsClient(subscriptionID string) WorkspaceSettingsClient

NewWorkspaceSettingsClient creates an instance of the WorkspaceSettingsClient client.

func NewWorkspaceSettingsClientWithBaseURI

func NewWorkspaceSettingsClientWithBaseURI(baseURI string, subscriptionID string) WorkspaceSettingsClient

NewWorkspaceSettingsClientWithBaseURI creates an instance of the WorkspaceSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WorkspaceSettingsClient) Create

func (client WorkspaceSettingsClient) Create(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (result WorkspaceSetting, err error)

Create creating settings about where we should store your security data and logs Parameters: workspaceSettingName - name of the security setting workspaceSetting - security data setting object

func (WorkspaceSettingsClient) CreatePreparer

func (client WorkspaceSettingsClient) CreatePreparer(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (WorkspaceSettingsClient) CreateResponder

func (client WorkspaceSettingsClient) CreateResponder(resp *http.Response) (result WorkspaceSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (WorkspaceSettingsClient) CreateSender

func (client WorkspaceSettingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (WorkspaceSettingsClient) Delete

func (client WorkspaceSettingsClient) Delete(ctx context.Context, workspaceSettingName string) (result autorest.Response, err error)

Delete deletes the custom workspace settings for this subscription. new VMs will report to the default workspace Parameters: workspaceSettingName - name of the security setting

func (WorkspaceSettingsClient) DeletePreparer

func (client WorkspaceSettingsClient) DeletePreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkspaceSettingsClient) DeleteResponder

func (client WorkspaceSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WorkspaceSettingsClient) DeleteSender

func (client WorkspaceSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (WorkspaceSettingsClient) Get

func (client WorkspaceSettingsClient) Get(ctx context.Context, workspaceSettingName string) (result WorkspaceSetting, err error)

Get settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set Parameters: workspaceSettingName - name of the security setting

func (WorkspaceSettingsClient) GetPreparer

func (client WorkspaceSettingsClient) GetPreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkspaceSettingsClient) GetResponder

func (client WorkspaceSettingsClient) GetResponder(resp *http.Response) (result WorkspaceSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WorkspaceSettingsClient) GetSender

func (client WorkspaceSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (WorkspaceSettingsClient) List

func (client WorkspaceSettingsClient) List(ctx context.Context) (result WorkspaceSettingListPage, err error)

List settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set

func (WorkspaceSettingsClient) ListComplete

func (client WorkspaceSettingsClient) ListComplete(ctx context.Context) (result WorkspaceSettingListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (WorkspaceSettingsClient) ListPreparer

func (client WorkspaceSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkspaceSettingsClient) ListResponder

func (client WorkspaceSettingsClient) ListResponder(resp *http.Response) (result WorkspaceSettingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkspaceSettingsClient) ListSender

func (client WorkspaceSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (WorkspaceSettingsClient) Update

func (client WorkspaceSettingsClient) Update(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (result WorkspaceSetting, err error)

Update settings about where we should store your security data and logs Parameters: workspaceSettingName - name of the security setting workspaceSetting - security data setting object

func (WorkspaceSettingsClient) UpdatePreparer

func (client WorkspaceSettingsClient) UpdatePreparer(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkspaceSettingsClient) UpdateResponder

func (client WorkspaceSettingsClient) UpdateResponder(resp *http.Response) (result WorkspaceSetting, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (WorkspaceSettingsClient) UpdateSender

func (client WorkspaceSettingsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

Source Files

Directories

Path Synopsis
Deprecated: Please note, this package has been deprecated.
Deprecated: Please note, this package has been deprecated.

Jump to

Keyboard shortcuts

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