Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAssessedResourceType() []string + func PossibleValuesForSeverity() []string + func PossibleValuesForSource() []string + func PossibleValuesForSubAssessmentStatusCode() []string + func ValidateScopedAssessmentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateScopedSubAssessmentID(input interface{}, key string) (warnings []string, errors []error) + type AdditionalData interface + AdditionalData func() BaseAdditionalDataImpl + func UnmarshalAdditionalDataImplementation(input []byte) (AdditionalData, error) + type AssessedResourceType string + const AssessedResourceTypeContainerRegistryVulnerability + const AssessedResourceTypeServerVulnerability + const AssessedResourceTypeSqlServerVulnerability + func (s *AssessedResourceType) UnmarshalJSON(bytes []byte) error + type AzureResourceDetails struct + Id *string + Source Source + func (s AzureResourceDetails) MarshalJSON() ([]byte, error) + func (s AzureResourceDetails) ResourceDetails() BaseResourceDetailsImpl + type BaseAdditionalDataImpl struct + AssessedResourceType AssessedResourceType + func (s BaseAdditionalDataImpl) AdditionalData() BaseAdditionalDataImpl + type BaseResourceDetailsImpl struct + Source Source + func (s BaseResourceDetailsImpl) ResourceDetails() BaseResourceDetailsImpl + type CVE struct + Link *string + Title *string + type CVSS struct + Base *float64 + type ContainerRegistryVulnerabilityProperties struct + AssessedResourceType AssessedResourceType + Cve *[]CVE + Cvss *map[string]CVSS + ImageDigest *string + Patchable *bool + PublishedTime *string + RepositoryName *string + Type *string + VendorReferences *[]VendorReference + func (s ContainerRegistryVulnerabilityProperties) AdditionalData() BaseAdditionalDataImpl + func (s ContainerRegistryVulnerabilityProperties) MarshalJSON() ([]byte, error) + type GetOperationResponse struct + HttpResponse *http.Response + Model *SecuritySubAssessment + OData *odata.OData + type ListAllCompleteResult struct + Items []SecuritySubAssessment + LatestHttpResponse *http.Response + type ListAllCustomPager struct + NextLink *odata.Link + func (p *ListAllCustomPager) NextPageLink() *odata.Link + type ListAllOperationResponse struct + HttpResponse *http.Response + Model *[]SecuritySubAssessment + OData *odata.OData + type ListCompleteResult struct + Items []SecuritySubAssessment + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]SecuritySubAssessment + OData *odata.OData + type OnPremiseResourceDetails struct + MachineName string + Source Source + SourceComputerId string + VMuuid string + WorkspaceId string + func (s OnPremiseResourceDetails) MarshalJSON() ([]byte, error) + func (s OnPremiseResourceDetails) ResourceDetails() BaseResourceDetailsImpl + type RawAdditionalDataImpl struct + Type string + Values map[string]interface{} + func (s RawAdditionalDataImpl) AdditionalData() BaseAdditionalDataImpl + type RawResourceDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawResourceDetailsImpl) ResourceDetails() BaseResourceDetailsImpl + type ResourceDetails interface + ResourceDetails func() BaseResourceDetailsImpl + func UnmarshalResourceDetailsImplementation(input []byte) (ResourceDetails, error) + type ScopedAssessmentId struct + AssessmentName string + ResourceId string + func NewScopedAssessmentID(resourceId string, assessmentName string) ScopedAssessmentId + func ParseScopedAssessmentID(input string) (*ScopedAssessmentId, error) + func ParseScopedAssessmentIDInsensitively(input string) (*ScopedAssessmentId, error) + func (id *ScopedAssessmentId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedAssessmentId) ID() string + func (id ScopedAssessmentId) Segments() []resourceids.Segment + func (id ScopedAssessmentId) String() string + type ScopedSubAssessmentId struct + AssessmentName string + Scope string + SubAssessmentName string + func NewScopedSubAssessmentID(scope string, assessmentName string, subAssessmentName string) ScopedSubAssessmentId + func ParseScopedSubAssessmentID(input string) (*ScopedSubAssessmentId, error) + func ParseScopedSubAssessmentIDInsensitively(input string) (*ScopedSubAssessmentId, error) + func (id *ScopedSubAssessmentId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedSubAssessmentId) ID() string + func (id ScopedSubAssessmentId) Segments() []resourceids.Segment + func (id ScopedSubAssessmentId) String() string + type SecuritySubAssessment struct + Id *string + Name *string + Properties *SecuritySubAssessmentProperties + Type *string + type SecuritySubAssessmentOperationPredicate struct + Id *string + Name *string + Type *string + func (p SecuritySubAssessmentOperationPredicate) Matches(input SecuritySubAssessment) bool + type SecuritySubAssessmentProperties struct + AdditionalData AdditionalData + Category *string + Description *string + DisplayName *string + Id *string + Impact *string + Remediation *string + ResourceDetails ResourceDetails + Status *SubAssessmentStatus + TimeGenerated *string + func (o *SecuritySubAssessmentProperties) GetTimeGeneratedAsTime() (*time.Time, error) + func (o *SecuritySubAssessmentProperties) SetTimeGeneratedAsTime(input time.Time) + func (s *SecuritySubAssessmentProperties) UnmarshalJSON(bytes []byte) error + type ServerVulnerabilityProperties struct + AssessedResourceType AssessedResourceType + Cve *[]CVE + Cvss *map[string]CVSS + Patchable *bool + PublishedTime *string + Threat *string + Type *string + VendorReferences *[]VendorReference + func (s ServerVulnerabilityProperties) AdditionalData() BaseAdditionalDataImpl + func (s ServerVulnerabilityProperties) MarshalJSON() ([]byte, error) + type Severity string + const SeverityHigh + const SeverityLow + const SeverityMedium + func (s *Severity) UnmarshalJSON(bytes []byte) error + type Source string + const SourceAzure + const SourceOnPremise + const SourceOnPremiseSql + func (s *Source) UnmarshalJSON(bytes []byte) error + type SqlServerVulnerabilityProperties struct + AssessedResourceType AssessedResourceType + Query *string + Type *string + func (s SqlServerVulnerabilityProperties) AdditionalData() BaseAdditionalDataImpl + func (s SqlServerVulnerabilityProperties) MarshalJSON() ([]byte, error) + type SubAssessmentStatus struct + Cause *string + Code *SubAssessmentStatusCode + Description *string + Severity *Severity + type SubAssessmentStatusCode string + const SubAssessmentStatusCodeHealthy + const SubAssessmentStatusCodeNotApplicable + const SubAssessmentStatusCodeUnhealthy + func (s *SubAssessmentStatusCode) UnmarshalJSON(bytes []byte) error + type SubAssessmentsClient struct + Client *resourcemanager.Client + func NewSubAssessmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*SubAssessmentsClient, error) + func (c SubAssessmentsClient) Get(ctx context.Context, id ScopedSubAssessmentId) (result GetOperationResponse, err error) + func (c SubAssessmentsClient) List(ctx context.Context, id ScopedAssessmentId) (result ListOperationResponse, err error) + func (c SubAssessmentsClient) ListAll(ctx context.Context, id commonids.ScopeId) (result ListAllOperationResponse, err error) + func (c SubAssessmentsClient) ListAllComplete(ctx context.Context, id commonids.ScopeId) (ListAllCompleteResult, error) + func (c SubAssessmentsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListAllCompleteResult, err error) + func (c SubAssessmentsClient) ListComplete(ctx context.Context, id ScopedAssessmentId) (ListCompleteResult, error) + func (c SubAssessmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedAssessmentId, ...) (result ListCompleteResult, err error) + type VendorReference struct + Link *string + Title *string