Versions in this module Expand all Collapse all v0 v0.10.0 Oct 31, 2023 Changes in this version + func GetAttackFlowCache(cloudID, resourceName string) (*datasource.Resource, error) + func GetCodeRepositoryNode(repository, service string) *datasource.Resource + func GetEdge(source, target, edgeLabel string) *datasource.ResourceRelationship + func GetExternalServiceNode(target string) *datasource.Resource + func GetInternalServiceNode(target, region string) *datasource.Resource + func ParseMetadata(metadata interface{}) (string, error) + func SetAttackFlowCache(cloudID, resourceName string, data *datasource.Resource) error + func SetNode(isPublic bool, internetEdgeLabel string, resource *datasource.Resource, ...) *datasource.AnalyzeAttackFlowResponse v0.9.0 Aug 9, 2023 Changes in this version + const ATTACK_FLOW_CACHE_EXPIRE_SEC + const ATTACK_FLOW_CACHE_KEY_FORMAT + const ATTACK_FLOW_CACHE_SIZE + const CLOUD_TYPE_AWS + const LAYER_CDN + const LAYER_CODE_REPOSITORY + const LAYER_COMPUTE + const LAYER_DATASTORE + const LAYER_EXTERNAL_SERVICE + const LAYER_GATEWAY + const LAYER_INTERNAL_SERVICE + const LAYER_INTERNET + const LAYER_LATERAL_MOVEMENT + const LAYER_LB + const MAX_ANALYZE_NUM + const MAX_RETRY + const REGION_GLOBAL + const REGION_US_EAST_1 + const RESOURCE_INTERNET + const RETRY_MAX_ATTEMPT + const SERVICE_API_GATEWAY + const SERVICE_APP_RUNNER + const SERVICE_CLOUDFRONT + const SERVICE_EC2 + const SERVICE_ECR + const SERVICE_ECR_PUBLIC + const SERVICE_ELB + const SERVICE_EVENT_BRIDGE + const SERVICE_IAM + const SERVICE_LAMBDA + const SERVICE_S3 + const SERVICE_SNS + const SERVICE_SQS + type AWS struct + func (a *AWS) GetInitialServiceAnalyzer(ctx context.Context, req *datasource.AnalyzeAttackFlowRequest) (CloudServiceAnalyzer, error) + type CSP interface + GetInitialServiceAnalyzer func(ctx context.Context, req *datasource.AnalyzeAttackFlowRequest) (CloudServiceAnalyzer, error) + func NewAWS(ctx context.Context, req *datasource.AnalyzeAttackFlowRequest, ...) (CSP, error) + type CloudFrontMetadata struct + Aliases []string + DefaultRootObject string + Description string + DistributionID string + DomainName string + Enabled bool + GeoRestriction []string + Logging string + Origins []*origin + Status string + WebACLId string + type CloudServiceAnalyzer interface + Analyze func(ctx context.Context, resp *datasource.AnalyzeAttackFlowResponse) (*datasource.AnalyzeAttackFlowResponse, error) + Next func(ctx context.Context, resp *datasource.AnalyzeAttackFlowResponse) (*datasource.AnalyzeAttackFlowResponse, []CloudServiceAnalyzer, error) + type S3Metadata struct + Encryption string + EventBridgeConfiguration string + IsPublic bool + LambdaConfiguration []string + SNSConfiguration []string + SQSConfiguration []string + Versioning bool + type SnsSubscription struct + Endpoint string + Owner string + Protocol string + SubscriptionArn string