internal

package
v0.0.0-...-1a5cf3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AprlScanner

type AprlScanner struct{}

func (AprlScanner) GetAprlRecommendations

func (sc AprlScanner) GetAprlRecommendations() map[string]map[string]azqr.AprlRecommendation

GetAprlRecommendations returns a map with all APRL recommendations

func (AprlScanner) Scan

func (sc AprlScanner) Scan(ctx context.Context, cred azcore.TokenCredential, serviceScanners []azqr.IAzureScanner, filters *azqr.Filters, subscriptions map[string]string) (map[string]map[string]azqr.AprlRecommendation, []azqr.AprlResult)

AprlScan scans Azure resources using Azure Proactive Resiliency Library v2 (APRL)

type ScanParams

type ScanParams struct {
	SubscriptionID          string
	ResourceGroup           string
	OutputName              string
	Defender                bool
	Advisor                 bool
	Cost                    bool
	Mask                    bool
	Csv                     bool
	Json                    bool
	Debug                   bool
	ServiceScanners         []azqr.IAzureScanner
	ForceAzureCliCredential bool
	FilterFile              string
	UseAzqrRecommendations  bool
	UseAprlRecommendations  bool
}

type Scanner

type Scanner struct{}

func (Scanner) Scan

func (sc Scanner) Scan(params *ScanParams)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL