common

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// TagPublic
	TagPublicFacing = "public-facing"

	// TagAWS aws tag
	TagAWS = "aws"
	// TagGuardduty guard-duty tag
	TagGuardduty = "guard-duty"
	// TagAccessAnalyzer access-analyzer tag
	TagAccessAnalyzer = "access-analyzer"
	// TagAdminChecker admin-checker tag
	TagAdminChecker = "admin-checker"
	// TagCloudsploit cloudsploit tag
	TagCloudsploit = "cloudsploit"
	// TagPortscan portscan tag
	TagPortscan = "portscan"

	// TagUnknown unknown service tag
	TagUnknown = "unknown-aws-service"
	// TagEC2 ec2 tag
	TagEC2 = "ec2"
	// TagIAM iam tag
	TagIAM = "iam"
	// TagS3 s3 tag
	TagS3 = "s3"
	// TagSQS sqs tag
	TagSQS = "sqs"
	// TagLambda lambda tag
	TagLambda = "lambda"
	// TagKMS kms tag
	TagKMS = "kms"
	// TagACM acm tag
	TagACM = "acm"
	// TagAPIGateway apigateway tag
	TagAPIGateway = "apigateway"
	// TagAthena athena tag
	TagAthena = "athena"
	// TagAutoScaling autoscaling tag
	TagAutoScaling = "autoscaling"
	// TagCloudFormation cloudformation tag
	TagCloudFormation = "cloudformation"
	// TagCloudFront cloudfront tag
	TagCloudFront = "cloudfront"
	// TagCloudTrail cloudtrail tag
	TagCloudTrail = "cloudtrail"
	// TagCloudWatchLogs cloudwatchlogs tag
	TagCloudWatchLogs = "cloudwatchlogs"
	// TagComprehend comprehend tag
	TagComprehend = "comprehend"
	// TagConfigService configservice tag
	TagConfigService = "configservice"
	// TagDMS dms tag
	TagDMS = "dms"
	// TagDynamoDB dynamodb tag
	TagDynamoDB = "dynamodb"
	// TagECR ecr tag
	TagECR = "ecr"
	// TagEFS efs tag
	TagEFS = "efs"
	// TagEKS eks tag
	TagEKS = "eks"
	// TagElasticBeanstalk elasticbeanstalk tag
	TagElasticBeanstalk = "elasticbeanstalk"
	// TagELB elb tag
	TagELB = "elb"
	// TagELBv2 elbv2 tag
	TagELBv2 = "elbv2"
	// TagEMR emr tag
	TagEMR = "emr"
	// TagES es tag
	TagES = "es"
	// TagFirehose firehose tag
	TagFirehose = "firehose"
	// TagGuardDuty guardduty tag
	TagGuardDuty = "guardduty"
	// TagKinesis kinesis tag
	TagKinesis = "kinesis"
	// TagOrganizations organizations tag
	TagOrganizations = "organizations"
	// TagRDS rds tag
	TagRDS = "rds"
	// TagRedshift redshift tag
	TagRedshift = "redshift"
	// TagRoute53 route53 tag
	TagRoute53 = "route53"
	// TagSageMaker sagemaker tag
	TagSageMaker = "sagemaker"
	// TagSES ses tag
	TagSES = "ses"
	// TagShield shield tag
	TagShield = "shield"
	// TagSNS sns tag
	TagSNS = "sns"
	// TagSSM ssm tag
	TagSSM = "ssm"
	// TagTransfer transfer tag
	TagTransfer = "transfer"
	// TagXRay xray tag
	TagXRay = "xray"
	// TagVPC vpc tag
	TagVPC = "vpc"
)

Variables

This section is empty.

Functions

func GetAWSServiceTagByARN

func GetAWSServiceTagByARN(arn string) string

GetAWSServiceTagByARN retrun aws service tag from ARN

func InitScanStatus

func InitScanStatus(message *message.AWSQueueMessage) aws.AttachDataSourceRequest

InitScanStatus return init aws.AttachDataSourceRequest data

func IsManagedIAMRole added in v0.10.0

func IsManagedIAMRole(arn string) bool

func IsMatchAccountIDArn

func IsMatchAccountIDArn(accountID, arn string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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