Documentation
¶
Index ¶
- type AWSDiscovery
- func (a *AWSDiscovery) DiscoverCloudFront(ctx context.Context, domain string) ([]CloudFrontDistribution, error)
- func (a *AWSDiscovery) DiscoverEC2Metadata(ctx context.Context, urls []string) ([]EC2MetadataExposure, error)
- func (a *AWSDiscovery) DiscoverElasticBeanstalk(ctx context.Context, domain string) ([]ElasticBeanstalkApp, error)
- func (a *AWSDiscovery) DiscoverLambdaFunctions(ctx context.Context, domain string) ([]LambdaFunction, error)
- func (a *AWSDiscovery) DiscoverS3Buckets(ctx context.Context, domain string) ([]S3Bucket, error)
- type AppEngineApp
- type AzureApp
- type AzureDiscovery
- func (a *AzureDiscovery) DiscoverAzureApps(ctx context.Context, domain string) ([]AzureApp, error)
- func (a *AzureDiscovery) DiscoverAzureContainerRegistry(ctx context.Context, domain string) ([]ContainerRegistry, error)
- func (a *AzureDiscovery) DiscoverAzureFunctions(ctx context.Context, domain string) ([]AzureFunction, error)
- func (a *AzureDiscovery) DiscoverBlobContainers(ctx context.Context, domain string) ([]BlobContainer, error)
- func (a *AzureDiscovery) DiscoverKeyVaults(ctx context.Context, domain string) ([]KeyVault, error)
- type AzureFunction
- type BigQueryDataset
- type BlobContainer
- type BlobItem
- type CloudBuildConfig
- type CloudFrontDistribution
- type CloudFunction
- type CloudRunService
- type CloudSQLInstance
- type ComputeInstance
- type ContainerRegistry
- type EC2MetadataExposure
- type ElasticBeanstalkApp
- type FirebaseApp
- type GCPAPIEndpoint
- type GCPAssets
- type GCPDiscovery
- func (g *GCPDiscovery) DiscoverAll(ctx context.Context, domain string, urls []string) (*GCPAssets, error)
- func (g *GCPDiscovery) DiscoverAppEngine(ctx context.Context, domain string) ([]AppEngineApp, error)
- func (g *GCPDiscovery) DiscoverBigQueryDatasets(ctx context.Context, domain string) ([]BigQueryDataset, error)
- func (g *GCPDiscovery) DiscoverCloudBuild(ctx context.Context, domain string) ([]CloudBuildConfig, error)
- func (g *GCPDiscovery) DiscoverCloudFunctions(ctx context.Context, domain string) ([]CloudFunction, error)
- func (g *GCPDiscovery) DiscoverCloudRun(ctx context.Context, domain string) ([]CloudRunService, error)
- func (g *GCPDiscovery) DiscoverCloudSQL(ctx context.Context, domain string) ([]CloudSQLInstance, error)
- func (g *GCPDiscovery) DiscoverComputeEngine(ctx context.Context, domain string) ([]ComputeInstance, error)
- func (g *GCPDiscovery) DiscoverFirebaseApps(ctx context.Context, domain string) ([]FirebaseApp, error)
- func (g *GCPDiscovery) DiscoverGCPAPIs(ctx context.Context, domain string) ([]GCPAPIEndpoint, error)
- func (g *GCPDiscovery) DiscoverGCPMetadata(ctx context.Context, urls []string) ([]GCPMetadataExposure, error)
- func (g *GCPDiscovery) DiscoverGCPSecrets(ctx context.Context, domain string) ([]GCPSecret, error)
- func (g *GCPDiscovery) DiscoverGCSBuckets(ctx context.Context, domain string) ([]GCSBucket, error)
- func (g *GCPDiscovery) DiscoverGKEClusters(ctx context.Context, domain string) ([]GKECluster, error)
- func (g *GCPDiscovery) DiscoverProjectIDs(ctx context.Context, domain string) ([]string, error)
- func (g *GCPDiscovery) DiscoverPubSubTopics(ctx context.Context, domain string) ([]PubSubTopic, error)
- func (g *GCPDiscovery) DiscoverServiceAccounts(ctx context.Context, domain string) ([]ServiceAccount, error)
- func (g *GCPDiscovery) DiscoverSourceRepositories(ctx context.Context, domain string) ([]SourceRepository, error)
- type GCPMetadataExposure
- type GCPSecret
- type GCSBucket
- type GCSObject
- type GKECluster
- type KeyVault
- type LambdaFunction
- type PubSubTopic
- type S3Bucket
- type S3Object
- type ServiceAccount
- type SourceRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSDiscovery ¶
type AWSDiscovery struct {
// contains filtered or unexported fields
}
AWSDiscovery discovers AWS assets
func NewAWSDiscovery ¶
func NewAWSDiscovery(logger *logger.Logger) *AWSDiscovery
NewAWSDiscovery creates a new AWS discovery client
func (*AWSDiscovery) DiscoverCloudFront ¶
func (a *AWSDiscovery) DiscoverCloudFront(ctx context.Context, domain string) ([]CloudFrontDistribution, error)
DiscoverCloudFront discovers CloudFront distributions
func (*AWSDiscovery) DiscoverEC2Metadata ¶
func (a *AWSDiscovery) DiscoverEC2Metadata(ctx context.Context, urls []string) ([]EC2MetadataExposure, error)
DiscoverEC2Metadata attempts to find exposed EC2 metadata
func (*AWSDiscovery) DiscoverElasticBeanstalk ¶
func (a *AWSDiscovery) DiscoverElasticBeanstalk(ctx context.Context, domain string) ([]ElasticBeanstalkApp, error)
DiscoverElasticBeanstalk discovers Elastic Beanstalk applications
func (*AWSDiscovery) DiscoverLambdaFunctions ¶
func (a *AWSDiscovery) DiscoverLambdaFunctions(ctx context.Context, domain string) ([]LambdaFunction, error)
DiscoverLambdaFunctions attempts to discover Lambda function URLs
func (*AWSDiscovery) DiscoverS3Buckets ¶
DiscoverS3Buckets discovers S3 buckets for a domain
type AppEngineApp ¶
AppEngineApp represents a Google App Engine application
type AzureDiscovery ¶
type AzureDiscovery struct {
// contains filtered or unexported fields
}
AzureDiscovery discovers Azure assets
func NewAzureDiscovery ¶
func NewAzureDiscovery(logger *logger.Logger) *AzureDiscovery
NewAzureDiscovery creates a new Azure discovery client
func (*AzureDiscovery) DiscoverAzureApps ¶
DiscoverAzureApps discovers Azure App Service applications
func (*AzureDiscovery) DiscoverAzureContainerRegistry ¶
func (a *AzureDiscovery) DiscoverAzureContainerRegistry(ctx context.Context, domain string) ([]ContainerRegistry, error)
DiscoverAzureContainerRegistry discovers Azure Container Registry repositories
func (*AzureDiscovery) DiscoverAzureFunctions ¶
func (a *AzureDiscovery) DiscoverAzureFunctions(ctx context.Context, domain string) ([]AzureFunction, error)
DiscoverAzureFunctions discovers Azure Functions
func (*AzureDiscovery) DiscoverBlobContainers ¶
func (a *AzureDiscovery) DiscoverBlobContainers(ctx context.Context, domain string) ([]BlobContainer, error)
DiscoverBlobContainers discovers Azure Blob Storage containers
func (*AzureDiscovery) DiscoverKeyVaults ¶
DiscoverKeyVaults attempts to discover Azure Key Vaults
type AzureFunction ¶
AzureFunction represents an Azure Function app
type BigQueryDataset ¶
BigQueryDataset represents a BigQuery dataset
type BlobContainer ¶
type BlobContainer struct { AccountName string ContainerName string URL string IsPublic bool Exists bool HasListing bool Blobs []BlobItem }
BlobContainer represents an Azure Blob Storage container
type CloudBuildConfig ¶
CloudBuildConfig represents a Cloud Build configuration
type CloudFrontDistribution ¶
CloudFrontDistribution represents a CloudFront distribution
type CloudFunction ¶
CloudFunction represents a Google Cloud Function
type CloudRunService ¶
CloudRunService represents a Cloud Run service
type CloudSQLInstance ¶
CloudSQLInstance represents a Cloud SQL instance
type ComputeInstance ¶
ComputeInstance represents a Compute Engine instance
type ContainerRegistry ¶
type ContainerRegistry struct { Name string URL string Exists bool IsPublic bool Repositories []string }
ContainerRegistry represents an Azure Container Registry
type EC2MetadataExposure ¶
EC2MetadataExposure represents exposed EC2 metadata
type ElasticBeanstalkApp ¶
ElasticBeanstalkApp represents an Elastic Beanstalk application
type FirebaseApp ¶
FirebaseApp represents a Firebase application
type GCPAPIEndpoint ¶
GCPAPIEndpoint represents a GCP API endpoint
type GCPAssets ¶
type GCPAssets struct { ProjectIDs []string GCSBuckets []GCSBucket AppEngineApps []AppEngineApp CloudRunServices []CloudRunService CloudFunctions []CloudFunction FirebaseApps []FirebaseApp BigQueryDatasets []BigQueryDataset ComputeInstances []ComputeInstance GKEClusters []GKECluster PubSubTopics []PubSubTopic CloudSQLInstances []CloudSQLInstance CloudBuildConfigs []CloudBuildConfig SourceRepositories []SourceRepository MetadataExposures []GCPMetadataExposure APIEndpoints []GCPAPIEndpoint Secrets []GCPSecret ServiceAccounts []ServiceAccount }
GCPAssets represents all discovered GCP assets
type GCPDiscovery ¶
type GCPDiscovery struct {
// contains filtered or unexported fields
}
GCPDiscovery discovers Google Cloud Platform assets
func NewGCPDiscovery ¶
func NewGCPDiscovery(logger *logger.Logger) *GCPDiscovery
NewGCPDiscovery creates a new GCP discovery client
func (*GCPDiscovery) DiscoverAll ¶
func (g *GCPDiscovery) DiscoverAll(ctx context.Context, domain string, urls []string) (*GCPAssets, error)
DiscoverAll performs comprehensive GCP asset discovery
func (*GCPDiscovery) DiscoverAppEngine ¶
func (g *GCPDiscovery) DiscoverAppEngine(ctx context.Context, domain string) ([]AppEngineApp, error)
DiscoverAppEngine discovers Google App Engine applications
func (*GCPDiscovery) DiscoverBigQueryDatasets ¶
func (g *GCPDiscovery) DiscoverBigQueryDatasets(ctx context.Context, domain string) ([]BigQueryDataset, error)
DiscoverBigQueryDatasets attempts to discover BigQuery datasets
func (*GCPDiscovery) DiscoverCloudBuild ¶
func (g *GCPDiscovery) DiscoverCloudBuild(ctx context.Context, domain string) ([]CloudBuildConfig, error)
DiscoverCloudBuild discovers Cloud Build configurations
func (*GCPDiscovery) DiscoverCloudFunctions ¶
func (g *GCPDiscovery) DiscoverCloudFunctions(ctx context.Context, domain string) ([]CloudFunction, error)
DiscoverCloudFunctions discovers Google Cloud Functions
func (*GCPDiscovery) DiscoverCloudRun ¶
func (g *GCPDiscovery) DiscoverCloudRun(ctx context.Context, domain string) ([]CloudRunService, error)
DiscoverCloudRun discovers Cloud Run services
func (*GCPDiscovery) DiscoverCloudSQL ¶
func (g *GCPDiscovery) DiscoverCloudSQL(ctx context.Context, domain string) ([]CloudSQLInstance, error)
DiscoverCloudSQL discovers Cloud SQL instances
func (*GCPDiscovery) DiscoverComputeEngine ¶
func (g *GCPDiscovery) DiscoverComputeEngine(ctx context.Context, domain string) ([]ComputeInstance, error)
DiscoverComputeEngine discovers Compute Engine instances
func (*GCPDiscovery) DiscoverFirebaseApps ¶
func (g *GCPDiscovery) DiscoverFirebaseApps(ctx context.Context, domain string) ([]FirebaseApp, error)
DiscoverFirebaseApps discovers Firebase applications
func (*GCPDiscovery) DiscoverGCPAPIs ¶
func (g *GCPDiscovery) DiscoverGCPAPIs(ctx context.Context, domain string) ([]GCPAPIEndpoint, error)
DiscoverGCPAPIs attempts to discover exposed GCP APIs
func (*GCPDiscovery) DiscoverGCPMetadata ¶
func (g *GCPDiscovery) DiscoverGCPMetadata(ctx context.Context, urls []string) ([]GCPMetadataExposure, error)
DiscoverGCPMetadata attempts to find exposed GCP metadata
func (*GCPDiscovery) DiscoverGCPSecrets ¶
DiscoverGCPSecrets attempts to discover Secret Manager secrets
func (*GCPDiscovery) DiscoverGCSBuckets ¶
DiscoverGCSBuckets discovers Google Cloud Storage buckets
func (*GCPDiscovery) DiscoverGKEClusters ¶
func (g *GCPDiscovery) DiscoverGKEClusters(ctx context.Context, domain string) ([]GKECluster, error)
DiscoverGKEClusters discovers Google Kubernetes Engine clusters
func (*GCPDiscovery) DiscoverProjectIDs ¶
DiscoverProjectIDs attempts to discover GCP project IDs through various methods
func (*GCPDiscovery) DiscoverPubSubTopics ¶
func (g *GCPDiscovery) DiscoverPubSubTopics(ctx context.Context, domain string) ([]PubSubTopic, error)
DiscoverPubSubTopics discovers Pub/Sub topics
func (*GCPDiscovery) DiscoverServiceAccounts ¶
func (g *GCPDiscovery) DiscoverServiceAccounts(ctx context.Context, domain string) ([]ServiceAccount, error)
DiscoverServiceAccounts attempts to discover GCP service accounts
func (*GCPDiscovery) DiscoverSourceRepositories ¶
func (g *GCPDiscovery) DiscoverSourceRepositories(ctx context.Context, domain string) ([]SourceRepository, error)
DiscoverSourceRepositories discovers Cloud Source Repositories
type GCPMetadataExposure ¶
GCPMetadataExposure represents exposed GCP metadata
type GCSBucket ¶
type GCSBucket struct { Name string URL string IsPublic bool Exists bool HasListing bool Objects []GCSObject }
GCSBucket represents a Google Cloud Storage bucket
type GKECluster ¶
GKECluster represents a Google Kubernetes Engine cluster
type LambdaFunction ¶
LambdaFunction represents a Lambda function
type PubSubTopic ¶
PubSubTopic represents a Pub/Sub topic
type S3Bucket ¶
type S3Bucket struct { Name string Region string URL string IsPublic bool Exists bool HasListing bool Objects []S3Object }
S3Bucket represents an S3 bucket
type ServiceAccount ¶
ServiceAccount represents a GCP service account
type SourceRepository ¶
SourceRepository represents a Cloud Source Repository