Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string Build string )
Variables to identify the build
Functions ¶
This section is empty.
Types ¶
type AwsScanner ¶
type AwsScanner struct {
// contains filtered or unexported fields
}
AwsScanner is struct for cloud scanner of Amazon Web Services
func (AwsScanner) GetProviderName ¶
func (a AwsScanner) GetProviderName() (cloudProviderName string)
GetProviderName returns the given Cloud Provider's name for the scanner
type AzureScanner ¶
type AzureScanner struct {
}
AzureScanner is struct for cloud scanner of Azure
func (AzureScanner) GetProviderName ¶
func (a AzureScanner) GetProviderName() (cloudProviderName string)
GetProviderName returns the given Cloud Provider's name for the scanner
type Bucket ¶
type Bucket struct {
Provider string `json:"provider"`
Name string `json:"name"`
Scanned time.Time `json:"scanned"`
URI string `json:"uri"`
State BucketState `json:"state"`
NoFiles int64 `json:"noFiles"`
TotalSize int64 `json:"totalSize"`
Files []file `json:"files"`
// contains filtered or unexported fields
}
Bucket structure is the results of a given bucket including its meta-data
type BucketState ¶
type BucketState int
BucketState denotes an integer defining its given state
const ( Unknown BucketState = iota Invalid // Bucket does not exists e.g. 404 Not Found Private // Bucket exists but is not accessible e.g. 403 Forbidden Public // Bucket exists and is available e.g. 200 OK RateLimited // Unable to determine due to rate limiting e.g. 503 Slow Down )
Bucket states
type Contents ¶
type Contents struct {
XMLName xml.Name `xml:"Contents"`
Key string
LastModified string
Etag string `xml:"ETag"`
Size int
StorageClass string
}
Contents are the XML contents of the bucket (one per file)
type GcpScanner ¶
type GcpScanner struct {
}
GcpScanner is struct for cloud scanner of Google Cloud Platform
func (GcpScanner) GetProviderName ¶
func (g GcpScanner) GetProviderName() (cloudProviderName string)
GetProviderName returns the given Cloud Provider's name for the scanner
Click to show internal directories.
Click to hide internal directories.