Documentation ¶
Index ¶
- func PossibleValuesForRuleSeverity() []string
- func PossibleValuesForRuleStatus() []string
- func PossibleValuesForRuleType() []string
- func ValidateScanScanResultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
- type Baseline
- type BaselineAdjustedResult
- type BenchmarkReference
- type DatabaseSqlVulnerabilityAssessmentScanResultClient
- func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) Get(ctx context.Context, id ScanScanResultId) (result GetOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScan(ctx context.Context, ...) (result ListByScanOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanComplete(ctx context.Context, ...) (ListByScanCompleteResult, error)
- func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanCompleteMatchingPredicate(ctx context.Context, ...) (result ListByScanCompleteResult, err error)
- type GetOperationResponse
- type ListByScanCompleteResult
- type ListByScanOperationResponse
- type QueryCheck
- type Remediation
- type RuleSeverity
- type RuleStatus
- type RuleType
- type ScanScanResultId
- type SqlVulnerabilityAssessmentScanResultProperties
- type SqlVulnerabilityAssessmentScanResults
- type SqlVulnerabilityAssessmentScanResultsOperationPredicate
- type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
- func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, ...) SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
- func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- func (id *SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult(input resourceids.ParseResult) error
- func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) ID() string
- func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments() []resourceids.Segment
- func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) String() string
- type VaRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRuleSeverity ¶
func PossibleValuesForRuleSeverity() []string
func PossibleValuesForRuleStatus ¶
func PossibleValuesForRuleStatus() []string
func PossibleValuesForRuleType ¶
func PossibleValuesForRuleType() []string
func ValidateScanScanResultID ¶
ValidateScanScanResultID checks that 'input' can be parsed as a Scan Scan Result ID
func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID checks that 'input' can be parsed as a Sql Vulnerability Assessment Vulnerability Assessment Scan ID
Types ¶
type Baseline ¶
type Baseline struct { ExpectedResults *[][]string `json:"expectedResults,omitempty"` UpdatedTime *string `json:"updatedTime,omitempty"` }
func (*Baseline) GetUpdatedTimeAsTime ¶
func (*Baseline) SetUpdatedTimeAsTime ¶
type BaselineAdjustedResult ¶
type BaselineAdjustedResult struct { Baseline *Baseline `json:"baseline,omitempty"` ResultsNotInBaseline *[][]string `json:"resultsNotInBaseline,omitempty"` ResultsOnlyInBaseline *[][]string `json:"resultsOnlyInBaseline,omitempty"` Status *RuleStatus `json:"status,omitempty"` }
type BenchmarkReference ¶
type DatabaseSqlVulnerabilityAssessmentScanResultClient ¶
type DatabaseSqlVulnerabilityAssessmentScanResultClient struct {
Client *resourcemanager.Client
}
func NewDatabaseSqlVulnerabilityAssessmentScanResultClientWithBaseURI ¶
func NewDatabaseSqlVulnerabilityAssessmentScanResultClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseSqlVulnerabilityAssessmentScanResultClient, error)
func (DatabaseSqlVulnerabilityAssessmentScanResultClient) Get ¶
func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) Get(ctx context.Context, id ScanScanResultId) (result GetOperationResponse, err error)
Get ...
func (DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScan ¶
func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScan(ctx context.Context, id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) (result ListByScanOperationResponse, err error)
ListByScan ...
func (DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanComplete ¶
func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanComplete(ctx context.Context, id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) (ListByScanCompleteResult, error)
ListByScanComplete retrieves all the results into a single object
func (DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanCompleteMatchingPredicate ¶
func (c DatabaseSqlVulnerabilityAssessmentScanResultClient) ListByScanCompleteMatchingPredicate(ctx context.Context, id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, predicate SqlVulnerabilityAssessmentScanResultsOperationPredicate) (result ListByScanCompleteResult, err error)
ListByScanCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlVulnerabilityAssessmentScanResults }
type ListByScanCompleteResult ¶
type ListByScanCompleteResult struct {
Items []SqlVulnerabilityAssessmentScanResults
}
type ListByScanOperationResponse ¶
type ListByScanOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SqlVulnerabilityAssessmentScanResults }
type QueryCheck ¶
type Remediation ¶
type RuleSeverity ¶
type RuleSeverity string
const ( RuleSeverityHigh RuleSeverity = "High" RuleSeverityInformational RuleSeverity = "Informational" RuleSeverityLow RuleSeverity = "Low" RuleSeverityMedium RuleSeverity = "Medium" RuleSeverityObsolete RuleSeverity = "Obsolete" )
func (*RuleSeverity) UnmarshalJSON ¶
func (s *RuleSeverity) UnmarshalJSON(bytes []byte) error
type RuleStatus ¶
type RuleStatus string
const ( RuleStatusFinding RuleStatus = "Finding" RuleStatusInternalError RuleStatus = "InternalError" RuleStatusNonFinding RuleStatus = "NonFinding" )
func (*RuleStatus) UnmarshalJSON ¶
func (s *RuleStatus) UnmarshalJSON(bytes []byte) error
type ScanScanResultId ¶
type ScanScanResultId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ScanId string ScanResultId string }
ScanScanResultId is a struct representing the Resource ID for a Scan Scan Result
func NewScanScanResultID ¶
func NewScanScanResultID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, scanId string, scanResultId string) ScanScanResultId
NewScanScanResultID returns a new ScanScanResultId struct
func ParseScanScanResultID ¶
func ParseScanScanResultID(input string) (*ScanScanResultId, error)
ParseScanScanResultID parses 'input' into a ScanScanResultId
func ParseScanScanResultIDInsensitively ¶
func ParseScanScanResultIDInsensitively(input string) (*ScanScanResultId, error)
ParseScanScanResultIDInsensitively parses 'input' case-insensitively into a ScanScanResultId note: this method should only be used for API response data and not user input
func (*ScanScanResultId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScanScanResultId) FromParseResult(input resourceids.ParseResult) error
func (ScanScanResultId) ID ¶
func (id ScanScanResultId) ID() string
ID returns the formatted Scan Scan Result ID
func (ScanScanResultId) Segments ¶
func (id ScanScanResultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scan Scan Result ID
func (ScanScanResultId) String ¶
func (id ScanScanResultId) String() string
String returns a human-readable description of this Scan Scan Result ID
type SqlVulnerabilityAssessmentScanResultProperties ¶
type SqlVulnerabilityAssessmentScanResultProperties struct { BaselineAdjustedResult *BaselineAdjustedResult `json:"baselineAdjustedResult,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` IsTrimmed *bool `json:"isTrimmed,omitempty"` QueryResults *[][]string `json:"queryResults,omitempty"` Remediation *Remediation `json:"remediation,omitempty"` RuleId *string `json:"ruleId,omitempty"` RuleMetadata *VaRule `json:"ruleMetadata,omitempty"` Status *RuleStatus `json:"status,omitempty"` }
type SqlVulnerabilityAssessmentScanResults ¶
type SqlVulnerabilityAssessmentScanResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlVulnerabilityAssessmentScanResultProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SqlVulnerabilityAssessmentScanResultsOperationPredicate ¶
type SqlVulnerabilityAssessmentScanResultsOperationPredicate struct { Id *string Name *string Type *string }
func (SqlVulnerabilityAssessmentScanResultsOperationPredicate) Matches ¶
func (p SqlVulnerabilityAssessmentScanResultsOperationPredicate) Matches(input SqlVulnerabilityAssessmentScanResults) bool
type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId ¶
type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ScanId string }
SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId is a struct representing the Resource ID for a Sql Vulnerability Assessment Vulnerability Assessment Scan
func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, scanId string) SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID returns a new SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId struct
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID parses 'input' into a SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively ¶
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively parses 'input' case-insensitively into a SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId note: this method should only be used for API response data and not user input
func (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult(input resourceids.ParseResult) error
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) ID ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) ID() string
ID returns the formatted Sql Vulnerability Assessment Vulnerability Assessment Scan ID
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Vulnerability Assessment Vulnerability Assessment Scan ID
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) String ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) String() string
String returns a human-readable description of this Sql Vulnerability Assessment Vulnerability Assessment Scan ID
type VaRule ¶
type VaRule struct { BenchmarkReferences *[]BenchmarkReference `json:"benchmarkReferences,omitempty"` Category *string `json:"category,omitempty"` Description *string `json:"description,omitempty"` QueryCheck *QueryCheck `json:"queryCheck,omitempty"` Rationale *string `json:"rationale,omitempty"` RuleId *string `json:"ruleId,omitempty"` RuleType *RuleType `json:"ruleType,omitempty"` Severity *RuleSeverity `json:"severity,omitempty"` Title *string `json:"title,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_scanscanresult.go
- id_sqlvulnerabilityassessmentvulnerabilityassessmentscan.go
- method_get.go
- method_listbyscan.go
- model_baseline.go
- model_baselineadjustedresult.go
- model_benchmarkreference.go
- model_querycheck.go
- model_remediation.go
- model_sqlvulnerabilityassessmentscanresultproperties.go
- model_sqlvulnerabilityassessmentscanresults.go
- model_varule.go
- predicates.go
- version.go