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) CreateInSubscription(ctx context.Context, id ProviderAssessmentMetadataId, ...) (result CreateInSubscriptionOperationResponse, err error)
- func (c AssessmentsMetadataClient) DeleteInSubscription(ctx context.Context, id ProviderAssessmentMetadataId) (result DeleteInSubscriptionOperationResponse, err error)
- func (c AssessmentsMetadataClient) Get(ctx context.Context, id AssessmentMetadataId) (result GetOperationResponse, err error)
- func (c AssessmentsMetadataClient) GetInSubscription(ctx context.Context, id ProviderAssessmentMetadataId) (result GetInSubscriptionOperationResponse, err error)
- func (c AssessmentsMetadataClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c AssessmentsMetadataClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AssessmentsMetadataClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AssessmentsMetadataClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AssessmentsMetadataClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c AssessmentsMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (result ListCompleteResult, err error)
- type Categories
- type CreateInSubscriptionOperationResponse
- type DeleteInSubscriptionOperationResponse
- type GetInSubscriptionOperationResponse
- type GetOperationResponse
- type ImplementationEffort
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- 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 SecurityAssessmentMetadataPartnerData
- 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) FromParseResult ¶
func (id *AssessmentMetadataId) FromParseResult(input resourceids.ParseResult) error
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" AssessmentTypeVerifiedPartner AssessmentType = "VerifiedPartner" )
func (*AssessmentType) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *AssessmentType) UnmarshalJSON(bytes []byte) error
type AssessmentsMetadataClient ¶
type AssessmentsMetadataClient struct {
Client *resourcemanager.Client
}
func NewAssessmentsMetadataClientWithBaseURI ¶
func NewAssessmentsMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*AssessmentsMetadataClient, error)
func (AssessmentsMetadataClient) CreateInSubscription ¶
func (c AssessmentsMetadataClient) CreateInSubscription(ctx context.Context, id ProviderAssessmentMetadataId, input SecurityAssessmentMetadata) (result CreateInSubscriptionOperationResponse, err error)
CreateInSubscription ...
func (AssessmentsMetadataClient) DeleteInSubscription ¶
func (c AssessmentsMetadataClient) DeleteInSubscription(ctx context.Context, id ProviderAssessmentMetadataId) (result DeleteInSubscriptionOperationResponse, err error)
DeleteInSubscription ...
func (AssessmentsMetadataClient) Get ¶
func (c AssessmentsMetadataClient) Get(ctx context.Context, id AssessmentMetadataId) (result GetOperationResponse, err error)
Get ...
func (AssessmentsMetadataClient) GetInSubscription ¶
func (c AssessmentsMetadataClient) GetInSubscription(ctx context.Context, id ProviderAssessmentMetadataId) (result GetInSubscriptionOperationResponse, err error)
GetInSubscription ...
func (AssessmentsMetadataClient) List ¶
func (c AssessmentsMetadataClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (AssessmentsMetadataClient) ListBySubscription ¶
func (c AssessmentsMetadataClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AssessmentsMetadataClient) ListBySubscriptionComplete ¶
func (c AssessmentsMetadataClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AssessmentsMetadataClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AssessmentsMetadataClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityAssessmentMetadataOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssessmentsMetadataClient) ListComplete ¶
func (c AssessmentsMetadataClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AssessmentsMetadataClient) ListCompleteMatchingPredicate ¶
func (c AssessmentsMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SecurityAssessmentMetadataOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Categories ¶
type Categories string
const ( CategoriesCompute Categories = "Compute" CategoriesData Categories = "Data" CategoriesIdentityAndAccess Categories = "IdentityAndAccess" CategoriesIoT Categories = "IoT" CategoriesNetworking Categories = "Networking" )
func (*Categories) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *Categories) UnmarshalJSON(bytes []byte) error
type CreateInSubscriptionOperationResponse ¶
type CreateInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityAssessmentMetadata }
type GetInSubscriptionOperationResponse ¶
type GetInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityAssessmentMetadata }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityAssessmentMetadata }
type ImplementationEffort ¶
type ImplementationEffort string
const ( ImplementationEffortHigh ImplementationEffort = "High" ImplementationEffortLow ImplementationEffort = "Low" ImplementationEffortModerate ImplementationEffort = "Moderate" )
func (*ImplementationEffort) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *ImplementationEffort) UnmarshalJSON(bytes []byte) error
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []SecurityAssessmentMetadata }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityAssessmentMetadata }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SecurityAssessmentMetadata }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityAssessmentMetadata }
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) FromParseResult ¶
func (id *ProviderAssessmentMetadataId) FromParseResult(input resourceids.ParseResult) error
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"` PartnerData *SecurityAssessmentMetadataPartnerData `json:"partnerData,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" )
func (*Threats) UnmarshalJSON ¶ added in v0.20240228.1142829
type UserImpact ¶
type UserImpact string
const ( UserImpactHigh UserImpact = "High" UserImpactLow UserImpact = "Low" UserImpactModerate UserImpact = "Moderate" )
func (*UserImpact) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *UserImpact) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_assessmentmetadata.go
- id_providerassessmentmetadata.go
- method_createinsubscription.go
- method_deleteinsubscription.go
- method_get.go
- method_getinsubscription.go
- method_list.go
- method_listbysubscription.go
- model_securityassessmentmetadata.go
- model_securityassessmentmetadatapartnerdata.go
- model_securityassessmentmetadataproperties.go
- predicates.go
- version.go