Documentation ¶
Index ¶
- func PossibleValuesForAssessmentType() []string
- func PossibleValuesForCategories() []string
- func PossibleValuesForImplementationEffort() []string
- func PossibleValuesForSeverity() []string
- func PossibleValuesForThreats() []string
- func PossibleValuesForUserImpact() []string
- func ValidateAssessmentMetadataID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderAssessmentMetadataID(input interface{}, key string) (warnings []string, errors []error)
- type AssessmentMetadataId
- type AssessmentType
- type AssessmentsMetadataClient
- func (c AssessmentsMetadataClient) AssessmentsMetadataGet(ctx context.Context, id AssessmentMetadataId) (result AssessmentsMetadataGetOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataList(ctx context.Context) (resp AssessmentsMetadataListOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataListComplete(ctx context.Context) (AssessmentsMetadataListCompleteResult, error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (resp AssessmentsMetadataListCompleteResult, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionCreate(ctx context.Context, id ProviderAssessmentMetadataId, ...) (result AssessmentsMetadataSubscriptionCreateOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionDelete(ctx context.Context, id ProviderAssessmentMetadataId) (result AssessmentsMetadataSubscriptionDeleteOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionGet(ctx context.Context, id ProviderAssessmentMetadataId) (result AssessmentsMetadataSubscriptionGetOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp AssessmentsMetadataSubscriptionListOperationResponse, err error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (AssessmentsMetadataSubscriptionListCompleteResult, error)
- func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp AssessmentsMetadataSubscriptionListCompleteResult, err error)
- type AssessmentsMetadataGetOperationResponse
- type AssessmentsMetadataListCompleteResult
- type AssessmentsMetadataListOperationResponse
- type AssessmentsMetadataSubscriptionCreateOperationResponse
- type AssessmentsMetadataSubscriptionDeleteOperationResponse
- type AssessmentsMetadataSubscriptionGetOperationResponse
- type AssessmentsMetadataSubscriptionListCompleteResult
- type AssessmentsMetadataSubscriptionListOperationResponse
- type Categories
- type ImplementationEffort
- type ProviderAssessmentMetadataId
- func NewProviderAssessmentMetadataID(subscriptionId string, assessmentMetadataName string) ProviderAssessmentMetadataId
- func ParseProviderAssessmentMetadataID(input string) (*ProviderAssessmentMetadataId, error)
- func ParseProviderAssessmentMetadataIDInsensitively(input string) (*ProviderAssessmentMetadataId, error)
- type SecurityAssessmentMetadata
- type SecurityAssessmentMetadataOperationPredicate
- type SecurityAssessmentMetadataProperties
- type Severity
- type Threats
- type UserImpact
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssessmentType ¶
func PossibleValuesForAssessmentType() []string
func PossibleValuesForCategories ¶
func PossibleValuesForCategories() []string
func PossibleValuesForImplementationEffort ¶
func PossibleValuesForImplementationEffort() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func PossibleValuesForThreats ¶
func PossibleValuesForThreats() []string
func PossibleValuesForUserImpact ¶
func PossibleValuesForUserImpact() []string
func ValidateAssessmentMetadataID ¶
func ValidateAssessmentMetadataID(input interface{}, key string) (warnings []string, errors []error)
ValidateAssessmentMetadataID checks that 'input' can be parsed as a Assessment Metadata ID
func ValidateProviderAssessmentMetadataID ¶
func ValidateProviderAssessmentMetadataID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderAssessmentMetadataID checks that 'input' can be parsed as a Provider Assessment Metadata ID
Types ¶
type AssessmentMetadataId ¶
type AssessmentMetadataId struct {
AssessmentMetadataName string
}
AssessmentMetadataId is a struct representing the Resource ID for a Assessment Metadata
func NewAssessmentMetadataID ¶
func NewAssessmentMetadataID(assessmentMetadataName string) AssessmentMetadataId
NewAssessmentMetadataID returns a new AssessmentMetadataId struct
func ParseAssessmentMetadataID ¶
func ParseAssessmentMetadataID(input string) (*AssessmentMetadataId, error)
ParseAssessmentMetadataID parses 'input' into a AssessmentMetadataId
func ParseAssessmentMetadataIDInsensitively ¶
func ParseAssessmentMetadataIDInsensitively(input string) (*AssessmentMetadataId, error)
ParseAssessmentMetadataIDInsensitively parses 'input' case-insensitively into a AssessmentMetadataId note: this method should only be used for API response data and not user input
func (AssessmentMetadataId) ID ¶
func (id AssessmentMetadataId) ID() string
ID returns the formatted Assessment Metadata ID
func (AssessmentMetadataId) Segments ¶
func (id AssessmentMetadataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Assessment Metadata ID
func (AssessmentMetadataId) String ¶
func (id AssessmentMetadataId) String() string
String returns a human-readable description of this Assessment Metadata ID
type AssessmentType ¶
type AssessmentType string
const ( AssessmentTypeBuiltIn AssessmentType = "BuiltIn" AssessmentTypeCustomPolicy AssessmentType = "CustomPolicy" AssessmentTypeCustomerManaged AssessmentType = "CustomerManaged" )
type AssessmentsMetadataClient ¶
type AssessmentsMetadataClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAssessmentsMetadataClientWithBaseURI ¶
func NewAssessmentsMetadataClientWithBaseURI(endpoint string) AssessmentsMetadataClient
func (AssessmentsMetadataClient) AssessmentsMetadataGet ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataGet(ctx context.Context, id AssessmentMetadataId) (result AssessmentsMetadataGetOperationResponse, err error)
AssessmentsMetadataGet ...
func (AssessmentsMetadataClient) AssessmentsMetadataList ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataList(ctx context.Context) (resp AssessmentsMetadataListOperationResponse, err error)
AssessmentsMetadataList ...
func (AssessmentsMetadataClient) AssessmentsMetadataListComplete ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataListComplete(ctx context.Context) (AssessmentsMetadataListCompleteResult, error)
AssessmentsMetadataListComplete retrieves all of the results into a single object
func (AssessmentsMetadataClient) AssessmentsMetadataListCompleteMatchingPredicate ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (resp AssessmentsMetadataListCompleteResult, err error)
AssessmentsMetadataListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionCreate ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionCreate(ctx context.Context, id ProviderAssessmentMetadataId, input SecurityAssessmentMetadata) (result AssessmentsMetadataSubscriptionCreateOperationResponse, err error)
AssessmentsMetadataSubscriptionCreate ...
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionDelete ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionDelete(ctx context.Context, id ProviderAssessmentMetadataId) (result AssessmentsMetadataSubscriptionDeleteOperationResponse, err error)
AssessmentsMetadataSubscriptionDelete ...
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionGet ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionGet(ctx context.Context, id ProviderAssessmentMetadataId) (result AssessmentsMetadataSubscriptionGetOperationResponse, err error)
AssessmentsMetadataSubscriptionGet ...
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionList ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp AssessmentsMetadataSubscriptionListOperationResponse, err error)
AssessmentsMetadataSubscriptionList ...
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListComplete ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (AssessmentsMetadataSubscriptionListCompleteResult, error)
AssessmentsMetadataSubscriptionListComplete retrieves all of the results into a single object
func (AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListCompleteMatchingPredicate ¶
func (c AssessmentsMetadataClient) AssessmentsMetadataSubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityAssessmentMetadataOperationPredicate) (resp AssessmentsMetadataSubscriptionListCompleteResult, err error)
AssessmentsMetadataSubscriptionListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type AssessmentsMetadataGetOperationResponse ¶
type AssessmentsMetadataGetOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type AssessmentsMetadataListCompleteResult ¶
type AssessmentsMetadataListCompleteResult struct {
Items []SecurityAssessmentMetadata
}
type AssessmentsMetadataListOperationResponse ¶
type AssessmentsMetadataListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityAssessmentMetadata // contains filtered or unexported fields }
func (AssessmentsMetadataListOperationResponse) HasMore ¶
func (r AssessmentsMetadataListOperationResponse) HasMore() bool
func (AssessmentsMetadataListOperationResponse) LoadMore ¶
func (r AssessmentsMetadataListOperationResponse) LoadMore(ctx context.Context) (resp AssessmentsMetadataListOperationResponse, err error)
type AssessmentsMetadataSubscriptionCreateOperationResponse ¶
type AssessmentsMetadataSubscriptionCreateOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type AssessmentsMetadataSubscriptionGetOperationResponse ¶
type AssessmentsMetadataSubscriptionGetOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type AssessmentsMetadataSubscriptionListCompleteResult ¶
type AssessmentsMetadataSubscriptionListCompleteResult struct {
Items []SecurityAssessmentMetadata
}
type AssessmentsMetadataSubscriptionListOperationResponse ¶
type AssessmentsMetadataSubscriptionListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityAssessmentMetadata // contains filtered or unexported fields }
func (AssessmentsMetadataSubscriptionListOperationResponse) HasMore ¶
func (r AssessmentsMetadataSubscriptionListOperationResponse) HasMore() bool
func (AssessmentsMetadataSubscriptionListOperationResponse) LoadMore ¶
func (r AssessmentsMetadataSubscriptionListOperationResponse) LoadMore(ctx context.Context) (resp AssessmentsMetadataSubscriptionListOperationResponse, err error)
type Categories ¶
type Categories string
const ( CategoriesCompute Categories = "Compute" CategoriesData Categories = "Data" CategoriesIdentityAndAccess Categories = "IdentityAndAccess" CategoriesIoT Categories = "IoT" CategoriesNetworking Categories = "Networking" )
type ImplementationEffort ¶
type ImplementationEffort string
const ( ImplementationEffortHigh ImplementationEffort = "High" ImplementationEffortLow ImplementationEffort = "Low" ImplementationEffortModerate ImplementationEffort = "Moderate" )
type ProviderAssessmentMetadataId ¶
ProviderAssessmentMetadataId is a struct representing the Resource ID for a Provider Assessment Metadata
func NewProviderAssessmentMetadataID ¶
func NewProviderAssessmentMetadataID(subscriptionId string, assessmentMetadataName string) ProviderAssessmentMetadataId
NewProviderAssessmentMetadataID returns a new ProviderAssessmentMetadataId struct
func ParseProviderAssessmentMetadataID ¶
func ParseProviderAssessmentMetadataID(input string) (*ProviderAssessmentMetadataId, error)
ParseProviderAssessmentMetadataID parses 'input' into a ProviderAssessmentMetadataId
func ParseProviderAssessmentMetadataIDInsensitively ¶
func ParseProviderAssessmentMetadataIDInsensitively(input string) (*ProviderAssessmentMetadataId, error)
ParseProviderAssessmentMetadataIDInsensitively parses 'input' case-insensitively into a ProviderAssessmentMetadataId note: this method should only be used for API response data and not user input
func (ProviderAssessmentMetadataId) ID ¶
func (id ProviderAssessmentMetadataId) ID() string
ID returns the formatted Provider Assessment Metadata ID
func (ProviderAssessmentMetadataId) Segments ¶
func (id ProviderAssessmentMetadataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Assessment Metadata ID
func (ProviderAssessmentMetadataId) String ¶
func (id ProviderAssessmentMetadataId) String() string
String returns a human-readable description of this Provider Assessment Metadata ID
type SecurityAssessmentMetadata ¶
type SecurityAssessmentMetadata struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityAssessmentMetadataProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityAssessmentMetadataOperationPredicate ¶
func (SecurityAssessmentMetadataOperationPredicate) Matches ¶
func (p SecurityAssessmentMetadataOperationPredicate) Matches(input SecurityAssessmentMetadata) bool
type SecurityAssessmentMetadataProperties ¶
type SecurityAssessmentMetadataProperties struct { AssessmentType AssessmentType `json:"assessmentType"` Categories *[]Categories `json:"categories,omitempty"` Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` ImplementationEffort *ImplementationEffort `json:"implementationEffort,omitempty"` PolicyDefinitionId *string `json:"policyDefinitionId,omitempty"` Preview *bool `json:"preview,omitempty"` RemediationDescription *string `json:"remediationDescription,omitempty"` Severity Severity `json:"severity"` Threats *[]Threats `json:"threats,omitempty"` UserImpact *UserImpact `json:"userImpact,omitempty"` }
type Threats ¶
type Threats string
const ( ThreatsAccountBreach Threats = "accountBreach" ThreatsDataExfiltration Threats = "dataExfiltration" ThreatsDataSpillage Threats = "dataSpillage" ThreatsDenialOfService Threats = "denialOfService" ThreatsElevationOfPrivilege Threats = "elevationOfPrivilege" ThreatsMaliciousInsider Threats = "maliciousInsider" ThreatsMissingCoverage Threats = "missingCoverage" ThreatsThreatResistance Threats = "threatResistance" )
type UserImpact ¶
type UserImpact string
const ( UserImpactHigh UserImpact = "High" UserImpactLow UserImpact = "Low" UserImpactModerate UserImpact = "Moderate" )
Source Files ¶
- client.go
- constants.go
- id_assessmentmetadata.go
- id_providerassessmentmetadata.go
- method_assessmentsmetadataget_autorest.go
- method_assessmentsmetadatalist_autorest.go
- method_assessmentsmetadatasubscriptioncreate_autorest.go
- method_assessmentsmetadatasubscriptiondelete_autorest.go
- method_assessmentsmetadatasubscriptionget_autorest.go
- method_assessmentsmetadatasubscriptionlist_autorest.go
- model_securityassessmentmetadata.go
- model_securityassessmentmetadataproperties.go
- predicates.go
- version.go