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) Get(ctx context.Context, id AssessmentMetadataId) (result GetOperationResponse, err error)
- func (c AssessmentsMetadataClient) List(ctx context.Context) (resp ListOperationResponse, err error)
- func (c AssessmentsMetadataClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c AssessmentsMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (resp ListCompleteResult, err error)
- func (c AssessmentsMetadataClient) SubscriptionCreate(ctx context.Context, id ProviderAssessmentMetadataId, ...) (result SubscriptionCreateOperationResponse, err error)
- func (c AssessmentsMetadataClient) SubscriptionDelete(ctx context.Context, id ProviderAssessmentMetadataId) (result SubscriptionDeleteOperationResponse, err error)
- func (c AssessmentsMetadataClient) SubscriptionGet(ctx context.Context, id ProviderAssessmentMetadataId) (result SubscriptionGetOperationResponse, err error)
- func (c AssessmentsMetadataClient) SubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp SubscriptionListOperationResponse, err error)
- func (c AssessmentsMetadataClient) SubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (SubscriptionListCompleteResult, error)
- func (c AssessmentsMetadataClient) SubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp SubscriptionListCompleteResult, err error)
- type Categories
- type GetOperationResponse
- type ImplementationEffort
- type ListCompleteResult
- type ListOperationResponse
- 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 SubscriptionCreateOperationResponse
- type SubscriptionDeleteOperationResponse
- type SubscriptionGetOperationResponse
- type SubscriptionListCompleteResult
- type SubscriptionListOperationResponse
- 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) Get ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) Get(ctx context.Context, id AssessmentMetadataId) (result GetOperationResponse, err error)
Get ...
func (AssessmentsMetadataClient) List ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) List(ctx context.Context) (resp ListOperationResponse, err error)
List ...
func (AssessmentsMetadataClient) ListComplete ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AssessmentsMetadataClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AssessmentsMetadataClient) SubscriptionCreate ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionCreate(ctx context.Context, id ProviderAssessmentMetadataId, input SecurityAssessmentMetadata) (result SubscriptionCreateOperationResponse, err error)
SubscriptionCreate ...
func (AssessmentsMetadataClient) SubscriptionDelete ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionDelete(ctx context.Context, id ProviderAssessmentMetadataId) (result SubscriptionDeleteOperationResponse, err error)
SubscriptionDelete ...
func (AssessmentsMetadataClient) SubscriptionGet ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionGet(ctx context.Context, id ProviderAssessmentMetadataId) (result SubscriptionGetOperationResponse, err error)
SubscriptionGet ...
func (AssessmentsMetadataClient) SubscriptionList ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionList(ctx context.Context, id commonids.SubscriptionId) (resp SubscriptionListOperationResponse, err error)
SubscriptionList ...
func (AssessmentsMetadataClient) SubscriptionListComplete ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionListComplete(ctx context.Context, id commonids.SubscriptionId) (SubscriptionListCompleteResult, error)
SubscriptionListComplete retrieves all of the results into a single object
func (AssessmentsMetadataClient) SubscriptionListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c AssessmentsMetadataClient) SubscriptionListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityAssessmentMetadataOperationPredicate) (resp SubscriptionListCompleteResult, err error)
SubscriptionListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type Categories ¶
type Categories string
const ( CategoriesCompute Categories = "Compute" CategoriesData Categories = "Data" CategoriesIdentityAndAccess Categories = "IdentityAndAccess" CategoriesIoT Categories = "IoT" CategoriesNetworking Categories = "Networking" )
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type ImplementationEffort ¶
type ImplementationEffort string
const ( ImplementationEffortHigh ImplementationEffort = "High" ImplementationEffortLow ImplementationEffort = "Low" ImplementationEffortModerate ImplementationEffort = "Moderate" )
type ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []SecurityAssessmentMetadata
}
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityAssessmentMetadata // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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 SubscriptionCreateOperationResponse ¶ added in v0.20230906.1160501
type SubscriptionCreateOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type SubscriptionDeleteOperationResponse ¶ added in v0.20230906.1160501
type SubscriptionGetOperationResponse ¶ added in v0.20230906.1160501
type SubscriptionGetOperationResponse struct { HttpResponse *http.Response Model *SecurityAssessmentMetadata }
type SubscriptionListCompleteResult ¶ added in v0.20230906.1160501
type SubscriptionListCompleteResult struct {
Items []SecurityAssessmentMetadata
}
type SubscriptionListOperationResponse ¶ added in v0.20230906.1160501
type SubscriptionListOperationResponse struct { HttpResponse *http.Response Model *[]SecurityAssessmentMetadata // contains filtered or unexported fields }
func (SubscriptionListOperationResponse) HasMore ¶ added in v0.20230906.1160501
func (r SubscriptionListOperationResponse) HasMore() bool
func (SubscriptionListOperationResponse) LoadMore ¶ added in v0.20230906.1160501
func (r SubscriptionListOperationResponse) LoadMore(ctx context.Context) (resp SubscriptionListOperationResponse, err error)
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_get_autorest.go
- method_list_autorest.go
- method_subscriptioncreate_autorest.go
- method_subscriptiondelete_autorest.go
- method_subscriptionget_autorest.go
- method_subscriptionlist_autorest.go
- model_securityassessmentmetadata.go
- model_securityassessmentmetadataproperties.go
- predicates.go
- version.go